/* Cleopatra boutique: generous imagery, quiet gold structure, retained light product stages. */
:root{--shop-paper:#fafaf8;--shop-ink:#594c37;--shop-muted:#847b68;--shop-rule:#b4a16c35;--shop-gold:#b7a36e}
body.shop-page{background:var(--shop-paper);color:var(--shop-ink)}
body.shop-page[data-mode=dark]{--shop-paper:#151719;--shop-ink:#e3dac6;--shop-muted:#b4ac99;--shop-rule:#b4a16c40;background:var(--shop-paper);color:var(--shop-ink)}
.shop-page #navigation [aria-current=page]{color:var(--shop-gold)}
.shop-page .header-space{background:var(--shop-paper)}
.shop-hero{position:relative;height:clamp(270px,28vw,410px);overflow:hidden;margin:12px 5.5% 0;border-radius:14px;isolation:isolate;color:#fff9e9}
.shop-hero video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 40%;z-index:-2}
.shop-hero-tint{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#2a241ac9,#8a723548 65%,#bda66c40)}
html[dir=rtl] .shop-hero-tint{background:linear-gradient(-90deg,#2a241ac9,#8a723548 65%,#bda66c40)}
.shop-hero-copy{height:100%;padding:35px 6%;display:flex;flex-direction:column;justify-content:center;max-width:650px}
.shop-hero-copy>p:first-child{font-size:11px;opacity:.85;margin:0 0 15px}
.shop-hero h1{font-size:clamp(31px,4.5vw,60px);font-weight:400;line-height:1.45;margin:0 0 12px}
.shop-hero-copy>p:last-child{font-size:13px;line-height:1.9;margin:0;max-width:340px}
.shop-catalogue{margin:30px 5.5% 65px}
.shop-categories{display:flex;position:static;inset:auto;align-items:center;gap:8px;margin:0;padding:0 0 22px;border:0;border-bottom:1px solid var(--shop-rule);background:none;backdrop-filter:none;overflow-x:auto;scrollbar-width:thin;font-size:12px}
.shop-categories a{flex:none;white-space:nowrap;padding:9px 18px;border:1px solid var(--shop-rule);border-radius:3px;transition:background .25s,color .25s}
.shop-categories a:after,.product-crumb a:after{display:none}
.shop-categories a[aria-current=page]{background:var(--shop-gold);border-color:var(--shop-gold);color:#29261e}
.shop-categories a:hover{border-color:var(--shop-gold)}
.shop-tools{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:25px 0}
#shop-count{font-size:12px;color:var(--shop-muted);white-space:nowrap;margin:0}
.shop-controls{display:flex;gap:25px;align-items:center}
.shop-controls label{display:flex;align-items:center;gap:12px;font-size:11px}
.shop-controls input,.shop-controls select{font:inherit;color:var(--shop-ink);background:var(--shop-paper);border:0;border-bottom:1px solid var(--shop-rule);border-radius:0;padding:8px 2px;max-width:180px}
.shop-controls select{cursor:pointer}.shop-controls input:focus,.shop-controls select:focus{outline:1px solid var(--shop-gold);outline-offset:4px}
.shop-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
.shop-product{position:relative;min-width:0}
.shop-product-link{display:block;position:relative;padding-bottom:14px;border-bottom:1px solid var(--shop-rule)}
.shop-product-images{position:relative;aspect-ratio:3/4;background:#f2f2ee;overflow:hidden;border-radius:5px}
.shop-product-images img{position:absolute;inset:0;width:100%;height:100%;padding:6%;object-fit:contain;display:block;transition:opacity .45s ease,transform .6s ease}
.shop-model{opacity:0}.shop-flat{opacity:1}
.shop-product-link h2{font-size:14px;font-weight:400;line-height:1.8;margin:16px 26px 4px 0}
html[dir=rtl] .shop-product-link h2{margin:16px 0 4px 26px}
.shop-product-meta{font-size:10px;color:var(--shop-muted);margin:0;line-height:1.8}
.shop-product-arrow{position:absolute;inset-inline-end:0;bottom:28px;color:var(--shop-gold)}
.shop-product-arrow .ui-icon{width:17px;height:17px}
.shop-product-link.is-previewing .shop-model{opacity:1}.shop-product-link.is-previewing .shop-flat{opacity:0}
@media(hover:hover){.shop-product-link:hover .shop-model,.shop-product-link:focus-visible .shop-model{opacity:1}.shop-product-link:hover .shop-flat,.shop-product-link:focus-visible .shop-flat{opacity:0}.shop-product-link:hover img{transform:scale(1.025)}}
.shop-empty{padding:50px 0;text-align:center;color:var(--shop-muted)}
.product-main{margin:28px 5.5% 60px}
.product-crumb{display:flex;position:static;inset:auto;gap:12px;margin:0 0 28px;padding:0;border:0;background:none;backdrop-filter:none;font-size:11px;color:var(--shop-muted)}
.product-crumb a{padding:0}
.product-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:7%;align-items:start}
.product-image-stage{background:#f2f2ee;border-radius:8px;aspect-ratio:3/4;max-height:780px}
.product-image-stage>img{width:100%;height:100%;object-fit:contain;padding:4%;display:block}
.product-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.product-thumbs button{padding:0;border:1px solid transparent;border-radius:4px;background:#f2f2ee;overflow:hidden}
.product-thumbs button[aria-pressed=true]{border-color:var(--shop-gold)}
.product-thumbs img{width:100%;height:110px;object-fit:contain;padding:6px;display:block}
.product-info{position:sticky;top:105px;padding:30px 0}
.product-eyebrow{font-size:11px;color:var(--shop-muted);margin:0 0 12px}
.product-info h1{font-size:clamp(26px,3vw,42px);font-weight:400;line-height:1.6;margin:0 0 22px;text-transform:capitalize}
#product-description{font-size:14px;line-height:2.1;max-width:480px;color:var(--shop-muted)}
.product-inquiry{font-size:12px;padding-block:20px;border-block:1px solid var(--shop-rule);margin:26px 0}
.product-colours{padding:0;border:0;margin:0 0 30px}.product-colours legend{font-size:12px;margin-bottom:12px}
#product-colours{display:flex;gap:9px;flex-wrap:wrap}
#product-colours button{border:1px solid var(--shop-rule);padding:9px 14px;font-size:11px;border-radius:3px}
#product-colours button[aria-pressed=true]{background:var(--shop-gold);border-color:var(--shop-gold);color:#29261e}
.shop-contact{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 20px;background:var(--shop-gold);border:1px solid var(--shop-gold);border-radius:3px;color:#29261e;font-size:13px;max-width:420px}
.product-instagram{display:inline-flex;align-items:center;gap:12px;font-size:12px;border-bottom:1px solid var(--shop-rule);padding:10px 0;margin-top:8px}
.product-note{font-size:10px;color:var(--shop-muted);line-height:1.9;max-width:400px;margin:22px 0}
.product-return{display:inline-block;font-size:11px;color:var(--shop-gold);text-decoration:underline;text-underline-offset:5px}
.product-related{margin-top:65px;padding-top:30px;border-top:1px solid var(--shop-rule)}
.product-related>h2{font-size:25px;font-weight:400;margin:0 0 25px}
[hidden]{display:none!important}
@media(min-width:1800px){.shop-catalogue,.product-main{max-width:1700px;margin-inline:auto}.shop-hero{max-width:1700px;margin-inline:auto}}
@media(max-width:1050px){.shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 18px}.shop-controls{gap:15px}.shop-controls label{gap:8px}.shop-search{flex-direction:column;align-items:start!important}.product-layout{gap:5%}.product-info{padding-top:10px}}
@media(max-width:760px){
 .shop-hero{height:250px;min-height:0;margin:8px 4% 0;border-radius:10px}
 .shop-hero-copy{padding:24px 7%;max-width:90%}.shop-hero h1{font-size:32px;line-height:1.5}.shop-hero-copy>p:last-child{font-size:11px;max-width:230px}.shop-hero-copy>p:first-child{font-size:10px}
 .shop-catalogue{margin:20px 4% 38px}.shop-categories{gap:7px;padding-bottom:16px}.shop-categories a{font-size:10px;padding:8px 12px}
 .shop-tools{display:block;padding:18px 0}#shop-count{font-size:10px;margin-bottom:12px}.shop-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.shop-controls label{flex-direction:column;align-items:start;gap:5px;font-size:10px}.shop-controls input,.shop-controls select{width:100%;max-width:none;min-width:0;font-size:11px}
 .shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.shop-product-link h2{font-size:12px;margin-top:10px}.shop-product-meta{font-size:9px}.shop-product-images img{padding:3%}.shop-product-arrow{bottom:26px}.shop-product-arrow .ui-icon{width:14px;height:14px}
 .product-main{margin:18px 4% 35px}.product-crumb{font-size:10px;margin-bottom:18px}.product-layout{display:block}.product-image-stage{max-height:none}.product-info{position:static;padding:28px 3% 0}.product-info h1{font-size:28px;margin-bottom:15px}#product-description{font-size:13px}.product-thumbs{gap:8px}.product-thumbs img{height:90px}.product-related{margin-top:40px;padding-top:22px}.product-related>h2{font-size:22px}
}
@media(prefers-reduced-motion:reduce){.shop-product-images img{transition:none!important}}

/* Compact multi-select filters with a shared, readable mobile panel. */
.shop-filter-bar{position:relative;display:flex;align-items:center;gap:22px;padding-top:22px;font-size:11px;z-index:12}
.shop-filter-bar>span{color:var(--shop-muted)}
#shop-facets{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.shop-facet{position:relative}
.shop-facet summary{cursor:pointer;list-style:none;border:1px solid var(--shop-rule);padding:8px 14px;border-radius:3px;white-space:nowrap;user-select:none}
.shop-facet summary::-webkit-details-marker{display:none}
.shop-facet summary:after{content:'';display:inline-block;width:5px;height:5px;border-inline-end:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);margin-inline-start:12px;vertical-align:3px;transition:transform .2s}
.shop-facet[open] summary{border-color:var(--shop-gold);color:var(--shop-gold)}
.shop-facet[open] summary:after{transform:rotate(225deg);vertical-align:0}
.shop-facet-options{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-start:0;width:240px;max-height:330px;overflow:auto;overscroll-behavior:contain;padding:12px 16px;background:var(--shop-paper);border:1px solid var(--shop-rule);border-radius:5px;box-shadow:0 8px 25px #0000000c;z-index:15}
.shop-facet-options label{display:flex;align-items:center;gap:10px;padding:8px 0;cursor:pointer;font-size:12px}
.shop-facet-options input{width:14px;height:14px;margin:0;accent-color:var(--shop-gold);flex:none}
.shop-facet-options small{margin-inline-start:auto;color:var(--shop-muted);font-size:10px}
.shop-facet-options label:has(input:disabled){opacity:.4;cursor:default}
#shop-clear{color:var(--shop-gold);padding:8px 0;margin-inline-start:auto;font-size:11px;text-decoration:underline;text-underline-offset:4px}
.shop-active-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.shop-active-filters:empty{display:none}
.shop-active-filters button{padding:5px 10px;font-size:10px;border-radius:3px;background:var(--shop-gold);color:#29261e;line-height:1.8}
@media(max-width:760px){
 .shop-filter-bar{gap:10px;flex-wrap:wrap;padding-top:16px}
 .shop-filter-bar>span{font-size:10px}
 #shop-facets{gap:6px}.shop-facet{position:static}
 .shop-facet summary{font-size:10px;padding:7px 9px}.shop-facet summary:after{margin-inline-start:7px}
 .shop-facet-options{inset-inline:0;width:auto;inset-block-start:calc(100% + 7px);max-height:300px;padding:10px 18px}
 #shop-clear{font-size:10px}
}

/* Keep each temporary price opposite its product name. */
.shop-product-link{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:12px;align-items:baseline}
.shop-product-images{grid-column:1/-1;width:100%}
.shop-product-link h2,html[dir=rtl] .shop-product-link h2{grid-column:1;margin:14px 0 4px}
.shop-product-price{grid-column:2;grid-row:2;font-size:12px;line-height:1.8;color:var(--shop-ink);text-align:end}
.shop-product-meta{grid-column:1;grid-row:3}
.shop-product-arrow{position:static;grid-column:2;grid-row:3;text-align:end;line-height:1}
.product-inquiry{font-size:21px;color:var(--shop-gold)}
@media(max-width:760px){.shop-product-link{column-gap:8px}.shop-product-price{font-size:10px;max-width:80px}.shop-product-link h2,html[dir=rtl] .shop-product-link h2{font-size:11px;margin-top:10px}.product-inquiry{font-size:19px}}

.shop-tools{justify-content:flex-end}

.product-size-guide{margin:0 0 25px;border-block:1px solid var(--shop-rule);padding:15px 0}
.product-size-guide summary{font-size:13px;cursor:pointer;color:var(--shop-ink)}
.size-guide-intro,.size-guide-empty,#product-size-note{font-size:11px;line-height:1.9;color:var(--shop-muted);margin:14px 0}
#product-size-table{max-width:100%;overflow-x:auto;overscroll-behavior:contain}
#product-size-table:empty{display:none}
#product-size-table table{width:100%;border-collapse:collapse;font-size:11px;text-align:start;margin:0 0 12px}
#product-size-table caption{text-align:start;font-size:11px;color:var(--shop-muted);margin-bottom:10px}
#product-size-table th,#product-size-table td{padding:10px 12px;border-bottom:1px solid var(--shop-rule);white-space:nowrap;text-align:start}
#product-size-table thead{color:var(--shop-gold)}
#product-size-table th{font-weight:400}
.size-guide-contact{display:inline-block;font-size:11px;color:var(--shop-gold);text-decoration:underline;text-underline-offset:5px;margin:3px 0 6px}

/* Editable dimensions mapped onto a garment drawing, never baked into an image. */
#product-size-table{overflow:visible}
.size-garment-diagram{display:block;width:100%;height:auto;max-width:620px;margin:8px auto;color:var(--shop-gold);overflow:visible}
.garment-outline{fill:color-mix(in srgb,var(--shop-gold) 10%,transparent);stroke:var(--shop-gold);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.garment-seam{fill:none;stroke:var(--shop-gold);stroke-width:1;opacity:.35}
.dimension-line{stroke:var(--shop-gold);stroke-width:1.2}
.dimension-leader{stroke:var(--shop-gold);stroke-width:.8;stroke-dasharray:3 5;opacity:.55}
.dimension-label{font-family:inherit;font-size:13px;fill:var(--shop-muted)}
.dimension-value{font-family:inherit;font-size:16px;font-weight:500;fill:var(--shop-ink)}
.size-diagram-caption{font-size:10px;line-height:1.9;color:var(--shop-muted);margin:0 0 14px}
.size-guide-choices{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.size-guide-choices button{border:1px solid var(--shop-rule);border-radius:3px;padding:6px 14px;font-size:11px}
.size-guide-choices button[aria-pressed=true]{color:#29261e;background:var(--shop-gold);border-color:var(--shop-gold)}

/* Keep the full gallery, including thumbnails, within the same image frame width. */
.product-gallery{width:100%;max-width:620px;min-width:0;justify-self:start}
.product-image-stage{width:100%;height:auto;aspect-ratio:3/4;max-height:none;overflow:hidden}
.product-image-stage>img{max-width:100%;max-height:100%;aspect-ratio:3/4;object-fit:contain}
.product-thumbs{width:100%;max-width:100%;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr))}
.product-thumbs button{min-width:0;max-width:100%}
.product-thumbs img{width:100%;max-width:100%;height:auto;aspect-ratio:3/4;max-height:125px;object-fit:contain}
.product-info{min-width:0}
.product-options{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,.7fr);gap:26px;align-items:start;margin-bottom:25px}
.product-options .product-colours{margin:0;min-width:0}
.product-size-selection{display:flex;flex-direction:column;gap:12px;min-width:0}
.product-size-selection label{font-size:12px;line-height:1.7}
.product-size-selection select{width:100%;min-height:38px;padding:8px 12px;border:1px solid var(--shop-rule);border-radius:3px;background:var(--shop-paper);color:var(--shop-ink);font:inherit;font-size:11px}
.product-size-selection select:focus-visible{outline:1px solid var(--shop-gold);outline-offset:3px}
.product-size-selection select:disabled{opacity:.65}
.product-contact-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch;margin-bottom:24px}
.product-contact-row .shop-contact,.product-contact-row .product-instagram{display:flex;align-items:center;justify-content:space-between;gap:10px;max-width:none;margin:0;padding:13px 16px;border:1px solid var(--shop-gold);border-radius:3px;font-size:12px;line-height:1.8}
.product-contact-row .product-instagram{color:var(--shop-gold);background:transparent}
.product-contact-row .ui-icon{flex:none;width:16px;height:16px}
@media(max-width:760px){
 .product-gallery{max-width:none}
 .product-options{grid-template-columns:minmax(0,1fr) minmax(110px,.75fr);gap:15px}
 .product-thumbs img{max-height:100px}
 .product-contact-row{gap:8px}
 .product-contact-row .shop-contact,.product-contact-row .product-instagram{font-size:11px;padding:11px 10px}
}

#product-colours .product-colour-swatch{width:34px;height:34px;min-width:34px;padding:4px;border:1px solid var(--shop-rule);border-radius:50%;background:transparent;position:relative}
#product-colours .product-colour-swatch:before{content:'';display:block;width:100%;height:100%;border-radius:50%;background:var(--swatch);border:1px solid #80807025}
#product-colours .product-colour-swatch[aria-pressed=true]{border-color:var(--shop-gold);outline:1px solid var(--shop-gold);outline-offset:2px;background:transparent}
#product-colours .product-colour-swatch:focus-visible{outline:2px solid var(--shop-gold);outline-offset:3px}
.product-size-guide summary{display:flex;align-items:center;justify-content:space-between;list-style:none}
.product-size-guide summary::-webkit-details-marker{display:none}
.product-size-guide summary:after{content:'';width:6px;height:6px;flex:none;border-inline-end:1px solid currentColor;border-bottom:1px solid currentColor;transform:rotate(45deg);transition:transform .3s}
.product-size-guide[open] summary:after{transform:rotate(225deg)}
.size-guide-choices{margin:18px 0 0}

/* Centre the coloured disk independently from inherited button line-height/padding. */
#product-colours .product-colour-swatch{display:block;box-sizing:border-box;padding:0;line-height:0;flex:none}
#product-colours .product-colour-swatch:before{position:absolute;inset:4px;width:auto;height:auto;box-sizing:border-box}
.product-image-stage{position:relative;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none}
.product-image-stage>img{will-change:transform,opacity}
.gallery-navigation{position:absolute;left:12px;right:12px;top:50%;display:flex;justify-content:space-between;direction:ltr;pointer-events:none;transform:translateY(-50%)}
.gallery-navigation button{pointer-events:auto;display:grid;place-items:center;width:34px;height:34px;padding:6px;border:1px solid #b7a36e60;border-radius:50%;background:#fafaf8c9;color:#9b8755}
.product-thumbs{display:flex;gap:10px;overflow-x:auto;scrollbar-width:thin;scrollbar-color:var(--shop-gold) transparent;padding-bottom:5px}
.product-thumbs button{flex:0 0 calc((100% - 30px)/4)}
#product-related{display:flex;gap:20px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scrollbar-color:var(--shop-gold) var(--shop-rule);scrollbar-width:thin;padding:0 0 16px;cursor:grab}
#product-related .shop-product{flex:0 0 calc((100% - 80px)/5);min-width:0;scroll-snap-align:start}
#product-related.dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
#product-related::-webkit-scrollbar{height:4px}
#product-related::-webkit-scrollbar-thumb{background:var(--shop-gold);border-radius:3px}
#product-related::-webkit-scrollbar-track{background:var(--shop-rule)}
.product-stock{font-size:12px;color:var(--shop-muted);margin:0 0 20px}
.product-stock.in_stock{color:var(--shop-gold)}
@media(max-width:1050px){#product-related .shop-product{flex-basis:calc((100% - 36px)/3.25)}}
@media(max-width:760px){#product-related{gap:12px}#product-related .shop-product{flex-basis:43%}.gallery-navigation{left:8px;right:8px}.gallery-navigation button{width:29px;height:29px}}

/* Fixed text tracks keep every suggested piece on the same baselines. */
.shop-product-link{font-size:14px;grid-template-rows:auto 3.6em 36px;align-items:start;height:100%;transition:transform .28s cubic-bezier(.22,.75,.2,1);transform-origin:center 45%}
.shop-product-images{margin-bottom:14px}
.shop-product-link h2,html[dir=rtl] .shop-product-link h2{font-size:inherit;line-height:1.8;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shop-product-meta{line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.shop-product-price{margin:0;line-height:1.8}
.shop-product-arrow{align-self:start;margin-top:2px}
#product-related{align-items:stretch;padding-top:7px}
@media(max-width:760px){.shop-product-link{font-size:11px;grid-template-rows:auto 3.6em 34px}.shop-product-images{margin-bottom:10px}}
@media(hover:none),(pointer:coarse){.shop-product-link.is-previewing{transform:scale(1.025);z-index:3}}
@media(prefers-reduced-motion:reduce){.shop-product-link{transition:none}}

/* Product lightbox: a native modal with shared gallery and colour selection. */
.product-viewer{position:fixed;inset:0;width:100%;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:var(--shop-paper);color:var(--shop-ink);backdrop-filter:none;overflow:hidden;text-align:start}
.product-viewer[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.product-viewer::backdrop{background:#11111128;backdrop-filter:none}
.viewer-top{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:max(14px,env(safe-area-inset-top)) clamp(16px,4vw,60px) 10px;z-index:2}
.product-viewer .viewer-title{font:inherit;font-size:15px;letter-spacing:0;line-height:1.6;margin:0}
.viewer-close{display:grid;place-items:center;flex:none;width:36px;height:36px;padding:8px;border:1px solid var(--shop-rule);border-radius:50%;color:var(--shop-ink)}
.viewer-image-stage{position:relative;min-height:0;width:100%;touch-action:pan-y pinch-zoom;overflow:hidden;user-select:none;-webkit-user-select:none}
#viewer-image{width:100%;height:100%;display:block;object-fit:contain;padding:0 5%;will-change:opacity,transform}
.viewer-bottom{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px 25px;padding:14px clamp(16px,4vw,60px) max(18px,env(safe-area-inset-bottom));border-top:1px solid var(--shop-rule)}
.viewer-palette{display:flex;align-items:center;gap:16px;min-width:0}
.viewer-colour-label{font-size:11px;white-space:nowrap}
.viewer-colours{display:flex;align-items:center;gap:10px;overflow-x:auto;padding:4px;min-width:0}
.viewer-swatch{position:relative;flex:none;display:block;width:32px;height:32px;margin:0;padding:0;line-height:0;border:1px solid var(--shop-rule);border-radius:50%;background:transparent}
.viewer-swatch:before{content:'';position:absolute;inset:4px;border-radius:50%;background:var(--swatch);border:1px solid #80807025;box-sizing:border-box}
.viewer-swatch[aria-pressed=true]{border-color:var(--shop-gold);outline:1px solid var(--shop-gold);outline-offset:2px}
.viewer-counter{font-size:11px;white-space:nowrap;color:var(--shop-muted)}
.viewer-thumbs{grid-column:1/-1;display:flex;justify-content:start;gap:9px;overflow-x:auto;padding:3px 0;scrollbar-width:thin;scrollbar-color:var(--shop-gold) transparent}
.viewer-thumbs button{flex:none;width:50px;height:64px;padding:3px;border:1px solid transparent;border-radius:4px;background:#f2f2ee}
.viewer-thumbs button[aria-pressed=true]{border-color:var(--shop-gold)}
.viewer-thumbs img{width:100%;height:100%;object-fit:contain;display:block}
.viewer-flight{position:fixed;left:0;top:0;margin:0;padding:0;max-width:none;max-height:none;object-fit:contain;transform-origin:0 0;z-index:5;pointer-events:none;will-change:transform}
.product-image-stage{cursor:zoom-in}
@media(max-width:760px){.product-viewer .viewer-title{font-size:12px}.viewer-close{width:32px;height:32px}.viewer-top{padding-inline:16px}.viewer-bottom{padding-inline:16px;gap:9px 14px}.viewer-palette{gap:10px}.viewer-thumbs button{width:42px;height:54px}.viewer-colour-label,.viewer-counter{font-size:10px}}
