 :root{--olive:#B2BA7D;--olive-dark:#66723b;--green:#76BB78;--coral:#E85A71;--ink:#333;--muted:#777;--line:#ededed;--soft:#f7f7f7;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font:15px -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,.product:focus-visible{outline:3px solid var(--olive);outline-offset:2px}.announcement{background:var(--olive);text-align:center;padding:9px 12px;font-size:12px;letter-spacing:.05em;color:#273019}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20}.header-inner{max-width:1320px;margin:auto;padding:17px 24px;display:flex;gap:34px;align-items:center}.brand{text-decoration:none;color:#20251b;display:flex;align-items:center;gap:10px;font-size:25px;font-weight:800;letter-spacing:-.04em;white-space:nowrap}.brand-icon{font-size:34px;color:var(--olive)}.brand small{display:block;font-size:9px;letter-spacing:.2em;font-weight:600;color:#77805c}.search{display:flex;flex:1;max-width:620px;background:var(--soft);border:1px solid var(--line);border-radius:12px;overflow:hidden}.search input{width:100%;min-width:0;border:0;background:transparent;padding:14px 17px;outline:0}.search button,.apply-filters{background:var(--olive);border:0;color:#20291b;font-weight:700;padding:0 22px}.cart-open{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:12px 14px;white-space:nowrap}.cart-open b{display:grid;place-items:center;background:var(--olive);border-radius:50%;min-width:23px;height:23px;font-size:12px}.container{max-width:1320px;margin:auto;padding:0 24px}.breadcrumbs{font-size:12px;color:#8b8b8b;padding:21px 0}.breadcrumbs span{margin:0 8px}.intro{padding:17px 0 34px}.eyebrow{color:var(--olive-dark);font-size:11px;letter-spacing:.2em;font-weight:800}.intro h1{font-size:clamp(30px,4vw,46px);letter-spacing:-.04em;margin:9px 0}.intro p{color:var(--muted);margin:0}.catalog{display:grid;grid-template-columns:252px minmax(0,1fr);gap:32px}aside{align-self:start;border:1px solid var(--line);border-radius:15px;padding:20px;background:#fff}aside h2{font-size:20px;margin:0}.aside-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.aside-head button{display:none}.section-label{display:block;font-size:13px;font-weight:700;margin-bottom:9px}select{width:100%;background:white;border:1px solid #ddd;border-radius:9px;padding:12px}.filter-head{display:flex;align-items:center;justify-content:space-between;margin:25px 0 12px}.filter-head h3{margin:0;font-size:15px}.filter-head button{border:0;background:none;color:var(--olive-dark);font-size:12px}.facet{border-top:1px solid var(--line);padding:15px 0}.facet summary{cursor:pointer;font-weight:700;font-size:14px;list-style:none;display:flex;justify-content:space-between}.facet summary::after{content:'⌄';color:#777}.facet[open] summary::after{content:'⌃'}.facet-values{max-height:240px;overflow:auto;padding-top:7px}.facet label{display:flex;align-items:center;gap:9px;padding:6px 0;cursor:pointer;font-size:13px}.facet input{accent-color:var(--olive-dark);width:16px;height:16px}.facet label span{flex:1}.facet small{color:#888}.results-top{display:flex;align-items:baseline;justify-content:space-between;gap:10px;border-bottom:1px solid var(--line);padding-bottom:16px;margin-bottom:22px}.results-top h2{font-size:23px;margin:0}.results-top p{font-size:13px;color:var(--muted);margin:0}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.product{border:1px solid var(--line);border-radius:14px;overflow:hidden;cursor:pointer;background:#fff;transition:box-shadow .15s,transform .15s}.product:hover{box-shadow:0 12px 32px #00000012;transform:translateY(-2px)}.product .image-wrap{aspect-ratio:1/1;background:#fafafa;display:grid;place-items:center}.product img{width:100%;height:100%;object-fit:contain}.product .info{padding:14px}.product h3{font-size:13px;font-weight:600;line-height:1.5;min-height:40px;margin:0 0 12px}.price{font-size:20px;font-weight:800;color:#111}.product .more{font-size:11px;color:var(--olive-dark);margin-top:10px}.pager{display:flex;align-items:center;justify-content:center;gap:16px;margin:30px 0}.pager button{background:var(--soft);border:1px solid var(--line);border-radius:9px;padding:10px 16px}.pager span{font-size:13px}.mobile-toolbar,.apply-filters{display:none}.overlay[hidden]{display:none}.overlay{position:fixed;inset:0;background:#0008;z-index:29}dialog{border:0;border-radius:20px;box-shadow:0 25px 90px #0004;width:min(980px,95vw);max-height:92dvh;padding:32px;overflow:auto}dialog::backdrop{background:#1c2415a8}.dialog-close{position:absolute;right:14px;top:12px;border:0;background:var(--soft);border-radius:50%;font-size:27px;width:40px;height:40px;z-index:2}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px}.detail-grid .main-image{width:100%;aspect-ratio:1;object-fit:contain;background:#fafafa;border-radius:14px}.thumbs{display:flex;gap:8px;overflow:auto;margin-top:12px}.thumbs img{width:70px;height:70px;object-fit:contain;border:1px solid var(--line);border-radius:8px;cursor:pointer}.detail-grid h2{font-size:clamp(24px,3vw,33px);line-height:1.2;margin:12px 0 18px}.detail-grid h4{font-size:14px;margin:23px 0 11px}.choices{display:flex;gap:8px;flex-wrap:wrap}.choice{border:1px solid #d8dcbf;background:#fff;color:var(--ink);border-radius:9px;padding:11px 15px}.choice.selected{background:var(--olive);border-color:var(--olive);font-weight:700}.attrs{border-top:1px solid var(--line);margin-top:24px;padding-top:12px;color:#666;font-size:13px}.attrs p{margin:9px 0}.add-cart{display:block;width:100%;background:var(--olive);color:#222;border:0;border-radius:11px;padding:15px;margin-top:24px;font-weight:800}.hint{background:var(--soft);padding:13px;border-radius:9px;font-size:12px;color:#777;margin-top:15px}.empty{grid-column:1/-1;padding:50px;text-align:center;color:#888}.cart-line{display:grid;grid-template-columns:60px 1fr auto;gap:13px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.cart-line img{width:60px;height:60px;object-fit:contain}.cart-line h3{font-size:13px;margin:0 0 6px}.cart-line small{color:#777}.cart-line button{border:0;background:none;color:var(--coral);padding:7px}.cart-bottom{padding-top:24px}.cart-bottom>div{display:flex;justify-content:space-between;font-size:20px}.cart-bottom p{color:#777;font-size:12px}.cart-bottom>button{width:100%;border:0;background:var(--olive);padding:15px;border-radius:9px}footer{max-width:1320px;margin:50px auto 0;padding:28px 24px;border-top:1px solid var(--line);color:#888;font-size:12px}@media(max-width:1120px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.header-inner{gap:16px}}@media(max-width:780px){.announcement{font-size:10px}.header-inner{padding:12px 16px;flex-wrap:wrap;gap:12px}.brand{font-size:22px}.brand-icon{font-size:27px}.search{order:3;flex:0 0 100%;max-width:none}.search input{padding:12px}.cart-open{margin-left:auto;padding:9px}.cart-open span{display:none}.container{padding:0 14px}.breadcrumbs{padding:15px 0}.intro{padding:9px 0 22px}.intro h1{font-size:29px}.intro p{font-size:13px}.catalog{display:block}.results-top{margin-bottom:14px}.results-top h2{font-size:18px}.mobile-toolbar{display:flex;align-items:center;justify-content:space-between;margin:0 0 18px;gap:12px}.mobile-toolbar span{font-size:12px;color:#777}.filter-open{background:#fff;border:1px solid var(--line);border-radius:10px;padding:12px 16px;font-weight:700}.filter-open span{color:var(--olive-dark);margin-left:5px}aside{position:fixed;z-index:30;top:0;bottom:0;left:0;width:min(350px,90vw);border-radius:0;overflow:auto;transform:translateX(-105%);transition:transform .2s;padding:24px 20px 90px;box-shadow:10px 0 35px #0002}aside.open{transform:translateX(0)}.aside-head button{display:block;background:none;border:0;font-size:30px}.apply-filters{display:block;position:sticky;bottom:0;width:100%;padding:15px;border-radius:9px;margin-top:20px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product .info{padding:11px}.product h3{font-size:12px}.price{font-size:17px}.product .more{font-size:10px}dialog{width:100vw;max-width:100vw;max-height:94dvh;margin:auto 0 0;border-radius:20px 20px 0 0;padding:22px 16px 28px}.detail-grid{display:block}.detail-grid .main-image{max-height:350px}.detail-grid h2{font-size:25px}.thumbs img{width:60px;height:60px}.pager{gap:9px}.pager button{padding:10px}footer{margin-top:30px}}@media(max-width:380px){.grid{gap:8px}.product .info{padding:9px}.product h3{font-size:11px}.price{font-size:16px}}
/* v0.3.1 — consistent outline icons */
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.icon{width:20px;height:20px;display:inline-block;flex-shrink:0;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.search button,.cart-open,.filter-open,.pager button,.product .more{display:inline-flex;align-items:center;justify-content:center;gap:9px}
.search button .icon,.cart-open .icon{width:21px;height:21px}
.cart-open{min-height:46px}
.search button{min-height:46px}
.filter-open .icon{width:19px;height:19px}
.dialog-close,.aside-head button{display:grid;place-items:center}
.dialog-close .icon,.aside-head button .icon{width:21px;height:21px}
.cart-line button .icon{width:19px;height:19px}
.cart-line button{min-width:36px;min-height:36px;display:inline-grid;place-items:center}
.product .more .icon{width:14px;height:14px}
.pager .icon{width:16px;height:16px}
@media(max-width:780px){.search button{padding:0 16px}.cart-open{min-width:48px;min-height:48px}.aside-head button{min-width:44px;min-height:44px}.filter-open{min-height:46px}}

/* v0.4: category browsing, product information and mobile commerce */
.catalog{grid-template-columns:230px 240px minmax(0,1fr)}
.category-nav{border:1px solid var(--line);border-radius:14px;background:#fff;padding:18px;align-self:start;max-height:78vh;overflow:auto}
.category-nav-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.category-nav-head h2{font-size:18px;margin:0}.category-nav-head button{display:none;border:0;background:none}
.cat-row{display:flex;align-items:center;gap:2px}.cat-link,.cat-all{flex:1;text-align:left;background:none;border:0;padding:9px 5px;font-size:13px;color:var(--ink);cursor:pointer}.cat-link.active,.cat-link:hover,.cat-all:hover{color:#65713c;font-weight:700}.cat-toggle{border:0;background:transparent;padding:6px;cursor:pointer}.cat-toggle .icon{width:16px;height:16px;transition:transform .2s}.cat-toggle.expanded .icon{transform:rotate(90deg)}.cat-children{padding-left:13px;border-left:1px solid var(--line);margin-left:8px}.cat-children[hidden]{display:none}
.product-description{margin-top:22px;border-top:1px solid var(--line);padding-top:14px}.product-description h3{font-size:17px;margin:0 0 10px}.product-description div{font-size:14px;line-height:1.65;white-space:pre-line;color:#555}.product-attributes{margin-top:18px;border-top:1px solid var(--line);padding-top:16px}.product-attributes summary{cursor:pointer;font-weight:700}.product-attributes .attrs{border:0;margin-top:8px}.purchase-row{display:flex;align-items:center;gap:12px;margin-top:24px}.purchase-row .add-cart{margin:0;display:flex;align-items:center;justify-content:center;gap:9px;flex:1}.qty-picker{display:flex;align-items:center;border:1px solid var(--line);border-radius:10px;min-height:49px}.qty-picker button{background:none;border:0;padding:12px;cursor:pointer}.qty-picker output{min-width:20px;text-align:center;font-weight:700}.bottom-nav{display:none}
@media(max-width:1200px) and (min-width:781px){.catalog{grid-template-columns:190px 210px minmax(0,1fr)}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:780px){.catalog{display:block}.category-nav{position:fixed;z-index:31;top:0;bottom:0;left:0;width:min(360px,90vw);max-height:none;border-radius:0;overflow:auto;transform:translateX(-105%);transition:transform .2s;box-shadow:10px 0 35px #0002}.category-nav.open{transform:translateX(0)}.category-nav-head button{display:grid;place-items:center}.mobile-toolbar{justify-content:flex-start}.mobile-toolbar #mobileSummary{margin-left:auto}.mobile-toolbar .filter-open{padding:10px;min-height:46px;font-size:13px}.bottom-nav{display:flex;position:fixed;z-index:20;bottom:0;left:0;right:0;justify-content:space-around;padding:8px 8px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid var(--line)}.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:0;font-size:10px;color:#555;min-width:60px}.bottom-nav .icon{width:22px;height:22px}body{padding-bottom:75px}#detail{position:fixed;inset:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:58px 16px calc(24px + env(safe-area-inset-bottom));border-radius:0}#detail .dialog-close{position:fixed;top:calc(10px + env(safe-area-inset-top));right:12px;background:#fff;border:1px solid var(--line);box-shadow:0 2px 8px #0002}#detail .main-image{max-height:260px;aspect-ratio:5/4}.detail-grid h2{font-size:23px}.purchase-row{position:sticky;bottom:-24px;background:#fff;padding:10px 0 14px;z-index:2;box-shadow:0 -6px 15px #fff}.purchase-row .add-cart{font-size:13px}.purchase-row .qty-picker button{padding:9px}#cartDialog{max-height:95dvh}}

/* v0.5 */
.hidden-category-select{display:none}.is-home .breadcrumbs,.is-home .intro,.is-home .mobile-toolbar,.is-home .catalog{display:none}.home-sections{padding:8px 0 28px}.home-banner{background:linear-gradient(115deg,#f0f3e4,#fafbf5);padding:46px;border-radius:20px}.home-banner h2{font-size:clamp(28px,4vw,46px);max-width:700px;letter-spacing:-.04em;margin:12px 0}.home-banner p{color:#626c51}.home-banner button{background:var(--olive);border:0;border-radius:12px;padding:14px 20px;font-weight:700;display:flex;gap:8px;align-items:center}.home-section{margin-top:40px}.home-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px}.home-heading h2{font-size:25px;margin:0}.home-heading button{background:none;border:0;color:var(--olive-dark);font-weight:700}.home-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.home-category{display:flex;align-items:center;justify-content:space-between;text-align:left;background:#f8f9f3;border:1px solid #e5e8d9;border-radius:13px;padding:17px;font-weight:700;gap:12px}.home-category .icon{width:16px}.home-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.home-product{border:1px solid var(--line);border-radius:15px;overflow:hidden;cursor:pointer}.home-product-image{aspect-ratio:1;background:#fafafa}.home-product-image img{width:100%;height:100%;object-fit:contain}.home-product-info{padding:13px}.home-product h3{font-size:13px;line-height:1.4;min-height:37px;margin:0 0 12px}.home-product strong{font-size:18px;color:#161616}.facet-values{max-height:265px}.facet-values label{min-height:35px}.add-cart{font-size:18px;min-height:58px;letter-spacing:0;white-space:normal}.purchase-row .add-cart{font-size:18px}.product-description div{white-space:pre-line}.mobile-toolbar #mobileSummary{display:none}
@media(max-width:780px){.home-sections{padding:5px 0 20px}.home-banner{padding:25px 19px;border-radius:15px}.home-banner h2{font-size:29px}.home-section{margin-top:28px}.home-heading h2{font-size:21px}.home-heading button{font-size:12px}.home-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.home-category{padding:14px;font-size:13px}.home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-product-info{padding:11px}.home-product strong{font-size:16px}.purchase-row .add-cart{font-size:17px;line-height:1.2;padding:13px 9px;min-height:56px}.purchase-row .add-cart .icon{width:21px;height:21px}.purchase-row .qty-picker{flex-shrink:0}.purchase-row .qty-picker button{padding:8px}.purchase-row{gap:8px}}
@media(max-width:370px){.purchase-row .add-cart{font-size:15px}}

.home-sections{display:none}.is-home .home-sections{display:block}

/* v0.5.1 — compact catalog homepage, original-store typography */
@font-face{font-family:"Gotham Pro";src:url("/store/fonts/gotham-pro-regular.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
body,button,input,select{font-family:"Gotham Pro",Arial,Helvetica,sans-serif}
.brand{font-weight:600}.brand small{font-weight:400}
h1,h2,h3,h4,.intro h1,.detail-grid h2,.results-top h2,.aside-head h2,.home-heading h2{font-weight:500;letter-spacing:-.015em}
.eyebrow{font-weight:500}.price,.home-product strong{font-weight:600}
.product h3,.home-product h3,.facet summary,.filter-head h3,.filter-open,.cat-link,.cat-all{font-weight:400}
.search button,.home-banner button,.add-cart,.purchase-row .add-cart{font-weight:600}
/* Do not show promotional hero and category tiles on the home screen. */
.home-sections,.is-home .home-sections{display:none!important}
.is-home .catalog{display:grid}
.is-home .breadcrumbs,.is-home .intro{display:none}
.is-home .mobile-toolbar{display:none}
.is-home .results-top #summary{display:none}
.is-home .results-top{margin-top:25px}
@media(max-width:780px){
 .is-home .catalog{display:block}
 .is-home .mobile-toolbar{display:flex}
 .is-home .results-top{margin-top:0}
 .brand{font-weight:600}
 .intro h1{font-size:27px}
}

/* v0.5.2 — user's own brand identity, full-width mobile controls */
.brand{display:flex;align-items:center;min-width:0;flex-shrink:0;text-decoration:none}
.brand-logo{display:block;width:220px;max-width:100%;height:auto;object-fit:contain}
.announcement{color:#171c13;font-size:14px;font-weight:400;letter-spacing:0}
.results-top h2{font-weight:400}
.is-home .pager{display:none}
@media(max-width:780px){
 .brand-logo{width:190px}
 .announcement{font-size:12px;line-height:1.45;padding:8px 10px;text-align:center}
 .mobile-toolbar{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;width:100%}
 .mobile-toolbar .filter-open{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-width:0;padding:13px 6px;font-weight:400;font-size:14px}
 .mobile-toolbar .filter-open .icon{flex-shrink:0}
 .mobile-toolbar #filterCount{margin-left:0}
}
@media(max-width:380px){.brand-logo{width:164px}.mobile-toolbar .filter-open{font-size:13px}}

/* v0.5.3: product photo lightbox */
.main-image{cursor:zoom-in}
#photoViewer{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border:0;background:#101110;color:#fff;overflow:hidden}
#photoViewer::backdrop{background:rgba(0,0,0,.92)}
.viewer-top{position:absolute;z-index:5;top:0;left:0;right:0;display:flex;align-items:center;justify-content:space-between;padding:calc(12px + env(safe-area-inset-top)) 18px 12px;background:linear-gradient(#101110bb,transparent);font-size:15px}
#viewerClose{border:0;background:#ffffff20;color:white;width:44px;height:44px;border-radius:50%;font-size:30px;cursor:pointer;line-height:1}
.viewer-stage{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;user-select:none}
.viewer-stage img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;transform-origin:center;will-change:transform;user-select:none;-webkit-user-drag:none}
.viewer-nav{position:absolute;z-index:4;top:50%;transform:translateY(-50%);border:0;border-radius:50%;background:#ffffff25;color:white;width:44px;height:54px;font-size:40px;cursor:pointer}
.viewer-prev{left:12px}.viewer-next{right:12px}.viewer-nav:disabled{opacity:.25}
.viewer-help{position:absolute;bottom:calc(12px + env(safe-area-inset-bottom));left:0;right:0;text-align:center;font-size:12px;color:#ffffffb0;pointer-events:none}
@media(max-width:780px){.viewer-nav{width:34px;height:44px;font-size:32px}.viewer-prev{left:4px}.viewer-next{right:4px}.viewer-help{font-size:11px}}

/* v0.5.4: automatic incremental loading, no numbered pages */
.pager{display:none!important}
.infinite-sentinel{height:2px;pointer-events:none}
.infinite-status{min-height:26px;text-align:center;margin:22px 0;color:var(--muted);font-size:13px;cursor:default}
.infinite-status:not(:empty){padding:10px}

/* v0.5.5: keep catalog and filter actions visible during mobile scrolling.
   Sticky positioning is limited to the viewport and does not cover the bottom navigation. */
@media (max-width:780px){
  .mobile-toolbar{
    position:sticky;top:0;z-index:19;
    background:#fff;
    padding:10px 0 12px;
    margin:0 0 12px;
    box-shadow:0 6px 12px -12px rgba(0,0,0,.32);
  }
  .mobile-toolbar .filter-open{min-height:50px}
}

/* v0.5.6: the toolbar must live INSIDE the sticky site header.
   The previous version placed it in the scrolling catalog container,
   so sticky positioning stopped when that container left the viewport. */
@media (max-width:780px){
  .site-header{position:sticky;top:0;z-index:25;background:#fff;}
  .site-header .mobile-toolbar{position:static;top:auto;z-index:auto;
    width:100%;max-width:1320px;margin:0 auto;padding:8px 14px 10px;
    background:#fff;border-top:1px solid var(--line);
    box-shadow:0 4px 10px -9px rgba(0,0,0,.35);}
  .site-header .header-inner{padding-bottom:10px;}
  .site-header .mobile-toolbar .filter-open{min-height:46px;}
}
@media (min-width:781px){.site-header .mobile-toolbar{display:none!important;}}
