﻿/* Storefront layout. Identity and theme values live in design-system.css. */
html { scroll-behavior:smooth; scroll-padding-top:96px; scrollbar-gutter:stable; }
html:has(.store-header) { scroll-padding-top:156px; }
body.cart-open { overflow:hidden; }
h1,h2,h3,p { margin:0; }
h1,h2 { font-family:var(--font-title); font-weight:400; line-height:1.1; letter-spacing:-1px; }
h1 { font-size:clamp(42px,4.7vw,68px); }
h2 { font-size:clamp(30px,3vw,44px); }
h1 em,h2 em { font-style:italic; color:var(--primary); }
h3 { font-family:var(--font-ui); font-weight:700; }
img { display:block; height:auto; }
svg { width:20px; height:20px; flex-shrink:0; }
.wrap { width:min(1248px,calc(100% - 64px)); margin-inline:auto; }
.skip-link { position:fixed; top:-100px; left:16px; z-index:100; padding:12px 16px; background:var(--surface); border-radius:var(--radius-md); }
.skip-link:focus { top:12px; }
.store-header { position:sticky; top:0; z-index:10; background:var(--surface); border-top:3px solid var(--primary); border-bottom:1px solid var(--border); }
.bar { min-height:88px; display:grid; grid-template-columns:156px minmax(200px,1fr) auto; align-items:center; gap:32px; padding-block:10px; }
.brand-logo { display:block; position:relative; width:146px; height:66px; flex-shrink:0; overflow:hidden; }
.brand-logo img { position:absolute; width:146px; max-width:none; height:146px; top:-37px; left:0; }
:root[data-theme=dark] .brand-logo img { filter:brightness(1.5) saturate(.8); }
.store-nav-row { border-top:1px solid var(--border); }
.store-nav { display:flex; align-items:center; gap:28px; min-height:48px; }
.store-nav a { display:inline-flex; align-items:center; justify-content:center; min-height:48px; padding:8px 12px; text-decoration:none; font-size:12px; font-weight:600; white-space:nowrap; }
.store-nav a:hover,.store-nav a[aria-current=page] { color:var(--primary); }
.store-nav .all-categories-link { justify-content:start; gap:10px; padding-left:0; padding-right:28px; border-right:1px solid var(--border); color:var(--primary); font-weight:800; }
.store-nav-links { display:flex; flex:1; align-items:center; justify-content:space-evenly; gap:12px; }
.store-nav .nav-offers { color:var(--primary); font-weight:800; }
.header-actions { display:flex; align-items:center; gap:16px; }
.account-link { width:auto; gap:8px; padding-inline:12px; text-decoration:none; font-size:12px; font-weight:700; }
.account-link:hover { color:var(--primary); background:var(--surface-secondary); }
.store-header .account-link { height:48px; gap:10px; padding-inline:8px; border-color:transparent; }
.store-header .account-link>span[data-icon] svg { width:24px; height:24px; }
.header-account-copy { display:grid; gap:2px; line-height:1.35; }
.header-account-copy small { color:var(--text-secondary); font-size:11px; font-weight:400; }
.store-header .theme-toggle { border-color:transparent; }
.header-actions .theme-toggle [data-theme-label] { display:none; }
.cart-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; border:1px solid var(--border); border-radius:var(--radius-md); background:transparent; color:var(--text); padding:8px 12px; font-size:12px; font-weight:700; }
.cart-button>span { display:none; }
.cart-button b { display:grid; place-items:center; min-width:22px; height:22px; border-radius:var(--radius-pill); background:var(--primary-soft); color:var(--primary); font-size:11px; }
.store-header .cart-button { position:relative; width:44px; height:44px; padding:0; border-color:transparent; }
.store-header .cart-button svg { width:24px; height:24px; }
.store-header .cart-button b { position:absolute; top:-2px; right:-3px; min-width:18px; height:18px; padding-inline:3px; font-size:10px; }
.mobile-menu-trigger { display:none; }
.mobile-nav-links { display:grid; gap:8px; }
.mobile-nav-links a { display:flex; align-items:center; gap:12px; padding:12px; border-radius:var(--radius-md); text-decoration:none; font-weight:600; }
.mobile-nav-links a:hover { background:var(--surface-secondary); }

.btn { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:46px; padding:12px 20px; border:1px solid transparent; border-radius:var(--radius-md); background:var(--primary); color:var(--on-primary); font:700 13px/1.45 var(--font-ui); text-decoration:none; transition:background var(--duration),transform var(--duration),border-color var(--duration); }
.btn:hover:enabled,.btn[href]:hover { background:var(--primary-hover); transform:translateY(-1px); }
.btn-secondary,.btn-light { background:var(--surface); color:var(--primary); border-color:var(--border); }
.btn-secondary:hover:enabled,.btn-secondary[href]:hover,.btn-light[href]:hover { background:var(--surface-secondary); color:var(--primary); border-color:var(--primary); }
.btn span { font-size:18px; line-height:1; }

.home-highlights { padding-top:var(--section-space); }
.home-shelf { margin-bottom:var(--section-space); scroll-margin-top:16px; }
.shelf-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:32px; }
.shelf-heading h2 { display:flex; align-items:center; gap:12px; font-size:clamp(30px,3vw,38px); }
.shelf-heading h2 svg { width:24px; height:24px; color:var(--primary); }
.shelf-heading p { color:var(--text-secondary); font-size:14px; margin-top:10px; }
.text-link { display:inline-flex; align-items:center; gap:8px; min-height:44px; color:var(--primary); font-size:13px; font-weight:700; text-decoration:none; white-space:nowrap; }
.text-link:hover { text-decoration:underline; }
.highlight-grid,.grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.highlight-card,.card { min-width:0; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--surface); overflow:hidden; text-decoration:none; display:flex; flex-direction:column; transition:transform var(--duration),border-color var(--duration),box-shadow var(--duration); }
.highlight-card:hover,.card:hover { transform:translateY(-3px); border-color:var(--primary); box-shadow:var(--shadow-card); }
.highlight-art,.product-art { position:relative; flex-shrink:0; display:grid; place-items:center; aspect-ratio:1.22; background:var(--photo-background); overflow:hidden; }
.highlight-art>img,.product-photo { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.product-photo-trigger { position:absolute; inset:0; width:100%; height:100%; padding:0; border:0; background:transparent; cursor:zoom-in; }
.product-photo-trigger:focus-visible { outline-offset:-4px; }
.product-image-dialog { width:min(1000px,calc(100% - 32px)); padding:var(--space-4); }
.product-image-dialog[open] { display:flex; flex-direction:column; gap:var(--space-4); }
.product-image-dialog .dialog-heading { margin:0; flex-shrink:0; }
.product-image-dialog h2 { font:700 18px/1.4 var(--font-ui); letter-spacing:0; overflow-wrap:anywhere; }
.product-image-dialog .icon-button { flex-shrink:0; }
.product-image-dialog img { width:100%; height:auto; max-height:min(72dvh,760px); min-height:0; object-fit:contain; border-radius:var(--radius-sm); background:var(--photo-background); }
.product-image-status { padding:var(--space-6); text-align:center; color:var(--text-secondary); }
.highlight-art-link { display:grid; place-items:center; width:100%; height:100%; }
.highlight-art>svg,.highlight-art-link>svg,.product-art>svg { width:86%; max-width:260px; height:auto; }
.highlight-badge,.stock-tag { position:absolute; z-index:1; top:12px; padding:5px 10px; border-radius:var(--radius-pill); font-size:10px; font-weight:700; background:var(--surface); color:var(--text); }
.stock-tag { right:12px; }
.highlight-badge,.stock-tag { pointer-events:none; }
.highlight-badge { left:12px; background:var(--offer-soft); color:var(--offer-text); }
.highlight-badge.is-new { background:var(--primary-soft); color:var(--primary); }
.stock-tag.sold-out { background:var(--surface-secondary); color:var(--text-on-tint); }
.card[data-sold-out=true] .product-photo,.card[data-sold-out=true] .product-art>svg { opacity:.65; }
.highlight-info,.info { display:flex; flex-direction:column; flex:1; min-width:0; padding:20px; }
.highlight-info { text-decoration:none; }
.highlight-info>small { color:var(--text-secondary); font-size:11px; }
.highlight-info h3,.info h3 { font-size:18px; line-height:1.4; margin:6px 0 10px; overflow-wrap:anywhere; }
.highlight-info p { color:var(--primary); font-size:18px; font-weight:800; }
.highlight-info p small { color:var(--text-secondary); font-size:11px; font-weight:400; }
.highlight-info del,.reference-price del { color:var(--text-secondary); font-size:12px; font-weight:400; margin-right:6px; }
.highlight-action { color:var(--primary); font-size:12px; font-weight:700; margin-top:auto; padding-top:20px; }
.product-promotion-tags { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
.product-promotion-tags:empty,.description:empty,.product-error:empty { display:none; }
.product-promotion-tags span { background:var(--primary-soft); color:var(--primary); padding:4px 8px; font-size:10px; font-weight:700; border-radius:var(--radius-pill); }
.product-promotion-tags .offer-badge { background:var(--offer-soft); color:var(--offer-text); }
.description { color:var(--text-secondary); font-size:13px; line-height:1.65; margin-bottom:12px; overflow-wrap:anywhere; }
.product-description { margin-bottom:6px; }
.product-description summary { display:inline-flex; align-items:center; min-height:28px; max-width:100%; padding:2px 0; list-style:none; color:var(--primary); font-size:12px; font-weight:600; text-decoration:underline; text-underline-offset:3px; cursor:pointer; border-radius:var(--radius-sm); }
.product-description summary::-webkit-details-marker { display:none; }
.product-description summary:hover { color:var(--primary-hover); }
.product-description .description-hide,.product-description[open] .description-show { display:none; }
.product-description[open] .description-hide { display:inline; }
.product-description>.description { margin-top:4px; margin-bottom:0; }
@media(pointer:coarse) { .product-description summary { min-height:32px; } }
.product-price-line { display:flex; flex-wrap:wrap; align-items:flex-start; justify-content:space-between; gap:4px 8px; min-width:0; }
.portion-price-main { min-width:0; }
.reference-price { margin-left:auto; min-width:0; font-size:11px; line-height:1.5; color:var(--text-secondary); text-align:right; }
.reference-price del { display:block; margin:0; font-size:10px; }
.reference-price strong { color:var(--offer-text); }
.reference-price-unit { white-space:nowrap; }
.weight-label { font-size:12px; font-weight:700; margin:16px 0 8px; }
.weights { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.weights button { min-height:44px; font-size:11px; padding:6px 2px; border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); background:transparent; transition:background var(--duration),border-color var(--duration); }
.weights button:hover:enabled { border-color:var(--primary); }
.weights button[aria-pressed=true] { color:var(--primary); background:var(--primary-soft); border-color:var(--primary); font-weight:800; }
.weights .custom-option { grid-column:1/-1; }
.custom-weight { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:6px; width:min(100%,180px); margin:12px 0 4px; font-size:12px; font-weight:600; color:var(--text-secondary); }
.custom-weight input { grid-column:1; grid-row:2; width:100%; min-width:0; min-height:44px; border:1px solid var(--border); border-radius:var(--radius-md); padding:10px 12px; font-size:14px; color:var(--text); background:var(--surface); }
.custom-weight>span { grid-column:2; grid-row:2; align-self:center; }
.unit-quantity { display:grid; gap:8px; width:100%; margin:16px 0 4px; }
.unit-quantity label { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:12px; font-weight:700; }
.unit-quantity label small { color:var(--text-secondary); font-size:11px; font-weight:500; }
.unit-stepper { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:4px; padding:4px; border:1px solid var(--border); border-radius:var(--radius-md); background:var(--surface-secondary); transition:border-color var(--duration); }
.unit-stepper:focus-within { border-color:var(--primary); }
.unit-stepper button { display:grid; place-items:center; width:44px; height:44px; border:1px solid var(--border); border-radius:var(--radius-sm); background:var(--surface); color:var(--primary); font-size:22px; font-weight:600; line-height:1; transition:background var(--duration),border-color var(--duration); }
.unit-stepper button:hover:enabled { border-color:var(--primary); background:var(--primary-soft); }
.unit-stepper input { width:100%; min-width:0; height:44px; padding:0 4px; border:0; border-radius:var(--radius-sm); text-align:center; font:800 18px/1 var(--font-ui); font-variant-numeric:tabular-nums; color:var(--text); background:transparent; appearance:textfield; -moz-appearance:textfield; }
.unit-stepper input::-webkit-inner-spin-button,.unit-stepper input::-webkit-outer-spin-button { margin:0; -webkit-appearance:none; }
.portion-footer { display:flex; flex-direction:column; gap:12px; margin-top:auto; padding-top:20px; }
.portion-footer .price { color:var(--primary); font-size:25px; font-weight:800; line-height:1.35; letter-spacing:-.6px; font-variant-numeric:tabular-nums; }
.portion-footer small { display:block; font-size:11px; color:var(--text-secondary); }
.portion-footer .btn { width:100%; }
.product-error { color:var(--offer-text); font-size:12px; margin-top:10px; }
.product-share { display:flex; align-items:center; justify-content:center; gap:8px; min-height:44px; margin-top:8px; color:var(--primary); text-decoration:none; font-size:12px; font-weight:600; }
.product-share:hover { text-decoration:underline; }
.product-share svg { width:17px; height:17px; }
.home-banner { display:flex; align-items:center; justify-content:space-between; gap:32px; padding:32px 40px; margin-block:0 var(--section-space); background:var(--surface-secondary); border:1px solid var(--border); color:var(--text); border-radius:var(--radius-xl); }
.home-banner h2 { margin:12px 0; font-size:clamp(28px,3vw,38px); overflow-wrap:anywhere; }
.home-banner p { color:var(--text-on-tint); max-width:720px; white-space:pre-line; overflow-wrap:anywhere; }
.home-banner .btn { flex-shrink:0; max-width:100%; overflow-wrap:anywhere; }
.promotion-intro { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:24px 32px; background:var(--primary-soft); border-radius:var(--radius-xl); margin-bottom:24px; }
.promotion-intro strong { font:400 34px/1.1 var(--font-title); color:var(--primary); }
.promotion-intro p { color:var(--text-on-tint); margin-top:8px; }
.promotion-countdown { display:inline-block; padding:8px 12px; background:var(--offer-soft); color:var(--offer-text) !important; border-radius:var(--radius-sm); font-size:12px !important; font-weight:700; margin-top:12px; font-variant-numeric:tabular-nums; }
.offers-heading { padding-top:48px; }
.offers-heading h1 { margin:16px 0; }
.offers-heading>p { max-width:640px; color:var(--text-secondary); font-size:16px; }
.offers-heading+.catalog-section { padding-top:40px; }
#ready-kits { grid-template-columns:repeat(3,minmax(0,1fr)); }
.kit-illustration { height:170px; display:grid; place-items:center; background:var(--kit-soft); color:var(--kit-text); }
.kit-illustration svg.icon { width:60px; height:60px; stroke-width:1.2; }
.kit-card .highlight-info ul { padding-left:18px; margin:12px 0 20px; color:var(--text-secondary); font-size:13px; }
.kit-card .btn { margin-top:20px; }
.kit-card .highlight-info>small:last-child { margin-top:12px; font-size:11px; }
.catalog-section { padding-block:var(--section-space); }
#grid.catalog-rows { display:flex; flex-direction:column; gap:var(--space-7); min-width:0; }
.catalog-category-row { min-width:0; scroll-margin-top:16px; }
.catalog-category-heading { display:flex; align-items:center; justify-content:space-between; gap:var(--space-4); margin-bottom:var(--space-4); }
.catalog-category-title { display:flex; align-items:center; flex-wrap:wrap; gap:8px 16px; min-width:0; }
.catalog-category-title h3 { display:flex; align-items:center; gap:10px; min-width:0; font-size:22px; line-height:1.35; overflow-wrap:anywhere; }
.catalog-category-title h3 svg { color:var(--primary); }
.catalog-category-count { font-size:12px; color:var(--text-secondary); white-space:nowrap; }
.catalog-carousel-controls { display:flex; flex-shrink:0; gap:var(--space-2); }
.catalog-carousel-controls .icon-button { color:var(--primary); transition:background var(--duration),border-color var(--duration); }
.catalog-carousel-controls .icon-button:hover:enabled { border-color:var(--primary); background:var(--primary-soft); }
.catalog-carousel-controls [data-carousel-direction=previous] svg { transform:rotate(180deg); }
.catalog-carousel-track { --carousel-gap:16px; --catalog-control-height:32px; --catalog-action-height:36px; --catalog-share-height:28px; display:grid; align-items:stretch; grid-auto-flow:column; grid-auto-columns:clamp(224px,calc((100% - 4 * var(--carousel-gap) - 16px) / 5),236px); gap:var(--carousel-gap); padding:8px 8px 16px; margin:-8px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x proximity; scroll-padding-inline:8px; scrollbar-width:thin; scrollbar-color:var(--border) transparent; }
.catalog-carousel-track>.card { scroll-snap-align:start; }
.catalog-carousel-track .product-art { aspect-ratio:1.7; }
.catalog-carousel-track .info { padding:10px 12px; }
.catalog-carousel-track .info h3 { margin:0 0 6px; font-size:16px; line-height:1.35; }
.catalog-carousel-track .product-promotion-tags { margin-bottom:6px; }
.catalog-carousel-track .description { margin-bottom:6px; font-size:12px; line-height:1.5; }
.catalog-carousel-track .weight-label { margin:8px 0 4px; }
.catalog-carousel-track .weights { grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; }
.catalog-carousel-track .weights button { min-height:var(--catalog-control-height); padding:4px 2px; }
.catalog-carousel-track .custom-weight { gap:4px; margin:8px 0 0; }
.catalog-carousel-track .custom-weight input { min-height:var(--catalog-control-height); height:var(--catalog-control-height); padding:4px 8px; font-size:16px; line-height:1.4; border-radius:var(--radius-sm); }
.catalog-carousel-track .unit-quantity { gap:6px; margin:8px 0 0; }
.catalog-carousel-track .unit-stepper { grid-template-columns:var(--catalog-control-height) minmax(0,1fr) var(--catalog-control-height); padding:2px; }
.catalog-carousel-track .unit-stepper button { width:var(--catalog-control-height); height:var(--catalog-control-height); font-size:20px; }
.catalog-carousel-track .unit-stepper input { height:var(--catalog-control-height); font-size:16px; }
.catalog-carousel-track .portion-footer { gap:6px; margin-top:auto; padding-top:8px; }
.catalog-carousel-track .portion-footer .price { font-size:20px; line-height:1.25; }
.catalog-carousel-track .portion-footer .btn { min-height:var(--catalog-action-height); padding:6px 10px; gap:8px; font-size:12px; border-radius:var(--radius-sm); }
.catalog-carousel-track .product-share { min-height:var(--catalog-share-height); margin-top:2px; }
.catalog-carousel-track:focus-visible { outline-offset:0; border-radius:var(--radius-lg); }
@media(pointer:coarse) { .catalog-carousel-track { --catalog-control-height:36px; --catalog-action-height:40px; --catalog-share-height:32px; } }
@media(max-width:599px) { .catalog-carousel-track { --carousel-gap:12px; grid-auto-columns:min(228px,78%); } .catalog-category-title { gap:4px 12px; } .catalog-category-title h3 { font-size:19px; } .catalog-category-count { font-size:11px; } #grid.catalog-rows { gap:var(--space-6); } }
.catalog-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:32px; }
.catalog-heading h2 { margin-top:12px; }
.catalog-heading>p { max-width:360px; color:var(--text-secondary); font-size:14px; }
.catalog-toolbar { display:flex; flex-wrap:wrap; align-items:center; gap:16px; padding:20px; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--surface); margin-bottom:24px; }
.filter-desktop-slot { flex:1 1 0; min-width:0; }
.filters { display:grid; grid-template-columns:repeat(auto-fill,minmax(128px,1fr)); gap:8px; }
.filters button { display:flex; align-items:center; gap:8px; min-width:0; min-height:48px; padding:6px 10px; border:1px solid var(--border); border-radius:var(--radius-md); color:var(--text); background:var(--surface); font-size:12px; font-weight:700; line-height:1.35; text-align:left; }
.filters button svg { width:20px; height:20px; color:var(--primary); }
.category-label { min-width:0; overflow-wrap:anywhere; }
.filters button:hover { background:var(--surface-secondary); border-color:var(--primary); }
.filters button[aria-pressed=true] { color:var(--primary); background:var(--primary-soft); border-color:var(--primary); font-weight:700; }
.search-box { display:flex; flex:1; align-items:center; gap:12px; border:1px solid var(--border); border-radius:var(--radius-md); min-width:220px; padding:12px 14px; background:var(--surface); }
.search-box:focus-within { border-color:var(--primary); outline:2px solid var(--primary-soft); }
.search-box svg { color:var(--text-secondary); }
.search-box input { width:100%; min-width:0; border:0; background:transparent; color:var(--text); font-size:13px; }
.search-box input:focus-visible { outline:0; }
.header-search-form { min-width:0; width:100%; max-width:680px; justify-self:center; margin:0; }
.search-box.header-search-box { width:100%; min-width:0; min-height:50px; gap:4px; padding:2px 4px 2px 18px; border-radius:var(--radius-pill); background:var(--background); }
.header-search-box input { min-height:44px; font-size:14px; }
.header-search-submit { display:inline-flex; flex-shrink:0; align-items:center; justify-content:center; width:44px; height:44px; padding:0; border:0; border-radius:var(--radius-pill); background:transparent; color:var(--primary); }
.header-search-submit:hover { background:var(--primary-soft); }
.header-search-submit svg { width:22px; height:22px; }
@media(max-width:767px) {
  html:has(.store-header) { scroll-padding-top:148px; }
  .store-header .bar { grid-template-columns:minmax(0,1fr) auto; grid-template-rows:60px 48px; min-height:0; height:auto; gap:4px 8px; padding-block:4px 12px; }
  .store-header .brand-logo { grid-column:1; grid-row:1; }
  .store-header .header-actions { grid-column:2; grid-row:1; gap:4px; }
  .store-header .header-search-form { grid-column:1/-1; grid-row:2; max-width:none; }
  .store-header .header-search-box { min-height:48px; padding:0 2px 0 14px; }
  .store-header .header-search-box input { font-size:16px; }
  .store-header .account-link { height:44px; padding:0; }
  .store-nav-row { display:none; }
  .mobile-menu-trigger { display:inline-flex; }
}
.filter-trigger { display:none; }
.clear-filters { min-height:44px; margin-left:auto; border:0; background:transparent; color:var(--primary); font-size:12px; font-weight:700; text-decoration:underline; }
.catalog-status { padding:24px; color:var(--text-secondary); border:1px dashed var(--border); border-radius:var(--radius-lg); text-align:center; margin-bottom:24px; }
.catalog-status[data-state=loading] { background:linear-gradient(110deg,var(--surface) 20%,var(--surface-secondary) 40%,var(--surface) 60%); background-size:200% 100%; animation:loading-pulse 1.8s ease-in-out infinite; }
@keyframes loading-pulse { to { background-position:-200% 0; } }
.catalog-footnote { color:var(--text-secondary); font-size:12px; text-align:center; margin-top:24px; }
.how-section { padding-block:var(--section-space); }
.how-heading { text-align:center; }
.how-heading h2 { margin-top:12px; }
.steps { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; margin-top:40px; }
.step-number { display:grid; place-items:center; width:44px; height:44px; border-radius:var(--radius-md); background:var(--primary-soft); color:var(--primary); font-weight:800; margin-bottom:16px; }
.steps h3 { font-size:15px; margin-bottom:10px; }
.steps p { font-size:13px; color:var(--text-secondary); }
.about-section { background:var(--surface); border-block:1px solid var(--border); }
.about { display:grid; grid-template-columns:.8fr 1fr; gap:88px; align-items:center; padding-block:64px; }
.brand-story { text-align:center; }
.brand-ring { width:min(300px,100%); aspect-ratio:1; padding:24px; margin-inline:auto; display:grid; place-items:center; border-radius:var(--radius-xl); background:var(--photo-background); }
.brand-ring img { width:100%; height:auto; aspect-ratio:1; object-fit:contain; }
.brand-story-note { display:block; font-size:12px; color:var(--text-secondary); margin-top:16px; }
.about-copy h2 { margin:12px 0 24px; }
.about-copy p { color:var(--text-secondary); margin-bottom:16px; max-width:520px; }
.delivery-section { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding-block:var(--section-space); }
.delivery-section article { padding:24px; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--surface); }
.delivery-section svg { color:var(--primary); margin-bottom:16px; }
.delivery-section h3 { font-size:16px; margin-bottom:12px; }
.delivery-section p { color:var(--text-secondary); font-size:13px; }
.contact-section { background:var(--surface-secondary); }
.contact { display:grid; grid-template-columns:1.25fr .75fr; gap:64px; align-items:center; padding-block:64px; }
.contact h2 { margin:12px 0 20px; }
.contact p { max-width:480px; color:var(--text-on-tint); margin-bottom:24px; }
.contact-aside { padding-left:40px; border-left:1px solid var(--border); }
.contact-aside h3 { font:400 28px/1.25 var(--font-title); margin-bottom:16px; }
.contact-leaf { display:block; color:var(--primary); margin-bottom:16px; }
footer { background:var(--footer-background); color:var(--footer-text); }
.footer-main { display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:64px; padding-block:48px; }
.footer-main .brand-logo img { filter:brightness(1.8) saturate(.8); }
.footer-main p { color:var(--footer-secondary); font-size:13px; margin-top:12px; }
.footer-links { display:grid; align-content:start; gap:10px; }
.footer-links strong { margin-bottom:4px; font-size:13px; }
.footer-links a { color:var(--footer-secondary); text-decoration:none; font-size:12px; min-height:32px; }
.footer-links a:hover { color:var(--footer-text); text-decoration:underline; }
.footer-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:16px; border-top:1px solid var(--border); padding-block:20px 24px; color:var(--footer-secondary); font-size:11px; }
.shipping-benefit { margin-top:24px; padding:20px; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--surface-secondary); }
.shipping-benefit p { font-weight:700; font-size:13px; }
.shipping-benefit small { display:block; color:var(--text-secondary); font-size:11px; }
.shipping-progress,.home-shipping-track { height:6px; border-radius:var(--radius-pill); background:var(--border); overflow:hidden; margin:12px 0; }
.shipping-progress span,.home-shipping-track>span { display:block; width:0; height:100%; background:var(--primary); border-radius:inherit; transition:width var(--duration); }
.has-shipping-bar { padding-bottom:calc(128px + env(safe-area-inset-bottom,0px)); }
.home-shipping-bar { position:fixed; z-index:20; bottom:calc(16px + env(safe-area-inset-bottom,0px)); left:50%; transform:translateX(-50%); width:min(760px,calc(100% - 32px)); display:flex; align-items:center; gap:24px; padding:16px 20px; border:1px solid var(--border); border-radius:var(--radius-lg); background:var(--surface); color:var(--text); box-shadow:var(--shadow-float); }
.home-shipping-content { flex:1; min-width:0; }
.home-shipping-subtotal { display:flex; align-items:baseline; gap:12px; }
.home-shipping-subtotal strong { color:var(--primary); font-size:18px; font-variant-numeric:tabular-nums; }
.home-shipping-subtotal span { color:var(--text-secondary); font-size:12px; }
.home-shipping-content p { color:var(--text-secondary); font-size:12px; line-height:1.4; }
.home-shipping-track { margin:8px 0; height:5px; }
.home-shipping-bar .btn { flex-shrink:0; }
.cart-open .home-shipping-bar { display:none; }
.toast { position:fixed; z-index:40; left:50%; bottom:24px; transform:translateX(-50%); width:max-content; max-width:calc(100% - 32px); background:var(--primary-soft); color:var(--text); padding:14px 20px; border:1px solid var(--border); border-radius:var(--radius-md); box-shadow:var(--shadow-card); font-size:13px; }
.has-shipping-bar:not(.cart-open) .toast { bottom:calc(148px + env(safe-area-inset-bottom,0px)); }
#ov { position:fixed; inset:0; z-index:29; background:var(--overlay); opacity:0; visibility:hidden; pointer-events:none; transition:opacity 240ms ease,visibility 0s linear 240ms; }
.cart-open #ov { opacity:1; visibility:visible; pointer-events:auto; transition-delay:0s; }
#drawer { --cart-size:min(800px,calc(100vw - 48px),calc(100dvh - 48px)); position:fixed; top:50%; left:50%; width:min(900px,calc(100vw - 48px)); height:var(--cart-size); background:var(--surface); color:var(--text); z-index:30; display:flex; flex-direction:column; border:1px solid var(--border); border-radius:var(--radius-xl); overflow:hidden; box-shadow:var(--shadow-float); opacity:0; visibility:hidden; pointer-events:none; transform:translate(-50%,-50%) translateY(16px) scale(.96); transition:opacity 240ms ease,transform 240ms cubic-bezier(.2,.8,.2,1),visibility 0s linear 240ms; }
#drawer.open { opacity:1; visibility:visible; pointer-events:auto; transform:translate(-50%,-50%) translateY(0) scale(1); transition-delay:0s; }
#drawer .toast { position:static; flex-shrink:0; transform:none; width:auto; max-width:none; margin:16px 24px 0; padding:12px 16px; box-shadow:none; font-size:12px; }
.dh { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; gap:16px; padding:24px; border-bottom:1px solid var(--border); }
.cart-heading { display:flex; align-items:center; gap:16px; min-width:0; }
.cart-heading-icon { display:grid; place-items:center; flex-shrink:0; width:48px; height:48px; border-radius:var(--radius-md); background:var(--primary-soft); color:var(--primary); }
.cart-heading-icon svg { width:24px; height:24px; }
.dh h2 { font-size:32px; margin-top:4px; }
#cart-intro { color:var(--text-secondary); font-size:12px; line-height:1.5; margin-top:6px; }
.x { display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border:1px solid var(--border); border-radius:var(--radius-md); background:transparent; color:var(--text); font-size:24px; }
.dh .x { flex-shrink:0; transition:background var(--duration),color var(--duration); }
.dh .x:hover { background:var(--surface-secondary); color:var(--primary); }
.drawer-body { display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); overflow:hidden; flex:1; min-height:0; }
.cart-summary,.cart-checkout { min-width:0; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:var(--border) transparent; padding:24px; }
.cart-summary { background:var(--background); }
.cart-checkout { border-left:1px solid var(--border); scroll-padding-block:24px 140px; }
.cart-section-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.cart-section-title { display:flex; align-items:center; gap:8px; font:800 14px/1.5 var(--font-ui); }
.cart-section-title>span { display:grid; place-items:center; flex-shrink:0; width:26px; height:26px; border-radius:var(--radius-sm); background:var(--primary-soft); color:var(--primary); font-size:12px; }
.cart-actions { display:flex; justify-content:flex-end; }
#clearCart { padding:8px 0; min-height:44px; border:0; background:transparent; color:var(--danger-text); font-size:12px; text-decoration:underline; }
.it { position:relative; display:grid; grid-template-columns:64px minmax(0,1fr); gap:8px 12px; padding:16px 0; border-bottom:1px solid var(--border); }
.cart-item-photo { grid-row:1/3; width:64px; height:80px; border-radius:var(--radius-sm); overflow:hidden; background:var(--photo-background); }
.cart-item-image { display:block; width:100%; height:100%; }
.cart-item-placeholder { display:grid; place-items:center; width:100%; height:100%; color:var(--text-secondary); }
.cart-item-placeholder svg { width:26px; height:26px; }
.cart-item-details { min-width:0; padding-right:36px; }
.it b { font-size:14px; overflow-wrap:anywhere; }
.cart-item-details>b { display:block; line-height:1.4; }
.cart-item-footer { grid-column:2; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px; min-width:0; }
.cart-item-price { color:var(--primary); font-size:15px; font-weight:800; font-variant-numeric:tabular-nums; white-space:nowrap; }
.it small { display:block; margin-top:4px; font-size:12px; color:var(--text-secondary); }
.it .cart-promotion { color:var(--offer-text); font-size:11px; }
.qty { display:inline-flex; align-items:center; flex-shrink:0; margin-left:auto; border:1px solid var(--border); border-radius:var(--radius-pill); background:var(--surface-secondary); font-size:12px; }
.qty>span { min-width:24px; padding-inline:2px; text-align:center; font-variant-numeric:tabular-nums; }
.qty button { display:grid; place-items:center; width:44px; min-width:44px; height:44px; padding:0; border:0; border-radius:var(--radius-pill); background:transparent; color:var(--text); font-size:18px; transition:background var(--duration),color var(--duration); }
.qty button:hover:not(:disabled) { background:var(--primary-soft); color:var(--primary); }
.it>.rm { position:absolute; top:10px; right:-8px; display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:var(--radius-sm); background:transparent; color:var(--danger-text); transition:background var(--duration); }
.it>.rm svg { width:16px; height:16px; }
.it>.rm:hover { background:var(--danger-soft); }
.empty { padding:40px 12px; color:var(--text-secondary); text-align:center; }
.empty-cart-icon { display:grid; place-items:center; width:72px; height:72px; margin:0 auto 24px; border-radius:var(--radius-lg); background:var(--primary-soft); color:var(--primary); }
.empty-cart-icon svg { width:32px; height:32px; }
.empty p { max-width:36ch; margin-inline:auto; font-size:14px; }
.empty .btn { margin-top:24px; }
.empty strong { display:block; color:var(--text); font:400 28px/1.2 var(--font-title); margin-bottom:16px; }
#drawer[data-cart-state=empty] .drawer-body { grid-template-columns:minmax(0,1fr); }
#drawer[data-cart-state=empty] .cart-summary { display:grid; align-content:center; }
#drawer[data-cart-state=empty] .cart-section-header,#drawer[data-cart-state=empty] .cart-checkout { display:none; }
#msg { color:var(--danger-text); font-size:13px; }
#msg:not(:empty) { padding:16px; border:1px solid var(--danger); border-radius:var(--radius-md); background:var(--danger-soft); margin-top:20px; }
#co { display:grid; gap:14px; padding-top:20px; }
.tot { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:16px; border-radius:var(--radius-md); background:var(--surface-secondary); font-size:14px; font-weight:700; }
.tot span:last-child { font-size:28px; color:var(--primary); }
.checkout-note { color:var(--text-secondary); font-size:12px; }
.checkout-account { display:grid; gap:8px; padding:14px; border:1px solid var(--border); border-radius:var(--radius-md); background:var(--surface-secondary); font-size:12px; }
.checkout-account p { color:var(--text-secondary); }
.checkout-account>a { display:inline-flex; align-items:center; min-height:44px; width:fit-content; color:var(--primary); font-weight:700; text-underline-offset:3px; }
#co .checkout-account label { display:flex; align-items:center; gap:8px; font-size:12px; }
#co .checkout-account input { width:18px; min-height:18px; height:18px; flex-shrink:0; }
.checkout-saved-profile { display:grid; gap:8px; min-width:0; padding:16px; border:1px solid var(--border); border-radius:var(--radius-md); background:var(--surface-secondary); font-size:13px; }
.checkout-saved-heading { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:4px 12px; }
.checkout-saved-heading h3 { font:700 14px var(--font-ui); }
.checkout-saved-heading a { display:inline-flex; align-items:center; min-height:44px; color:var(--primary); font-size:12px; font-weight:700; text-underline-offset:3px; }
.checkout-saved-profile>p { margin:0; color:var(--text-secondary); overflow-wrap:anywhere; }
.checkout-saved-profile>.checkout-saved-name { color:var(--text); font-weight:700; }
.checkout-saved-profile>.checkout-saved-address { padding-top:8px; border-top:1px solid var(--border); white-space:pre-line; }
.checkout-profile-warning { padding:12px 14px; border-radius:var(--radius-md); background:var(--offer-soft); color:var(--offer-text); font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.checkout-customer-fields { display:grid; gap:14px; min-width:0; }
@media(max-width:1023px) { .header-account-copy { display:none; } .account-link [data-account-label] { display:none; } .account-link { width:44px; padding:0; } .bar { grid-template-columns:146px minmax(180px,1fr) auto; gap:20px; } .header-actions { gap:8px; } .store-nav { gap:16px; } .store-nav .all-categories-link { padding-right:16px; } .store-nav-links { gap:4px; } }
@media(max-width:379px) { .header-actions .account-link { display:none; } }
.checkout-heading { font:700 15px var(--font-ui); padding-top:16px; margin-top:8px; border-top:1px solid var(--border); }
#co label { display:grid; gap:8px; font-size:12px; font-weight:700; }
#co input,#co textarea,#co select { width:100%; min-width:0; min-height:46px; padding:12px 14px; border:1px solid var(--border); border-radius:var(--radius-md); background:var(--surface); color:var(--text); font-size:14px; }
#co textarea { resize:vertical; }
#co small { color:var(--text-secondary); font-size:11px; text-align:center; }
.cart-submit { position:sticky; bottom:-24px; z-index:1; display:grid; gap:12px; padding:16px 0 24px; margin-top:8px; background:var(--surface); border-top:1px solid var(--border); }
#send { margin:0; width:100%; min-height:48px; }
#send:disabled { cursor:not-allowed; }
#co[aria-busy=true] #send { cursor:wait; }
@media(max-width:699px) {
  #drawer { width:calc(100vw - 24px); height:min(760px,calc(100dvh - 24px)); border-radius:var(--radius-lg); }
  #drawer .dh { padding:18px; gap:12px; }
  .cart-heading { gap:12px; }
  .cart-heading-icon { width:40px; height:40px; }
  .dh h2 { font-size:28px; }
  #cart-intro { max-width:25ch; font-size:11px; }
  #drawer .drawer-body { display:block; overflow:auto; overscroll-behavior:contain; padding:0; }
  .cart-summary,.cart-checkout { overflow:visible; padding:20px; }
  .cart-checkout { border-left:0; border-top:1px solid var(--border); }
  .cart-submit { bottom:-20px; padding-bottom:20px; }
  #drawer[data-cart-state=empty] .drawer-body { display:grid; }
}
@media(max-width:389px) { .cart-heading-icon { display:none; } #cart-intro { max-width:23ch; } }
@media(max-width:1199px) { .grid,.highlight-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }  .weights { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:1023px) { .steps { grid-template-columns:repeat(2,minmax(0,1fr)); } .footer-main { gap:32px; } }
@media(max-width:899px) { #ready-kits { grid-template-columns:repeat(2,minmax(0,1fr)); } .grid,.highlight-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .catalog-toolbar { flex-wrap:wrap; } .filter-desktop-slot { flex-basis:100%; } .search-box { flex:1; } .about { gap:40px; } .delivery-section { gap:16px; } }
@media(max-width:767px) { .wrap { width:calc(100% - 40px); } .bar { height:72px; gap:8px; } .brand-logo { width:126px; height:58px; } .brand-logo img { width:126px; height:126px; top:-32px; } .header-actions { gap:6px; } .section-heading,.shelf-heading { align-items:start; gap:16px; } .home-banner,.promotion-intro { flex-direction:column; align-items:start; padding:24px; } .catalog-heading { display:block; } .catalog-heading>p { margin-top:20px; max-width:500px; } .filter-desktop-slot { display:none; } .filter-trigger { display:inline-flex; } .catalog-toolbar { padding:16px; gap:12px; } .search-box { flex-basis:100%; } .clear-filters { margin-left:auto; } .filter-dialog-slot .filters { grid-template-columns:repeat(2,minmax(0,1fr)); } .about { grid-template-columns:1fr; gap:32px; padding-block:48px; } .brand-ring { width:260px; } .delivery-section { grid-template-columns:1fr; } .contact { grid-template-columns:1fr; padding-block:48px; gap:32px; } .contact-aside { border-left:0; border-top:1px solid var(--border); padding:24px 0 0; } .footer-main { grid-template-columns:1fr 1fr; gap:32px; } .footer-brand { grid-column:1/-1; } }
@media(max-width:599px) { .wrap { width:calc(100% - 32px); } .header-search { display:none; } .header-actions .icon-button,.header-actions .theme-toggle { min-width:44px; width:44px; min-height:44px; } .cart-button { padding:8px; gap:6px; } .shelf-heading { flex-wrap:wrap; margin-bottom:24px; } .shelf-heading .text-link { font-size:12px; } .grid,.highlight-grid { gap:12px; } .info,.highlight-info { padding:14px 12px; } .info h3,.highlight-info h3 { font-size:16px; } .description { font-size:12px; } .stock-tag { top:8px; right:8px; font-size:9px; padding:4px 7px; } .weights { gap:6px; grid-template-columns:repeat(2,minmax(0,1fr)); } .weights button { font-size:10px; } .portion-footer .price { font-size:22px; } .portion-footer .btn { padding-inline:8px; gap:6px; font-size:11px; } .highlight-info p { font-size:16px; } .highlight-info p small { display:block; }   .steps { gap:24px; } .filters button { min-height:44px; } .filters button svg { width:18px; height:18px; } .home-shipping-bar { gap:12px; padding:12px 14px; width:calc(100% - 24px); bottom:calc(12px + env(safe-area-inset-bottom,0px)); } .home-shipping-subtotal strong { font-size:16px; } .home-shipping-subtotal span,.home-shipping-content p { font-size:10px; } .home-shipping-bar .btn { padding:10px 12px; font-size:11px; } .dh { padding:20px; } .drawer-body { padding:0 20px 24px; } }
@media(max-width:379px) { #ready-kits { grid-template-columns:1fr; } .grid,.highlight-grid { grid-template-columns:1fr; } .weights { grid-template-columns:repeat(4,minmax(0,1fr)); } .info,.highlight-info { padding:20px; } .info h3,.highlight-info h3 { font-size:18px; }  .steps { grid-template-columns:1fr; } .brand-logo { width:112px; } .brand-logo img { width:112px; height:112px; top:-27px; } }
