/* Product-only rules preserve the Shop presentation. */
a.product-button { color: inherit; text-decoration: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.detail-hero { display: grid; grid-template-columns: 1fr 1fr; }
.detail-main-photo { background: #f7f7f7; min-width: 0; }
.detail-main-photo > img { width: 100%; height: 100%; aspect-ratio: .965; object-fit: contain; }
.detail-main-photo > img:focus-visible { outline: 3px solid #2b65b4; outline-offset: -5px; }
.detail-summary { align-self: center; padding: 7% 14%; font-size: 12px; }
.back-shop { display: inline-block; font-size: 10px; text-underline-offset: 4px; margin-bottom: 26px; }
.detail-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; }
.detail-title-row h1 { font-size: 12px; font-weight: 500; margin: 0; }
.detail-title-row > span, .detail-color { color: #666; }
.detail-title-row > span { white-space: nowrap; }
.detail-color { margin: 4px 0 16px; }
.color-label { font-size: 11px; margin: 0 0 18px; }
.color-label small { display: block; color: #666; margin-top: 6px; }
.size-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.demo-label { font-size: 10px; font-weight: 400; color: #666; line-height: 1.5; }
.size-labels { display: flex; gap: 24px; font-size: 11px; margin: 12px 0 22px; }
.size-guide-button { font-size: 10px; text-decoration: underline; min-height: 44px; white-space: nowrap; }
.marketplaces { display: grid; gap: 8px; margin-top: 8px; }
.marketplaces-polo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.marketplaces button { background: #111; color: #ddd; font-size: 11px; min-height: 48px; cursor: not-allowed; }
.detail-description { color: #666; line-height: 1.6; font-size: 11px; margin-top: 18px; }
.detail-missing { display: grid; align-content: center; text-align: center; height: 100%; min-height: 400px; padding: 24px; line-height: 2; color: #666; }
.detail-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.detail-gallery > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.detail-gallery > :last-child:nth-child(odd) img { aspect-ratio: 1.93; }
.gallery-photo { display: block; position: relative; background: #f7f7f7; min-width: 0; }
.gallery-photo img { width: 100%; aspect-ratio: .965; object-fit: contain; }
.gallery-photo:focus-visible { outline-offset: -5px; z-index: 1; }
.gallery-action { position: absolute; bottom: 12px; right: 12px; background: #fff; padding: 8px 10px; font-size: 10px; }
.gallery-photo[aria-pressed="true"] .gallery-action { background: #111; color: #fff; }
.gallery-status { margin: 10px 2%; font-size: 10px; color: #666; }
.tech-specs { padding: 24px 2% 0; font-size: 13px; }
.spec-demo-note { color: #666; font-size: 10px; margin: 0 0 30px; }
.spec-row { display: grid; grid-template-columns: 28% 1fr; gap: 16px; margin-bottom: 64px; }
.tech-specs h3, .functionality h3 { font-size: 11px; font-weight: 400; margin: 0 0 8px; }
.spec-row p { margin: 0; }
.spec-row > div:first-child p { font-size: 11px; max-width: 230px; }
.axis { margin-top: 28px; margin-right: 8%; }
.axis-ends { display: flex; justify-content: space-between; color: #666; font-size: 10px; margin-bottom: 30px; }
.axis-track { height: 10px; position: relative; border-bottom: 1px solid #ccc; background: repeating-linear-gradient(to right, #ccc 0, #ccc 1px, transparent 1px, transparent 4%); border-right: 1px solid #ccc; }
.axis-bar { position: absolute; top: -18px; height: 5px; background: #111; }
.axis-bar::before, .axis-bar::after { content: ''; position: absolute; top: 5px; height: 23px; border-left: 1px solid #aaa; }
.axis-bar::before { left: 0; }
.axis-bar::after { right: 0; }
.temperature .axis-bar { left: 20%; width: 60%; }
.effort .axis-bar { left: 0; width: 80%; }
.axis-labels { display: flex; justify-content: space-between; font-size: 10px; color: #666; margin-top: 12px; }
.materials-care { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin: 72px 0 64px; }
.materials-care p { margin: 8px 0; }
.materials-care ul { list-style: none; padding: 0; margin: 18px 0 0; line-height: 2; }
.functionality { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5%; padding: 0 2% 52px; }
.functionality svg, .functionality .breathable-icon { width: 25px; height: 25px; margin-bottom: 24px; }
.functionality .breathable-icon { display: inline; }
.functionality p { color: #666; font-size: 12px; line-height: 1.8; margin: 16px 0 0; }
.ventilation-feature p { color: #111; }
.product-message { padding: 80px 24px; min-height: 60vh; }
dialog { border: 1px solid #111; padding: 32px; max-width: min(460px,90vw); font-size: 14px; line-height: 1.6; }
dialog::backdrop { background: #0008; }
dialog h2 { font-size: 16px; }
.dialog-close { text-decoration: underline; min-height: 44px; }
#size-guide { width: 640px; max-width: calc(100vw - 32px); padding: clamp(16px, 4vw, 32px); background: #fff; color: #111; }
#size-guide-table { overflow-x: auto; margin: 24px 0 16px; }
#size-guide table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 12px; }
#size-guide th, #size-guide td { padding: 14px 10px; border-bottom: 1px solid #ddd; text-align: left; white-space: nowrap; font-weight: 400; }
#size-guide thead th { border-bottom-color: #111; }
@media(max-width:1000px) { .detail-summary { padding: 7%; }.size-labels { gap: 16px; } }
@media(max-width:600px) {
  .detail-hero { grid-template-columns: 1fr; }.detail-summary { padding: 28px 20px; }.detail-main-photo>img { aspect-ratio: 1; }.detail-gallery { gap: 2px; }.gallery-photo img { aspect-ratio: .8; }.gallery-action { font-size: 8px; bottom: 6px; right: 6px; padding: 6px; }
  .tech-specs { padding: 30px 20px 0; }.spec-row { grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }.axis { margin-right: 0; }.spec-row > div:first-child p { max-width: none; }.materials-care { grid-template-columns: 1fr 1fr; gap: 18px; margin: 40px 0; }.functionality { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 40px; }.functionality svg, .functionality .breathable-icon { margin-bottom: 12px; }.functionality p { margin-top: 8px; }.size-labels { gap: clamp(10px, 3vw, 20px); }
}
