/* Hundredfold Q4 presentation. Existing commerce data and base stylesheet remain unchanged. */
.commerce-page{--commerce-line:#d9dfd4;--commerce-muted:#526257}
.commerce-page :is(a,button,summary):focus-visible{outline:3px solid #987535;outline-offset:4px}
.commerce-page .product-hero{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);grid-template-areas:"gallery heading" "gallery purchase";grid-template-rows:auto 1fr;gap:0 54px;padding-top:8px;padding-bottom:52px}
.product-heading{grid-area:heading;align-self:start;padding:12px 0 0}
.product-heading .eyebrow{margin-bottom:15px;color:#526257}
.product-heading h1{font-size:clamp(36px,3.4vw,50px);letter-spacing:-.035em}
.product-heading .lead{max-width:36ch;font-size:18px;margin-bottom:18px}
.commerce-page .purchase-panel{grid-area:purchase;padding:0;min-width:0;border:0}
.commerce-page .feature-list{display:flex;flex-wrap:wrap;gap:7px;list-style:none;padding:0;margin:0 0 18px}
.commerce-page .feature-list li{font-size:11px;border:1px solid var(--commerce-line);border-radius:30px;padding:5px 10px;margin:0}
.commerce-page .purchase-price{font-size:32px;letter-spacing:-.025em;margin-top:16px;font-weight:600}
.commerce-page .price-note{line-height:1.5;margin-bottom:18px}
.commerce-page .purchase-panel>.buy-button{border-radius:8px;min-height:54px;letter-spacing:.08em;box-shadow:0 4px 10px #173f3310}
.commerce-page .compatibility-box{background:#eef1e9;border:1px solid var(--commerce-line);border-radius:8px;padding:15px 16px;margin:18px 0 12px}
.commerce-page .compatibility-box strong{font-size:13px}
.commerce-page .compatibility-box p{line-height:1.6}
.delivery-trust{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:11px;color:var(--commerce-muted);padding:0;margin:12px 0;list-style:none}
.delivery-trust li::before{content:'✓';padding-right:5px;color:#173f33}
.commerce-page .purchase-note{line-height:1.6;margin:10px 0 0}
.product-gallery{grid-area:gallery;min-width:0}
.product-gallery-stage{position:relative;border:1px solid var(--commerce-line);border-radius:12px;background:#fff;overflow:hidden}
.product-gallery-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;border-radius:11px}
.product-gallery-track::-webkit-scrollbar{display:none}
.product-gallery-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;margin:0;position:relative;aspect-ratio:1}
.product-gallery-slide>a{display:block;width:100%;height:100%;cursor:zoom-in}
.product-gallery-slide img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain}
.product-gallery-arrow{display:none;position:absolute;top:50%;transform:translateY(-50%);align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #c6cfc1;border-radius:50%;background:#fffffff2;color:#173f33;font-size:29px;line-height:1;box-shadow:0 2px 8px #173f3314;cursor:pointer}
.product-gallery[data-enhanced] .product-gallery-arrow{display:flex}
.product-gallery-arrow[data-previous]{left:12px}.product-gallery-arrow[data-next]{right:12px}
.product-gallery-arrow:disabled{opacity:.35;cursor:default}
.product-gallery-meta{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:12px 1px;color:#526257;font-size:11px;min-height:22px}
.product-gallery-meta strong{color:#173f33;font-size:12px;font-weight:600}
.product-gallery-position{white-space:nowrap;font-variant-numeric:tabular-nums}
.product-gallery-thumbs{position:relative;display:flex;gap:9px;overflow-x:auto;padding:4px 3px 10px;scrollbar-width:thin;scrollbar-color:#a4b39d transparent}
.product-gallery-thumb{display:block;flex:0 0 68px;border:1px solid var(--commerce-line);border-radius:6px;padding:2px;overflow:hidden;background:white;opacity:.75;text-decoration:none}
.product-gallery-thumb[aria-current=true]{border:2px solid #173f33;padding:1px;opacity:1}
.product-gallery-thumb img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.product-gallery-note{margin:2px 0 0;font-size:10px;line-height:1.6;color:#526257}
.product-lightbox{width:min(96vw,1260px);max-width:96vw;max-height:94dvh;padding:14px;border:1px solid #c6cfc1;border-radius:12px;background:#f8f6ef;color:#173f33;box-shadow:0 24px 90px #0005}
.product-lightbox::backdrop{background:#10261ee0}
.product-lightbox form{margin:0;display:flex;justify-content:flex-end}
.lightbox-close{min-height:44px;border:1px solid #173f33;border-radius:6px;background:#173f33;color:white;padding:10px 20px;font:600 13px Arial;cursor:pointer}
.lightbox-hint{font-size:12px;margin:8px 0 12px}
.lightbox-scroll{overflow:auto;max-height:calc(90dvh - 110px);overscroll-behavior:contain;background:white}
.lightbox-scroll img{display:block;width:1200px;max-width:none;height:1200px;object-fit:contain}
.commerce-page .product-nav{gap:12px 26px;padding-block:18px;border-color:var(--commerce-line)}
.commerce-page .product-nav a{padding:6px 0;font-size:12px}
.commerce-page .included-box{border:1px solid var(--commerce-line);border-radius:12px}
.commerce-page .look-grid img{border-radius:10px}
.commerce-page .upgrade{border-radius:12px}
.commerce-page .card-foot{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.commerce-page .card-foot .price{font-size:17px}
.commerce-page .card-foot a.buy-button{display:inline-flex;align-items:center;justify-content:center;background:#173f33;color:white;border:1px solid #173f33;border-radius:6px;min-height:42px;padding:10px 14px;font-size:10px;letter-spacing:.055em;text-decoration:none;white-space:nowrap}
.commerce-page .card-foot a.buy-button:hover{background:#245644}
.commerce-page .view-product{display:flex;align-items:center;justify-content:center;min-height:36px;font-size:11px;font-weight:600;text-underline-offset:4px;margin-top:7px;color:#526257}
.commerce-page .product-image{border-radius:9px}
.commerce-page .card-meta{font-size:10px;line-height:1.4}
.commerce-page .card-benefit{line-height:1.6}
.shop-page .page-intro{padding:24px 0 18px}
.shop-page .page-intro h1{font-size:38px;margin-bottom:10px}
.shop-page .page-intro .lead{font-size:14px;max-width:650px;margin-bottom:0}
.shop-controls{border:1px solid var(--commerce-line);border-radius:8px;margin-top:18px;background:#eef1e9}
.shop-controls summary{cursor:pointer;padding:13px 16px;font-size:13px;font-weight:600}
.shop-controls .shop-tools{margin:0;padding-top:0}
.shop-page .result-row{margin:12px 0 0;align-items:center;gap:8px}
@media(min-width:1060px){.commerce-page .product-hero{align-items:start}.commerce-page .product-heading{align-self:start}}
@media(max-width:1050px){.commerce-page .product-hero{gap:0 30px}.product-gallery-thumb{flex-basis:60px}.product-heading h1{font-size:36px}.product-heading .lead{font-size:16px}}
@media(max-width:760px){
.commerce-page .product-hero{grid-template-columns:minmax(0,1fr);grid-template-areas:"heading" "gallery" "purchase";gap:18px;padding:0 0 30px}
.commerce-page .crumbs{padding-block:12px;font-size:10px}
.product-heading{padding:0}.product-heading .eyebrow{font-size:9px;margin-bottom:7px}.product-heading h1{font-size:32px;margin-bottom:8px;line-height:1.1}.product-heading .lead{font-size:15px;line-height:1.5;margin:0;max-width:none}
.product-gallery-stage{border-radius:9px}.product-gallery-arrow{width:36px;height:36px;font-size:25px}.product-gallery-arrow[data-previous]{left:8px}.product-gallery-arrow[data-next]{right:8px}
.product-gallery-meta{margin:9px 0 4px;font-size:10px}.product-gallery-meta strong{font-size:11px}
.product-gallery-thumbs{gap:7px;padding-bottom:7px}.product-gallery-thumb{flex-basis:55px}
.product-gallery-note{font-size:10px}.commerce-page .purchase-panel{padding:0}.commerce-page .purchase-price{font-size:30px;margin-top:12px}
.commerce-page .compatibility-box{margin-top:15px}.commerce-page .feature-list{margin-bottom:10px}
.commerce-page .product-nav{gap:9px 19px;padding-block:9px}.commerce-page .product-nav a{font-size:11px;min-height:34px;display:flex;align-items:center}
.commerce-page .card-foot{gap:8px}.commerce-page .card-foot .price{font-size:15px}.commerce-page .card-foot .price small{display:inline;font-size:9px}.commerce-page .card-foot a.buy-button{padding:9px 10px;min-height:40px;flex:1}
.commerce-page .card-meta{font-size:9px}.commerce-page .view-product{font-size:10px;min-height:36px;margin-top:4px}
.shop-page .page-intro{padding:14px 0 12px}.shop-page .page-intro .eyebrow,.shop-page .page-intro .lead{display:none}.shop-page .page-intro h1{font-size:25px;margin:0;line-height:1.2}.shop-controls{margin-top:12px}.shop-controls summary{font-size:12px;padding:11px 12px}.shop-page .result-row{font-size:10px;flex-wrap:wrap;margin-top:8px;line-height:1.4}.shop-page .result-row>span:nth-child(2){display:none}.shop-page .result-row .clear-filter{margin-left:auto}.shop-page .shop-grid-section{padding-top:0}
.product-lightbox{padding:10px;border-radius:8px}.lightbox-hint{font-size:11px}
}
@media(prefers-reduced-motion:reduce){.product-gallery-track{scroll-behavior:auto}}

/* Lightbox fit-first hotfix, 2026-09-28. Gallery assets/layout are unchanged. */
.product-lightbox[open]{display:flex;flex-direction:column;height:min(94vh,960px);height:min(94dvh,960px);overflow:hidden;padding:max(14px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) max(14px,env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
.product-lightbox form{flex:none;gap:12px;align-items:center;justify-content:space-between}
.lightbox-hint{flex:none;margin:8px 0 12px}
.lightbox-scroll{flex:1;min-width:0;min-height:0;max-height:none;display:flex;align-items:center;justify-content:center;overflow:hidden;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}
.lightbox-scroll img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;flex:none}
.lightbox-zoom{min-height:44px;padding:10px 16px;border:1px solid #173f33;border-radius:6px;background:transparent;color:#173f33;font:600 13px Arial;cursor:pointer}
.product-lightbox.is-zoomed .lightbox-scroll{display:block;overflow:auto}
.product-lightbox.is-zoomed .lightbox-scroll img{width:var(--lightbox-image-width);height:var(--lightbox-image-height);max-width:none;max-height:none;margin:0 auto}
@media(max-width:600px){.product-lightbox[open]{width:calc(100vw - 24px);max-width:calc(100vw - 24px);height:calc(100vh - 32px);height:calc(100dvh - 32px);max-height:calc(100dvh - 32px);padding:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}.lightbox-hint{font-size:11px}}
