@font-face{font-family:Bookmania;src:url('assets/fonts/bookmania-bold.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Averia Serif Libre';src:url('assets/fonts/averia-regular.woff2') format('woff2'),url('assets/fonts/averia-regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:'Averia Serif Libre';src:url('assets/fonts/averia-bold.woff2') format('woff2'),url('assets/fonts/averia-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--paper:#fff4ec;--ink:#272727;--line:#27272720;--green:#53c8a7;--coral:#f26969;--blue:#7fbfe7;--yellow:#ffe66b}
*{box-sizing:border-box}html{background:var(--paper)}body{margin:0;min-height:100svh;display:flex;flex-direction:column;background:var(--paper);color:var(--ink);font-family:'Averia Serif Libre',Georgia,serif;-webkit-font-smoothing:antialiased}button,a,input,select{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}button:focus-visible,a:focus-visible,select:focus-visible{outline:2px solid var(--ink);outline-offset:5px}a{color:inherit;text-decoration:none}button:disabled{cursor:default}main{flex:1;display:grid;align-items:center}h1,h2,h3{font-family:Bookmania,Georgia,serif}h2{margin:0;font-size:23px;line-height:1.3;letter-spacing:-.6px}
/* Clip the extended 3D canvas independently from the floating club card. */
main:has(.clothesline){display:flex;flex-direction:column;justify-content:center}
.shop:has(.clothesline){overflow:clip}
.header{height:80px;margin:0 4%;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;flex-shrink:0}.brand{grid-column:2;display:block;line-height:0}.brand img{width:154px;height:auto}.saved-link{grid-column:3;justify-self:end;display:flex;align-items:center;gap:10px;font-size:13px}#cart-count{width:24px;height:24px;display:grid;place-items:center;border:1px solid #27272788;border-radius:50%;font-size:11px}
.shop{width:100%;padding-bottom:20px}.stage{--stage-height:clamp(350px,calc(100svh - 415px),700px);height:var(--stage-height);position:relative;isolation:isolate;width:100%;overflow:visible;touch-action:pan-y}.clothesline{position:absolute;inset:0;bottom:calc(-1 * clamp(360px,40svh,480px));opacity:0;transition:opacity .5s}.clothesline canvas{display:block;width:100%;height:100%;touch-action:pan-y}.scene-ready .clothesline{opacity:1}.scene-fallback{position:absolute;top:14%;bottom:7%;left:50%;width:min(65vw,370px);transform:translateX(-50%);display:none;place-items:center;pointer-events:none}.scene-failed .scene-fallback{display:grid}.scene-ready .scene-fallback{display:none}.scene-status{position:absolute;bottom:0;width:100%;text-align:center;font-size:12px;color:#756b64;pointer-events:none}.scene-status:empty{display:none}.arrow{width:40px;height:40px;border:1px solid #27272740;border-radius:50%;display:grid;place-items:center;position:absolute;top:50%;z-index:2;background:#fff4ecbb;transition:background .2s}.arrow:hover{background:var(--yellow)}.arrow svg{width:22px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}.previous{left:3%}.next{right:3%}
.view-controls{display:flex;justify-content:center;align-items:center;gap:15px;height:26px;margin-top:-5px;position:relative;z-index:2}.view-button{display:flex;align-items:center;gap:6px;font-size:12px;padding:5px;color:#665e58;transition:color .2s}.view-button:hover{color:var(--ink)}.view-button>span:first-child{font-size:19px;line-height:1}.view-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.1}.view-divider{height:11px;width:1px;background:var(--line)}
.product-details{position:relative;z-index:1;text-align:center;margin:14px auto 0;padding:0 20px;max-width:530px}.pagination{display:flex;align-items:center;justify-content:center;gap:0;margin-bottom:17px}.pagination button{display:grid;place-items:center;width:24px;height:27px;padding:0}.product-dot{display:block;width:5px;height:5px;border-radius:50%;background:var(--ink);opacity:.22;transition:opacity .2s,transform .2s}.pagination button:hover .product-dot{opacity:.5}.pagination button[aria-current=true] .product-dot{opacity:.75;transform:scale(1.2)}.product-heading{display:flex;align-items:center;justify-content:center;gap:17px}.product-heading h2{font-size:21px}.product-price{font-size:15px;white-space:nowrap}.product-color{font-size:12px;margin:5px 0 9px;color:#796e64}.product-options{display:flex;justify-content:center}.size-options{display:flex;gap:5px;border:0;padding:0;margin:0}.size-options legend{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}.size-options button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;font-size:16px;line-height:1;white-space:nowrap;border:1px solid transparent;border-radius:50%;transition:background .15s}.size-options button:hover{border-color:#27272735}.size-options button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.option-message{font-size:12px;margin:9px 0;color:#9a3333}.option-message:empty{display:none}.primary-button{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;background:var(--ink);color:var(--paper);padding:14px 23px;border-radius:40px;font-size:14px}#add-to-cart{font-family:Bookmania,Georgia,serif;font-weight:700;font-size:20px;min-width:176px;min-height:47px;margin-top:13px;padding:10px 24px;border:1px solid var(--ink);justify-content:center;background:transparent;color:var(--ink);transition:background .2s,color .2s}#add-to-cart:hover{background:var(--ink);color:var(--paper)}.shipping-note{font-size:11px;color:#887a6f;margin:10px 0 0}
.site-footer{min-height:52px;padding:10px 3.4%;border-top:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;flex-shrink:0}.site-footer__copyright{font-size:11px;font-weight:700}.site-footer__links{display:flex;gap:10px}.site-footer__links a{width:24px;height:24px;display:grid;place-items:center;color:#666}.site-footer__links svg{width:16px;height:16px}.site-footer__links a:hover{color:var(--coral)}
.flat-shirt{position:relative;width:100%;aspect-ratio:346/328;max-height:100%;}.flat-shirt>svg{width:100%;height:100%;display:block}.flat-shirt>img{position:absolute;transform:translate(-50%,-50%);height:auto;object-fit:contain;pointer-events:none}.cart-item__thumb .flat-shirt{width:100%;height:auto}.cart-item__thumb{background:transparent!important}.cart-item__thumb .flat-shirt>img{height:auto;padding:0}
.dialog{background:var(--paper);color:var(--ink);border:1px solid var(--line);padding:47px 38px 32px;width:min(490px,calc(100% - 32px));max-height:calc(100dvh - 48px);border-radius:5px;box-shadow:0 25px 100px #27272726}.dialog::backdrop{background:#27272755;backdrop-filter:blur(5px)}.dialog .close{position:absolute;right:14px;top:9px;font-size:29px;width:38px;height:38px}.dialog>.eyebrow{justify-content:start;font-size:9px;letter-spacing:1.5px}.dialog h2{font-size:32px;margin:0 0 19px}.dialog>p{font-size:15px;line-height:1.6}.steps{list-style:none;margin:25px 0;padding:0}.steps li{display:flex;gap:18px;border-top:1px solid var(--line);padding:16px 0}.steps li>span{font-size:12px;margin-top:3px;color:#70655c}.steps h3{font-size:15px;margin:0 0 6px}.steps p{font-size:13px;margin:0;line-height:1.5;color:#68605b}.dialog .dialog-footnote{font-size:11px;color:#70655c;margin:0;line-height:1.6}.selection-item{display:grid;grid-template-columns:67px 1fr 32px;gap:14px;align-items:center;border-top:1px solid var(--line);padding:15px 0}.selection-thumb{height:78px;background:#7fbfe735;border-radius:3px;padding:4px}.selection-thumb svg{width:100%;height:100%}.selection-item h3{font-size:14px;margin:0 0 5px}.selection-item p{font-size:12px;margin:0;color:#766d65}.remove-item{font-size:22px}.selection-notice{display:flex;align-items:flex-start;gap:11px;padding:18px 0 23px;border-top:1px solid var(--line)}.selection-notice .status-dot{margin-top:7px}.selection-notice p{font-size:12px;margin:0;line-height:1.65;color:#766d65}.selection-dialog .primary-button{width:100%}.empty-state{text-align:center;padding:25px 15px 35px;font-size:15px;color:#766d65}.noscript{text-align:center}.toast-enter{animation:count-pop .35s ease}body:has(dialog[open]){overflow:hidden}@keyframes count-pop{50%{transform:scale(1.2);background:var(--green)}}
.dialog.cart-dialog,.dialog.checkout-dialog{width:min(560px,calc(100% - 32px));overflow-y:auto}
.cart-item{display:grid;grid-template-columns:74px minmax(0,1fr) auto;gap:14px;align-items:start;border-top:1px solid var(--line);padding:16px 0}
.cart-item__thumb{width:74px;height:86px;background:#7fbfe735;border-radius:3px;display:grid;place-items:center}

.cart-item__details h3{font-size:15px;margin:2px 0 4px}
.cart-item__details p{font-size:12px;color:#70655c;margin:0 0 10px}
.quantity-control{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:30px;overflow:hidden;font-size:12px}
.quantity-control button{width:27px;height:27px;font-size:18px;line-height:1}
.quantity-control span{min-width:22px;text-align:center}
.cart-item__end{display:flex;align-items:flex-end;flex-direction:column;gap:22px;font-size:14px;white-space:nowrap}
.cart-item__end button{font-size:11px;color:#70655c;text-decoration:underline;text-underline-offset:3px}
.order-totals{border-top:1px solid var(--line);padding-top:13px;display:grid;gap:9px;font-size:13px}
.order-totals>div,.checkout-item{display:flex;justify-content:space-between;gap:16px}
.order-totals strong,.checkout-item strong{font-weight:700;white-space:nowrap}
.order-totals__total{font-size:17px;margin-top:5px;padding-top:12px;border-top:1px solid var(--line)}
.checkout-trigger,.checkout-pay{width:100%;margin-top:22px}
.primary-button:disabled{opacity:.4;cursor:default;transform:none}
.checkout-back{font-size:12px;padding:0;margin:0 0 15px}
.checkout-fields{border-top:1px solid var(--line);padding:18px 0 22px}
.checkout-fields label{display:grid;gap:9px;font-size:13px;font-weight:700}
.checkout-fields select{width:100%;border:1px solid var(--line);border-radius:3px;background:var(--paper);color:var(--ink);font:inherit;font-weight:400;padding:12px 14px}
.checkout-summary h3{font-size:18px;margin:0 0 12px}
.checkout-item{font-size:12px;line-height:1.4;padding:8px 0}
.checkout-summary .order-totals{margin-top:10px}
.checkout-status{font-size:12px;line-height:1.5;color:#9a3333;min-height:18px;text-align:center;margin:12px 0 0}
@media(max-width:700px){
  .preorder-label{font-size:8px;letter-spacing:1px}
  .saved-link{font-size:11px;gap:7px}
  .saved-link:before{content:none}
  .dialog.cart-dialog,.dialog.checkout-dialog{padding:43px 22px 25px}
  .cart-item{grid-template-columns:58px minmax(0,1fr) auto;gap:9px}
  .cart-item__thumb{width:58px;height:70px}
  .cart-item__end{font-size:12px}
}
.success-main{display:grid;place-items:center;padding:60px 20px}
.success-card{text-align:center;max-width:480px}
.success-mark{width:65px;height:65px;border:1px solid var(--ink);border-radius:50%;display:grid;place-items:center;font-size:30px;margin:0 auto 25px}
.success-card h1{font-size:clamp(30px,5vw,46px);margin:0 0 10px}
.success-card p{font-size:15px;line-height:1.5;color:#70655c;margin:0 0 28px}

.dialog.zoom-dialog{width:min(900px,calc(100% - 28px));padding:28px 22px 22px;text-align:center;overflow:hidden}.zoom-dialog h2{font-size:23px;margin-bottom:4px}.zoom-meta{margin:0;font-size:12px;color:#796e64}.zoom-garment{height:min(65svh,660px);width:100%;display:grid;place-items:center;touch-action:none}.zoom-garment canvas{width:100%;height:100%;display:block;touch-action:none}.zoom-garment>.flat-shirt{max-width:500px}.zoom-hint{font-size:11px;color:#887a6f;margin:0 0 10px}.zoom-turn{font-size:13px;padding:9px 18px;border:1px solid var(--line);border-radius:30px}.empty-state{text-align:center;padding:24px 12px;font-size:15px;color:#766d65}.noscript{text-align:center;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1600px){.brand img{width:168px}.stage{--stage-height:clamp(470px,calc(100svh - 415px),740px)}}
@media(max-width:719px){.header{height:70px;margin:0 20px}.brand img{width:128px}.saved-link{font-size:11px;gap:6px}#cart-count{width:21px;height:21px;font-size:10px}.stage{--stage-height:clamp(335px,calc(100svh - 385px),580px)}.previous{left:12px}.next{right:12px}.arrow{width:35px;height:35px}.product-details{margin-top:12px}.pagination{margin-bottom:13px}.product-heading{gap:12px}h2{font-size:21px}.product-heading h2{font-size:20px}.product-price{font-size:14px}.site-footer{min-height:47px;padding:9px 18px}.site-footer__copyright{font-size:9px}.site-footer__links{gap:4px}.site-footer__links svg{width:14px;height:14px}.shop{padding-bottom:15px}.dialog{padding:42px 22px 24px}.zoom-garment{height:min(60svh,560px)}.dialog.zoom-dialog{padding:44px 14px 22px}.dialog.zoom-dialog h2{font-size:22px}.view-controls{gap:11px}.view-button{font-size:11px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.checkout-fields label{margin-bottom:9px}
.product-heading{flex-direction:column;gap:2px}
.product-options{margin-top:10px}

/* Selection feedback stays beside the garment; the basket opens on request. */
#add-to-cart{min-width:190px;min-height:44px;margin-top:10px;padding:9px 18px;font-size:16.5px}
.cart-feedback{display:flex;align-items:center;justify-content:center;gap:14px;margin:13px 0 0;font-size:12px;color:#665e58}
.cart-feedback[hidden]{display:none}
.cart-feedback__message{display:inline-flex;align-items:center;gap:7px}
.cart-feedback__message:before{content:'✓';color:var(--ink);font-size:14px}
.cart-feedback button{padding:5px 0;color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.cart-feedback button span{display:inline-block;margin-left:2px}

.cart-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100%);max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid var(--line);background:var(--paper);color:var(--ink);overflow:hidden;box-shadow:-15px 0 65px #2727270e}
.cart-dialog::backdrop{background:#27272724;backdrop-filter:blur(2px)}
.cart-dialog[open]{animation:cart-arrive .3s cubic-bezier(.2,.8,.2,1)}
@keyframes cart-arrive{from{transform:translateX(100%);opacity:.6}to{transform:translateX(0);opacity:1}}
.cart-panel{display:flex;flex-direction:column;height:100%;min-height:0}
.cart-panel__header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:30px 30px 24px;border-bottom:1px solid var(--line);flex-shrink:0}
.cart-panel__header h2{font-size:32px;line-height:1.3}
.cart-panel__header p{margin:4px 0 0;font-size:12px;color:#82776e}
.cart-close{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;padding:0}
.cart-close svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.2;fill:none}
.cart-close:hover{background:#27272708}
.cart-panel__items{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 30px;scrollbar-width:thin}
.cart-dialog .cart-item{grid-template-columns:96px minmax(0,1fr) auto;gap:17px;align-items:center;border-top:0;border-bottom:1px solid var(--line);padding:24px 0}
.cart-dialog .cart-item:last-child{border-bottom:0}
.cart-dialog .cart-item__thumb{width:96px;height:110px;background:transparent;border-radius:0}
.cart-dialog .cart-item__details h3{font-size:17px;line-height:1.4;margin:0 0 5px}
.cart-dialog .cart-item__details p{font-size:12px;margin:0 0 12px;color:#82776e}
.cart-dialog .quantity-control{border:0;border-radius:0;gap:5px;font-size:13px;overflow:visible}
.cart-dialog .quantity-control button{display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid var(--line);border-radius:50%;font-size:17px}
.cart-dialog .quantity-control button:hover{background:#27272708}
.cart-dialog .quantity-control span{min-width:21px}
.cart-dialog .cart-item__end{align-self:stretch;justify-content:space-between;gap:10px;padding:5px 0;font-size:14px}
.cart-dialog .cart-item__end strong{font-weight:400}
.cart-dialog .cart-item__end button{display:grid;place-items:center;width:30px;height:30px;padding:0;color:#82776e;text-decoration:none}
.cart-dialog .cart-item__end button:hover{color:var(--coral)}
.cart-item__end svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.2}
.cart-empty{height:100%;min-height:180px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#82776e;text-align:center}
.cart-empty img{object-fit:contain;opacity:.65}
.cart-empty p{margin:0;font-size:15px}
.cart-panel__checkout{flex-shrink:0;padding:24px 30px 0;border-top:1px dashed #27272730}
.cart-panel__checkout[hidden]{display:none}
.cart-destination{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:22px;font-size:13px}
.cart-destination label{color:#82776e;white-space:nowrap}
.cart-destination select{width:65%;min-width:0;padding:9px 28px 9px 10px;border:1px solid var(--line);border-radius:3px;background:transparent;color:var(--ink);font:inherit;text-overflow:ellipsis}
.cart-totals{display:grid;gap:9px;font-size:13px}
.cart-totals>div{display:flex;justify-content:space-between;gap:20px}
.cart-totals>div:not(.cart-totals__total){color:#82776e}
.cart-totals__total{border-top:1px solid var(--line);padding-top:14px;margin-top:6px;font-size:19px}
.cart-totals__total strong{font-weight:400}
.cart-pay{display:flex;align-items:center;justify-content:space-between;gap:20px;width:100%;min-height:54px;margin-top:22px;padding:13px 23px;border:1px solid var(--ink);border-radius:40px;background:var(--ink);color:var(--paper);font-family:Bookmania,Georgia,serif;font-weight:700;font-size:18px;transition:background .2s}
.cart-pay:hover{background:#45403b}
.cart-pay svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.2}
.cart-pay:disabled{opacity:.5;cursor:wait}
.cart-dialog button:disabled{opacity:.5;cursor:wait}
.cart-dialog .checkout-status{min-height:0;margin:12px 0 0;font-size:12px;line-height:1.5}
.cart-dialog .checkout-status:empty{display:none}
.cart-continue{flex-shrink:0;align-self:center;padding:14px 12px;margin:7px 0 12px;font-size:12px;color:#82776e;text-underline-offset:4px}
.cart-continue:hover{color:var(--ink);text-decoration:underline}
@media(max-width:719px){
  .cart-dialog{inset:auto 0 0;width:100%;height:min(740px,calc(100dvh - 12px));max-height:calc(100dvh - 12px);border-left:0;border-top:1px solid var(--line);border-radius:18px 18px 0 0}
  .cart-dialog[open]{animation-name:cart-sheet-arrive}
  @keyframes cart-sheet-arrive{from{transform:translateY(100%);opacity:.6}to{transform:translateY(0);opacity:1}}
  .cart-panel__header{padding:22px 22px 18px}
  .cart-panel__header h2{font-size:28px}
  .cart-panel__items{padding:0 22px}
  .cart-dialog .cart-item{grid-template-columns:78px minmax(0,1fr) auto;gap:12px;padding:20px 0}
  .cart-dialog .cart-item__thumb{width:78px;height:96px}
  .cart-dialog .cart-item__details h3{font-size:15px}
  .cart-panel__checkout{padding:20px 22px 0}
  .cart-destination{margin-bottom:17px}
  .cart-continue{margin-bottom:max(9px,env(safe-area-inset-bottom))}
}

/* The bag occupies the space below the rail during packing. */
.shop:has(.clothesline[data-packing="true"]) .pagination{opacity:0;pointer-events:none}
.shop .stage:has(.clothesline[data-packing="true"]){z-index:2}

.shop:has(.clothesline[data-packing="true"]) .product-heading{opacity:0}

/* The supplied window stays centred behind the transparent clothesline. */
/* The image and SVG share a view box, so letterboxing stays aligned on mobile. */
.stage-window{position:absolute;left:50%;top:48%;height:96%;width:auto;aspect-ratio:1;max-width:calc(80% - 26px);transform:translate(-50%,-50%);z-index:-1;pointer-events:none;user-select:none}
.stage-window>img,.computer-screen{display:block;width:100%;height:100%;object-fit:contain}
.computer-screen{position:absolute;inset:0;visibility:hidden}
.stage-window.is-drawn .computer-screen{visibility:visible;animation:computer-power-on .65s ease-out both}
.computer-copy{font-family:'Averia Serif Libre',Georgia,serif;text-anchor:middle;fill:#4e6c59}
.computer-boot,.computer-creative{transition:opacity .4s ease}
.computer-creative{opacity:0}
.computer-ticket{opacity:0}
.computer-ticket__heading{letter-spacing:4px}
.computer-screen[data-state="ticket"] .computer-boot,.computer-screen[data-state="returning"] .computer-boot{opacity:0}
.computer-screen[data-state="ticket"] .computer-ticket,.computer-screen[data-state="returning"] .computer-ticket{opacity:1}
.computer-screen[data-state="ready"] .computer-boot,.computer-screen[data-state="failed"] .computer-boot{opacity:0}
.computer-screen[data-state="ready"] .computer-creative,.computer-screen[data-state="failed"] .computer-creative{opacity:1}
#computer-progress{transition:width .35s ease-out}
@keyframes computer-power-on{from{opacity:0}35%{opacity:.85}55%{opacity:.76}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.stage-window.is-drawn .computer-screen{animation:none}.computer-boot,.computer-creative,#computer-progress{transition:none}}

/* Paper decorations live on the wall, outside the central product area. */
body{position:relative;isolation:isolate}
.sticker-field{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
.sticker-field canvas{display:block;width:100%;height:100%}
.header,main,.site-footer{position:relative;z-index:1}

.detail-link{display:block;margin:0 auto 1px;padding:6px 12px;font-size:11px;line-height:1.4;color:#796e64;transition:color .2s}
.detail-link:hover{color:var(--ink)}
.detail-link:disabled{opacity:.4}
.pagination button[hidden],.product-price[hidden],.product-options[hidden],.detail-link[hidden]{display:none}
.arrow:disabled{opacity:.2;pointer-events:none}
.detail-dialog{position:fixed;inset:0;width:100%;height:100dvh;max-width:100%;max-height:100dvh;margin:0;padding:0;border:0;background:transparent;color:var(--ink);overflow:hidden;border-radius:0;--detail-progress:0}
.detail-dialog::backdrop{background:rgb(255 244 236 / var(--detail-progress))}
.detail-dialog[open]{display:block}
.detail-caption{position:absolute;top:var(--caption-top,calc(100% - 60px));left:0;width:100%;height:40px;padding:0 24px;display:grid;place-items:center;text-align:center;pointer-events:none;opacity:0;transition:opacity .25s}
.detail-dialog[data-phase="open"] .detail-caption{opacity:1}
.detail-caption h2{font-size:18px}
.detail-close{position:absolute;top:12px;right:12px;z-index:1;display:grid;place-items:center;width:44px;height:44px;padding:0;color:#796e64}
.detail-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round}
.detail-close:hover{color:var(--ink)}
#detail-scene{position:absolute;inset:0;touch-action:none}
#detail-scene canvas{display:block;width:100%;height:100%;touch-action:none}
#detail-scene>.flat-shirt{width:min(70vw,520px);height:70%;margin:8vh auto 0}
@media(max-width:719px){.detail-dialog{width:100%;height:100dvh;border:0;border-radius:0}.detail-caption h2{font-size:16px}}

/* Language and basket remain small, alongside the centred brand. */
.header-actions{grid-column:3;justify-self:end;display:flex;align-items:center;gap:15px}
.language-toggle{font-size:11px;padding:8px 0;text-decoration:underline;text-underline-offset:3px;color:#756b64}
.language-toggle:hover{color:var(--ink)}
@media(max-width:719px){.header-actions{gap:10px}.language-toggle{font-size:10px}}
@media(max-width:359px){.header{margin-inline:12px}.brand img{width:112px}.header-actions{gap:8px}.saved-link{padding-inline:0}}

