/* Quiet product cards: clear photos, short metadata and one primary action. */
.shop-storefront .product-card-visual{position:relative;height:clamp(140px,22svh,205px);background:#f4ece5}
.shop-storefront .product-card-copy{padding:18px;gap:0}
.shop-storefront .product-card-copy h3{font-size:25px;line-height:1.05;margin:0 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:0}
.shop-storefront .product-card-copy .shop-prices{margin:0 0 8px;gap:3px}
.shop-storefront .product-card-copy .shop-price-applied strong{font-size:25px}
.shop-storefront .product-card-copy .product-lead{font-size:13px;line-height:1.4;margin:5px 0 10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-delay-compact{font-size:11px!important;line-height:1.5!important;color:#75635b;margin:0 0 12px}
.product-delay-compact strong{color:var(--wine)}
.shop-storefront .product-actions{display:flex;gap:16px;align-items:center;margin-top:auto;padding-top:10px}.shop-storefront .product-actions .product-order{flex:1}
.shop-storefront .product-actions button{min-height:44px;margin:0!important;padding:10px 12px;font-size:12px;line-height:1.3;border-radius:6px}
.shop-storefront .product-actions .product-detail{color:var(--wine);background:transparent;box-shadow:none;border:0;border-radius:0;max-width:none;padding:8px 0;white-space:nowrap;text-decoration:none;font-weight:600}.shop-storefront .product-actions .product-detail:hover{text-decoration:underline;text-underline-offset:4px}
.shop-image-zoom{display:block;position:relative;width:100%;height:100%;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;cursor:zoom-in;overflow:hidden;color:var(--wine)!important}
.shop-image-zoom>img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .2s ease}
.shop-image-zoom:hover>img{transform:scale(1.035)}
.shop-image-zoom:focus-visible{outline:3px solid var(--gold)!important;outline-offset:-4px}
.shop-storefront .featured-product{min-height:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.shop-storefront .featured-visual{min-height:300px;height:320px}
.shop-storefront .featured-copy{padding:26px}
.shop-storefront .featured-copy h3{font-size:clamp(30px,4vw,46px);margin:10px 0 16px}
.shop-storefront .featured-copy .product-lead{font-size:15px;line-height:1.5}
.shop-storefront .featured-visual>span{top:14px;padding:8px 12px;font-size:10px}

/* Detail sheet groups identical prices instead of repeating a block per size. */
#detail-dialog{width:min(850px,94vw);padding:26px}
#detail-dialog .detail-overview{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:24px;margin:16px 0}
#detail-dialog .detail-image{height:140px;max-height:140px;background:#f7f1ea!important;border-radius:8px!important}
#detail-dialog .detail-description{font-size:14px;line-height:1.6;margin:12px 0 18px}
#detail-dialog h3{font-size:16px;margin:18px 0 10px}
#detail-dialog .detail-tariff-groups{padding:0;margin:0;list-style:none;display:grid;gap:8px}
#detail-dialog .detail-tariff-groups>li{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #eadfd6;border-radius:8px;padding:10px 14px;line-height:1.5}
.detail-size-group{font-size:13px;font-weight:700;flex:1}
#detail-dialog .detail-tariff-groups .shop-prices{margin:0;gap:2px;flex-shrink:0}
#detail-dialog .detail-tariff-groups .shop-price-applied strong{font-size:20px}
#detail-dialog .detail-options{display:flex;flex-wrap:wrap;gap:6px 20px;padding-left:18px;font-size:13px;margin:8px 0}
#detail-dialog .detail-actions{position:sticky;bottom:-26px;z-index:1;background:#fffaf3;border-top:1px solid #e5d7cc;padding:14px 0 10px;margin-top:18px}
#detail-dialog .detail-actions>button{width:100%;min-height:48px;background:var(--wine);color:#fff;font-weight:800}

/* Image viewer, with native scroll for enlarged photographs. */
.shop-storefront .shop-image-dialog{width:min(1080px,96vw);max-height:94svh;margin:auto;padding:18px;border-radius:14px;background:#fffaf3}
.shop-image-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}
.shop-image-head strong{font:800 18px/1.3 Arial,sans-serif}
.shop-image-head button{min-width:44px;min-height:44px;border-radius:50%;font-size:24px}
.shop-image-tools{display:flex;gap:10px;align-items:center;justify-content:center}
.shop-image-tools button{min-width:44px;min-height:44px;padding:8px 14px}
.shop-image-tools [role=status]{font-size:13px;min-width:54px;text-align:center}
.shop-image-help{font-size:12px;text-align:center;color:#75635b;margin:8px 0 12px}
.shop-image-stage{max-height:calc(94svh - 180px);overflow:auto;text-align:center;background:#f3ece5;border-radius:8px;overscroll-behavior:contain}
.shop-image-stage img{display:block;margin:auto;max-width:none;height:auto;object-fit:contain}
.shop-image-stage:focus-visible{outline:3px solid var(--gold);outline-offset:-3px}

/* Version 2: category rails, one deliberate horizontal browsing gesture. */
.shop-preview-notice{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:0;padding:14px max(24px,calc((100vw - 1180px)/2));background:#fff1b8;border-bottom:1px solid #e2ce8a;font-size:12px;color:#58181c}
.shop-preview-notice strong{margin-right:auto}.shop-preview-notice a{font-weight:800;text-decoration:underline;text-underline-offset:4px}.shop-preview-notice [aria-current=page]{text-decoration-thickness:3px}
.shop-layout-rail .shop-product-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:clamp(260px,29vw,340px);overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;gap:18px;padding:4px 3px 18px;scrollbar-width:none;scroll-padding-inline:3px}
.shop-layout-rail .shop-product-card{scroll-snap-align:start;scroll-margin:3px}
.shop-layout-rail .shop-category>header{align-items:center;gap:16px}
.shop-layout-rail .shop-category>header>div{flex:1}
.shop-layout-rail .shop-category>header h3{font-size:clamp(24px,3vw,34px)}

/* Version 3: magazine-like rows, generous image and readable information column. */
.shop-layout-editorial .shop-feature{display:none}
.shop-layout-editorial .shop-product-grid{display:grid;grid-template-columns:1fr;gap:24px}
.shop-layout-editorial .shop-product-card{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(0,1.2fr);border:0;border-bottom:1px solid #ddcfc3;border-radius:0;padding:0 0 24px;box-shadow:none;background:transparent}
.shop-layout-editorial .product-card-visual{height:280px;border-radius:12px;overflow:hidden}
.shop-layout-editorial .product-card-copy{padding:20px 30px;justify-content:center}
.shop-layout-editorial .product-card-copy h3{font-size:32px;min-height:0}
.shop-layout-editorial .product-card-copy .product-lead{-webkit-line-clamp:3;max-width:55ch;font-size:15px}
.shop-layout-editorial .product-actions{margin-top:12px;max-width:430px}
.shop-layout-editorial .shop-category>header{border-top:3px solid var(--wine);padding-top:20px}
.shop-layout-editorial .shop-category>header>span{font-size:36px}
.shop-layout-editorial .shop-category-filters{gap:12px}
.shop-layout-editorial .shop-category-filters button{border-radius:0;border:0;border-bottom:2px solid transparent;background:transparent}
.shop-layout-editorial .shop-category-filters [aria-pressed=true]{border-bottom-color:var(--wine);color:var(--wine);background:transparent}
@media(max-width:700px){
 .shop-storefront .featured-product{display:block}.shop-storefront .featured-visual{height:250px;min-height:0}.shop-storefront .featured-copy{padding:22px}
 .shop-storefront .product-card-visual{height:190px}.shop-storefront .product-card-copy h3{font-size:24px}
 #detail-dialog{padding:20px}#detail-dialog .detail-actions{bottom:-20px}#detail-dialog .detail-overview{grid-template-columns:110px 1fr;gap:14px}#detail-dialog .detail-image{height:110px;max-height:110px}
 #detail-dialog .detail-tariff-groups>li{flex-wrap:wrap}.detail-size-group{min-width:130px}
 .shop-layout-editorial .shop-product-card{grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);gap:14px;padding-bottom:20px}
 .shop-layout-editorial .product-card-visual{height:210px}.shop-layout-editorial .product-card-copy{padding:6px 0}.shop-layout-editorial .product-card-copy h3{font-size:23px}.shop-layout-editorial .product-card-copy .product-lead{font-size:12px;-webkit-line-clamp:2}
 .shop-layout-editorial .product-actions{grid-template-columns:1fr}.shop-layout-editorial .product-actions .product-detail{max-width:none;min-height:36px}
 .shop-preview-notice{padding:12px 18px;gap:12px}.shop-preview-notice strong{width:100%}
}
@media(max-width:400px){.shop-layout-editorial .shop-product-card{grid-template-columns:1fr}.shop-layout-editorial .product-card-visual{height:200px}.shop-layout-editorial .product-actions{grid-template-columns:minmax(0,1fr) auto}}
@media(prefers-reduced-motion:reduce){.shop-image-zoom>img{transition:none}}

.product-summary{font:500 11px/1.5 Arial,sans-serif;color:#76645c;margin:0 0 8px}
.shop-rail-shell{position:relative;min-width:0}.shop-rail-shell:before,.shop-rail-shell:after{content:'';position:absolute;z-index:1;top:0;bottom:0;width:28px;pointer-events:none;opacity:0;transition:opacity .2s}
.shop-rail-shell:before{left:0;background:linear-gradient(90deg,#fff,transparent)}.shop-rail-shell:after{right:0;background:linear-gradient(-90deg,#fff,transparent)}.shop-rail-shell.has-before:before,.shop-rail-shell.has-after:after{opacity:1}
.shop-layout-rail .shop-product-grid::-webkit-scrollbar{display:none}
.shop-rail-navigation{display:grid;grid-template-columns:auto minmax(80px,1fr) auto;align-items:center;gap:22px;margin:0 3px 16px;color:#82716a;font:500 11px/1.4 Arial,sans-serif}
.shop-rail-navigation[hidden]{display:none}.shop-rail-navigation input[type=range]{width:100%;height:44px;min-height:44px;margin:0;padding:0;border:0;background:transparent;box-shadow:none;cursor:ew-resize;appearance:none;-webkit-appearance:none}
.shop-rail-navigation input::-webkit-slider-runnable-track{height:3px;border-radius:3px;background:linear-gradient(90deg,var(--wine) 0 var(--rail-progress,0%),#e7ded6 var(--rail-progress,0%) 100%)}
.shop-rail-navigation input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:32px;height:11px;margin-top:-4px;border:0;border-radius:10px;background:var(--wine);box-shadow:0 1px 5px #58181c18}
.shop-rail-navigation input::-moz-range-track{height:3px;border-radius:3px;background:#e7ded6}.shop-rail-navigation input::-moz-range-progress{height:3px;background:var(--wine)}.shop-rail-navigation input::-moz-range-thumb{width:32px;height:11px;border:0;border-radius:10px;background:var(--wine)}
.shop-rail-navigation input:focus-visible{outline:2px solid var(--gold);outline-offset:3px;border-radius:6px}
.shop-rail-count{font-variant-numeric:tabular-nums;white-space:nowrap}


@media(max-width:700px){
 .shop-storefront .product-actions{gap:12px}.shop-rail-navigation{grid-template-columns:minmax(80px,1fr) auto;gap:12px}.shop-rail-hint{display:none}
 .shop-layout-editorial .product-actions{flex-wrap:wrap}.shop-layout-editorial .product-actions .product-order{flex-basis:100%}
}
@media(prefers-reduced-motion:reduce){.shop-rail-shell:before,.shop-rail-shell:after{transition:none}}

/* A balanced feature: the photo and information share a responsive, airy card. */
.shop-storefront .featured-product{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);align-items:stretch;border:1px solid #e5d8cb;border-radius:20px;overflow:hidden;box-shadow:0 12px 35px #58181c06}
.shop-storefront .featured-visual{height:auto;min-height:380px;background:#f1e8df;padding:24px}
.shop-storefront .featured-visual .shop-image-zoom{position:absolute;inset:24px;width:calc(100% - 48px);height:calc(100% - 48px)}
.shop-storefront .featured-visual>span{display:none}
.shop-storefront .featured-copy{padding:clamp(24px,3.5vw,48px);justify-content:center;align-items:flex-start;gap:0;min-width:0}
.shop-storefront .featured-copy h3{font-size:clamp(30px,3.5vw,44px);line-height:1.08;margin:0 0 24px;max-width:20ch;text-wrap:balance}
.shop-storefront .featured-copy .shop-prices{margin:0 0 12px}
.shop-storefront .featured-copy .product-summary{margin-bottom:16px}
.shop-storefront .featured-copy .product-lead{margin:0 0 14px;max-width:45ch}
.shop-storefront .featured-copy .product-actions{width:100%;margin:12px 0 0;flex-wrap:wrap;justify-content:flex-start;gap:12px 24px}
.shop-storefront .featured-copy .product-order{flex:0 1 auto;min-width:210px;padding:14px 22px}
.shop-storefront .featured-copy .product-detail{padding:12px 0}
.shop-image-stage{height:calc(94svh - 190px);min-height:180px;max-height:none;touch-action:pan-x pan-y;scroll-behavior:auto}
.shop-image-stage img{user-select:none;-webkit-user-drag:none}
.shop-image-stage.is-zoomed{cursor:grab}.shop-image-stage.is-dragging{cursor:grabbing;user-select:none}
.shop-layout-rail .shop-product-grid{cursor:grab;scroll-snap-type:x proximity}
.shop-layout-rail .shop-product-grid.is-dragging{cursor:grabbing;scroll-snap-type:none;user-select:none}
.shop-layout-rail .shop-product-grid.is-dragging .shop-image-zoom{cursor:grabbing;pointer-events:none}
.shop-layout-rail .shop-product-grid img{-webkit-user-drag:none;user-select:none}
/* Version 4: the bento rhythm, on the same warm background as the club. */
.shop-layout-future .shop-welcome{border-radius:28px}
.shop-layout-future .shop-feature{display:none}
.shop-layout-future .shop-product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.shop-layout-future .shop-product-card{border-radius:22px;background:#fffdf9;border:1px solid #e8d7c5;box-shadow:0 15px 40px #58181c06}
.shop-layout-future .product-card-visual{height:230px;background:#f1e7db}
.shop-layout-future .product-card-copy{padding:24px}
.shop-layout-future .product-card-copy h3{font-family:Arial,sans-serif;font-size:24px;font-weight:800;letter-spacing:-.04em;text-transform:none;line-height:1.15}
.shop-layout-future .product-actions .product-order{border-radius:28px}
.shop-layout-future .shop-product-card:first-child{grid-column:span 2;display:grid;grid-template-columns:1fr 1fr}
.shop-layout-future .shop-product-card:first-child .product-card-visual{height:100%;min-height:320px}
.shop-layout-future .shop-product-card:first-child .product-card-copy{justify-content:center}
@media(max-width:900px){.shop-layout-future .shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-layout-future .shop-product-card:first-child{grid-column:span 2}}
@media(max-width:700px){
 .shop-storefront .featured-product{display:grid;grid-template-columns:1fr}
 .shop-storefront .featured-visual{height:270px;min-height:0;padding:16px}.shop-storefront .featured-visual .shop-image-zoom{inset:16px;width:calc(100% - 32px);height:calc(100% - 32px)}
 .shop-storefront .featured-copy{padding:26px 22px}.shop-storefront .featured-copy h3{margin-bottom:18px;font-size:32px}
 .shop-storefront .featured-copy .product-actions{align-items:flex-start;flex-direction:column}.shop-storefront .featured-copy .product-order{width:100%}
 .shop-image-help{font-size:11px}.shop-image-head strong{font-size:15px}
 .shop-layout-future .shop-product-grid{grid-template-columns:1fr}.shop-layout-future .shop-product-card:first-child{grid-column:auto;display:flex}.shop-layout-future .shop-product-card:first-child .product-card-visual{height:230px;min-height:0}
}

@media(max-width:700px){.shop-layout-rail .shop-product-grid{grid-auto-columns:84vw}}
/* Main boutique: the featured item is a campaign panel, rather than a large card. */
.shop-layout-grid .shop-feature{background:#f7f1e6;padding-top:42px;padding-bottom:46px}
.shop-layout-grid .shop-feature>.section-intro{display:flex;align-items:baseline;gap:20px;margin-bottom:22px}
.shop-layout-grid .shop-feature>.section-intro .eyebrow{margin:0;font-size:10px;letter-spacing:.18em;order:2;color:#896b54}
.shop-layout-grid .shop-feature>.section-intro h2{margin:0;font-size:38px;line-height:1;letter-spacing:-.02em;color:#58181c}
.shop-layout-grid .featured-product{position:relative;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);border:1px solid #e4d4bc;border-radius:28px;background:#fffcf5;box-shadow:0 22px 50px #66351c09;isolation:isolate}
.shop-layout-grid .featured-visual{min-height:420px;background:radial-gradient(ellipse at 55% 42%,#fff9e7 0 36%,transparent 65%),linear-gradient(135deg,#f6e6ae,#f1e7db 75%);overflow:hidden}
.shop-layout-grid .featured-visual:before{content:'';position:absolute;width:78%;aspect-ratio:1;top:50%;left:50%;transform:translate(-50%,-50%);border:1px solid #ba965331;border-radius:50%;box-shadow:0 0 0 34px #fff8e837,0 0 0 35px #ba96531a;pointer-events:none}
.shop-layout-grid .featured-visual:after{content:'';position:absolute;right:-32px;bottom:-60px;width:110px;height:220px;background:#9e1a2b0b;transform:rotate(35deg);pointer-events:none}
.shop-layout-grid .featured-visual .shop-image-zoom{inset:26px 35px;width:calc(100% - 70px);height:calc(100% - 52px);z-index:1}
.shop-layout-grid .featured-visual .shop-image-zoom>img{filter:drop-shadow(0 18px 12px #6d302524)}
.shop-layout-grid .featured-copy{position:relative;padding:44px clamp(28px,4vw,54px);background:linear-gradient(125deg,#fffdf7,#fffaf1);justify-content:center}
.shop-layout-grid .featured-copy:before{content:'';display:block;width:44px;height:5px;border-radius:4px;background:var(--gold);margin:0 0 24px}
.shop-layout-grid .featured-copy h3{font:800 clamp(30px,3.3vw,46px)/1.04 Arial,sans-serif;letter-spacing:-.05em;text-transform:none;max-width:18ch;margin:0 0 20px;color:#58181c;text-wrap:balance}
.shop-layout-grid .featured-copy .shop-prices{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:0 0 15px}
.shop-layout-grid .featured-copy .shop-price-applied{display:inline-flex;gap:10px;align-items:baseline}
.shop-layout-grid .featured-copy .shop-price-applied>strong{font:800 32px/1.15 Arial,sans-serif;letter-spacing:-.04em;color:#9e1a2b}
.shop-layout-grid .featured-copy .shop-price-applied>span{font-size:10px;color:#7d4d29;background:#faecc0;border:0;padding:5px 8px;border-radius:5px;text-decoration:none}
.shop-layout-grid .featured-copy .product-summary{color:#80664f;font-size:12px;margin-bottom:20px}
.shop-layout-grid .featured-copy .product-lead{font:500 16px/1.6 Arial,sans-serif;color:#5d4540;margin-bottom:14px;max-width:37ch}
.shop-layout-grid .featured-copy .product-delay-compact{color:#927862;font-size:11px!important;margin-bottom:14px}
.shop-layout-grid .featured-copy .product-actions{gap:12px 22px;margin-top:12px}
.shop-layout-grid .featured-copy .product-order{border-radius:30px;padding:15px 24px;min-height:50px;font-size:13px;box-shadow:0 6px 16px #72192514}
.shop-layout-grid .featured-copy .product-detail{font-size:12px;min-height:44px}
@media(max-width:700px){
 .shop-layout-grid .shop-feature{padding:32px 20px}.shop-layout-grid .shop-feature>.section-intro{gap:12px;flex-wrap:wrap;margin-bottom:18px}.shop-layout-grid .shop-feature>.section-intro h2{font-size:32px}.shop-layout-grid .shop-feature>.section-intro .eyebrow{font-size:9px}
 .shop-layout-grid .featured-product{grid-template-columns:1fr;border-radius:22px}.shop-layout-grid .featured-visual{height:300px;min-height:300px}.shop-layout-grid .featured-visual .shop-image-zoom{inset:20px 30px;width:calc(100% - 60px);height:calc(100% - 40px)}
 .shop-layout-grid .featured-copy{padding:28px 25px}.shop-layout-grid .featured-copy:before{margin-bottom:18px}.shop-layout-grid .featured-copy h3{font-size:34px;max-width:none}.shop-layout-grid .featured-copy .product-lead{font-size:14px}.shop-layout-grid .featured-copy .product-actions{gap:4px}.shop-layout-grid .featured-copy .product-detail{align-self:center}
}
