/* Fidelity first: original forest palette, Inter body and Georgia headings.
   DESIGN_VARIANCE 4 / MOTION_INTENSITY 3 / VISUAL_DENSITY 5.
   Light theme follows the requested reference. Layers: sticky header 40,
   mobile purchase bar 30, native dialog top layer, toast 80. */
:root{--forest:#0c7256;--forest-dark:#084633;--ink:#0e1b16;--muted:#53615a;--line:#e2e8e4;--pale:#ecfbf5;--radius:8px;color-scheme:light}
html{scroll-behavior:smooth;scroll-padding-top:130px}
body{min-width:320px}
body.modal-open{overflow:hidden}
[hidden]{display:none!important}
button,a,input,select,summary{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}
button:disabled{cursor:not-allowed}
:focus-visible{outline:3px solid var(--forest);outline-offset:4px}
main:focus{outline:none}
.skip-link{position:fixed;top:8px;left:12px;z-index:80;transform:translateY(-160%);padding:12px 20px;background:white;color:var(--forest-dark);border-radius:8px;box-shadow:0 2px 20px #0e1b1620}
.skip-link:focus{transform:translateY(0)}
.site-header{position:sticky;top:0;z-index:40;background:white;border-bottom:1px solid #f0f2f0;box-shadow:0 1px 4px #0e1b1608}
.benefits-bar{background:var(--forest-dark);color:white;padding:12px 24px;font-size:14px;font-weight:500}
.benefits-inner{max-width:1200px;margin:auto;display:flex;justify-content:center;align-items:center;gap:30px}
.benefits-inner>span{display:flex;align-items:center;gap:8px;white-space:nowrap}
.benefits-inner svg{width:17px;height:17px;color:#89c6ac;flex-shrink:0}
.header-inner{max-width:1280px;margin:auto;min-height:72px;padding:0 32px;display:flex;align-items:center;gap:25px}
.brand{display:flex;align-items:center;gap:6px;white-space:nowrap;flex-shrink:0}
.desktop-nav{display:flex;align-items:center;gap:2px;flex:1;justify-content:center}
.desktop-nav a{font-size:13px;font-weight:500;padding:11px 9px;border-radius:6px;color:#39413c;white-space:nowrap;transition:background-color .18s,color .18s}
.desktop-nav a:hover,.desktop-nav a[aria-current="page"]{color:var(--forest);background:var(--pale)}
.header-actions{display:flex;align-items:center;gap:5px;flex-shrink:0}
.header-actions button,.tracking-link{position:relative;display:flex;align-items:center;justify-content:center;gap:5px;min-width:42px;min-height:44px;padding:9px;color:#46534b;border-radius:6px;background:transparent}
.header-actions svg{width:22px;height:22px}
.tracking-link{font-size:13px}
.tracking-link svg{width:18px;height:18px}
.header-actions button:hover,.tracking-link:hover{background:var(--pale);color:var(--forest)}
.header-actions .menu-toggle{display:none}
.cart-badge{position:absolute;right:0;top:1px;min-width:18px;height:18px;padding:0 4px;display:grid;place-content:center;background:var(--forest);border:2px solid white;color:white;font-size:10px;font-weight:700;border-radius:50px}
.mobile-nav{max-height:calc(100dvh - 110px);overflow-y:auto;border-top:1px solid var(--line);padding:8px 20px 18px;background:white;box-shadow:0 12px 20px #0e1b1610}
.mobile-nav a{display:block;padding:12px 10px;border-radius:6px;font-size:15px;font-weight:500}
.mobile-nav a:hover,.mobile-nav a[aria-current="page"]{color:var(--forest);background:var(--pale)}
.home-page>section:first-child{min-height:85svh}
.home-page>section:first-child>img{object-position:center}
.home-page>section:first-child a{min-height:52px}
[data-product-card]{min-width:0}
[data-product-card] img{transition:transform .3s ease}
@media(hover:hover){[data-product-card]:hover img{transform:scale(1.035)}}
.product-page [data-gallery-main]{transition:opacity .15s ease}
.product-page button[aria-current="true"]{border-color:var(--forest)}
.product-page button[role="radio"][aria-checked="true"]{border-color:var(--forest);background:var(--pale);box-shadow:0 1px 4px #0e1b1610}
.product-page button[role="radio"][aria-checked="false"]{border-color:#e5e7eb;background:white;box-shadow:none}
.product-page button[aria-disabled="true"]{opacity:.4;cursor:not-allowed}
.product-page [data-sticky-buy]{z-index:30}
.faq-item{border-bottom:1px solid var(--line)}
.faq-item summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:17px 0}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary svg{flex-shrink:0;transition:transform .2s}
.faq-item[open] summary svg{transform:rotate(180deg)}
.faq-answer{padding:0 30px 20px 0;line-height:1.75;font-size:15px;color:#4b5563}
.catalog-tools{margin:0 0 28px;padding:22px;background:#f6f8f6;border:1px solid var(--line);border-radius:var(--radius)}
.catalog-tools-fields{display:grid;grid-template-columns:1fr 230px;gap:20px}
.catalog-tools label>span{display:block;font-size:13px;font-weight:600;margin-bottom:7px;color:#34463b}
.catalog-tools input[type="search"],.catalog-tools select{width:100%;min-height:46px;padding:10px 13px;background:white;border:1px solid #d0d9d2;border-radius:6px;color:var(--ink);font-size:15px}
.catalog-tools input::placeholder{color:#69756e}
.catalog-tools-bottom{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:16px;font-size:13px;color:var(--muted)}
.stock-field{display:flex;align-items:center;gap:9px;min-height:26px;cursor:pointer}
.stock-field input{width:17px;height:17px;accent-color:var(--forest)}
.catalog-empty{padding:45px 25px;text-align:center;border:1px dashed #c4d3c9;border-radius:8px;background:#f6f8f6;line-height:1.7}
.button-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:13px 22px;border-radius:var(--radius);background:var(--forest);color:white;font-weight:600;font-size:15px;transition:background-color .2s,transform .2s;text-align:center}
.button-primary:hover{background:var(--forest-dark)}
.button-primary:active{transform:translateY(1px)}
.button-primary:disabled{background:#dfe5e1;color:#546159;transform:none}
.button-primary svg{width:19px;height:19px}
#cart-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(100%,470px);max-width:100%;height:100dvh;max-height:100dvh;border:0;padding:0;background:white;color:var(--ink);box-shadow:-10px 0 50px #0e1b1630}
#cart-dialog::backdrop{background:rgb(10 23 17 / .48);backdrop-filter:blur(2px)}
.cart-panel{height:100%;display:flex;flex-direction:column}
.cart-heading{display:flex;align-items:center;justify-content:space-between;padding:22px 24px;border-bottom:1px solid var(--line)}
.cart-heading h2{font-family:Georgia,serif;font-size:25px;font-weight:700}
.dialog-close{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#f3f6f3}
.dialog-close svg{width:22px;height:22px}
.cart-body{flex:1;overflow:auto;overscroll-behavior:contain;padding:0 24px}
.empty-cart{display:flex;flex-direction:column;align-items:center;text-align:center;padding:64px 8px;gap:16px}
.empty-cart>svg{width:52px;height:52px;color:#8aa998;margin-bottom:8px}
.empty-cart h3{font-size:20px;font-family:Georgia,serif;font-weight:700}
.empty-cart p{color:var(--muted);font-size:14px}
.cart-line{display:grid;grid-template-columns:78px minmax(0,1fr);gap:16px;padding:24px 0;border-bottom:1px solid var(--line)}
.cart-line-image{width:78px;height:90px;object-fit:cover;border-radius:6px;background:#f1f4f1}
.cart-line-image{overflow:hidden}
.cart-line-image img{width:100%;height:100%;object-fit:cover}
.cart-line-total{grid-column:2;text-align:right;margin-top:-4px}
.cart-line-title{font-size:14px;font-weight:600;line-height:1.5;color:var(--ink)}
.cart-line-title:hover{color:var(--forest)}
.cart-line-variant{font-size:12px;color:var(--muted);margin-top:4px}
.cart-line-price,.cart-line-total{font-size:15px;font-weight:700;margin-top:6px;color:var(--forest-dark)}
.cart-line-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:13px}
.cart-quantity{display:inline-flex;align-items:center;border:1px solid #d1dbd4;border-radius:6px;overflow:hidden}
.cart-quantity button{display:grid;place-items:center;min-width:36px;min-height:36px;background:#f7f9f7;font-size:19px}
.cart-quantity button:disabled{opacity:.4}
.cart-quantity span,.cart-quantity output{min-width:30px;text-align:center;font-size:14px}
.cart-remove{color:#69756e;font-size:12px;text-decoration:underline;text-underline-offset:3px;min-height:36px}
.cart-remove:hover{color:#7d342d}
.cart-summary{padding:20px 24px max(20px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#f8faf8}
.cart-shipping{display:flex;gap:8px;align-items:center;color:var(--forest);font-size:13px;font-weight:600;margin-bottom:17px}
.cart-shipping svg{height:18px;width:18px}
.cart-total-row{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:16px;margin:20px 0}
.cart-total-row strong{font-size:25px;font-weight:700;white-space:nowrap}
.cart-summary .button-primary{width:100%}
.continue-shopping{display:block;margin:12px auto 0;min-height:36px;font-size:13px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}
#toast{position:fixed;z-index:80;bottom:24px;left:50%;transform:translate(-50%,12px);opacity:0;max-width:min(90vw,480px);border-radius:8px;padding:14px 20px;background:var(--forest-dark);color:white;font-size:14px;box-shadow:0 5px 30px #0e1b1626;transition:opacity .2s,transform .2s}
#toast.is-visible{opacity:1;transform:translate(-50%,0)}
.page-shell{max-width:1120px;margin:auto;padding:36px 32px 88px}
.breadcrumbs{display:flex;gap:10px;align-items:center;margin-bottom:30px;font-size:13px;color:var(--muted)}
.breadcrumbs a:hover{color:var(--forest)}
.checkout-page h1,.not-found h1{font-family:Georgia,serif;font-size:clamp(32px,4vw,44px);font-weight:700;margin-bottom:12px}
.page-intro{color:var(--muted);line-height:1.7}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:60px;margin-top:45px}
.checkout-layout h2{font-family:Georgia,serif;font-size:23px;font-weight:700;margin-bottom:20px}
.checkout-summary{background:#f6f9f6;border:1px solid var(--line);border-radius:10px;padding:28px;align-self:start}
.checkout-summary .button-primary{width:100%;font-size:13px}
.summary-line{display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--muted);font-size:14px}
.summary-line strong{color:var(--forest)}
.checkout-notice{border-top:1px solid #d5e0d7;padding:20px 0;font-size:13px;line-height:1.6;color:#56645a}
.checkout-notice h3{font-weight:600;color:var(--ink);margin-bottom:7px}
.checkout-empty{text-align:center;padding:70px 0}
.checkout-empty h2{font-family:Georgia,serif;font-size:27px;margin-bottom:12px}
.checkout-empty p{color:var(--muted);margin-bottom:24px}
.back-link{display:block;color:var(--forest);font-size:14px;margin-top:24px;text-underline-offset:4px}
.back-link:hover{text-decoration:underline}
.not-found{text-align:center;min-height:65svh;padding:50px 0}
.not-found .error-code{font-size:15px;letter-spacing:.15em;color:var(--forest);font-weight:600;margin-bottom:18px}
.not-found p:not(.error-code){max-width:470px;line-height:1.7;margin:15px auto 28px;color:var(--muted)}
#tracking-status{font-size:14px;color:var(--forest-dark);background:var(--pale);border:1px solid #bfdfce;border-radius:8px;padding:14px;line-height:1.6}
footer a[href^="mailto:"]{overflow-wrap:anywhere}
.payment-logos{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 24px;padding:0;list-style:none}
.payment-logo{display:flex;align-items:center;justify-content:center;width:76px;height:48px;flex:0 0 76px;background:#fff;border:1px solid #e5e7eb;border-radius:6px}
.payment-logo img{display:block;width:58px;height:32px;object-fit:contain}
@media(min-width:1280px){.desktop-nav a{font-size:14px;padding:11px 10px}}
@media(max-width:1199px){.header-inner{padding:0 24px;gap:16px}.desktop-nav{display:none}.header-actions{margin-left:auto}.header-actions .menu-toggle{display:flex}.benefits-inner{gap:22px}.benefits-bar{font-size:12px}}
@media(min-width:1200px){.mobile-nav{display:none!important}}
@media(max-width:767px){
 html{scroll-padding-top:112px}
 .benefits-bar{padding:9px 12px;font-size:11px;line-height:1.5}
 .benefits-inner{display:grid;grid-template-columns:max-content max-content;gap:5px 15px;justify-content:center}
 .benefits-inner>span{gap:6px}
 .benefits-inner svg{width:13px;height:13px}
 .header-inner{padding:0 16px;min-height:62px;gap:12px}
 .header-actions{gap:0}
 .tracking-link span{display:none}
 .header-actions .tracking-link{display:none}
 .brand>span{font-size:20px}
 .home-page>section:first-child{min-height:calc(100svh - 112px)}
 .home-page>section:first-child>div:last-child{padding-top:58px;padding-bottom:56px}
 .home-page>section:first-child h1{font-size:clamp(33px,8.5vw,46px);line-height:1.14}
 .home-page>section:first-child a{font-size:15px}
 .catalog-tools{padding:16px}
 .catalog-tools-fields{grid-template-columns:1fr;gap:14px}
 .catalog-tools-bottom{font-size:12px;gap:10px}
 .catalog-tools input[type="search"],.catalog-tools select{font-size:16px}
 .product-page h1{font-size:28px;line-height:1.22}
 .product-page main>div{padding-top:24px}
 .product-page button[data-product-slug]{font-size:17px}
 .product-page [data-sticky-buy] button{font-size:14px}
 .product-page [data-sticky-buy]~*{scroll-margin-bottom:80px}
 .product-page+footer{padding-bottom:90px}
 .faq-item summary span{font-size:15px}
 .page-shell{padding:26px 20px 60px}
 .checkout-layout{grid-template-columns:1fr;gap:30px;margin-top:30px}
 .checkout-summary{padding:22px}
 #toast{bottom:88px;font-size:13px}
 .cart-body{padding:0 20px}
 .cart-heading{padding:16px 20px}
 .cart-summary{padding:18px 20px max(18px,env(safe-area-inset-bottom))}
}
@media(max-width:359px){.benefits-bar{font-size:10px}.benefits-inner{gap:4px 10px}.home-page>section:first-child h1{font-size:32px}.header-inner{padding:0 12px}.product-page button[data-product-slug]{font-size:15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
