*{box-sizing:border-box} :root{--ink:#192820;--green:#183426;--lime:#b7f36b;--paper:#f5f7f1;--muted:#6a776f;--line:#e0e7dd;--white:#fff}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.55 Inter,"Noto Sans Myanmar","Myanmar Text",system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a{cursor:pointer}a{color:inherit;text-decoration:none}.announcement{background:var(--green);color:#e4eee5;text-align:center;padding:9px 15px;font-size:12px}.nav{position:sticky;top:0;z-index:4;display:flex;align-items:center;gap:25px;padding:17px max(calc((100% - 1180px)/2),22px);background:#fff;border-bottom:1px solid var(--line)}.brand{font-size:24px;font-weight:900;letter-spacing:-1px;white-space:nowrap}.brand span{color:#5d9d29}.brand small{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);line-height:1}.nav nav{display:flex;gap:23px;margin:auto}.nav nav a{font-size:13px;color:var(--muted)}.nav-actions{display:flex;gap:8px}.primary,.secondary,.icon-btn{border:0;border-radius:11px;padding:12px 16px;font-weight:750}.primary{background:var(--lime);color:var(--ink)}.secondary,.icon-btn{background:#eef2eb;color:var(--ink)}.wrap{max-width:1180px;margin:auto;padding:0 22px}.hero{margin:27px auto 65px;min-height:410px;border-radius:26px;background:var(--green);color:#fff;display:grid;grid-template-columns:1.05fr .95fr;overflow:hidden}.hero>div:first-child{padding:49px 0 42px 48px;align-self:center}.eyebrow{font-size:11px;letter-spacing:1.5px;color:var(--lime);font-weight:850}.eyebrow.dark{color:#568d2d}.hero h1{font-size:clamp(36px,4.5vw,57px);line-height:1.2;letter-spacing:-1.8px;margin:15px 0}.hero p{max-width:440px;color:#c8d6cb;font-size:14px}.button-link{display:inline-block;margin-top:17px}.hero-points{display:flex;gap:15px;flex-wrap:wrap;margin-top:24px;color:#d9e4da;font-size:11px}.hero-visual{position:relative;display:grid;place-items:center;min-height:340px}.gear{display:grid;place-items:center;width:265px;height:265px;border-radius:50%;background:var(--lime);font-size:140px;box-shadow:0 0 0 22px #ffffff0a,0 0 0 50px #ffffff08}.float-card{position:absolute;top:42px;right:24px;background:#fff;color:var(--ink);padding:14px 18px;border-radius:13px;font-size:9px;letter-spacing:1px;box-shadow:0 10px 30px #0002}.float-card strong{display:block;font-size:15px;letter-spacing:0;margin-top:5px}.round-stamp{position:absolute;bottom:37px;left:18px;background:#f4f6ef;color:var(--green);width:72px;height:72px;border-radius:50%;display:grid;place-content:center;text-align:center;font-weight:900;font-size:12px;transform:rotate(-12deg)}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.section-head h2{font-size:30px;letter-spacing:-.8px;margin:5px 0}.section-head p{margin:0;color:var(--muted);font-size:13px}.muted{color:var(--muted);font-size:12px}.filters{display:flex;gap:10px;margin:22px 0}.filters input{flex:1;min-width:100px}.filters input,.filters select,input,textarea{border:1px solid var(--line);border-radius:10px;background:#fff;padding:12px;color:var(--ink)}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:65px}.product{border:1px solid var(--line);border-radius:17px;padding:13px;background:#fff;transition:.2s;min-width:0}.product:hover{transform:translateY(-3px);box-shadow:0 12px 25px #18281c0c}.product-art{height:160px;display:grid;place-items:center;border-radius:12px;background:#eef3e9;font-size:66px;position:relative}.sku{position:absolute;top:10px;left:10px;background:white;border-radius:6px;padding:4px 7px;font-size:9px;font-weight:800}.stock{position:absolute;bottom:9px;right:9px;background:#fff;border-radius:6px;padding:4px 7px;font-size:9px;color:#507b34}.product .category-label{font-size:10px;color:#648d43;margin-top:13px}.product h3{font-size:15px;margin:4px 0}.desc{font-size:11px;color:var(--muted);min-height:38px}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.price{font-weight:900;font-size:15px}.add{border:0;background:var(--green);color:#fff;border-radius:9px;padding:10px 12px;font-size:11px;font-weight:800}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:60px}.benefits article{background:#eaf1e5;border-radius:16px;padding:23px}.benefits article>span{font-size:25px}.benefits h3{font-size:15px;margin:9px 0 4px}.benefits p{font-size:12px;color:var(--muted);margin:0}footer{background:var(--green);color:#e6eee6;padding:34px max(calc((100% - 1136px)/2),22px)}footer p,footer small{color:#b6c7ba;font-size:11px}.overlay{display:none;position:fixed;inset:0;background:#07120ca8;z-index:8}.overlay.open{display:block}.drawer{position:fixed;z-index:9;top:0;right:0;bottom:0;width:min(430px,100%);background:#fff;padding:23px;overflow:auto;transform:translateX(110%);transition:.25s}.drawer.open{transform:translateX(0)}.drawer-head{display:flex;justify-content:space-between;align-items:center;gap:15px}.drawer-head h2{font-size:22px}.cart-line{display:flex;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}.cart-emoji{background:#eef3e9;border-radius:10px;padding:10px;font-size:30px}.cart-line-main{flex:1}.cart-line small{display:block;color:var(--muted)}.qty{display:flex;align-items:center;gap:8px;margin-top:7px}.qty button{background:#fff;border:1px solid var(--line);border-radius:6px;width:27px;height:27px}.total{display:flex;justify-content:space-between;font-weight:900;font-size:18px;margin:20px 0}.full{width:100%}.empty{text-align:center;padding:40px 5px;color:var(--muted)}.modal{display:none;position:fixed;inset:0;z-index:12;background:#07120ca8;overflow:auto;padding:22px}.modal.open{display:grid;place-items:center}.modal-card{background:#fff;width:min(550px,100%);border-radius:19px;padding:24px;max-height:94vh;overflow:auto}.modal-card form label{display:block;margin:13px 0;font-size:12px;font-weight:700}.modal-card input,.modal-card textarea{display:block;width:100%;margin-top:5px}.modal-card textarea{min-height:75px;resize:vertical}.bank-box{background:#eef5e7;border-radius:12px;padding:14px;font-size:12px;margin:10px 0}.bank-box strong{display:block;font-size:14px}.small{font-size:11px}.toast{display:none;position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:12px 17px;border-radius:10px;z-index:20;max-width:90vw}.toast.show{display:block}#checkout-message{margin-top:12px;font-size:13px}.success{color:#3b8129}.error{color:#bd3f2d}@media(max-width:850px){.nav nav{display:none}.nav{gap:12px}.nav-actions{margin-left:auto}.hero{grid-template-columns:1fr}.hero>div:first-child{padding:38px 28px 0}.hero-visual{min-height:290px}.gear{width:200px;height:200px;font-size:100px}.products{grid-template-columns:repeat(2,1fr)}.benefits{grid-template-columns:1fr}.hero-points{gap:9px}}@media(max-width:480px){.brand{font-size:21px}.nav{padding:13px 15px}.nav-actions .primary{padding:10px}.wrap{padding:0 15px}.hero{margin-top:15px;border-radius:19px}.hero h1{font-size:39px}.hero-visual{min-height:250px}.gear{width:175px;height:175px;font-size:85px}.float-card{right:8px;top:18px}.round-stamp{left:10px;bottom:20px}.filters{flex-wrap:wrap}.filters input{flex-basis:100%}.filters select{flex:1;min-width:0}.products{gap:9px}.product{padding:8px}.product-art{height:125px;font-size:52px}.product-bottom{align-items:stretch;flex-direction:column}.add{width:100%}.price{font-size:14px}.section-head h2{font-size:25px}}

/* Mobile catalog polish: aligned prices and visible admin navigation */
.product{display:flex;flex-direction:column;height:100%;min-width:0}
.product .product-bottom{margin-top:auto;padding-top:14px;display:flex;flex-direction:column;align-items:stretch;gap:10px}
.product .price{display:block;min-height:1.6em;line-height:1.6;font-size:clamp(14px,1.1vw,17px);white-space:nowrap}
.product .add{width:100%;min-height:44px;font-size:13px}
.product .desc{min-height:4.8em}
@media(max-width:850px){
 .nav nav{display:flex;order:3;margin:0;gap:0}
 .nav nav a:not([href="/admin.html"]){display:none}
 .nav nav a[href="/admin.html"]{display:inline-flex;align-items:center;justify-content:center;background:#eef2eb;color:var(--ink);border-radius:10px;padding:10px 12px;font-size:12px;font-weight:800;white-space:nowrap}
 .nav{gap:10px;flex-wrap:nowrap}
 .nav-actions{margin-left:auto;flex-shrink:0}
}

.promotion-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;width:100%;margin-top:24px}.promotion-product{display:flex;align-items:center;gap:10px;padding:10px;background:#fff;border:1px solid #dbe8d5;border-radius:14px}.promotion-product-art{display:grid;place-items:center;width:58px;height:58px;overflow:hidden;border-radius:10px;background:#f0f5eb;font-size:28px}.promotion-product-art img{width:100%;height:100%;object-fit:cover}.promotion-product>span:nth-child(2){display:grid;gap:2px;min-width:0;flex:1}.promotion-product strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.promotion-product small{color:var(--muted)}.promotion-product b{color:#16843a}.promotion-product del{font-size:12px;color:var(--muted)}.promotion-product .add{width:36px;height:36px;padding:0;border-radius:10px}.promotion-empty{margin:22px 0 0;color:var(--muted)}
@media(max-width:480px){
 .product{padding:8px}
 .product .product-art{min-height:180px;height:180px}
 .product .product-photo{height:180px}
 .product .product-bottom{gap:8px;padding-top:12px}
 .product .price{font-size:clamp(12px,3.3vw,15px);letter-spacing:-.2px}
 .product .desc{min-height:5.2em}
 .nav{padding:12px 10px}
 .brand{font-size:19px}
 .nav nav a[href="/admin.html"]{padding:9px 8px;font-size:11px}
 .nav-actions{gap:5px}
 .nav-actions .primary{padding:9px 10px;font-size:12px}
}

/* Product image gallery (any number of photos per item) */
.product-art{position:relative;min-height:210px;overflow:hidden}.product-photo{width:100%;height:210px;object-fit:contain;background:#fff;display:block;padding:12px}.product-fallback{display:grid;place-items:center;min-height:210px;font-size:82px}.gallery-open{position:absolute;left:12px;bottom:12px;border:1px solid #dfe7dd;background:#fff;color:var(--green);border-radius:999px;padding:7px 11px;font-size:11px;font-weight:800;box-shadow:0 4px 12px #0001}.gallery-modal{z-index:70}.gallery-card{width:min(900px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:20px;padding:20px;box-shadow:0 25px 80px #0004}.gallery-stage{display:grid;grid-template-columns:48px minmax(0,1fr) 48px;gap:10px;align-items:center;min-height:300px}.gallery-stage>img{width:100%;height:min(62vh,560px);object-fit:contain;background:#f5f7f1;border-radius:12px}.gallery-arrow{width:44px;height:44px;border:0;border-radius:50%;background:var(--green);color:#fff;font-size:30px;line-height:1}.gallery-arrow:disabled{opacity:.25;cursor:not-allowed}.gallery-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;color:var(--muted);font-size:12px}.gallery-thumbs{display:flex;gap:7px;overflow-x:auto;max-width:80%;padding:4px}.gallery-thumb{flex:0 0 58px;width:58px;height:58px;padding:2px;border:2px solid transparent;background:#f5f7f1;border-radius:8px}.gallery-thumb.active{border-color:#5d9d29}.gallery-thumb img{width:100%;height:100%;object-fit:contain}.product{overflow:hidden}.product-art .sku,.product-art .stock{z-index:1}@media(max-width:520px){.gallery-card{padding:12px}.gallery-stage{grid-template-columns:34px minmax(0,1fr) 34px;gap:5px;min-height:240px}.gallery-stage>img{height:48vh}.gallery-arrow{width:32px;height:32px;font-size:24px}.gallery-meta{align-items:flex-start;flex-direction:column}.gallery-thumbs{max-width:100%;width:100%}.product-photo{height:180px}.product-art{min-height:180px}}
.brand .site-brand-word{color:var(--ink)}
.site-brand-image{display:none;max-width:170px;max-height:52px;object-fit:contain}
.hero{background:var(--hero-bg,var(--green))}

.cart-fly-item{position:fixed;z-index:30;width:52px;height:52px;display:grid;place-items:center;overflow:hidden;border:3px solid #fff;border-radius:50%;background:var(--lime);font-size:29px;box-shadow:0 8px 22px #10201845;pointer-events:none;will-change:transform,opacity;transition:transform .68s cubic-bezier(.2,.8,.25,1),opacity .68s ease}.cart-fly-item img{width:100%;height:100%;object-fit:cover}.cart-bump{animation:cart-bump .42s cubic-bezier(.2,.8,.25,1)}@keyframes cart-bump{0%,100%{transform:scale(1)}40%{transform:scale(1.15)}}@media(prefers-reduced-motion:reduce){.cart-fly-item{transition:none}.cart-bump{animation:none}}

.mobile-bottom-nav{display:none}.store-view-hidden{display:none!important}.category-view,.promotion-view{min-height:62vh;margin-top:28px;margin-bottom:65px}.category-browser{display:grid;grid-template-columns:minmax(190px,.34fr) minmax(0,1fr);gap:16px;border:1px solid var(--line);border-radius:19px;background:#fff;padding:12px;min-height:480px}.category-sidebar{display:flex;flex-direction:column;gap:5px;align-self:start;max-height:70vh;overflow:auto}.category-choice{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:47px;width:100%;padding:10px 13px;border:1px solid transparent;border-radius:10px;background:#f7f8f6;color:var(--ink);text-align:left;cursor:pointer}.category-choice:hover{background:#eef4e9}.category-choice.selected{background:var(--green);color:#fff}.category-choice-icon{flex:0 0 auto}.category-choice-name{min-width:0;overflow:hidden;text-overflow:ellipsis}.category-choice-count{flex:0 0 auto;color:#91a2b7;font-variant-numeric:tabular-nums}.category-choice.selected .category-choice-count{color:var(--lime)}.category-results{min-width:0}.category-results-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 9px 11px;border-bottom:1px solid var(--line)}.category-results-heading h3{margin:0;font-size:18px}.category-product-list{display:flex;flex-direction:column}.category-product-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto auto;align-items:center;gap:13px;padding:11px 8px;border-bottom:1px solid var(--line)}.category-product-art{position:relative;display:grid;place-items:center;width:76px;height:68px;overflow:hidden;border-radius:9px;background:#f1f5ed;font-size:33px}.category-product-art .product-photo{width:100%;height:100%;min-height:0;padding:4px}.category-product-art .product-fallback{min-height:0;font-size:32px}.category-product-info{display:flex;flex-direction:column;gap:2px;min-width:0}.category-product-info>strong{font-size:12px}.category-product-info>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.category-product-info>small{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--muted);font-size:11px}.category-product-info .price{font-size:13px;margin-top:3px}.category-row-stock{white-space:nowrap;color:var(--muted);font-size:11px}.category-row-add{white-space:nowrap}.category-empty{padding:20px;color:var(--muted)}.promotion-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:330px;overflow:hidden;padding:clamp(26px,6vw,62px);border:1px solid #dce8d4;border-radius:24px;background:radial-gradient(circle at 85% 15%,#b7f36b55,transparent 33%),linear-gradient(135deg,#fff,#eef5e9)}.promotion-card h2{max-width:650px;margin:12px 0 8px;font-size:clamp(28px,4vw,42px);letter-spacing:-1px}.promotion-card p{max-width:620px;color:var(--muted);font-size:15px}.promotion-icon{position:absolute;right:8%;top:18%;font-size:clamp(70px,12vw,140px);opacity:.13;transform:rotate(-12deg)}.promotion-card .primary{margin-top:12px}
@media(max-width:850px){
 .mobile-bottom-nav{position:fixed;z-index:7;left:0;right:0;bottom:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:end;padding:7px 7px max(7px,env(safe-area-inset-bottom));border-top:1px solid #e0e7dd;background:#fffffff2;backdrop-filter:blur(16px);box-shadow:0 -6px 20px #10201810}
 .bottom-nav-item{position:relative;display:flex;min-width:0;min-height:51px;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:4px 2px;border:0;border-radius:12px;background:transparent;color:#829187;text-align:center;text-decoration:none}
 .bottom-nav-item>span{font-size:21px;line-height:1.15}.bottom-nav-item small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:700;line-height:1.2}.bottom-nav-item.active{color:var(--green)}.bottom-nav-item.active>span{color:#4c8f24}.bottom-nav-item.bottom-nav-promotion>span{display:grid;place-items:center;width:43px;height:43px;margin-top:-20px;border:4px solid #fff;border-radius:50%;background:var(--lime);box-shadow:0 3px 12px #10201825;font-size:19px}.bottom-nav-item.bottom-nav-promotion small{margin-top:0}.bottom-nav-item>b{position:absolute;top:0;right:calc(50% - 25px);min-width:16px;padding:1px 4px;border-radius:10px;background:var(--lime);color:var(--ink);font-size:9px;line-height:1.3}
 body{padding-bottom:calc(69px + env(safe-area-inset-bottom))}.toast{bottom:calc(80px + env(safe-area-inset-bottom))}.nav nav a[href="/admin.html"]{display:none}
 .category-view,.promotion-view{min-height:calc(100dvh - 170px);margin:16px auto 30px}.category-browser{grid-template-columns:minmax(112px,34%) minmax(0,1fr);gap:6px;min-height:calc(100dvh - 285px);padding:7px;border-radius:14px}.category-sidebar{position:sticky;top:82px;max-height:calc(100dvh - 195px);gap:4px}.category-choice{min-height:48px;padding:8px 7px;font-size:12px;border-radius:8px}.category-results-heading{align-items:flex-start;flex-direction:column;gap:2px;padding:5px 6px 9px}.category-results-heading h3{font-size:15px}.category-product-row{grid-template-columns:50px minmax(0,1fr);gap:7px;padding:9px 3px}.category-product-art{grid-row:span 2;width:50px;height:54px}.category-product-art .product-photo{height:54px}.category-product-art .product-fallback{font-size:25px}.category-product-info{grid-column:2;grid-row:1}.category-product-info>span{font-size:12px}.category-product-info>small{display:none}.category-product-info .price{font-size:12px}.category-row-stock{grid-column:2;grid-row:2;font-size:10px}.category-row-add{grid-column:1/-1;grid-row:3;width:100%;min-height:36px;padding:8px;font-size:11px}.promotion-card{min-height:300px;padding:28px 22px;border-radius:18px}.promotion-card p{font-size:13px}
}
@media(max-width:420px){.category-browser{grid-template-columns:minmax(98px,34%) minmax(0,1fr);padding:5px;gap:4px}.category-choice{font-size:11px;min-height:45px;padding:7px 5px}.category-choice-count{font-size:10px}.category-product-art{width:44px;height:48px}.category-product-art .product-photo{height:48px}.category-product-info>strong{font-size:10px}.category-product-info>span{font-size:11px}.category-row-stock{font-size:9px}}
@media(prefers-reduced-motion:reduce){.bottom-nav-item.bottom-nav-promotion>span{transition:none}}
/* Mobile storefront refinements */
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.mobile-search,.popular-categories,.profile-view{display:none}.category-subcategories{display:flex;flex-direction:column}.category-subcategory{display:grid;grid-template-columns:minmax(0,1fr) auto 16px;align-items:center;gap:12px;min-height:50px;padding:12px 15px;border:0;border-bottom:1px solid var(--line);background:#f7f8f6;color:var(--ink);text-align:left;cursor:pointer}.category-subcategory.selected{background:#eaf4e3;color:var(--green);font-weight:800}.category-choice-main{display:flex;align-items:center;gap:6px;min-width:0}.category-admin-row.is-subcategory{margin-left:20px;border-left:4px solid #b7f36b}.profile-card{max-width:700px;margin:24px auto;padding:clamp(24px,6vw,54px);border:1px solid var(--line);border-radius:24px;background:#fff;text-align:center}.profile-brand-mark{display:grid;place-items:center;width:70px;height:70px;margin:0 auto 14px;border-radius:22px;background:#eef5e9;font-size:34px}.profile-card h2{margin:8px 0 0}.profile-card p{color:var(--muted)}.profile-payment{margin:20px 0;padding:16px;border-radius:14px;background:#f5f7f1;text-align:left}.text-button{border:0;background:transparent;color:#2368c5;font-weight:800;cursor:pointer}
@media(max-width:850px){
 .mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr));padding:6px 8px max(7px,env(safe-area-inset-bottom));min-height:66px}
 .bottom-nav-item{min-height:50px;gap:3px}.bottom-nav-item>span{font-size:22px}.bottom-nav-item.bottom-nav-promotion>span{margin-top:0;width:auto;height:auto;border:0;border-radius:0;background:transparent;box-shadow:none;font-size:22px}.bottom-nav-item.bottom-nav-promotion small{margin:0}
 .mobile-search{display:flex;align-items:center;gap:10px;margin:12px auto 10px;padding:0 16px;height:48px;border:1px solid var(--line);border-radius:15px;background:white;color:var(--muted)}.mobile-search input{width:100%;min-width:0;border:0;padding:0;background:transparent;outline:0;font-size:15px}
 .hero{display:block;position:relative;min-height:310px;margin:0 auto 20px;padding:28px 22px;overflow:hidden;border-radius:20px;background-image:linear-gradient(90deg,#102018e8,#10201899 62%,#10201830),radial-gradient(ellipse at 82% 80%,#779354,#183426 66%);background-position:center;background-size:cover;color:#fff}.hero>div:first-child{position:relative;z-index:1;max-width:76%}.hero h1{font-size:clamp(28px,8vw,38px);line-height:1.15}.hero p{max-width:340px;color:#ffffffe0;font-size:14px}.hero .eyebrow{color:#d3f0a9}.hero-points{display:none}.hero-visual{position:absolute;inset:0;display:block;opacity:.25;pointer-events:none}.hero-visual .gear{position:absolute;right:20px;bottom:12px;font-size:clamp(120px,40vw,220px)}.hero-visual .float-card,.hero-visual .round-stamp{display:none}.hero .primary{margin-top:14px}
 .popular-categories{display:block;margin:20px auto 24px}.popular-categories .section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:11px}.popular-categories .section-head h2{margin:0;font-size:20px}.popular-category-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.popular-category{display:flex;min-width:0;flex-direction:column;align-items:center;gap:6px;padding:9px 5px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);text-align:center}.popular-category-art{display:grid;place-items:center;width:100%;height:58px;border-radius:10px;background:#f1f5ed;font-size:29px}.popular-category strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}.popular-category small{color:var(--muted);font-size:9px}
 .category-view,.promotion-view,.profile-view{display:block;min-height:calc(100dvh - 155px);margin:12px auto 20px}.category-browser{grid-template-columns:minmax(105px,31%) minmax(0,1fr);gap:5px;min-height:calc(100dvh - 220px);padding:6px;border-radius:15px}.category-sidebar{position:sticky;top:78px;max-height:calc(100dvh - 170px);gap:4px}.category-choice{min-height:49px;padding:8px 7px;font-size:12px;border-radius:8px}.category-choice-name{display:-webkit-box;white-space:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.2}.category-choice-count{font-size:10px}.category-results-heading{align-items:flex-start;flex-direction:column;gap:2px;padding:6px}.category-results-heading h3{font-size:15px}.category-subcategory{min-height:48px;padding:10px 7px;font-size:12px}.category-product-row{grid-template-columns:44px minmax(0,1fr);gap:6px;padding:9px 2px}.category-product-art{grid-row:span 2;width:44px;height:48px}.category-product-info{grid-column:2;grid-row:1}.category-product-info>strong{font-size:10px}.category-product-info>span{font-size:11px}.category-product-info>small{display:none}.category-product-info .price{font-size:11px}.category-row-stock{grid-column:2;grid-row:2;font-size:9px}.category-row-add{grid-column:1/-1;grid-row:3;width:100%;min-height:36px;padding:8px;font-size:11px}.promotion-card{min-height:290px;padding:24px 18px;border-radius:17px}.profile-card{margin:0 auto 20px;padding:25px 18px;border-radius:18px}.profile-view{padding-top:10px}
}
@media(max-width:380px){.popular-category-list{gap:5px}.popular-category{padding:7px 3px}.popular-category-art{height:48px}.category-browser{grid-template-columns:minmax(92px,30%) minmax(0,1fr);gap:4px;padding:4px}.category-choice{padding:7px 5px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.bottom-nav-item,.category-choice,.popular-category{scroll-behavior:auto;transition:none}}

/* Phone-first storefront and installed-app safe areas */
@media(max-width:600px){
 html,body{max-width:100%;overflow-x:hidden;-webkit-text-size-adjust:100%}
 .announcement{display:none}
 .nav{position:sticky;top:0;z-index:5;min-height:72px;gap:8px;padding:9px 12px}
 .brand{display:grid;grid-template-columns:auto auto;align-items:center;column-gap:6px;font-size:20px;letter-spacing:-.6px;line-height:1.05}
 .brand small{grid-column:2;font-size:7px;letter-spacing:1.2px}
 .site-brand-image{grid-row:1/span 2;width:38px;height:38px;max-width:38px;max-height:38px}
 .nav-actions{gap:6px}
 .nav-actions #lang{padding:8px 10px;font-size:12px}
 .nav-actions #cart-open{display:inline-flex;align-items:center;gap:5px;padding:9px 11px;border-radius:13px;font-size:13px;white-space:nowrap}
 .nav-actions #cart-open [data-i18n="cart"]{display:none}
 .nav-actions #cart-open #cart-count{min-width:19px;height:19px;display:inline-grid;place-items:center;border-radius:50%;background:#ffffff80;font-size:11px}
 .section-head{align-items:flex-start}
 #category-view{padding-top:15px}
 #category-view>.section-head{margin:0 0 14px}
 #category-heading{font-size:clamp(24px,7vw,31px);line-height:1.15;letter-spacing:-.6px}
 #category-view .section-head p{font-size:14px;line-height:1.45}
 .category-view,.promotion-view,.profile-view{min-height:0;margin:8px auto 20px}
 .category-browser{display:flex;flex-direction:column;gap:12px;min-height:0;padding:10px;border-radius:17px}
 .category-sidebar{position:static;display:flex;flex-direction:row;align-self:stretch;gap:7px;max-height:none;margin:0 -2px;padding:2px 2px 7px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none}
 .category-sidebar::-webkit-scrollbar{display:none}
 .category-choice{flex:0 0 auto;width:auto;min-width:105px;max-width:155px;min-height:42px;justify-content:flex-start;gap:7px;padding:9px 11px;border:1px solid var(--line);border-radius:999px;font-size:12px;scroll-snap-align:start}
 .category-choice-name{display:block;max-width:115px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.25}
 .category-choice-count{font-size:11px}
 .category-results{width:100%}
 .category-results-heading{align-items:center;flex-direction:row;gap:8px;padding:3px 2px 10px}
 .category-results-heading h3{font-size:18px;line-height:1.3}
 .category-results-heading .muted{font-size:12px;white-space:nowrap}
 .category-subcategory{grid-template-columns:minmax(0,1fr) auto 18px;min-height:48px;padding:10px 12px;font-size:14px;border-radius:11px}
 .category-product-row{grid-template-columns:58px minmax(0,1fr);gap:5px 10px;padding:12px 2px}
 .category-product-art{grid-row:1/span 2;width:58px;height:58px;border-radius:13px}
 .category-product-art .product-photo{height:58px;padding:2px}
 .category-product-art .product-fallback{font-size:28px}
 .category-product-info{grid-column:2;grid-row:1;gap:3px}
 .category-product-info>strong{font-size:11px;letter-spacing:.2px}
 .category-product-info>span{font-size:14px;white-space:normal;line-height:1.3}
 .category-product-info>small{display:none}
 .category-product-info .price{font-size:15px;margin-top:2px}
 .category-row-stock{grid-column:2;grid-row:2;font-size:11px}
 .category-row-add{grid-column:1/-1;grid-row:3;min-height:45px;border-radius:12px;font-size:14px}
 .profile-card{margin:0 auto 15px}
 .app-install-card{margin:18px 0;padding:15px;border:1px solid var(--line);border-radius:14px;background:#f5f8f1;text-align:left}
 .app-install-card strong{font-size:15px}
 .app-install-card p{margin:5px 0 12px;font-size:13px;line-height:1.5}
 .app-install-card button{width:100%;min-height:44px}
}
@media(display-mode:standalone){.announcement{display:none}.nav{padding-top:max(9px,env(safe-area-inset-top))}.mobile-bottom-nav{padding-bottom:max(7px,env(safe-area-inset-bottom))}}

/* Settings page and fixed five-item mobile navigation */

.settings-profile-hero{position:relative;display:flex;min-height:132px;align-items:center;gap:15px;margin:8px 0 16px;padding:17px 20px;overflow:hidden;border:1px solid #ffffff80;border-radius:22px;background-color:#183426;background-position:center;background-size:cover;color:#fff;text-decoration:none;box-shadow:0 8px 24px #1020181c}.settings-profile-avatar{position:relative;display:grid;flex:0 0 76px;width:76px;height:76px;place-items:center;overflow:visible;border:3px solid #fff;border-radius:50%;background:#eff5ea;color:var(--green);box-shadow:0 2px 12px #0003}.settings-profile-avatar>img{width:100%;height:100%;border-radius:inherit;object-fit:cover}.settings-profile-avatar>span:not(.settings-profile-camera){font-size:34px}.settings-profile-camera{position:absolute;right:-3px;bottom:-1px;display:grid;width:27px;height:27px;place-items:center;border:2px solid #fff;border-radius:50%;background:var(--lime);font-size:13px}.settings-profile-copy{display:flex;min-width:0;flex:1;flex-direction:column;gap:5px}.settings-profile-copy>strong{display:flex;align-items:center;gap:7px;font-size:clamp(17px,3vw,22px);line-height:1.2}.settings-profile-copy>small{max-width:34ch;color:#ffffffdc;font-size:12px;line-height:1.35}.settings-verified{display:inline-grid;width:18px;height:18px;place-items:center;border-radius:50%;background:#248c44;color:#fff;font-size:12px}.settings-profile-chevron{flex:0 0 auto;font-size:28px;color:#fff}.settings-admin-row{color:inherit;text-decoration:none}.settings-admin-row:hover{background:#f8faf6}
:root[data-theme="dark"] .settings-admin-row:hover{background:#202f25}

.settings-header{margin:10px 0 18px}.settings-header h2{margin:5px 0;font-size:clamp(26px,4vw,34px)}.settings-header p{margin:0;color:var(--muted)}
.settings-card{overflow:hidden;margin:0 auto 14px;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 5px 18px #10201808}
.settings-row{display:flex;width:100%;min-height:76px;align-items:center;gap:13px;padding:12px 16px;border:0;border-bottom:1px solid #e9eee7;background:transparent;color:var(--ink);text-align:left}
.settings-row:last-child{border-bottom:0}.settings-icon{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:13px;background:#eff5ea;color:var(--green);font-size:24px;font-weight:700}
.settings-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:2px}.settings-copy strong{font-size:14px;line-height:1.3}.settings-copy small{color:var(--muted);font-size:11px;line-height:1.4}.settings-row-button{cursor:pointer;font:inherit}.settings-row-button:hover{background:#f8faf6}.settings-chevron{color:var(--muted);font-size:25px;line-height:1}
.settings-segment{display:flex;flex:0 0 auto;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:#f4f6f2}.settings-segment button{min-height:39px;padding:7px 10px;border:0;background:transparent;color:var(--ink);font-size:11px;font-weight:750;white-space:nowrap}.settings-segment button.selected{background:var(--green);color:#fff}
.settings-switch{appearance:none;position:relative;flex:0 0 48px;width:48px;height:27px;margin:0;border:0;border-radius:999px;background:#cbd4cb;cursor:pointer;transition:background .2s}.settings-switch::after{content:"";position:absolute;top:3px;left:3px;width:21px;height:21px;border-radius:50%;background:#fff;box-shadow:0 1px 4px #0002;transition:transform .2s}.settings-switch:checked{background:#28853c}.settings-switch:checked::after{transform:translateX(21px)}.settings-switch:focus-visible,.settings-row-button:focus-visible,.settings-segment button:focus-visible{outline:3px solid #98d94d;outline-offset:2px}
.storage-meter{display:block;width:min(100%,230px);height:7px;margin-top:7px;overflow:hidden;border-radius:999px;background:#e5ebe2}.storage-meter i{display:block;width:0;height:100%;border-radius:inherit;background:#26833c;transition:width .3s}.settings-status{flex:0 0 auto;padding:4px 9px;border-radius:999px;background:#e7f4e3;color:#28733a;font-size:10px;font-weight:800}
.settings-detail{padding:12px 16px 16px 71px;border-bottom:1px solid var(--line);background:#f8faf6;color:var(--muted);font-size:12px;line-height:1.55}.payment-details-more{display:flex;flex-direction:column;gap:5px}.payment-details-more>strong{color:var(--ink);font-size:14px}.payment-details-more p{margin:5px 0;color:var(--muted)}.settings-outline-button{flex:0 0 auto;padding:8px 11px;border:1px solid #57905d;border-radius:10px;background:#fff;color:#28733a;font-size:11px;font-weight:800}.settings-outline-button:disabled{border-color:var(--line);background:#f5f6f3;color:#929a92;cursor:not-allowed}
.settings-toast{position:fixed;left:50%;bottom:calc(82px + env(safe-area-inset-bottom));z-index:45;width:max-content;max-width:calc(100vw - 30px);margin:0;padding:9px 14px;border-radius:12px;background:var(--green);color:#fff;font-size:12px;opacity:0;pointer-events:none;transform:translate(-50%,7px);transition:opacity .18s,transform .18s}.settings-toast.visible{opacity:1;transform:translate(-50%,0)}
@media(max-width:850px){.mobile-bottom-nav{position:fixed!important;inset-inline:0;bottom:0!important;z-index:40;grid-template-columns:repeat(5,minmax(0,1fr));min-height:70px;transform:translateZ(0);padding-bottom:max(7px,env(safe-area-inset-bottom));touch-action:pan-x}.bottom-nav-item{min-height:52px}.bottom-nav-item>span{font-size:22px}.bottom-nav-cart{position:relative}.bottom-nav-cart>b{position:absolute;top:1px;left:calc(50% + 1px);display:grid;min-width:17px;height:17px;place-items:center;padding:0 4px;border-radius:999px;background:#28853c;color:#fff;font-size:9px;line-height:1}.bottom-nav-cart>b[hidden]{display:none}.bottom-nav-item.active{color:#28733a}.bottom-nav-item.active>small{font-weight:850}.profile-view{padding-top:12px}.settings-profile-hero{min-height:116px;margin:0 0 14px;padding:14px;border-radius:18px}.settings-profile-avatar{flex-basis:66px;width:66px;height:66px}.settings-profile-copy>small{font-size:11px}.settings-header{margin:6px 0 14px}.settings-card{margin-bottom:12px;border-radius:17px}.settings-row{min-height:72px;gap:10px;padding:10px 12px}.settings-icon{flex-basis:39px;width:39px;height:39px;font-size:22px}.settings-copy strong{font-size:13px}.settings-copy small{font-size:10px}.settings-segment button{padding-inline:8px;font-size:10px}.settings-detail{padding-left:61px}}
@media(max-width:390px){.settings-row{gap:8px;padding:9px 10px}.settings-icon{flex-basis:35px;width:35px;height:35px;font-size:20px}.settings-copy strong{font-size:12px}.settings-copy small{font-size:9px}.settings-segment button{padding:7px 6px;font-size:9px}.settings-switch{flex-basis:43px;width:43px}.settings-switch:checked::after{transform:translateX(16px)}.settings-outline-button{padding:7px 8px;font-size:10px}}
:root[data-theme="dark"]{--ink:#edf3ed;--green:#287a3a;--lime:#a5e65a;--paper:#101a14;--muted:#aab8ad;--line:#33453a;--white:#16231b;color-scheme:dark}
:root[data-theme="dark"] body{background:#101a14!important;color:var(--ink)}
:root[data-theme="dark"] .nav,:root[data-theme="dark"] .product,:root[data-theme="dark"] .category-browser,:root[data-theme="dark"] .profile-card,:root[data-theme="dark"] .settings-card,:root[data-theme="dark"] .drawer,:root[data-theme="dark"] .modal-card,:root[data-theme="dark"] .gallery-card{background:#17251c;color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] .category-choice,:root[data-theme="dark"] .category-subcategory,:root[data-theme="dark"] .popular-category,:root[data-theme="dark"] .profile-payment,:root[data-theme="dark"] .settings-detail,:root[data-theme="dark"] .settings-segment,:root[data-theme="dark"] .settings-row-button:hover{background:#202f25;color:var(--ink)}
:root[data-theme="dark"] input,:root[data-theme="dark"] select,:root[data-theme="dark"] textarea{background:#202f25;color:var(--ink);border-color:var(--line)}
:root[data-theme="dark"] .category-choice.selected,:root[data-theme="dark"] .settings-segment button.selected{background:#b7f36b;color:#142118}
:root[data-theme="dark"] .settings-row{border-color:#2b3b30;color:var(--ink)}:root[data-theme="dark"] .settings-icon{background:#253b2b;color:#b7f36b}:root[data-theme="dark"] .settings-status{background:#253b2b;color:#b7f36b}:root[data-theme="dark"] .settings-outline-button{background:#17251c;color:#b7f36b;border-color:#57905d}:root[data-theme="dark"] .settings-outline-button:disabled{background:#202f25;color:#88968b;border-color:var(--line)}:root[data-theme="dark"] .mobile-bottom-nav{background:#142119f5;border-color:#33453a}:root[data-theme="dark"] .bottom-nav-item{color:#aab8ad}:root[data-theme="dark"] .bottom-nav-item.active{color:#b7f36b}
@media(prefers-reduced-motion:reduce){.settings-switch,.settings-toast,.storage-meter i{transition:none}}

@media(max-width:850px){body.non-home-view>.nav{display:none}}

.settings-profile-edit-hint{color:#ffffffc7!important;font-size:10px!important;font-weight:650}

/* Polished card depth and stable, arrow-free product photo viewer. */
.product{border-color:#e3ecdf;background:linear-gradient(145deg,#fff 0%,#fdfffc 100%);box-shadow:0 7px 20px #abc69b30,0 2px 5px #c7d8be24;transform:perspective(1000px) translateZ(0);transition:transform .26s cubic-bezier(.2,.75,.25,1),box-shadow .26s,border-color .26s}
.product-art{box-shadow:inset 0 -3px 0 #dce9d4}
.stock-line{margin-top:10px;color:#718071;font-size:12px}
.stock-line strong{color:#43823d;font-variant-numeric:tabular-nums}
@media(hover:hover){.product:hover{transform:perspective(1000px) translateY(-6px) rotateX(1deg);border-color:#cfe0c7;box-shadow:0 19px 38px #9fbd9342,0 7px 15px #d9c9ed2c}}
.view-transition main>section:not(.store-view-hidden),.view-transition footer:not(.store-view-hidden){animation:store-view-arrive .34s cubic-bezier(.2,.75,.25,1) both}
@keyframes store-view-arrive{from{opacity:.45}to{opacity:1}}
.gallery-modal.open{overflow:hidden;overscroll-behavior:contain;padding:12px}
.gallery-modal .gallery-card{display:flex;flex-direction:column;width:min(900px,96vw);height:min(88vh,820px);height:min(88dvh,820px);max-height:88vh;max-height:88dvh;overflow:hidden;overscroll-behavior:contain;transform:none}
.gallery-modal .gallery-stage{display:block;flex:1 1 auto;width:100%;height:0;min-height:0;overflow:hidden;touch-action:pan-y}
.gallery-modal .gallery-stage>img{display:block;width:100%;height:100%;object-fit:contain;touch-action:pan-y;user-select:none;-webkit-user-drag:none}
.gallery-modal .gallery-arrow{display:none!important}
.gallery-modal .gallery-meta{flex:0 0 auto;min-height:56px;margin-top:10px}
@media(max-width:520px){.gallery-modal.open{padding:10px}.gallery-modal .gallery-card{width:100%;height:86vh;height:86dvh;max-height:86vh;max-height:86dvh;padding:12px}.gallery-modal .gallery-stage{min-height:0}.gallery-modal .gallery-meta{align-items:flex-start;flex-direction:column;gap:5px}.gallery-modal .gallery-thumbs{max-width:100%;width:100%;flex:0 0 62px}}
@media(prefers-reduced-motion:reduce){.product,.view-transition main>section,.view-transition footer{transition:none;animation:none}}

body.gallery-open{overflow:hidden}

/* Mobile storefront refinements from the latest phone screenshots. */
@media(max-width:850px){
 .nav-actions{display:none}
 .hero{min-height:260px;padding:19px 18px;margin-bottom:17px;background-position:62% center!important}
 .hero>div:first-child{max-width:80%;padding:0}
 .hero h1{font-size:clamp(28px,7.2vw,33px);line-height:1.08;letter-spacing:-.7px;margin:10px 0}
 .hero p{font-size:13px;line-height:1.4;margin:8px 0;max-width:300px}
 .hero .primary{margin-top:9px;padding:10px 14px;font-size:13px}
}
.product h3{display:-webkit-box;min-height:2.65em;max-height:2.65em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-height:1.32}
.product .desc{display:-webkit-box;min-height:4.65em;max-height:4.65em;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-height:1.55}
.stock-line{display:flex;align-items:center;gap:5px;min-height:1.6em;margin-top:10px;font-variant-numeric:tabular-nums}
.stock-mark,.price-mark{display:inline-block;flex:0 0 auto;font-size:.95em;line-height:1}
.product .price{display:flex;align-items:center;gap:5px}
.gallery-modal.open,.gallery-modal .gallery-card,.gallery-modal .gallery-stage{touch-action:none;overscroll-behavior:none}
.gallery-modal .gallery-thumbs{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;touch-action:pan-x;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.settings-profile-camera{display:none!important}

/* Home header shares the Settings profile banner artwork and overlay. */
body:not(.non-home-view)>.home-navigation{background-image:var(--profile-banner-background);background-color:var(--profile-banner-color,var(--green));background-size:cover;background-position:center;color:#fff;border-bottom-color:rgba(255,255,255,.15)}
body:not(.non-home-view)>.home-navigation .brand,body:not(.non-home-view)>.home-navigation nav a{color:#fff}
body:not(.non-home-view)>.home-navigation .brand small{color:rgba(255,255,255,.8)}

/* Avoid accidental double-tap zoom while retaining pinch zoom. */
html{touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}
button,a,input,select,textarea,summary{touch-action:manipulation}
@media(max-width:850px){
 input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea{font-size:16px}
 .profile-view,.settings-card,.settings-header{min-width:0;max-width:100%}
 .settings-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:10px;min-height:76px;padding:12px}
 .settings-icon{width:36px;height:36px;font-size:21px}
 .settings-copy strong{font-size:14px;overflow-wrap:anywhere}
 .settings-copy small{font-size:12px;line-height:1.45;overflow-wrap:anywhere}
 .settings-segment{max-width:100%}
 .settings-segment button{min-height:44px;padding:8px;font-size:12px}
 .settings-header h2{font-size:27px}
 .settings-header p{font-size:14px;line-height:1.5}
 .settings-profile-copy{min-width:0}
 .settings-profile-copy strong,.settings-profile-copy small{overflow-wrap:anywhere}
 .settings-detail{padding:14px 16px;font-size:14px;overflow-wrap:anywhere}
}
@media(max-width:380px){
 .settings-row:has(.settings-segment){grid-template-columns:36px minmax(0,1fr)}
 .settings-row>.settings-segment{grid-column:2;justify-self:start}
 .settings-outline-button{font-size:11px;padding:8px}
}

/* The Home banner is decorative, not a reload target. */
.home-navigation>.brand{cursor:default;-webkit-user-select:none;user-select:none}
@media(max-width:850px){
 .home-navigation{pointer-events:none;touch-action:manipulation}
 body{background-attachment:scroll!important}
}

/* Stable phone Settings: switches must not invoke smart zoom or sideways bounce. */
@media(max-width:850px){
 html,body{max-width:100%;overflow-x:hidden;overscroll-behavior-x:none}
 .profile-view,.profile-view *{touch-action:manipulation}
 .profile-view{overflow-x:clip;overscroll-behavior-x:none}
 .profile-view .settings-row{transform:none!important;animation:none!important}
 .settings-row input[type=checkbox]{touch-action:manipulation}
 .settings-profile-hero{isolation:isolate}
 .mobile-bottom-nav{touch-action:manipulation}
}

/* Home and Settings use the same banner and avatar component. */
body:not(.non-home-view)>.home-navigation{background:transparent;border:0;box-shadow:none}
.home-profile-banner{background-image:var(--profile-banner-background);background-color:var(--profile-banner-color,var(--green));flex:1;min-width:0;margin:0}
.home-profile-banner .settings-profile-avatar>img{object-fit:cover}
@media(max-width:850px){
 body:not(.non-home-view)>.home-navigation{padding:20px 15px 0;position:relative;min-height:0;display:block}
 .home-profile-banner{width:100%;margin:0}
 .home-profile-banner .settings-profile-copy{gap:5px}
}

@media(max-width:850px){.mobile-bottom-nav{background-image:linear-gradient(#fffffff2,#fffffff2),var(--profile-banner-background);background-size:cover;background-position:center}}
:root[data-theme="dark"] .mobile-bottom-nav{background-image:linear-gradient(#142119f2,#142119f2),var(--profile-banner-background)}

.settings-icon{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-weight:400;line-height:1}
.settings-segment [data-theme-choice]{display:inline-flex;align-items:center;justify-content:center;gap:5px}
.settings-segment [data-theme-choice]>span[aria-hidden]{font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;font-size:16px;line-height:1}

/* Equal segmented controls with a sliding selection before the setting applies. */
.settings-segment{position:relative;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:160px;height:44px;flex:0 0 160px;isolation:isolate}
.settings-segment::before{content:"";position:absolute;inset:0 auto 0 0;width:50%;border-radius:10px;background:var(--green);z-index:-1;transform:translateX(0);transition:transform .26s cubic-bezier(.22,.75,.25,1),background-color .26s}
.settings-segment[data-selected="right"]::before{transform:translateX(100%)}
.settings-segment button,.settings-segment button.selected{min-width:0;min-height:42px;padding:6px!important;font-size:12px!important;background:transparent!important;color:var(--ink);transition:color .26s}
.settings-segment[data-selected="left"] button:first-child,.settings-segment[data-selected="right"] button:last-child{color:#fff}
.settings-segment [data-theme-choice]>span[aria-hidden]{font-size:14px}
.settings-switch{transition:background-color .26s cubic-bezier(.22,.75,.25,1)}
.settings-switch::after{transition:transform .26s cubic-bezier(.22,.75,.25,1),box-shadow .26s}
:root[data-theme="dark"] .settings-segment::before{background:#b7f36b}
:root[data-theme="dark"] .settings-segment[data-selected="left"] button:first-child,:root[data-theme="dark"] .settings-segment[data-selected="right"] button:last-child{color:#142118}
@media(max-width:850px){.settings-row:has(.settings-segment){min-height:84px}.settings-segment{width:160px;flex-basis:160px;height:44px}}
@media(prefers-reduced-motion:reduce){.settings-segment::before,.settings-segment button,.settings-switch,.settings-switch::after{transition:none}}

/* Illustrated bottom tabs matched to the supplied reference. */
@media(min-width:0px){
 .mobile-bottom-nav{background:#fff!important;background-image:none!important;border-top:1px solid #edf1eb;box-shadow:0 -4px 22px #18342608;padding:7px 4px max(7px,env(safe-area-inset-bottom));min-height:86px;gap:0}
 .mobile-bottom-nav .bottom-nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;padding:0 2px 8px;min-width:0;min-height:69px;background:transparent;border:0;border-radius:0;color:#666d70}
 .mobile-bottom-nav .bottom-nav-item>span{display:grid;place-items:center;width:100%;max-width:74px;height:44px;border-radius:999px;font-size:0;transition:background-color .24s,transform .24s}
 .bottom-nav-item>span>svg{display:block;width:41px;height:41px;overflow:visible;filter:drop-shadow(0 2px 2px #244b2820)}
 .mobile-bottom-nav .bottom-nav-item>small{font-size:11px;line-height:1.25;font-weight:650;max-width:100%;text-align:center;overflow-wrap:anywhere}
 .mobile-bottom-nav .bottom-nav-item.active{color:#148333}
 .mobile-bottom-nav .bottom-nav-item.active>span{background:#eefbed}
 .mobile-bottom-nav .bottom-nav-item::after{content:"";position:absolute;bottom:1px;width:70%;height:3px;border-radius:999px;background:#148333;opacity:0;transform:scaleX(.4);transition:opacity .24s,transform .24s}
 .mobile-bottom-nav .bottom-nav-item.active::after{opacity:1;transform:scaleX(1)}
 .mobile-bottom-nav .bottom-nav-cart>b{top:0;left:calc(50% + 9px);min-width:20px;height:20px;padding:0 4px;background:linear-gradient(145deg,#ff922c,#f33c15);color:white;font-size:11px;font-weight:800;border:1px solid #fff;box-shadow:0 1px 4px #ea5a242e}
 :root[data-theme="dark"] .mobile-bottom-nav{background:#142119!important;border-color:#33453a}
 :root[data-theme="dark"] .mobile-bottom-nav .bottom-nav-item{color:#c0c9c1}
 :root[data-theme="dark"] .mobile-bottom-nav .bottom-nav-item.active{color:#b7f36b}
 :root[data-theme="dark"] .mobile-bottom-nav .bottom-nav-item.active>span{background:#28442c}
 :root[data-theme="dark"] .mobile-bottom-nav .bottom-nav-item.active::after{background:#b7f36b}
}
@media(prefers-reduced-motion:reduce){.mobile-bottom-nav .bottom-nav-item>span,.mobile-bottom-nav .bottom-nav-item::after{transition:none}}

/* Settings profile banner reaches both edges of the phone screen. */
@media(max-width:850px){
 #profile-view{overflow-x:visible}
 #profile-view>.settings-profile-hero{width:calc(100% + 30px);max-width:none;margin-inline:-15px;border-radius:0;border-inline:0;padding-inline:max(20px,env(safe-area-inset-left))}
}

/* Home and Settings share an edge-to-edge banner with no top gap. */
@media(max-width:850px){
 body:not(.non-home-view)>.home-navigation{padding:0;margin:0;position:relative;min-height:0}
 #profile-view{margin-top:0;padding-top:0}
 .home-profile-banner,#profile-view>.settings-profile-hero{min-height:116px;margin-top:0;margin-bottom:14px;border-radius:0;border-inline:0;border-top:0;padding:14px max(20px,env(safe-area-inset-left))}
 .home-profile-banner{width:100%;max-width:none;margin-inline:0}
 #profile-view>.settings-profile-hero{width:calc(100% + 30px);max-width:none;margin-inline:-15px}
}

/* Keep banner content outside the iPhone status area; fill it opaquely. */
@media(max-width:850px){
 body{padding-top:env(safe-area-inset-top,0px)}
 body::before{content:"";position:fixed;top:0;left:0;right:0;height:env(safe-area-inset-top,0px);z-index:90;pointer-events:none;background-color:var(--profile-banner-color,#183426);background-image:var(--profile-banner-background);background-position:center top;background-size:cover;opacity:1;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none}
 .home-profile-banner,.settings-profile-hero{filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1}
 html{scroll-padding-top:env(safe-area-inset-top,0px)}
}

#home-screen-action[hidden],#app-install-card[hidden]{display:none!important}
/* Card price row wraps so a full-width Add to cart button never hides the price. */
.products .product .product-bottom{flex-wrap:wrap}.products .product .price{flex:0 1 auto;width:100%;min-width:0;max-width:100%;overflow-wrap:anywhere}
@media(max-width:480px){.products .product .price{font-size:clamp(14px,4vw,17px);gap:0 4px}}
/* Border-free empty Cart with soft green artwork. */
#drawer{border:0!important}.cart-line{border:0}
#drawer:has(.cart-empty-design){padding:0;border:0!important;background:#f8fcf7;border-radius:22px;overflow:hidden}
#drawer:has(.cart-empty-design)>.drawer-head{display:none}
#drawer:has(.cart-empty-design) #cart-items{height:100%}
.cart-empty-design{position:relative;display:flex;align-items:center;justify-content:center;min-height:100%;padding:30px 24px;background:radial-gradient(ellipse at 25% 20%,#e9f6e5,transparent 55%),linear-gradient(140deg,#f7fcf3,#fff 48%,#f3f9ef);border:0;isolation:isolate}
.cart-empty-waves{position:absolute;inset:0;width:100%;height:100%;z-index:-1;pointer-events:none}
.cart-empty-content{width:100%;max-width:390px;text-align:center}
.cart-empty-illustration{display:block;width:min(280px,85%);height:auto;margin:0 auto 12px}
.cart-empty-content h2{margin:0 0 8px;font-size:25px;line-height:1.25;letter-spacing:-.6px;color:#163529}
.cart-empty-content p{margin:0 auto 20px;font-size:13px;line-height:1.5;color:#78847b;max-width:320px}
.cart-empty-browse{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;max-width:300px;margin:auto;padding:13px 17px;border:0!important;border-radius:15px;background:linear-gradient(100deg,#00832b,#88bb4c);color:#fff;box-shadow:0 6px 14px #4b964b35;font:inherit;cursor:pointer}
.cart-empty-browse>span{font-size:23px;line-height:1}.cart-empty-browse strong{font-size:15px}
@media(max-width:850px){#drawer:has(.cart-empty-design){top:env(safe-area-inset-top,0px);bottom:calc(86px + env(safe-area-inset-bottom));width:100%;left:0;right:0;border-radius:20px 20px 0 0}.cart-empty-design{padding:24px 22px}}
@media(max-height:600px){.cart-empty-illustration{max-height:150px}.cart-empty-content h2{font-size:21px}.cart-empty-design{padding:12px 20px}}

/* Cart shares the Admin-selected page background in both empty and filled states. */
#drawer,#drawer:has(.cart-empty-design){border:0!important;border-radius:0!important;box-shadow:none;background-color:var(--app-page-color,var(--paper))!important;background-image:var(--app-page-background,none)!important;background-size:cover;background-position:center;background-repeat:no-repeat}
#drawer:has(.cart-empty-design){overflow:auto}
.cart-empty-design{background:transparent!important;border-radius:0!important}
.cart-empty-waves{display:none}
#drawer .cart-line{background:transparent;border:0}
#drawer .drawer-head,#cart-summary{background:transparent}
#drawer .cart-line-main{min-width:0}
#drawer .cart-line-main>b{overflow-wrap:anywhere}
@media(max-width:850px){
 #drawer,#drawer:has(.cart-empty-design){top:env(safe-area-inset-top,0px);left:0;right:0;width:100%;bottom:calc(86px + env(safe-area-inset-bottom));border-radius:0!important}
 #drawer:not(:has(.cart-empty-design)){padding:20px 18px}
}
:root[data-theme="dark"] #drawer .cart-empty-content h2{color:var(--ink)}

/* Join Cart and checkout to the bottom bar without an overlay gap. */
@media(max-width:850px){
 #drawer,#drawer:has(.cart-empty-design){bottom:var(--bottom-nav-height,86px)}
 #checkout-modal{inset:env(safe-area-inset-top,0px) 0 var(--bottom-nav-height,86px);padding:0;background-color:var(--app-page-color,var(--paper));background-image:var(--app-page-background,none);background-size:cover;background-position:center;background-repeat:no-repeat;overflow:auto;overscroll-behavior:contain}
 #checkout-modal.open{display:block}
 #checkout-modal .modal-card{width:100%;max-width:none;min-height:100%;max-height:none;overflow:visible;margin:0;padding:20px 16px;border:0!important;border-radius:0!important;box-shadow:none;background:transparent!important}
 #checkout-modal .drawer-head{background:transparent}
 #checkout-modal .bank-box{background:#eef6e5d9}
}

/* Two-column category explorer based on the supplied reference. */
.category-page-top{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:0 0 18px}
.category-page-top h2{margin:0;font-size:28px;font-weight:850;color:var(--ink);line-height:1.2}
.category-page-top p{margin:6px 0 0;font-size:13px;color:var(--muted)}
.category-search{display:flex;align-items:center;gap:9px;width:270px;padding:0 13px;background:#fff;border-radius:15px;box-shadow:0 4px 12px #28482915}
.category-search>span{font-size:27px}.category-search input{width:100%;min-width:0;border:0;background:transparent;padding:13px 0;outline:0}
.category-browser{grid-template-columns:minmax(180px,.33fr) minmax(0,1fr);padding:0;gap:12px;background:transparent;border:0;border-radius:0;min-height:0;align-items:start}
.category-sidebar{gap:3px;max-height:none;overflow:visible;background:#ffffffad;border-radius:10px;padding:4px}
.category-choice{gap:7px;padding:9px 8px;min-height:43px;border:0;background:transparent;border-radius:7px;font-size:12px;font-weight:700}
.category-choice.selected{background:linear-gradient(100deg,#14843a,#58a55a);color:#fff}
.category-choice-icon{font-size:21px}.category-choice-name{white-space:normal;overflow-wrap:anywhere;flex:1}
.category-expand{font-size:17px}.category-sidebar-child{display:grid;grid-template-columns:8px minmax(0,1fr) 10px;align-items:center;gap:5px;width:100%;padding:7px 8px 7px 16px;background:transparent;color:var(--ink);border:0;text-align:left;font:inherit;font-size:11px}
.category-sidebar-child.selected{background:#e4f3e4;color:#26894b}.category-child-dot{color:#70a87e}
.category-results{background:#ffffffa6;border-radius:14px;padding:7px;overflow:hidden}
.category-feature-banner{position:relative;display:flex;align-items:center;min-height:150px;overflow:hidden;border-radius:13px;background:#eef4e9;margin-bottom:8px}
.category-feature-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.category-banner-copy{position:relative;z-index:1;align-self:stretch;display:flex;flex-direction:column;justify-content:center;width:100%;padding:17px;background:linear-gradient(90deg,#ffffffeb 0%,#ffffffc9 42%,#ffffff00 82%)}
.category-results-heading{display:block;padding:0;border:0}
.category-results-heading h3{font-size:25px;line-height:1.15;max-width:70%;overflow-wrap:anywhere}
.category-results-heading .muted{display:block;margin-top:7px;color:#318653;font-size:11px}
.category-banner-copy>p{max-width:62%;font-size:12px;line-height:1.35;margin:7px 0 0;color:#36463b}
.category-subcategory{display:grid;grid-template-columns:72px minmax(0,1fr) 16px;align-items:center;gap:8px;width:100%;padding:9px 8px;margin:0 0 5px;border:0;border-radius:11px;background:#f6f8f5;color:var(--ink);text-align:left}
.category-card-art{display:grid;place-items:center;height:57px;font-size:36px}.category-card-art img{width:100%;height:100%;object-fit:contain}
.category-card-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.category-card-copy strong{font-size:13px;font-weight:600;overflow-wrap:anywhere}.category-card-copy small{font-size:12px;color:#61a47a}.category-card-arrow{font-size:22px}
.category-product-row{grid-template-columns:70px minmax(0,1fr) 28px;gap:8px;padding:10px 8px;background:#f6f8f5;border:0;border-radius:11px;margin-bottom:5px}
.category-product-art{width:70px;height:65px;background:transparent;grid-row:auto}
.category-product-info{grid-column:auto;grid-row:auto}.category-product-info>strong{font-size:13px;line-height:1.3;overflow-wrap:anywhere}.category-product-info>small{display:block;font-size:10px}
.category-product-info .price{font-size:12px}.category-product-info .category-row-stock{font-size:10px;white-space:normal;color:#5d966e}
.category-row-add{grid-column:auto;grid-row:auto;min-width:0;width:28px;height:32px;min-height:32px;padding:0;border:0;border-radius:8px;background:#e1f0de;color:#26713a;font-size:21px}
@media(max-width:850px){
 .category-view{margin-top:0;padding:14px 10px}
 .category-page-top{gap:8px;margin-bottom:14px;align-items:start}
 .category-page-top h2{font-size:23px}.category-page-top p{font-size:10px;line-height:1.4}
 .category-search{width:44%;flex:0 0 44%;padding-inline:10px;border-radius:13px}.category-search input{font-size:16px!important;padding:12px 0}
 .category-browser{grid-template-columns:minmax(110px,.36fr) minmax(0,.64fr);gap:6px}
 .category-sidebar{padding:2px}.category-choice{font-size:10px;padding:8px 5px;gap:4px;min-height:40px}.category-choice-icon{font-size:17px}
 .category-sidebar-child{font-size:10px;padding:6px 4px 6px 10px}
 .category-results{padding:5px;border-radius:11px}
 .category-feature-banner{min-height:110px}.category-banner-copy{padding:11px}
 .category-results-heading h3{font-size:19px;max-width:80%}.category-banner-copy>p{font-size:10px;max-width:70%}
 .category-subcategory{grid-template-columns:48px minmax(0,1fr) 12px;gap:6px;padding:7px 5px}.category-card-art{height:46px;font-size:28px}.category-card-copy strong{font-size:11px}
 .category-product-row{grid-template-columns:43px minmax(0,1fr) 24px;gap:5px;padding:8px 5px}
 .category-product-art{width:43px;height:52px}.category-product-art .product-fallback{font-size:30px}
 .category-product-info>strong{font-size:11px}.category-product-info .price{font-size:10px}.category-row-add{width:24px;height:29px}
}
:root[data-theme="dark"] .category-results,:root[data-theme="dark"] .category-sidebar{background:#1a2b20e6}
:root[data-theme="dark"] .category-product-row,:root[data-theme="dark"] .category-subcategory,:root[data-theme="dark"] .category-search{background:#25372a;color:var(--ink)}

/* Preserve the reference two-column layout on phones as well. */
.category-browser{display:grid}.category-sidebar{display:flex;flex-direction:column}.category-choice{width:100%;white-space:normal}.category-results{width:100%;min-width:0}

.category-results-heading #selected-category-count[hidden]{display:none!important}

/* Uniform typography throughout the left category list. */
.category-sidebar .category-choice,.category-sidebar .category-sidebar-child{font-size:13px;font-weight:600;line-height:1.4}
.category-sidebar .category-choice-name,.category-sidebar .category-sidebar-child>span:not(.category-child-dot){font-size:inherit}
@media(max-width:850px){.category-sidebar .category-choice,.category-sidebar .category-sidebar-child{font-size:12px}}

/* Larger, uniform category labels with independently collapsible groups. */
.category-sidebar .category-choice-icon{display:none!important}
.category-sidebar .category-choice,.category-sidebar .category-sidebar-child{font-size:15px;line-height:1.4}
.category-sidebar .category-choice{min-height:46px;padding:10px 8px;gap:6px}
.category-sidebar .category-sidebar-child{padding:8px 5px 8px 13px;overflow-wrap:anywhere}
@media(max-width:850px){.category-sidebar .category-choice,.category-sidebar .category-sidebar-child{font-size:14px}.category-sidebar .category-choice-name{font-weight:700}}

/* GearHub spare-parts footer, based on the supplied reference. */
footer.gearhub-footer{padding:0;background:radial-gradient(ellipse at 30% 20%,#0a3e2b,#03291c 75%);color:#f4f8f3;position:relative;isolation:isolate;overflow:hidden}
.gearhub-footer::before{content:"";position:absolute;z-index:-1;right:0;bottom:90px;width:65%;height:250px;background:linear-gradient(0deg,#03291c70,#03291cf0),url('/images/hero-excavator.jpg') center 62%/cover;opacity:.25;mask-image:linear-gradient(90deg,transparent,#000 40%)}
.footer-main{max-width:1136px;margin:auto;padding:64px 22px 58px;display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(40px,10vw,150px)}
.footer-logo{width:150px;height:150px;border:3px solid #ffc944;border-radius:25px;background:#050b07;display:grid;place-items:center;overflow:hidden;margin-bottom:14px;position:relative}
.footer-logo img{width:100%;height:100%;object-fit:contain;position:absolute;z-index:1;background:#050b07}
.footer-logo-fallback{display:grid;justify-items:center;color:#ffc944;width:100%;line-height:1.2}.footer-logo-fallback svg{width:85px;height:85px;fill:currentColor}.footer-logo-fallback b{color:white;font-size:20px}.footer-logo-fallback small{font-size:8px!important;color:white!important;letter-spacing:2px}
.footer-wordmark{font-size:clamp(32px,4vw,46px);font-weight:900;line-height:1.15;letter-spacing:-1px}.footer-wordmark>span{color:#ffc944}.footer-wordmark small{display:block;letter-spacing:8px;font-size:18px;color:#fff;margin-top:4px}
.gearhub-footer .footer-description{max-width:430px;font-size:20px;line-height:1.6;color:#d0e0dd;margin:27px 0 30px}
.footer-accent{width:74px;height:5px;border-radius:5px;background:#51c827;margin-bottom:31px}
.footer-features{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:430px}
.footer-features li{text-align:center;min-width:0}.footer-feature-icon{display:grid;place-items:center;width:72px;max-width:100%;height:72px;border-radius:17px;background:linear-gradient(145deg,#24562c,#194625);margin:0 auto 8px}.footer-feature-icon svg{width:38px;height:38px;fill:currentColor}.footer-features strong{display:block;font-size:16px;line-height:1.5;font-weight:700}
.footer-socials{display:flex;gap:18px;margin-top:60px}.footer-socials a,.footer-socials button{display:grid;place-items:center;width:62px;height:62px;border:0;border-radius:50%;background:#ffffff15;color:#fff}.footer-socials svg{width:29px;height:29px;fill:currentColor}.footer-socials a:hover,.footer-socials button:hover{background:#ffffff28}
.gearhub-footer h2{font-size:28px;line-height:1.3;margin:0 0 20px;font-weight:800;color:#fff}.footer-contact-list{list-style:none;padding:0;margin:0;display:grid;gap:15px}.footer-contact-list li{display:flex;align-items:center;gap:19px;font-size:20px;min-width:0}.footer-contact-list a{overflow-wrap:anywhere}.footer-contact-icon{display:grid;place-items:center;flex:0 0 54px;width:54px;height:54px;border-radius:50%;background:linear-gradient(130deg,#68ce1b,#329817);box-shadow:inset 0 0 12px #ffffff15}.footer-contact-icon svg{width:29px;height:29px;fill:#fff}.footer-contact-list small{display:block;color:#cbded9;font-size:15px;line-height:1.5;margin-top:3px}
.footer-subscribe{border-top:2px solid #4b7d3a;margin-top:25px;padding-top:24px}.footer-subscribe h2{margin-bottom:6px}.gearhub-footer .footer-subscribe>p{font-size:19px;line-height:1.5;color:#cfdfdc;max-width:310px;margin:0 0 13px}.footer-email{display:flex;align-items:center;gap:15px;border:2px solid #628473;border-radius:20px;padding:0 18px;background:#ffffff05;min-height:60px}.footer-email>span{display:flex;color:#a0c283}.footer-email svg{width:24px;height:24px;fill:currentColor}.footer-email input{border:0;background:transparent;color:white;padding:14px 0;min-width:0;width:100%;outline:0;font-size:18px}.footer-email input::placeholder{color:#94aaa1}.footer-email:focus-within{border-color:#ffc944}.footer-subscribe-button{margin-top:8px;width:100%;min-height:58px;border:0;border-radius:20px;background:linear-gradient(120deg,#ffc83d,#ffd65e);color:#083b28;display:flex;align-items:center;justify-content:center;gap:16px;font-size:21px;font-weight:800}.footer-subscribe-button svg{width:27px;height:27px;fill:currentColor}.gearhub-footer .footer-status{font-size:13px;margin-top:10px;min-height:20px}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;border-top:2px solid #648849;padding:25px max(calc((100% - 1092px)/2),22px)}.gearhub-footer .footer-bottom p{font-size:16px;color:#dce7e2;margin:0}.footer-motto{display:flex;gap:16px;align-items:center}.footer-motto svg{width:28px;height:28px;fill:#74ae45;flex-shrink:0}.gearhub-footer a:focus-visible,.gearhub-footer button:focus-visible{outline:3px solid #ffc944;outline-offset:5px}
@media(max-width:700px){.footer-main{padding:38px 22px;grid-template-columns:1fr;gap:40px}.footer-logo{width:125px;height:125px}.footer-wordmark{font-size:36px}.footer-wordmark small{font-size:15px;letter-spacing:7px}.gearhub-footer .footer-description{font-size:17px}.footer-features{gap:12px;max-width:420px}.footer-feature-icon{width:62px;height:62px}.footer-features strong{font-size:13px}.footer-socials{margin-top:30px}.footer-socials a,.footer-socials button{width:52px;height:52px}.gearhub-footer h2{font-size:25px}.footer-contact-list li{font-size:18px}.footer-contact-list small{font-size:13px}.footer-bottom{flex-direction:column;align-items:flex-start;padding:22px;gap:12px}.gearhub-footer .footer-bottom p{font-size:13px}.gearhub-footer::before{width:100%;height:260px;bottom:110px}.footer-contact-block{max-width:480px;width:100%}}

/* Text-only category explorer and photo product cards. Scoped to Category. */
#category-view{background:var(--paper);border-radius:24px;padding:24px}
#category-view .category-page-top{align-items:center;margin-bottom:24px}
#category-view .category-search{width:min(420px,50%);box-shadow:0 6px 24px #1834260a;border:1px solid var(--line)}
#category-view .category-search input{padding:17px 4px;min-width:0}
#category-view .category-browser{grid-template-columns:minmax(170px,24%) minmax(0,1fr);gap:18px}
#category-view .category-sidebar{padding:10px;background:#ffffffc9;border-radius:20px;gap:4px}
#category-view .category-choice{display:flex;padding:13px 12px;font-size:15px;font-weight:500;border-radius:13px;line-height:1.45;min-height:48px;text-align:left;white-space:normal}
#category-view .category-choice.selected{background:linear-gradient(110deg,#087e3d,#48a254);color:white}
#category-view .category-choice-count{font-size:12px;color:#619a7b}
#category-view .category-choice.selected .category-choice-count{color:white}
#category-view .category-sidebar-child{display:flex;justify-content:space-between;gap:8px;padding:10px 12px 10px 22px;font-size:13px;line-height:1.4;border-radius:10px}
#category-view .category-results{padding:0;background:transparent;overflow:visible}
#category-view .category-feature-banner{min-height:200px;margin-bottom:22px;border-radius:20px;background:#eaf4ee;border:1px solid #dceadf}
#category-view .category-feature-banner>img{width:100%;height:100%;object-fit:cover;object-position:center}
#category-view .category-feature-banner>img[hidden]{display:none}
#category-view .category-banner-copy{padding:26px;background:transparent;gap:8px}
#category-view .has-image .category-banner-copy{background:linear-gradient(90deg,#f5faf2f5,#f5faf2c9 52%,#f5faf200)}
#category-view .category-results-heading h3{max-width:100%;font-size:clamp(22px,3vw,36px);line-height:1.2}
#category-view .category-banner-copy>p{max-width:100%;font-size:13px;margin:0;color:var(--muted)}
#category-view #category-banner-admin{font-size:12px;align-self:flex-start;color:#206540;max-width:260px;line-height:1.5}
#category-view .category-subcategories{display:grid;gap:9px;margin-bottom:20px}
#category-view .category-subcategory{display:flex;justify-content:space-between;gap:12px;background:#fff;border:1px solid #e4ece5;border-radius:15px;padding:16px;margin:0;min-height:60px}
#category-view .category-card-copy{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}
#category-view .category-card-copy strong{font-size:16px;font-weight:600;line-height:1.5}
#category-view .category-card-copy small{font-size:13px}
#category-view #category-subcategory-heading{font-size:20px;line-height:1.5;margin:0 0 12px}
#category-view .category-chips{display:flex;gap:9px;overflow:auto;margin-bottom:14px;padding-bottom:5px;max-width:100%}
#category-view .category-chips .category-choice{flex:0 0 auto;width:auto;max-width:250px;min-height:40px;padding:8px 14px;background:#fff;font-size:13px;border:1px solid var(--line);gap:8px}
#category-view .category-chips .category-choice.selected{background:#087e3d}
#category-view .category-product-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0 18px;font-size:13px;color:var(--muted)}
#category-view .category-product-toolbar label{display:flex;align-items:center;gap:7px;min-width:0}
#category-view .category-product-toolbar select{max-width:190px;padding:8px;border:0;border-radius:9px;background:white;font-size:13px}
#category-view .category-stock-filter input{width:17px;height:17px;margin:0;accent-color:#087e3d}
#category-view .category-product-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#category-view .category-product-row{position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:14px;background:#fff;border:1px solid #e9f0e9;border-radius:21px;margin:0;min-width:0}
#category-view .category-product-art{width:100%;height:190px;min-height:0;display:grid;place-items:center;border-radius:14px;background:#fafcf9;overflow:hidden;grid-row:auto}
#category-view .category-photo-button{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:pointer}
#category-view .category-product-art .product-photo{width:100%;height:100%;min-height:0;object-fit:contain;padding:12px}
#category-view .category-photo-empty{display:grid;place-items:center;width:100%;height:100%;font-size:13px;color:var(--muted);background:#f1f6f0}
#category-view .category-photo-empty[hidden]{display:none}
#category-view .category-stock-badge{position:absolute;right:23px;top:24px;padding:6px 10px;border-radius:20px;background:#e6f6eb;color:#24744c;font-size:11px;line-height:1.4;pointer-events:none}
#category-view .category-stock-badge.sold-out{background:#fcebee;color:#af4256}
#category-view .category-product-info{display:flex;flex:1;gap:7px;padding-top:13px;min-width:0}
#category-view .category-product-info h4{margin:0;font-size:18px;line-height:1.4;overflow-wrap:anywhere}
#category-view .category-product-info>small{font-size:13px;color:#819087;overflow-wrap:anywhere}
#category-view .category-product-info .category-row-stock{font-size:13px;color:#428664;white-space:normal}
#category-view .category-product-info .price{font-size:19px;margin-top:auto;padding:8px 45px 2px 0;overflow-wrap:anywhere;line-height:1.4}
#category-view .category-row-add{position:absolute;right:14px;bottom:14px;display:grid;place-items:center;width:42px;height:42px;min-height:42px;padding:0;background:#087d40;color:#fff;border-radius:12px;font-size:29px}
#category-view .category-row-add:disabled{background:#dde4df;color:#fff;cursor:default}
#category-view .category-back{padding:10px 0;margin-bottom:10px;border:0;background:transparent;color:#206540;font-size:14px;text-align:left}
#category-view .category-detail .category-subcategories,#category-view .category-detail #category-subcategory-heading{display:none}
#category-view .category-empty{grid-column:1/-1;line-height:1.6}
#category-view button:focus-visible,#category-view input:focus-visible,#category-view select:focus-visible{outline:3px solid #4e9b63;outline-offset:3px}
@media(max-width:850px){
 #category-view{padding:18px 10px;margin:0 auto 20px;border-radius:18px}
 #category-view .category-page-top{gap:12px;align-items:start;margin-bottom:18px}
 #category-view .category-page-top h2{font-size:22px;overflow-wrap:anywhere}
 #category-view .category-page-top p{font-size:12px;line-height:1.5}
 #category-view .category-search{flex:0 0 48%;width:48%;padding:0 10px}
 #category-view .category-browser{grid-template-columns:minmax(94px,30%) minmax(0,1fr);gap:9px}
 #category-view .category-sidebar{padding:5px;border-radius:16px}
 #category-view .category-choice{font-size:12px;padding:12px 7px;gap:5px;align-items:start;overflow-wrap:anywhere}
 #category-view .category-choice-count{font-size:10px}
 #category-view .category-sidebar-child{font-size:11px;padding:10px 6px;overflow-wrap:anywhere}
 #category-view .category-feature-banner{min-height:150px;border-radius:15px;margin-bottom:16px}
 #category-view .category-banner-copy{padding:15px;gap:9px}
 #category-view .category-results-heading h3{font-size:21px}
 #category-view .category-card-copy strong{font-size:14px}
 #category-view .category-subcategory{padding:12px;gap:6px;border-radius:13px}
 #category-view #category-subcategory-heading{font-size:16px}
 #category-view .category-product-list{grid-template-columns:1fr;gap:10px}
 #category-view .category-detail{grid-template-columns:minmax(0,1fr)}
 #category-view .category-detail .category-sidebar,#category-view .category-detail .category-feature-banner{display:none}
 #category-view .category-detail .category-product-list{grid-template-columns:repeat(2,minmax(0,1fr))}
 #category-view .category-product-row{padding:10px;border-radius:18px}
 #category-view .category-product-art{height:145px}
 #category-view .category-product-info h4{font-size:15px}
 #category-view .category-product-info>small,#category-view .category-product-info .category-row-stock{font-size:11px}
 #category-view .category-product-info .price{font-size:16px;padding-right:34px}
 #category-view .category-row-add{width:32px;height:35px;min-height:35px;right:10px;bottom:10px;border-radius:9px;font-size:25px}
 #category-view .category-stock-badge{right:14px;top:15px;font-size:10px;padding:4px 7px}
 #category-view .category-product-toolbar{font-size:12px;align-items:start}
 #category-view .category-product-toolbar label{flex-wrap:wrap}
 #category-view .category-product-toolbar select{font-size:12px;max-width:150px}
}
@media(max-width:360px){#category-view .category-product-art{height:118px}#category-view .category-product-info h4{font-size:14px}#category-view .category-product-info .price{font-size:14px}}
:root[data-theme="dark"] #category-view .category-product-row,:root[data-theme="dark"] #category-view .category-subcategory,:root[data-theme="dark"] #category-view .category-chips .category-choice{background:#20382b;border-color:#35523f}
:root[data-theme="dark"] #category-view .category-feature-banner,:root[data-theme="dark"] #category-view .category-sidebar{background:#1a2b20}
#category-view .category-product-art{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
#category-view .category-photo-button{min-width:0;min-height:0;overflow:hidden}
#category-view .category-product-art .product-photo{display:block;box-sizing:border-box}

/* Compact selected-category products; existing global navigation is retained. */
#category-view.category-products-mode{position:relative;padding-bottom:90px}
#category-view.category-products-mode .category-page-top{padding-left:40px;align-items:center;margin-bottom:14px;min-height:44px}
#category-view.category-products-mode .category-page-subtitle{display:none}
#category-view.category-products-mode #category-back{position:absolute;top:24px;left:24px;display:grid;place-items:center;width:34px;height:34px;padding:0;margin:0;border-radius:12px;background:white;font-size:0}
#category-view.category-products-mode #category-back::before{content:'‹';font-size:28px;line-height:1}
#category-view .category-bottom-controls{display:flex;align-items:center;justify-content:center;gap:0;background:#087b3c;border-radius:30px;width:max-content;max-width:100%;margin:12px auto 20px;position:relative;color:white;box-shadow:0 5px 20px #154f2320}
#category-view .category-bottom-controls>button{padding:12px 24px;background:transparent;border:0;border-radius:30px;color:inherit;font-size:14px;line-height:1.4}
#category-view .category-bottom-controls>button+button{border-left:1px solid #ffffff55;border-radius:0 30px 30px 0}
#category-view .category-bottom-controls>button[aria-pressed="true"]{background:#ffffff22}
#category-view .category-sort-panel{position:absolute;bottom:calc(100% + 8px);left:0;min-width:210px;max-width:90vw;background:#fff;color:#183426;border:1px solid #cdded0;border-radius:14px;padding:6px;box-shadow:0 5px 25px #0002;z-index:3}
#category-view .category-sort-panel button{display:block;width:100%;border:0;background:transparent;color:inherit;padding:12px;text-align:left;border-radius:9px}
#category-view .category-sort-panel button:hover{background:#edf6ee}
#category-view .category-product-toolbar{align-items:center;flex-wrap:nowrap;margin:10px 0 14px;gap:8px}
#category-view .category-product-toolbar label{font-size:12px;flex-wrap:nowrap;gap:4px;flex-shrink:0}
#category-view .category-product-toolbar select{max-width:150px;font-size:12px;background:transparent;padding:5px 0}
#category-view .category-product-info{gap:4px;padding-top:9px}
#category-view .category-product-info h4{font-size:16px;line-height:1.35}
#category-view .category-product-info .price{padding-top:7px}
@media(max-width:850px){
 #category-view.category-products-mode{padding-top:12px}
 #category-view.category-products-mode #category-back{top:17px;left:10px}
 #category-view.category-products-mode .category-page-top{gap:7px;margin-bottom:13px}
 #category-view.category-products-mode .category-page-top h2{font-size:19px;line-height:1.3}
 #category-view.category-products-mode .category-search{width:34%;flex-basis:34%;padding:0 8px}
 #category-view.category-products-mode .category-search input{padding:10px 0}
 #category-view .category-detail .category-product-list{gap:10px}
 #category-view .category-product-row{padding:10px;border-radius:18px}
 #category-view .category-product-art{height:130px}
 #category-view .category-product-art .product-photo{padding:5px}
 #category-view .category-product-info h4{font-size:14px;line-height:1.4}
 #category-view .category-product-info>small{font-size:11px}
 #category-view .category-product-info .category-row-stock{font-size:11px;line-height:1.4}
 #category-view .category-product-info .price{font-size:16px;padding-top:6px;padding-right:36px}
 #category-view .category-stock-badge{top:14px;right:14px;font-size:10px;padding:4px 7px}
 #category-view .category-product-toolbar{font-size:12px;line-height:1.5;margin:6px 0 12px}
 #category-view .category-product-toolbar label{font-size:11px}
 #category-view .category-product-toolbar select{max-width:119px;font-size:11px}
 #category-view.category-products-mode .category-bottom-controls{position:fixed;z-index:41;left:50%;transform:translateX(-50%);bottom:calc(var(--bottom-nav-height,86px) + 9px);margin:0;white-space:nowrap;max-width:calc(100vw - 20px)}
 #category-view .category-bottom-controls>button{padding:11px 18px;font-size:13px}
}
@media(max-width:360px){#category-view .category-product-art{height:110px}#category-view .category-product-info .price{font-size:14px}}
.app-update-badge{display:inline-block;border-radius:20px;background:#e1f3e6;color:#176239;padding:3px 8px;font-size:11px;line-height:1.5}
.app-update-badge[hidden],#app-update-notification[hidden]{display:none}
#app-update-feedback{color:#8b4231;font-size:13px;line-height:1.6}
.app-update-toast{position:fixed;z-index:80;top:calc(env(safe-area-inset-top,0px) + 16px);left:16px;right:16px;max-width:440px;margin:auto;padding:16px;border:1px solid #b5d6bf;border-radius:18px;background:#eef9f1;color:#183426;box-shadow:0 8px 32px #18342622;line-height:1.6;font-size:14px}
.app-update-toast p{margin:0 0 9px}.app-update-toast button{border:1px solid #bed6c5;border-radius:9px;padding:7px 12px;background:white;color:#183426;margin-right:8px}
/* Main categories on the RIGHT; expandable sub/child categories on the LEFT. */
#category-view .category-browser,#category-view .category-browser.category-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,27%);gap:16px;align-items:start}
#category-view .category-sidebar,#category-view .category-detail .category-sidebar{display:flex;grid-column:2;grid-row:1;position:sticky;top:100px;max-height:65vh;overflow:auto;min-width:0;padding:7px;background:#f4f8f1;border-radius:14px}
#category-view .category-results{grid-column:1;grid-row:1;min-width:0}
#category-view #category-products{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%;margin:8px 0 20px}
#category-view .category-main-heading,#category-view #category-subcategory-heading{display:block;margin:6px 0 12px;font-size:13px;line-height:1.7;font-weight:750;overflow-wrap:anywhere}
#category-view .category-detail .category-subcategories{display:block}#category-view .category-detail #category-subcategory-heading[hidden]{display:none}
#category-view .category-detail .category-feature-banner,#category-view .category-feature-banner{display:block;min-height:130px;margin-bottom:12px}
#category-view .category-choice{align-items:start;gap:5px;text-align:left;line-height:1.65;padding:11px 9px}
#category-view .category-choice-name{display:block;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere;-webkit-line-clamp:unset}
#category-view .category-subcategories{display:block;min-width:0}#category-view .category-tree-node{min-width:0;border-bottom:1px solid #dfe9dd}
#category-view .category-tree-choice{display:flex;gap:6px;align-items:start;text-align:left;width:100%;border:0;border-radius:8px;padding:14px 10px;margin:3px 0;background:#eef5eb;color:var(--ink);font-size:14px;line-height:1.7;white-space:normal}
#category-view .category-tree-choice>span:first-child{min-width:0;overflow-wrap:anywhere;flex:1}#category-view .category-tree-choice small{color:#67856b;flex:0 0 auto}
#category-view .category-tree-choice.selected{background:var(--green);color:#fff}#category-view .category-tree-choice.selected small{color:#d4ead8}
#category-view .category-tree-children{padding:0 0 5px 12px;border-left:2px solid #bcd8ba;margin-left:7px}#category-view .category-tree-children .category-tree-choice{background:#f7faf5}#category-view .category-tree-children .category-tree-choice.selected{background:var(--green)}
#category-view .category-direct-products{display:block;width:100%;text-align:left;border:1px solid #ccdfc6;border-radius:8px;background:#fff;color:#246332;padding:9px;margin:6px 0;font-size:12px;line-height:1.7;white-space:normal;overflow-wrap:anywhere}
#category-breadcrumb{font-size:12px;color:var(--muted);line-height:1.7;overflow-wrap:anywhere;margin-top:12px}
#category-view.category-products-mode{padding-bottom:20px}#category-view .category-product-toolbar{margin:8px 0}
@media(max-width:850px){#category-view .category-browser,#category-view .category-browser.category-detail{grid-template-columns:minmax(0,1fr) minmax(98px,32%);gap:9px}#category-view .category-sidebar,#category-view .category-detail .category-sidebar{top:80px;padding:4px;max-height:52vh}#category-view .category-choice{padding:9px 6px;font-size:12px}#category-view .category-main-heading,#category-view #category-subcategory-heading{font-size:10px}#category-view .category-tree-choice{font-size:12px;padding:11px 7px}#category-view .category-tree-children{padding-left:7px;margin-left:3px}#category-view .category-feature-banner,#category-view .category-detail .category-feature-banner{min-height:95px}#category-view .category-banner-copy{padding:12px}#category-view .category-results-heading h3{font-size:14px}#category-view .category-product-art{width:100%;height:130px}#category-view #category-products{gap:10px}}
@media(max-width:360px){#category-view .category-browser,#category-view .category-browser.category-detail{grid-template-columns:minmax(0,1fr) 98px;gap:7px}#category-view .category-tree-choice{font-size:11px}#category-view .category-product-art{height:110px}}
#category-view #category-products[hidden]{display:none}
#category-view #category-products{scroll-margin-top:24px}

/* Category search opens only after an explicit user action. */
#category-view .category-search-tools{position:relative;flex:0 0 auto;margin-inline-start:auto}
#category-view .category-search-toggle{display:grid;place-items:center;width:44px;height:44px;padding:10px;border:1px solid var(--line);border-radius:50%;background:var(--card,#fff);color:var(--ink)}
#category-view .category-search[hidden]{display:none!important}
#category-view .category-search{position:absolute;right:0;top:52px;width:min(340px,calc(100vw - 40px));z-index:5;display:flex;flex-basis:auto;gap:8px;background:var(--card,#fff)}
#category-view .category-search input{flex:1;width:0;min-width:0}
#category-view #category-search-close{flex:0 0 36px;width:36px;height:36px;border:0;background:transparent;color:inherit;font-size:26px}
#category-view .category-search-toggle:focus-visible,#category-view #category-search-close:focus-visible{outline:3px solid #68a944;outline-offset:3px}

/* Category browsing and product viewing are separate screens. */
#category-view .category-browser,#category-view .category-browser.category-detail{grid-template-columns:minmax(98px,32%) minmax(0,1fr)}
#category-view .category-sidebar,#category-view .category-detail .category-sidebar{grid-column:1}
#category-view .category-results{grid-column:2}
#category-view:not(.category-products-mode) #category-products{display:none!important}
#category-view.category-products-mode .category-sidebar,#category-view.category-products-mode .category-results{display:none!important}
#category-view.category-products-mode #category-products{grid-row:1;grid-column:1/-1}
#category-view #category-back[hidden]{display:none}
#category-view .category-page-top{gap:10px}
/* Phone category cards: main list left, banner and subcategories right. */
@media(min-width:0px){
 #category-view:not(.category-products-mode){background:linear-gradient(135deg,#f4fcf5 0%,#e7f8ec 48%,#f4fcf5 100%);border-radius:20px;padding:12px 10px 24px}
 #category-view:not(.category-products-mode) .category-browser{grid-template-columns:minmax(0,35%) minmax(0,1fr);gap:10px}
 #category-view:not(.category-products-mode) .category-page-top{margin-bottom:12px;align-items:center}
 #category-view:not(.category-products-mode) .category-page-top>div:first-of-type{min-width:0}
 #category-view:not(.category-products-mode) .category-page-top h2{font-size:18px}
 #category-view:not(.category-products-mode) .category-page-subtitle{display:none}
 #category-view:not(.category-products-mode) .category-sidebar{position:static;max-height:none;overflow:visible;background:transparent;padding:0;gap:9px;border-radius:0}
 #category-view:not(.category-products-mode) .category-main-heading,#category-view:not(.category-products-mode) #category-subcategory-heading,#category-view:not(.category-products-mode) #category-breadcrumb{display:none}
 #category-view:not(.category-products-mode) .category-choice{align-items:center;min-height:52px;padding:12px 9px;gap:5px;background:#f8fff9;border:1px solid #ffffffb3;border-radius:13px;box-shadow:0 8px 13px #214d3024;font-size:12px;font-weight:600;line-height:1.45}
 #category-view:not(.category-products-mode) .category-choice.selected{background:linear-gradient(110deg,#087629,#47a55b);color:#fff;border-color:#30994e;box-shadow:0 7px 13px #167c3f38}
 #category-view:not(.category-products-mode) .category-choice-count{display:grid;place-items:center;min-width:25px;height:25px;padding:0 5px;background:#e4ece8;border-radius:50%;color:#233d31;font-size:11px}
 #category-view:not(.category-products-mode) .category-choice.selected .category-choice-count{background:#a6d8a8;color:#174f2d}
 #category-view:not(.category-products-mode) .category-results{background:transparent;padding:0;overflow:visible;border-radius:0}
 #category-view:not(.category-products-mode) .category-feature-banner{min-height:0;aspect-ratio:1.65;border:3px solid #fff;border-radius:14px;box-shadow:0 8px 16px #214d3026;margin:0 0 16px}
 #category-view:not(.category-products-mode) .category-feature-banner.has-image .category-banner-copy{display:none}
 #category-view:not(.category-products-mode) .category-banner-copy{padding:10px}
 #category-view:not(.category-products-mode) .category-subcategories{display:flex;flex-direction:column;gap:10px}
 #category-view:not(.category-products-mode) .category-subcategories>.category-direct-products{order:-1}
 #category-view:not(.category-products-mode) .category-tree-node{border:0}
 #category-view:not(.category-products-mode) .category-tree-choice,#category-view:not(.category-products-mode) .category-direct-products{display:flex;align-items:center;gap:6px;min-height:54px;margin:0;padding:13px 10px;border:1px solid #ffffffa8;border-radius:13px;background:#f8fff9;box-shadow:0 8px 14px #214d3024;font-size:12px;font-weight:600;line-height:1.5}
 #category-view:not(.category-products-mode) .category-direct-products{background:#fff;color:#17723b}
 #category-view:not(.category-products-mode) .category-direct-products::after{content:'›';font-size:24px;color:#78877d;margin-left:auto}
 #category-view:not(.category-products-mode) .category-tree-children{margin:10px 0 0 4px;padding:0 0 0 7px}
 #category-view:not(.category-products-mode) .category-tree-children .category-tree-node+.category-tree-node{margin-top:8px}
 :root[data-theme="dark"] #category-view:not(.category-products-mode){background:linear-gradient(135deg,#182d21,#243c2b)}
 :root[data-theme="dark"] #category-view:not(.category-products-mode) .category-choice:not(.selected),:root[data-theme="dark"] #category-view:not(.category-products-mode) .category-tree-choice,:root[data-theme="dark"] #category-view:not(.category-products-mode) .category-direct-products{background:#263e2e;color:#e4f4e7;border-color:#3c5744}
}

@media(max-width:850px){#category-view .category-search-tools{display:none!important}#category-view.category-products-mode .category-page-top{display:none!important}#category-view #category-back{display:none!important}#category-view.category-products-mode{padding-top:0}}

/* Opaque navigation without a blurred or shadowed upper edge on every device. */
.mobile-bottom-nav{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important;background-image:none!important}
.mobile-bottom-nav .bottom-nav-item>span>svg{filter:none}
@media(min-width:851px){
 :root{--bottom-nav-height:86px}
 body{padding-bottom:100px}
 .mobile-bottom-nav{position:fixed;left:0;right:0;bottom:0;z-index:40;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:center;min-height:86px;padding:8px max(16px,calc((100vw - 1000px)/2));border-top:1px solid var(--line);background:#fff}
 .mobile-bottom-nav .bottom-nav-item{align-items:center;justify-content:center;min-height:64px}
 .mobile-bottom-nav .bottom-nav-item>span{max-width:80px}
 .mobile-bottom-nav .bottom-nav-item>small{font-size:13px}
 .home-navigation>nav{display:none}
 .home-navigation .nav-actions{margin-left:auto}
 .home-navigation #cart-open{display:none}
 body.non-home-view>.home-navigation{display:none}
 #category-view:not(.category-products-mode){padding:22px;border-radius:24px}
 #category-view:not(.category-products-mode) .category-browser{grid-template-columns:minmax(210px,28%) minmax(0,1fr);gap:24px}
 #category-view:not(.category-products-mode) .category-choice{font-size:16px;min-height:64px;padding:16px}
 #category-view:not(.category-products-mode) .category-choice-count{font-size:14px;min-width:32px;height:32px}
 #category-view:not(.category-products-mode) .category-feature-banner{aspect-ratio:2.5;max-height:300px;margin-bottom:20px}
 #category-view:not(.category-products-mode) .category-tree-choice,#category-view:not(.category-products-mode) .category-direct-products{font-size:16px;min-height:66px;padding:18px}
 #category-view:not(.category-products-mode) .category-page-top h2{font-size:26px}
 .overlay{z-index:50}.drawer{z-index:51}.modal{z-index:60}
 .toast{bottom:100px;z-index:70}
 .bottom-nav-item:focus-visible{outline:3px solid #68a944;outline-offset:-4px}
}
/* Settings is available at every viewport, not only inside the phone media query. */
#profile-view:not(.store-view-hidden){display:block;margin-top:24px;margin-bottom:110px;min-height:65vh}
#category-view .category-search-tools{display:none!important}
@media(min-width:851px){
 #category-view #category-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
 #category-view .category-product-art{height:180px}
 #category-view .category-product-info h4{font-size:15px;line-height:1.5}
 #category-view .category-product-info .price{font-size:18px}
 #profile-view{max-width:920px}
 #profile-view .settings-header{margin-top:20px}
 #profile-view .settings-row{min-height:80px;padding:16px 22px}
 #profile-view .settings-copy{min-width:0}
}
.settings-status[data-state="serviceExpiring"]{background:#fff1d6;color:#a35d00}.settings-status[data-state="serviceExpired"],.settings-status[data-state="serviceSuspended"]{background:#ffe4e4;color:#c43b36}
.share-card{background:#fff;width:min(380px,100%);border-radius:20px;padding:20px;text-align:center;box-shadow:0 18px 60px #0003}.share-card .drawer-head{text-align:left}.share-name{margin:4px 0 12px;font-weight:800;font-size:18px}.share-qr{width:min(240px,70vw);margin:0 auto;background:#fff;padding:6px;border:1px solid #e3eae2;border-radius:14px}.share-qr svg{display:block;width:100%;height:auto}.share-hint{font-size:13px;color:#66756b;margin:10px 0 14px}.share-link{display:flex;gap:8px}.share-link input{flex:1;min-width:0;font-size:13px;padding:10px;border:1px solid #d0ddca;border-radius:10px;background:#f6f9f4;color:inherit}.share-link button{flex:none;border:0;border-radius:10px;padding:10px 16px;background:#183426;color:#fff;font-weight:800}.share-actions{display:flex;gap:8px;margin-top:10px}.share-secondary{flex:1;display:block;padding:10px;border:1px solid #cfe5d6;border-radius:10px;background:#fff;color:#186f39;font-weight:700;font-size:13px;text-decoration:none;text-align:center}
:root[data-theme="dark"] .share-card{background:#17251c;color:var(--ink)}:root[data-theme="dark"] .share-link input{background:#101a14;border-color:#2b3b30}:root[data-theme="dark"] .share-secondary{background:#17251c;color:#b7f36b;border-color:#57905d}
.share-modal{z-index:100}
/* Hero with a photo shows the photo only; Promotion tab hides until a product has a promotion price. */
.hero.hero-image-only{background-color:transparent!important;background-repeat:no-repeat}.hero.hero-image-only>*{display:none!important}.hero.hero-image-only::before,.hero.hero-image-only::after{display:none!important}
[data-store-view="promotion"][hidden]{display:none!important}
/* Bottom navigation: share the width between the visible tabs so they stay centred when Promotion is hidden. */
.mobile-bottom-nav{grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr)}
/* Promotion: badge on the photo, sale price with the old price struck through. */
.product.has-promo{border-color:#f2b86b}
.product-art{position:relative}
.promo-badge{position:absolute;top:10px;right:10px;z-index:2;padding:4px 10px;border-radius:999px;background:#e8572a;color:#fff;font-size:12px;font-weight:800;letter-spacing:.01em;box-shadow:0 3px 10px #e8572a40;white-space:nowrap}
.sale-price{color:#d1491f;font-weight:800}
.was-price{margin-left:6px;color:#8a978e;font-size:.82em;font-weight:500}
.category-product-row .was-price{display:inline-block}
.promotion-grid{margin-top:20px}
.promotion-grid:empty{display:none}
:root[data-theme="dark"] .sale-price{color:#ff9b73}:root[data-theme="dark"] .was-price{color:#9fb0a4}
.product.has-promo .sku{display:none}
.product .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 6px;min-width:0;white-space:normal}
.product .price .was-price{margin-left:0;white-space:nowrap}
.product .price .sale-price{white-space:nowrap}
/* Promotion header stays compact so the offers themselves lead the page. */
.promotion-view .promotion-card{min-height:0;padding:18px 22px;gap:4px}
.promotion-view .promotion-card h2{font-size:clamp(20px,2.4vw,28px);margin:2px 0}
.promotion-view .promotion-card p{margin:0}
.promotion-view .promotion-card .primary{display:none}
.promotion-view .promotion-icon{display:none}
/* Category banner: always show the whole picture (phones cropped its sides before). */
#category-view .category-feature-banner.has-image{aspect-ratio:auto!important;min-height:0!important;max-height:none!important;height:auto}
#category-view .category-feature-banner.has-image>img:not([hidden]){position:static;display:block;width:100%;height:auto;object-fit:contain}
#category-view .category-feature-banner.has-image .category-banner-copy{display:none}
@media(min-width:851px){#category-view .category-feature-banner.has-image>img:not([hidden]){max-height:340px;object-fit:contain}}


/* Product cards: compact catalogue details with expandable descriptions. */
.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.product{padding:15px;border-radius:20px}
.product-art{min-height:250px;height:250px;border-radius:15px;background:#fafcf9}
.product-photo{height:250px;padding:16px}
.product-fallback{min-height:250px}
.product-art .sku{top:14px;left:14px;padding:0;background:transparent;color:#24362c;font-size:11px;letter-spacing:.03em}
.product-identifiers{display:grid;gap:1px;margin-top:13px;color:#53625a;font-size:14px;line-height:1.3}
.product .category-label{margin-top:11px;font-size:12px}
.product h3{min-height:0;max-height:none;margin:5px 0 7px;font-size:clamp(18px,1.6vw,25px);line-height:1.16;-webkit-line-clamp:unset}
.product .desc{display:-webkit-box;width:100%;min-height:0;max-height:3.1em;margin:0;padding:0;border:0;background:transparent;color:var(--muted);font-size:14px;line-height:1.55;text-align:left;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.product .desc.expanded{display:block;max-height:none}
.product .stock-line{margin-top:13px;font-size:13px}
.product .product-bottom{flex-direction:row;align-items:center;gap:14px;margin-top:auto;padding-top:12px}
.product .price{font-size:clamp(20px,2vw,29px);line-height:1.25;color:#08742f;white-space:normal}
.product .add{flex:0 0 auto;min-width:116px;min-height:46px;border-radius:10px;font-size:13px}
@media(min-width:1120px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.product{padding:12px;border-radius:17px}.product-art{min-height:175px;height:175px}.product-photo{height:175px;padding:10px}.product-fallback{min-height:175px;font-size:62px}.product-art .sku{top:10px;left:10px;font-size:9px}.product-identifiers{display:grid;margin-top:10px;font-size:10px;line-height:1.32}.product .category-label{margin-top:10px;font-size:11px}.product h3{font-size:17px}.product .desc{font-size:12px}.product .stock-line{margin-top:11px;font-size:12px}.product .product-bottom{flex-direction:column;align-items:stretch;gap:8px}.product .price{font-size:18px}.product .add{width:100%;min-width:0}}

/* Product card v2: photo, SKU/Part No, name, description, price, then View photos · quantity · cart. */
.products .product{display:flex;flex-direction:column;container-type:inline-size;background:#fff}
.products .product .product-art{cursor:pointer;background:#f4f6f4}
.products .product .product-art:not([data-store-action]){cursor:default}
.products .product .product-identifiers{display:grid;gap:2px;margin-top:12px;padding-bottom:10px;border-bottom:1px solid #e3e8e4;color:#5b6660;font-size:13px;line-height:1.35;overflow-wrap:anywhere}
.products .product h3{margin:10px 0 4px;min-height:0;max-height:none;color:#121a15;font-size:clamp(16px,1.5vw,21px);font-weight:800;line-height:1.2;overflow-wrap:anywhere}
.products .product .desc{min-height:0;color:#5b6660;font-size:14px;line-height:1.5;-webkit-line-clamp:3;max-height:4.5em}
.products .product .desc.expanded{max-height:none}
.products .product .price{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px;width:auto;margin-top:0;padding-top:8px;color:#2a7a35;font-size:clamp(20px,2vw,27px);font-weight:800;line-height:1.25;overflow-wrap:anywhere}
.products .product .stock-out{margin-top:2px;color:#b42318;font-size:12px;font-weight:700}
.products .product .product-actions{display:grid;grid-template-columns:minmax(0,1fr) 44px;grid-template-areas:"view view" "qty cart";gap:8px;margin-top:auto;padding-top:12px}
.products .product .product-actions:not(:has(.view-photos)){grid-template-areas:"qty cart"}
.products .product .view-photos{grid-area:view;display:flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:4px 10px;border:1.5px solid #d9dfdb;border-radius:10px;background:#fff;color:#1c2620;font:inherit;font-size:13px;font-weight:600;line-height:1.15;text-align:left;cursor:pointer}
.products .product .view-photos svg,.products .product .add svg{flex:0 0 auto;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.products .product .qty-stepper{grid-area:qty;display:grid;grid-template-columns:1fr minmax(24px,1.1fr) 1fr;min-width:0;height:44px;border:1.5px solid #d9dfdb;border-radius:10px;overflow:hidden;background:#fff}
.products .product .qty-stepper button{min-width:0;border:0;background:transparent;color:#1c2620;font-size:20px;line-height:1;cursor:pointer}
.products .product .qty-stepper button:disabled{color:#b8c0bb;cursor:not-allowed}
.products .product .qty-value{display:grid;place-items:center;border-inline:1.5px solid #d9dfdb;color:#1c2620;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}
.products .product .add{grid-area:cart;display:grid;place-items:center;width:100%;min-width:0;height:44px;min-height:44px;padding:0;border:0;border-radius:10px;background:#2a7a35;color:#fff;font-size:0}
.products .product .add svg{width:23px;height:23px;stroke-width:2}
.products .product .add:disabled{background:#c7cec9;cursor:not-allowed}
.products .product.sold-out .product-photo{opacity:.55}
@container (min-width:226px){.products .product .product-actions,.products .product .product-actions:not(:has(.view-photos)){grid-template-columns:minmax(0,92px) minmax(78px,1fr) 44px;grid-template-areas:"view qty cart";gap:6px}.products .product .product-actions:not(:has(.view-photos)){grid-template-columns:minmax(78px,1fr) 44px;grid-template-areas:"qty cart"}.products .product .view-photos{min-height:44px;padding:3px 8px;gap:6px;font-size:12px}.products .product .view-photos svg{width:18px;height:18px}}
@container (min-width:300px){.products .product .product-actions,.products .product .product-actions:not(:has(.view-photos)){grid-template-columns:minmax(0,120px) minmax(96px,1fr) 52px;gap:8px}.products .product .product-actions:not(:has(.view-photos)){grid-template-columns:minmax(96px,1fr) 52px}.products .product .view-photos{font-size:13px}}
@media(max-width:850px){.products .product .product-identifiers{font-size:11px;margin-top:9px;padding-bottom:8px}.products .product h3{font-size:16px;margin-top:8px}.products .product .desc{font-size:12.5px}.products .product .price{font-size:19px}}
@media(max-width:420px){.products .product .price{font-size:clamp(15px,4.6vw,19px)}}

/* The top announcement strip is not used (GearHub and every shop). */
.announcement{display:none!important}
/* Home banner: a fixed wide shape on every screen; the photo fills it. */
main>.hero.hero-image-only,.hero.hero-image-only{min-height:0!important;height:auto!important;aspect-ratio:2/1;background-size:cover!important;background-position:center!important}
@media(min-width:768px){main>.hero.hero-image-only,.hero.hero-image-only{aspect-ratio:3/1}}
@media(min-width:1280px){main>.hero.hero-image-only,.hero.hero-image-only{aspect-ratio:4/1}}
/* Category page: no forced empty height; banner sides filled with a soft copy of the photo. */
@media(min-width:851px){#category-view.category-view{min-height:0}}
#category-view .category-feature-banner.has-image{position:relative;isolation:isolate;background:#eaf1ec}
#category-view .category-feature-banner.has-image::before{content:"";position:absolute;inset:-24px;z-index:-1;background:var(--banner-fill) center/cover no-repeat;filter:blur(22px) saturate(1.1);opacity:.55}
/* Settings: "Create new shop" (GearHub only). */
a.settings-row.create-shop-row{color:inherit;text-decoration:none}
.create-shop-icon{color:#16943f;background:#e6f6ea!important}
.footer-legal{display:flex;flex-wrap:wrap;gap:6px 16px;justify-content:center}.footer-legal a{color:#dce7e2;font-size:14px;text-decoration:underline;text-underline-offset:3px}.footer-legal a:hover{color:#fff}
@media(max-width:700px){.footer-legal{justify-content:flex-start}}
/* Category banners: every banner has the same shape (5:2, the 1600x640 banner photo; at most 640px wide on PC). The whole
   photo fits inside and the empty sides show a soft blur of the same photo. */
#category-view .category-feature-banner.has-image{aspect-ratio:5/2!important;height:auto!important;min-height:0!important;max-height:none!important}
#category-view .category-feature-banner.has-image>img:not([hidden]){position:absolute!important;inset:0;width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important;object-position:center}
@media(min-width:851px){#category-view .category-feature-banner.has-image{aspect-ratio:5/2!important;width:min(100%,640px)!important;margin-inline:auto!important}}
/* Policies link stays readable in dark mode. */
:root[data-theme="dark"] nav[aria-label="Policies"] a{color:#cfe3d6}
/* A dark page colour or wallpaper keeps the headings that sit directly on the page readable. */
.page-dark .section-head h2,.page-dark .section-head p,.page-dark #product-total,.page-dark .settings-header h2,.page-dark .settings-header p,.page-dark nav[aria-label="Policies"] a{color:#eef5f0}
.page-dark .section-head .eyebrow.dark,.page-dark .settings-header .eyebrow.dark{color:#b7f36b}
/* Scrolling to a category's products stops below the phone status bar and top bar. */
#category-products,#category-view{scroll-margin-top:calc(env(safe-area-inset-top,0px) + 12px)}
/* Phones: Category and Promotion start a little below the status bar instead of touching it. */
@media(max-width:850px){body.non-home-view #category-view,body.non-home-view #promotion-view{margin-top:14px}}
/* Page wallpaper: a fixed layer the size of the screen, so it never stretches or jumps when the page length changes (iPhone ignores background-attachment:fixed). */
#app-wallpaper{position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:var(--app-page-background,none);background-size:cover;background-position:center;background-repeat:no-repeat}
#app-wallpaper[hidden]{display:none}
/* Hero: one 5:2 shape on phone and PC, and the whole picture always shows — nothing is cut.
   A picture of another shape sits in the middle over a soft blurred copy of itself. */
main>.hero.hero-image-only,.hero.hero-image-only{position:relative;isolation:isolate;aspect-ratio:5/2!important;background-image:none!important;background-color:#e9efe9!important}
body .hero.hero-image-only::before,body .hero.hero-image-only::after{content:""!important;display:block!important;position:absolute;z-index:-1;pointer-events:none}
body .hero.hero-image-only::before{inset:-30px;background:var(--hero-fill,none) center/cover no-repeat;filter:blur(26px) saturate(1.1);opacity:.6}
body .hero.hero-image-only::after{inset:0;background:var(--hero-fill,none) center/contain no-repeat}
/* Category banner: 4:1 and as wide as its column, so the page has no empty sides. */
#category-view .category-feature-banner.has-image{aspect-ratio:4/1!important}
@media(min-width:851px){#category-view .category-feature-banner.has-image{width:100%!important;margin-inline:0!important}}
#category-view:not(.category-products-mode) .category-subcategories .category-tree-choice[data-store-action="select-category"]::after{content:'›';font-size:24px;line-height:1;color:#78877d;margin-left:10px}
@media(max-width:850px){#category-view>.category-feature-banner.has-image{width:100%!important;margin:0 0 12px!important}#category-view.category-products-mode>.category-feature-banner,#category-view>.category-feature-banner:not(.has-image){display:none!important}}
@media(min-width:851px){#category-view:not(.category-products-mode) .category-feature-banner:not(.has-image){display:flex!important;align-items:center;width:100%!important;aspect-ratio:4/1!important;min-height:0!important;max-height:none!important;height:auto!important;margin-inline:0!important;padding:0 26px}#category-view .category-feature-banner:not(.has-image) #category-banner-empty{display:none}}
/* Category banner fills its 4:1 frame; a square or tall photo stays whole (see fitCategoryBanner). */
#category-view .category-feature-banner.has-image>img:not([hidden]){object-fit:cover!important}
#category-view .category-feature-banner.has-image.banner-fit-whole>img:not([hidden]){object-fit:contain!important}

/* Cart uses each product's cover photo, with the existing emoji as a safe fallback. */
.cart-emoji{display:grid;place-items:center;flex:0 0 66px;width:66px;height:66px;box-sizing:border-box;padding:4px;overflow:hidden}.cart-emoji .cart-product-photo{display:block;width:100%;height:100%;object-fit:contain;border-radius:7px}.cart-emoji .product-fallback{font-size:30px;line-height:1}
/* Phones: Category and Promotion always fill the screen above the bottom bar. */
@media(max-width:850px){
 #category-view:not(.store-view-hidden),#promotion-view:not(.store-view-hidden){display:flex;flex-direction:column;min-height:calc(100svh - var(--bottom-nav-h,86px) + 2px)}
 #category-view:not(.store-view-hidden)>.category-browser{flex:1 0 auto}
 #promotion-view:not(.store-view-hidden)>*{flex:0 0 auto}
}
/* The selected sub-category row stays readable (same green as the left list, white text)
   instead of white on white; the shop colour may be dark, so it is not used here. */
#category-view:not(.category-products-mode) .category-subcategories .category-tree-choice.selected{background:linear-gradient(110deg,#087629,#47a55b)!important;color:#fff!important;border-color:#30994e!important}
#category-view:not(.category-products-mode) .category-subcategories .category-tree-choice.selected small,#category-view:not(.category-products-mode) .category-subcategories .category-tree-choice.selected .category-tree-chevron,#category-view:not(.category-products-mode) .category-subcategories .category-tree-choice.selected::after{color:#e3f3e7!important}

/* Settings starts directly below the phone safe area. */
@media(max-width:850px){
 body.non-home-view #profile-view:not(.store-view-hidden){margin-top:0}
}
