/* Product-only presentation. Existing shop and V3 tokens remain authoritative. */
.product-page { max-width:1168px; padding:30px 24px 72px; margin:0 auto; }
.product-page .pdp-breadcrumb { display:flex; gap:10px; align-items:center; min-width:0; margin-bottom:28px; font-size:13px; line-height:1.5; color:var(--wabi-gray); }
.product-page .pdp-breadcrumb a { color:inherit; flex-shrink:0; text-underline-offset:4px; }
.product-page #pdp-breadcrumb { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.product-page .pdp-grid { display:grid; grid-template-columns:minmax(0,1.05fr) minmax(0,1fr); grid-template-areas:'gallery heading' 'gallery configuration' 'gallery details'; column-gap:56px; align-items:start; }
.product-page .pdp-heading { grid-area:heading; margin-bottom:24px; min-width:0; }
.product-page .pdp-collection { margin:0 0 10px; color:var(--wabi-gray); font-size:12px; line-height:1.5; }
.product-page h1 { font-family:'Clash Display',sans-serif; font-size:clamp(28px,2.8vw,40px); font-weight:500; letter-spacing:-.035em; line-height:1.12; margin:0 0 14px; overflow-wrap:anywhere; }
.product-page .pdp-price { display:flex; align-items:baseline; flex-wrap:wrap; gap:12px; font-family:'Clash Display',sans-serif; font-size:26px; font-weight:500; line-height:1.2; letter-spacing:-.02em; }
.product-page .pdp-price del { font-family:'Noto Sans',sans-serif; color:var(--wabi-gray); font-size:16px; }
.product-page .pdp-vat { margin:6px 0 0; font-size:12px; color:var(--wabi-gray); }
.product-page .pdp-gallery { grid-area:gallery; min-width:0; position:sticky; top:96px; align-self:start; }
.product-page .pdp-main-image { display:block; width:100%; aspect-ratio:4/5; position:relative; overflow:hidden; border:0; padding:0; background:var(--wabi-bg); color:var(--wabi-black); cursor:zoom-in; touch-action:pan-y pinch-zoom; }
.product-page .pdp-main-image img { width:100%; height:100%; display:block; object-fit:contain; }
.product-page .pdp-zoom-label { position:absolute; right:12px; bottom:12px; padding:6px 9px; font-size:12px; line-height:1.5; color:var(--wabi-black); background:var(--wabi-surface); }
.product-page .pdp-no-image { display:grid; place-items:center; cursor:default; font-size:14px; }
.product-page .pdp-thumbnails { display:flex; gap:8px; margin-top:10px; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:none; padding:4px; scroll-padding:4px; }
.product-page .pdp-thumbnails::-webkit-scrollbar { display:none; }
.product-page .pdp-thumbnails button { width:64px; height:80px; flex:0 0 auto; padding:0; border:2px solid transparent; background:var(--wabi-bg); cursor:pointer; }
.product-page .pdp-thumbnails button[aria-current='true'] { border-color:var(--wabi-black); }
.product-page .pdp-thumbnails img { display:block; width:100%; height:100%; object-fit:cover; }
.product-page .pdp-gallery-caption { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:6px; }
.product-page .pdp-gallery-caption p { margin:0; color:var(--wabi-gray); font-size:12px; line-height:1.5; }
.product-page .pdp-photo-controls { display:flex; gap:4px; flex-shrink:0; }
.product-page .pdp-photo-controls button { width:44px; height:44px; display:grid; place-items:center; border:0; background:transparent; cursor:pointer; color:var(--wabi-black); }
.product-page .pdp-photo-controls button:first-child svg { transform:rotate(180deg); }
.product-page .pdp-photo-controls button:disabled { color:var(--wabi-gray); opacity:.45; cursor:default; }
.product-page .pdp-configuration { grid-area:configuration; min-width:0; }
.product-page .pdp-field-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.product-page h2 { font-family:'Clash Display',sans-serif; font-weight:500; font-size:20px; line-height:1.25; letter-spacing:-.02em; margin:0; }
.product-page .pdp-field-heading h2 { font-family:'Noto Sans',sans-serif; font-size:14px; line-height:1.5; font-weight:600; letter-spacing:0; }
.product-page .pdp-link { display:inline-flex; align-items:center; justify-content:flex-start; gap:8px; min-height:44px; padding:0; border:0; background:transparent; color:var(--wabi-black); font-family:inherit; font-size:13px; font-weight:600; line-height:1.5; text-align:left; text-decoration:underline; text-underline-offset:4px; cursor:pointer; transition:color .15s; }
.product-page .pdp-link:hover { color:var(--wabi-accent); }
.product-page .pdp-field-heading .pdp-link { flex-shrink:0; }
.product-page .pdp-fit-explainer { margin:8px 0 14px; font-size:14px; line-height:1.6; color:var(--wabi-gray); }
.product-page fieldset { min-width:0; border:0; padding:0; margin:0; }
.product-page .pdp-fit-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.product-page .pdp-family-field { margin:0 0 24px; }
.product-page .pdp-family-options { display:flex; flex-wrap:wrap; gap:8px; }
.product-page .pdp-family-option { flex:1 1 130px; }
.product-page .pdp-fit-option small { display:block; font-size:12px; font-weight:400; }
.product-page .pdp-fit-option,.product-page .pdp-thread-option { display:flex; position:relative; min-width:0; align-items:center; justify-content:center; gap:6px; min-height:48px; padding:10px 12px; border:1px solid var(--wabi-border); background:var(--wabi-surface); font-size:14px; line-height:1.4; text-align:center; cursor:pointer; } /* taste-skill-ignore: Selectable garment and thread form fields. */
.product-page .pdp-fit-option:has(input:checked),.product-page .pdp-thread-option:has(input:checked) { border-color:var(--wabi-black); background:var(--wabi-black); color:var(--wabi-surface); }
.product-page .pdp-fit-option input,.product-page .pdp-thread-option input { position:absolute; width:1px; height:1px; opacity:0; }
.product-page .pdp-fit-option:has(input:focus-visible),.product-page .pdp-thread-option:has(input:focus-visible) { outline:2px solid var(--wabi-accent); outline-offset:3px; }
.product-page .pdp-fit-copy { margin:14px 0 24px; font-size:14px; line-height:1.65; }
.product-page .pdp-fit-copy p { margin:0; }
.product-page .pdp-single-model { margin:8px 0 0; font-size:17px; font-weight:500; }
.product-page .pdp-field { margin:0 0 24px; }
.product-page legend { padding:0; margin-bottom:10px; font-size:14px; line-height:1.5; font-weight:600; }
.product-page legend>span { font-weight:400; margin-left:8px; color:var(--wabi-gray); }
.product-page .pdp-colors,.product-page .pdp-thread-options,.product-page .pdp-sizes { display:flex; flex-wrap:wrap; gap:8px; }
.product-page .pdp-color-option { display:flex; align-items:center; gap:10px; padding:8px 12px; min-height:44px; border:1px solid var(--wabi-border); background:var(--wabi-surface); color:var(--wabi-black); font:inherit; font-size:13px; cursor:pointer; } /* taste-skill-ignore: Colour field hit area. */
.product-page .pdp-color-option[aria-pressed='true'] { border-color:var(--wabi-black); font-weight:600; }
.product-page .pdp-color-option[aria-disabled='true'] { color:var(--wabi-gray); text-decoration:line-through; }
.product-page .pdp-color-dot { display:flex; width:22px; height:22px; border-radius:50%; border:1px solid var(--wabi-gray); overflow:hidden; } /* taste-skill-ignore: White garment swatches need a boundary. */
.product-page .pdp-color-dot span { flex:1; }
.product-page .pdp-thread-option { min-height:44px; padding:8px 12px; }
.product-page .pdp-thread-option small { font-size:12px; }
.product-page #embroidery-color-select { width:100%; }
.product-page .pdp-note { font-size:12px; line-height:1.6; color:var(--wabi-gray); margin:10px 0 0; }
.product-page .pdp-guide-row { margin:-8px 0 8px; }
.product-page .pdp-guide-row .pdp-link { font-size:13px; }
.product-page .pdp-size-field { container-type:inline-size; container-name:pdp-sizes; }
.product-page .pdp-sizes { display:grid; gap:8px; }
.product-page .pdp-size-row { display:grid; grid-template-columns:repeat(var(--size-columns,5),minmax(0,1fr)); gap:8px; }
.product-page .size-pill { min-height:44px; min-width:0; padding:8px 6px; font:inherit; font-size:13px; letter-spacing:normal; overflow-wrap:anywhere; color:var(--wabi-black); background:var(--wabi-surface); }
@container pdp-sizes (min-width:512px) { .product-page .pdp-sizes[data-size-count='10']:not([data-size-layout]) { grid-template-columns:repeat(10,minmax(0,1fr)); } .product-page .pdp-sizes[data-size-count='10']:not([data-size-layout]) .pdp-size-row { display:contents; } }
.product-page .size-pill.active { background:var(--wabi-black); color:var(--wabi-surface); }
.product-page .size-pill[data-size-state='sold-out'] { text-decoration:line-through; color:var(--wabi-gray); cursor:not-allowed; }
.product-page .size-pill[data-size-state='not-offered'] { border-style:dashed; color:var(--wabi-gray); cursor:not-allowed; }
.product-page .pdp-selection-message { font-size:13px; line-height:1.6; margin:0 0 10px; color:var(--wabi-gray); }
.product-page #add-to-cart-btn { display:flex; align-items:center; justify-content:center; gap:14px; min-height:52px; padding:14px 18px; font-size:12px; letter-spacing:.08em; }
.product-page #add-to-cart-btn:disabled { opacity:1; color:var(--wabi-black); background:var(--wabi-border); cursor:not-allowed; }
.product-page .pdp-preparation-hint { margin:10px 0 0; font-size:12px; line-height:1.6; color:var(--wabi-gray); }
.product-page .pdp-preparation-hint .pdp-link { min-height:36px; font-size:12px; }
.product-page .pdp-personalize { margin-top:8px; font-size:13px; }
.product-page .pdp-details { grid-area:details; min-width:0; margin-top:32px; color:var(--wabi-black); font-size:14px; line-height:1.7; }
.product-page .pdp-about { margin:0 0 28px; }
.product-page .pdp-cms-copy { white-space:pre-wrap; overflow-wrap:anywhere; }
.product-page .pdp-about h2 { font-size:22px; margin:0 0 12px; }
.product-page .pdp-disclosure { border-top:1px solid var(--wabi-border); padding:0; } /* taste-skill-ignore: Functional accordion boundaries match the existing shop form controls. */
.product-page .pdp-disclosure summary { display:flex; align-items:center; justify-content:space-between; gap:12px; min-height:56px; padding:14px 0; font-size:15px; font-weight:500; cursor:pointer; list-style:none; }
.product-page .pdp-disclosure summary::-webkit-details-marker { display:none; }
.product-page .pdp-disclosure summary::after { content:'+'; font-size:20px; }
.product-page .pdp-disclosure[open] summary::after { content:'−'; }
.product-page .pdp-disclosure p { margin:0 0 16px; font-size:14px; line-height:1.75; }
.product-page .pdp-disclosure dl { margin:0 0 16px; }
.product-page .pdp-disclosure dl>div { display:grid; grid-template-columns:110px minmax(0,1fr); gap:12px; padding:4px 0; }
.product-page .pdp-disclosure dt { color:var(--wabi-gray); }
.product-page .pdp-disclosure dd { margin:0; }
.product-page :is(a,button,summary,select):focus-visible { outline:2px solid var(--wabi-accent); outline-offset:3px; }
.product-page :is(button,select) { font-family:inherit; }
.product-page img[hidden] { display:none; }
.pdp-sr-only { position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important; overflow:hidden!important; clip:rect(0,0,0,0)!important; white-space:nowrap!important; border:0!important; }
.pdp-dialog { max-width:min(1100px,calc(100vw - 32px)); width:100%; max-height:calc(100dvh - 40px); border:0; padding:24px; background:var(--wabi-surface); color:var(--wabi-black); margin:auto; overflow:auto; }
.pdp-dialog::backdrop { background:rgba(0,0,0,.7); }
.pdp-dialog .pdp-dialog-header { display:flex; align-items:start; justify-content:space-between; gap:20px; margin-bottom:16px; }
.pdp-dialog h2 { font-family:'Clash Display',sans-serif; font-size:26px; font-weight:500; line-height:1.15; letter-spacing:-.025em; margin:4px 0 0; }
.pdp-dialog .pdp-dialog-close { min-width:44px; min-height:44px; padding:8px; border:0; background:transparent; color:inherit; font-size:26px; cursor:pointer; }
.pdp-dialog p { font-size:14px; line-height:1.7; }
.pdp-dialog .pdp-fit-help-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; margin-top:24px; }
.pdp-dialog h3 { font-family:'Clash Display',sans-serif; font-size:20px; line-height:1.25; font-weight:500; margin:0 0 8px; }
.pdp-dialog .pdp-fit-help-list p { margin:0; }
.pdp-dialog .pdp-guide-pan { overflow:auto; max-height:60dvh; border:1px solid var(--wabi-border); } /* taste-skill-ignore: Scrollable supplier measurement sheet. */
.pdp-dialog .pdp-guide-pan img { display:block; width:100%; min-width:1000px; height:auto; }
.pdp-dialog .pdp-guide-link { display:inline-flex; align-items:center; min-height:44px; color:var(--wabi-black); font-size:14px; text-underline-offset:4px; }
.pdp-dialog :is(a,button,[tabindex]):focus-visible { outline:2px solid var(--wabi-accent); outline-offset:3px; }
.pdp-dialog button { font-family:inherit; }
.pdp-dialog.pdp-lightbox { background:var(--wabi-black); color:var(--wabi-surface); }
.pdp-dialog .pdp-lightbox-main { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; gap:12px; align-items:center; }
.pdp-dialog .pdp-lightbox-main img { display:block; width:100%; max-height:65dvh; object-fit:contain; }
.pdp-dialog .pdp-lightbox-arrow { width:44px; height:44px; border:0; color:inherit; background:transparent; font-size:26px; cursor:pointer; }
.pdp-dialog .pdp-lightbox-thumbs { display:flex; gap:8px; margin-top:16px; overflow:auto; padding:4px; scrollbar-width:none; }
.pdp-dialog .pdp-lightbox-thumbs button { flex-shrink:0; width:52px; height:64px; border:2px solid transparent; padding:0; background:transparent; cursor:pointer; }
.pdp-dialog .pdp-lightbox-thumbs button[aria-current='true'] { border-color:var(--wabi-surface); }
.pdp-dialog .pdp-lightbox-thumbs img { width:100%; height:100%; object-fit:cover; }
@media(max-width:980px) and (min-width:769px) { .product-page .pdp-grid { column-gap:32px; } .product-page .pdp-field-heading { flex-wrap:wrap; gap:0; } }
@media(max-width:768px) {
 .product-page { max-width:680px; padding:20px 16px 48px; }
 .product-page .pdp-breadcrumb { margin-bottom:20px; font-size:12px; }
 .product-page .pdp-grid { grid-template-columns:minmax(0,1fr); grid-template-areas:'heading' 'gallery' 'configuration' 'details'; }
 .product-page .pdp-heading { margin-bottom:18px; }
 .product-page h1 { font-size:30px; margin-bottom:10px; }
 .product-page .pdp-price { font-size:25px; }
 .product-page .pdp-gallery { position:static; margin-bottom:20px; }
 .product-page .pdp-main-image { aspect-ratio:1/1; }
 .product-page .pdp-thumbnails { margin-top:8px; }
 .product-page .pdp-thumbnails button { width:56px; height:68px; }
 .product-page .pdp-fit-copy { font-size:14px; margin-bottom:22px; }
 .product-page .pdp-fit-options { gap:8px; }
 .product-page .pdp-fit-option { min-height:48px; padding:10px 8px; }
 .product-page .pdp-details { margin-top:26px; }
 .product-page .pdp-disclosure dl>div { grid-template-columns:100px minmax(0,1fr); }
 .pdp-dialog { padding:16px; max-height:calc(100dvh - 24px); }
 .pdp-dialog h2 { font-size:24px; }
 .pdp-dialog .pdp-fit-help-list { grid-template-columns:minmax(0,1fr); gap:20px; }
 .pdp-dialog .pdp-lightbox-main { grid-template-columns:44px minmax(0,1fr) 44px; gap:0; }
}
@media(prefers-reduced-motion:reduce) { .product-page * { transition:none!important; } }
@media(min-width:600px) and (max-width:768px) { .product-page .pdp-main-image { max-height:500px; } }
