/* A product-first collection, with a separate overview and configuration step. */
body:has(#collectionSections){--store-gutter:max(32px,calc((100vw - 1640px)/2));background:#f5f6f5}
body:has(#collectionSections) main{background:#f5f6f5}
.store-intro.container,.family-nav.container{width:auto;max-width:none;margin-inline:var(--store-gutter)}
.store-intro{padding-block:32px 22px;align-items:center}
.store-intro h1{font-size:clamp(36px,3.2vw,52px);font-weight:650;letter-spacing:-.045em}
.store-intro .overline{display:none}
.store-intro .intro-copy{font-size:14px;margin-top:12px}
.store-intro>.text-link{font-size:13px}
.family-nav{padding-block:12px 14px;gap:28px;scroll-padding-inline:var(--store-gutter);scrollbar-width:none}
.family-nav::-webkit-scrollbar,.product-rail::-webkit-scrollbar{display:none}
.family-button{flex:0 0 auto;min-width:0;padding:10px 0 13px;border-radius:0;font-size:14px;color:#424b45}
.family-button[aria-pressed=true]{background:none;color:var(--green-dark);font-weight:650}
.family-button[aria-pressed=true]:after{left:0;right:0;height:2px;border-radius:2px}
.family-button[aria-current]{color:var(--green-dark);font-weight:650}
.family-button[aria-current]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--green);border-radius:2px}
.grouped-catalogue .family-nav{position:sticky;top:var(--catalog-header-height,70px);z-index:20;background:#f5f6f5f5;backdrop-filter:blur(12px)}
.category-section{padding-block:12px 24px}
.category-section+.category-section{margin-top:28px}
.category-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:0 var(--store-gutter) 10px}
.category-heading h2{font-size:25px;line-height:1.25;font-weight:650;letter-spacing:-.035em}
.category-heading h2 span{color:#757c77}
.category-heading p{font-size:12px;color:var(--muted);margin-top:7px}
.category-heading>.text-link{font-size:12px;white-space:nowrap}
.category-section .collection-bottom{min-height:44px}
.category-section .rail-hint{font-size:11px}
.rail-arrows[hidden]{display:none}
#collectionSections>.catalog-empty{margin-inline:var(--store-gutter);min-height:240px;padding-block:30px}
@media(max-width:700px){.category-heading{align-items:start;gap:16px}.category-heading h2{font-size:22px}.category-heading h2 span{display:block;margin-top:4px;font-size:19px}.category-heading>.text-link{font-size:11px;gap:4px;padding-top:4px}.category-section{padding-block:8px 16px}.category-section+.category-section{margin-top:16px}.category-section .collection-bottom{margin-bottom:0}.grouped-catalogue .family-nav{padding-block:7px 9px}}
.collection.container{width:100%;max-width:none;margin:0;padding-block:22px 42px}
.collection-toolbar,.filter-bar,.collection-bottom{margin-inline:var(--store-gutter)}
.collection-toolbar{margin-bottom:16px;gap:20px}
.collection-toolbar h2{font-size:26px;font-weight:650;letter-spacing:-.035em}
.collection-toolbar h2>span{color:#757c77}
.collection-toolbar p{font-size:12px;margin-top:6px}
.catalog-search{height:38px;background:#fff9}
.catalog-tools{display:flex;gap:10px;align-items:center;flex-shrink:0}
.filter-toggle{display:inline-flex;margin:0;min-height:38px;padding:8px 13px;font-size:12px}
.filter-toggle svg{width:15px;height:15px}
.filter-bar{gap:16px;margin-bottom:12px}
.filter-bar:not(.is-open){display:none}
.filter-bar select{padding-block:6px}
.product-rail{display:flex;gap:20px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:var(--store-gutter);padding:12px var(--store-gutter) 18px;scrollbar-width:none;overscroll-behavior-x:contain;align-items:stretch}
.product-rail:focus-visible{outline-offset:-4px}
.product-rail>.store-card{flex:0 0 clamp(286px,22vw,360px);height:464px;scroll-snap-align:start;border-radius:24px;box-shadow:0 3px 12px #1325190b}
.product-rail>.store-card:hover{transform:translateY(-2px);box-shadow:0 7px 20px #13251912}
.product-rail .card-heading{padding:24px 26px 6px;min-height:144px;height:auto;flex-shrink:0}
.product-rail .card-family{font-size:11px;margin-bottom:9px}
.product-rail .card-heading h3{font-size:22px;line-height:1.2;font-weight:650;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.product-rail .card-heading p{font-size:12px;margin-top:10px}
.product-rail .store-card-image{height:270px;padding:16px 30px 20px}
.product-rail .card-preview{flex:1;min-height:0}
.product-rail .store-card-image{flex:1;min-height:0}
.product-rail .store-card-image img{content-visibility:visible}
.product-rail .card-purchase{padding:16px 25px 24px;min-height:72px}
.product-rail .card-purchase .btn{font-size:12px;min-height:36px;padding:8px 15px}
.product-rail .card-purchase small{font-size:11px}
.product-rail .closer-label{font-size:11px;bottom:14px;padding:7px 12px}
.product-rail .catalog-empty{min-height:180px;padding:30px 0}
.collection-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:4px}
.rail-hint{font-size:12px;color:var(--muted)}
.rail-arrows{display:flex;gap:12px}
.rail-arrows .icon-button{width:38px;height:38px;background:#e7ebe8;border:0;color:#525e55}
.rail-arrows .icon-button:hover{background:#dce5df}
.rail-arrows button:disabled{opacity:.35;cursor:default}

/* The model strip sits outside the white preview, as in the supplied reference. */
.quick-look{width:min(1040px,calc(100% - 56px));max-height:calc(100dvh - 36px);padding:0;border:0;border-radius:0;overflow:visible;background:transparent;color:var(--ink)}
.quick-look[open]{display:flex;flex-direction:column;gap:16px}
.quick-look::backdrop{background:#0c110fe3;backdrop-filter:blur(3px)}
.quick-dismissbar{height:34px;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}
.quick-dismissbar>span{font-size:10px;color:#d6dfd9;letter-spacing:.1em;font-weight:500}
.quick-close{width:34px;height:34px;background:#ebeeec;color:#4c5650}
.quick-model-nav{display:flex;align-items:center;min-width:0;flex:0 0 46px;border-radius:28px;background:#e9ecea;padding:3px;overflow:hidden}
#quickModelTabs{display:flex;gap:2px;flex:1;min-width:0;overflow:auto;scrollbar-width:none;scroll-padding:4px}
#quickModelTabs::-webkit-scrollbar{display:none}
#quickModelTabs button{border:0;background:transparent;border-radius:24px;white-space:nowrap;padding:11px 18px;flex:1 0 auto;font-size:13px;line-height:18px;max-width:440px;overflow:hidden;text-overflow:ellipsis}
#quickModelTabs button[aria-selected=true]{background:#17241b;color:#fff}
#quickModelTabs button:focus-visible{outline-offset:-3px;outline-color:#4da872}
.quick-tab-next{border:0;background:#e9ecea;height:36px;width:36px;margin-inline:3px;box-shadow:-7px 0 10px #e9ecea}
.quick-shell{border-radius:22px;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c0c8c2 transparent}
.quick-body{grid-template-columns:minmax(0,1fr) minmax(0,1.03fr);gap:38px;padding:38px 42px 30px;align-items:center}
.quick-gallery{position:static;min-width:0;text-align:center}
.quick-image-stage{position:relative;width:100%;height:354px;display:flex;align-items:center;justify-content:center}
/* Repeated gallery clicks must not start the browser's image selection. */
.quick-image-stage,.quick-dots,.buy-gallery .buy-image-panel,.image-dialog{-webkit-user-select:none;user-select:none}
.quick-image-stage img,.buy-gallery .gallery-main img,.image-dialog img{-webkit-user-drag:none}
.quick-image-stage>img{width:100%;height:100%;object-fit:contain;padding:10px 31px}
.quick-image-stage .icon-button{position:absolute;top:50%;transform:translateY(-50%);height:40px;width:40px;background:#e9ecea;border:0;color:#646d67}
.quick-image-prev{left:-12px}.quick-image-next{right:-12px}
.quick-dots{display:flex;justify-content:center;flex-wrap:wrap;margin:20px auto 10px;gap:0;max-width:320px}
.quick-dots button{width:24px;height:28px;display:flex;align-items:center;justify-content:center;border:0;background:none;padding:5px}
.quick-dots button>span{width:7px;height:7px;border-radius:50%;background:#a4ada7}
.quick-dots button[aria-pressed=true]>span{background:#203c2a}
.quick-gallery .micro-copy{font-size:11px;margin-top:0;min-height:18px}
.quick-finishes{margin-top:17px;font-size:12px;color:#5e6962}
.quick-finishes p{font-size:11px;margin-bottom:9px}
.quick-finishes>div{display:flex;justify-content:center;flex-wrap:wrap;gap:16px}
.quick-finishes>div>span{display:flex;align-items:center;gap:7px}
.quick-finishes .door-swatch{width:13px;height:16px}
.quick-product-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:22px}
.quick-product-heading>div{min-width:0}
.quick-product-heading .overline{font-size:10px;margin-bottom:10px;letter-spacing:.08em}
.quick-product-heading h2{font-size:28px;line-height:1.15;letter-spacing:-.035em;margin:0}
#quickDimensions{font-size:13px;margin:10px 0 0;line-height:1.5}
.quick-product-heading>.btn{font-size:12px;min-height:36px;padding:8px 15px;flex-shrink:0;margin-top:31px}
.quick-features{padding:0;margin:0;list-style:none}
.quick-features li{display:flex;gap:17px;align-items:center;padding:13px 0;border:0;border-bottom:1px solid #dce2de}
.quick-features li>[data-icon]{width:27px;color:#283f30}
.quick-features li svg{width:26px;height:26px;stroke-width:1.3}
.quick-features strong{font-size:14px;line-height:1.45;font-weight:550;display:block}
.quick-explore{font-size:13px;margin-top:18px;gap:4px}
.quick-explore svg{width:14px;height:14px}
.quick-config-note{font-size:11px;margin:7px 0 0;line-height:1.5}
.quick-bottom{position:static;display:flex;justify-content:space-between;gap:24px;background:#f3f6f3;border-top:0;border-radius:0 0 22px 22px;padding:20px 42px}
.quick-bottom>.text-link{font-size:12px;line-height:1.5;gap:12px;align-items:flex-start;text-decoration:none}
.quick-bottom>.text-link:hover>span{text-decoration:underline}
.quick-bottom svg{width:22px;height:22px;margin-top:2px}
.quick-bottom small{display:block;font-size:10px;font-weight:400;color:var(--muted)}
@media(min-width:701px) and (max-height:820px){
 .quick-look[open]{gap:12px}.quick-body{padding-block:28px;gap:30px}.quick-image-stage{height:300px}.quick-product-heading{margin-bottom:14px}.quick-product-heading h2{font-size:25px}.quick-features li{padding:10px 0}.quick-features strong{font-size:13px}.quick-bottom{padding-block:17px}
}
@media(max-width:1000px){
 .family-nav{gap:24px}.quick-body{padding-inline:30px;gap:25px}.quick-product-heading{display:block}.quick-product-heading>.btn{margin-top:13px}.quick-product-heading h2{font-size:25px}.quick-image-stage{height:320px}.quick-bottom{padding-inline:30px}
}
@media(max-width:700px){
 body:has(#collectionSections){--store-gutter:24px}
 .store-intro{padding-block:28px 22px;display:block}.store-intro h1{font-size:36px}.store-intro .intro-copy{font-size:13px;max-width:none}.store-intro>.text-link{display:none}
 .family-nav.container{width:100%;margin:0;padding-inline:var(--store-gutter);gap:22px;padding-block:5px 12px}.family-button{font-size:13px;padding-block:8px 12px}
 .collection.container{padding-top:22px}.collection-toolbar{display:block;margin-bottom:14px}.collection-toolbar h2{font-size:23px}.collection-toolbar p{font-size:11px}.catalog-search{margin-top:16px;width:100%;height:40px}.catalog-search input{font-size:16px}
 .catalog-tools{margin-top:16px;gap:8px}.catalog-tools .catalog-search{margin:0;flex:1;min-width:0}.catalog-tools .filter-toggle{margin:0;min-height:40px;flex-shrink:0}.filter-bar{gap:10px;margin-bottom:8px}.filter-bar label{font-size:12px}.filter-bar select{font-size:13px;min-height:36px}
 .product-rail{gap:16px;padding-block:12px 18px}.product-rail>.store-card{flex-basis:calc(100vw - 76px);max-width:340px;border-radius:22px}.product-rail .card-heading{padding:23px 24px 6px;min-height:136px}.product-rail .card-heading h3{font-size:21px}.product-rail .card-family{font-size:11px}.product-rail .card-heading p{font-size:12px}.product-rail .store-card-image{height:248px;padding:12px 26px 18px}.product-rail .card-purchase{padding:15px 23px 22px}.product-rail .card-purchase>span small{display:block;font-size:11px}.product-rail .card-purchase>span:has(>small:only-child) small{font-size:11px}.product-rail .card-purchase .btn{font-size:12px;min-height:36px}.product-rail .card-purchase .door-swatch{width:13px;height:16px}.rail-arrows{gap:10px}.rail-hint{font-size:11px}
 .quick-look{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.quick-look[open]{gap:10px}.quick-dismissbar{height:34px;padding-inline:2px}.quick-dismissbar>span{font-size:9px}.quick-model-nav{flex-basis:44px}#quickModelTabs button{font-size:12px;padding:10px 16px;max-width:250px;flex-grow:0}.quick-shell{border-radius:19px}.quick-body{display:flex;flex-direction:column;padding:25px 24px 26px;gap:24px;align-items:stretch}.quick-gallery{position:static}.quick-image-stage{height:255px}.quick-image-stage>img{padding:0 30px}.quick-image-stage .icon-button{width:34px;height:34px}.quick-image-prev{left:-10px}.quick-image-next{right:-10px}.quick-dots{margin-top:12px;margin-bottom:5px}.quick-finishes{margin-top:12px}.quick-finishes p{margin-bottom:6px}.quick-gallery .micro-copy{font-size:11px}.quick-product-heading{display:flex;align-items:start;gap:12px;margin-bottom:14px}.quick-product-heading h2{font-size:24px}.quick-product-heading .overline{font-size:9px}.quick-product-heading>.btn{margin-top:26px;padding-inline:12px;font-size:11px}.quick-features strong{font-size:13px}.quick-features li{padding-block:12px;gap:14px}.quick-features li svg{width:23px;height:23px}.quick-config-note{font-size:11px}.quick-bottom{padding:18px 24px;gap:20px;flex-wrap:wrap}.quick-bottom>.text-link{font-size:12px}.quick-bottom small{font-size:10px}
 .product-rail>.store-card{height:440px}
}
@media(prefers-reduced-motion:reduce){.product-rail{scroll-behavior:auto}.store-card{transition:none}}

/* One intentional card movement per arrow press. */
.gallery-mode{display:flex;justify-content:center;gap:4px;margin:0 auto 16px;padding:4px;width:max-content;max-width:100%;border-radius:24px;background:#edf1ee}
.gallery-mode button{border:0;border-radius:20px;padding:9px 17px;background:none;color:#506057;font-size:12px;line-height:18px;min-height:36px}
.gallery-mode button[aria-pressed=true]{background:white;color:#145c37;box-shadow:0 1px 5px #14271a12;font-weight:600}
.gallery-mode button:focus-visible,.size-guide-model:focus-visible{outline:2px solid #07834a;outline-offset:2px}
.photo-reference-note{font-size:11px;line-height:1.55;color:#58665d;max-width:520px;margin:9px auto 0}
.photo-reference-note:empty{display:none}
.quick-gallery .photo-reference-note{max-width:370px}
.quick-gallery [hidden],.buy-gallery [hidden]{display:none!important}
.size-guide{width:100%;text-align:center;padding-block:12px}
.size-guide-heading strong{font-size:18px;letter-spacing:-.02em;line-height:1.3}
.size-guide-heading p{font-size:11px;line-height:1.5;color:var(--muted);margin:7px 0 0}
.size-guide-models{display:grid;grid-template-columns:repeat(var(--guide-count),minmax(0,1fr));gap:5px;align-items:end;margin-top:22px}
.size-guide-model{background:transparent;border:0;border-radius:10px;padding:5px 2px 10px;min-width:0;color:#738078;cursor:pointer;transition:background .15s}
.size-guide-model:hover{background:#eaf0ec}
.size-guide-model[aria-pressed=true]{background:#e5f0e9;color:#087d45}
.size-guide-model svg{width:100%;height:180px;overflow:visible;display:block}
.guide-outline{fill:#e4eae6;stroke:#85958a;stroke-width:1.4}
.size-guide-model[aria-pressed=true] .guide-outline{fill:#a8d5bb;stroke:#087d45;stroke-width:2.5}
.guide-baseline{stroke:#cad5ce;stroke-width:1}
.size-guide-model strong{display:block;font-size:13px;line-height:1.4;margin-top:4px;color:inherit}
.size-guide-model>span{display:block;white-space:nowrap;font-size:10px;margin-top:4px;color:#5d6b62}
.size-guide-key{font-size:10px;line-height:1.5;margin:13px 0 0;color:#647268}
.size-guide-selection{display:flex;flex-direction:column;gap:5px;border-top:1px solid #dce5df;margin-top:19px;padding-top:15px}
.size-guide-selection strong{font-size:13px;color:#087d45}.size-guide-selection span{font-size:12px;color:#4f6055}
.card-photo-note{position:absolute;bottom:1px;left:0;right:0;font-size:10px;text-align:center;line-height:1.4;color:#66756b}
.store-card-image:has(.card-photo-note) .closer-label{bottom:23px}
@media(max-width:700px){.gallery-mode{margin-bottom:12px}.gallery-mode button{font-size:12px;padding:8px 15px}.size-guide-model svg{height:150px}.size-guide-heading strong{font-size:16px}.size-guide-models{gap:2px;margin-top:14px}.size-guide-model strong{font-size:12px}.size-guide-model>span{font-size:9px}.quick-gallery .photo-reference-note{font-size:10px}.size-guide-selection span{font-size:11px}}
.product-rail.is-sliding{scroll-snap-type:none;scroll-behavior:auto}
.managed-photo-host:not(dialog){position:relative}
.managed-photo-host[data-photo-state="loading"] .managed-photo,.managed-photo-host[data-photo-state="error"] .managed-photo{visibility:hidden}
.photo-feedback{position:absolute;inset:32% 15% auto;min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;text-align:center;font-size:12px;color:#58665d;z-index:2;pointer-events:none}
.photo-feedback[hidden]{display:none!important}
.photo-feedback button{pointer-events:auto;border:1px solid #b7cbbf;border-radius:20px;background:#fff;color:#087d45;padding:10px 16px;font-size:12px;cursor:pointer}
.photo-feedback button[hidden]{display:none}
.photo-feedback button:focus-visible{outline:2px solid #087d45;outline-offset:3px}
.image-dialog>.photo-feedback{inset:40% 15% auto}
.buy-gallery:has(#productSizeGuide:not([hidden])) .photo-feedback{display:none}
.product-rail .store-card-image img{content-visibility:visible;min-width:0}
.store-card[data-image-state="loading"] .store-card-image::after{content:"Loading photo…";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#65736a;font-size:12px;pointer-events:none}
.store-card[data-image-state="loading"] .store-card-image img,.store-card[data-image-state="error"] .store-card-image img{visibility:hidden}
.photo-retry{position:absolute;left:50%;top:60%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:7px;border:1px solid #d4ded7;background:#f5f8f6;color:#087d45;border-radius:24px;padding:11px 17px;font-size:12px;z-index:2;white-space:nowrap;cursor:pointer}
.photo-retry[hidden]{display:none}.photo-retry svg{width:15px;height:15px}.photo-retry:focus-visible{outline:2px solid #087d45;outline-offset:3px}
.product-rail>.store-card{flex-basis:clamp(300px,23vw,392px);height:500px}
.product-rail .card-heading{min-height:144px;height:auto}.product-rail .card-heading h3{font-size:24px}.product-rail .store-card-image{padding:12px 34px 24px}.product-rail .card-purchase{padding-bottom:26px}.product-rail .card-purchase .btn{min-width:60px;font-size:13px;font-weight:550}
.collection-bottom{min-height:62px;margin-top:5px;padding-right:132px}.collection.container{padding-bottom:32px}.rail-arrows .icon-button{width:38px;height:38px}.rail-hint{font-size:12px}
@media(max-width:700px){.product-rail>.store-card{flex-basis:calc(100vw - 76px);max-width:340px;height:444px}.product-rail .card-heading{min-height:136px;height:auto}.product-rail .card-heading h3{font-size:21px}.product-rail .store-card-image{padding:12px 27px 20px}.collection-bottom{padding-right:0;min-height:54px;margin-bottom:64px}.product-rail .card-purchase{padding-bottom:22px}.rail-hint{font-size:11px}}
