*{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,Roboto,"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}.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}
/* Offline download status beside Server storage: progress ring + %, then a check and "Offline success". */
.offline-status{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:5px 11px 5px 6px;border-radius:999px;background:#eef2ec;color:#4c5a50;font-size:12px;font-weight:800;white-space:nowrap}.offline-status[hidden]{display:none}
.offline-ring{display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:conic-gradient(#26833c calc(var(--p,0)*1%),#cfd8cc 0);-webkit-mask:radial-gradient(farthest-side,transparent 58%,#000 61%);mask:radial-gradient(farthest-side,transparent 58%,#000 61%)}
.offline-status[data-state="ready"]{background:#e7f4e3;color:#28733a}.offline-status[data-state="ready"] .offline-ring{background:#26833c;-webkit-mask:none;mask:none}.offline-status[data-state="ready"] .offline-ring::after{content:"";width:5px;height:9px;margin-top:-2px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.offline-status[data-state="retry"]{background:#ffe4e4;color:#c43b36}
:root[data-theme="dark"] .offline-status{background:#253b2b;color:#b7f36b}:root[data-theme="dark"] .offline-ring{background:conic-gradient(#b7f36b calc(var(--p,0)*1%),#3c5242 0)}:root[data-theme="dark"] .offline-status[data-state="ready"] .offline-ring{background:#26833c}
.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}.share-modal.open{grid-template-columns:minmax(0,1fr)}
/* 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}
}


/* Desktop keeps the shop logo and name; only the navigation artwork is hidden. */
@media(min-width:851px){
 body:not(.non-home-view)>.home-navigation .home-profile-banner{
  display:flex!important;
  background-image:none!important;
  background-color:transparent!important;
  color:#183426;
  box-shadow:none;
 }
 body:not(.non-home-view)>.home-navigation .home-profile-banner .settings-profile-copy>small,
 body:not(.non-home-view)>.home-navigation .home-profile-banner .settings-profile-chevron{color:#617066}
}
/* Category page: no title above the banner; the banner sits at the top. Phones also drop the
   empty header row (its search button is already hidden there). */
#category-view:not(.category-products-mode) .category-page-top h2,#category-view:not(.category-products-mode) .category-page-top .category-page-subtitle{display:none}
@media(max-width:850px){#category-view:not(.category-products-mode) .category-page-top{display:none!important}}


/* Storefront Excel library: the compact icon sits beside the language button. */
.excel-nav-button{display:grid;place-items:center;width:48px;padding:0}.excel-nav-button svg{width:22px;height:22px}
.excel-library-modal{align-items:center;justify-content:center;padding:20px;background:#07120c38}.excel-library-modal[hidden]{display:none}
.excel-library-card{width:min(100%,560px);max-height:calc(100dvh - 110px);overflow:auto;background:#fff;border:1px solid #e1e6e2;border-radius:20px;padding:22px;box-shadow:0 18px 48px #102a1d30;color:#202722}
.excel-library-card .drawer-head{margin-bottom:12px}.excel-library-card .drawer-head h2{margin:0;font-size:25px;font-weight:750;line-height:1.3;letter-spacing:-.6px}.excel-library-card .drawer-head .icon-btn{display:grid;place-items:center;flex:0 0 38px;width:38px;height:40px;padding:0;border-radius:10px;background:#f4f5f2;color:#313b35}.excel-library-card .drawer-head .icon-btn svg{width:19px;height:19px}
.excel-library-help,.excel-library-status{color:#7a827c;font-size:13px;line-height:1.55}.excel-library-help{margin:0 0 22px}.excel-library-status{margin:8px 0 0}.excel-library-status:empty{display:none}
.excel-library-card form{display:grid;gap:9px;margin:0 0 16px}.excel-upload-label{display:flex;flex-direction:column;gap:8px;font-size:14px;font-weight:700}.excel-upload-label input{width:100%;min-width:0;height:44px;padding:8px;border:1px solid #e0e4df;border-radius:11px;background:#fff;font:inherit;font-size:12px;color:#747a75}.excel-upload-label input::file-selector-button{margin-right:10px;padding:6px 12px;border:0;border-radius:7px;background:#f0f0ee;color:#343a35;font:inherit;font-weight:650}
.excel-library-card form>.primary{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:45px;padding:10px;border:0;border-radius:10px;background:linear-gradient(105deg,#08b84e,#00a64c);box-shadow:0 2px 5px #009b3720;color:#fff;font-size:15px;font-weight:700}.excel-library-card form>.primary svg{width:23px;height:23px;flex:none}
.excel-file-picker{position:relative;display:flex;align-items:center;gap:10px;min-width:0;height:44px;padding:8px;border:1px solid #e0e4df;border-radius:11px;background:#fff;font-size:12px;font-weight:400}.excel-file-picker-label{flex:none;padding:5px 13px;border-radius:7px;background:#f0f0ee;color:#343a35;font-weight:650}.excel-upload-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#777e78}.excel-file-picker input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.excel-file-picker:focus-within{outline:2px solid #159447;outline-offset:2px}
.excel-library-list{display:grid;gap:10px;margin-top:14px}.excel-file-row{display:flex;align-items:center;gap:14px;width:100%;min-height:82px;padding:13px;border:1px solid #e1e6e1;border-radius:13px;background:#fff;color:inherit;text-align:left;font:inherit;cursor:pointer}.excel-file-row:hover{background:#f6faf7}.excel-file-row:focus-visible{outline:2px solid #159447;outline-offset:3px}.excel-file-icon{width:44px;height:50px;flex:none;filter:drop-shadow(0 3px 4px #133c2420)}.excel-file-details{display:block;min-width:0;flex:1;align-self:stretch;padding-top:1px}.excel-file-name{display:block;font-size:14px;line-height:1.45;font-weight:700;overflow-wrap:anywhere}.excel-file-meta{display:block;margin-top:6px;color:#929993;font-size:12px}
@media(max-width:480px){.excel-library-modal{padding:12px}.excel-library-card{padding:17px}.excel-library-help{font-size:12px}.excel-library-card .drawer-head h2{font-size:24px}.excel-upload-label{font-size:13px}.excel-file-row{min-height:78px;padding:12px}.excel-file-name{font-size:13px}}
/* Only shop owners (and the GearHub owner) see the Excel upload form. */
.excel-library-card form[hidden]{display:none}

/* In-app spreadsheet preview and owner-selected product mapping. */
.excel-file-open{border:0;background:transparent;padding:0;cursor:pointer}.excel-preview{margin-top:16px;padding-top:16px;border-top:1px solid #dce8df}.excel-preview[hidden],.excel-map-panel[hidden]{display:none}.excel-sheet-search{display:block;margin:10px 0}.excel-sheet-search input{box-sizing:border-box;width:100%;padding:10px 12px;border:1px solid #c9d2cc;border-radius:9px;background:#fff;color:#202124;font:inherit}.excel-grid{max-height:320px;overflow:auto;border:1px solid #dce8df;border-radius:11px}.excel-grid table{border-collapse:collapse;width:100%;font-size:13px}.excel-grid th,.excel-grid td{padding:8px;min-width:110px;border-bottom:1px solid #e5ece6;text-align:left;overflow-wrap:anywhere}.excel-grid th{position:sticky;top:0;background:#edf6ef}.excel-map-panel{margin-top:14px;padding:14px;border:1px solid #dce8df;border-radius:12px;background:#f8fcf8}.excel-map-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0}.excel-map-fields label{font-size:12px;font-weight:700;display:grid;gap:4px}.excel-map-fields select{padding:8px;border:1px solid #d5e2d7;border-radius:8px;background:#fff}@media(max-width:600px){.excel-map-fields{grid-template-columns:repeat(2,1fr)}}
/* Excel panel on phones: column pickers in two columns, table scrolls sideways. */
#excel-settings-open[hidden]{display:none}
@media(max-width:600px){.excel-map-fields{grid-template-columns:1fr 1fr}.excel-library-card{padding:16px}.excel-grid{max-height:50vh}}
.excel-library-list[hidden]{display:none}
/* Excel viewer: looks like a spreadsheet (column letters, row numbers, gridlines, sheet tabs). */
.excel-library-card.excel-sheet-open{width:min(96vw,1180px);max-height:92vh}
.excel-sheet{max-height:62vh;overflow:auto;background:#fff;border:1px solid #c9d2cc;border-radius:8px 8px 0 0;-webkit-overflow-scrolling:touch}
.excel-sheet table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;font-size:11pt;font-family:Calibri,Arial,system-ui,sans-serif;color:#000}
/* Excel's cell margin: column width = text width + 5px (2px each side + the cell line). */
.excel-sheet td{padding:0 2px;border:0;border-right:1px solid #e2e2e2;border-bottom:1px solid #e2e2e2;overflow:hidden;white-space:nowrap;text-overflow:clip;min-width:0;line-height:1.2;background:#fff}
.excel-sheet thead th{position:sticky;top:0;z-index:2;background:#f3f3f3;color:#555;font:500 12px system-ui,sans-serif;text-align:center;padding:4px 2px;border:0;border-right:1px solid #d4d4d4;border-bottom:1px solid #d4d4d4}
.excel-sheet tbody th{position:sticky;left:0;z-index:1;background:#f3f3f3;color:#555;font:500 12px system-ui,sans-serif;text-align:center;border:0;border-right:1px solid #d4d4d4;border-bottom:1px solid #d4d4d4;min-width:38px}
.excel-sheet .excel-corner{left:0;z-index:3}
/* 1.1.462: select-all corner = show / hide the rows and columns the file hides (this view only). */
.excel-hidden-toggle{display:grid;place-items:center;width:100%;height:100%;min-height:24px;padding:0;border:0;background:transparent;color:#7a7a7a;cursor:pointer;-webkit-tap-highlight-color:transparent}
.excel-hidden-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.excel-hidden-toggle.is-on{color:#1a73e8;background:#e3edfb}
/* Stand-ins for rows away from the screen (only rows near the screen are drawn). */
.excel-sheet tr.excel-spacer>td{padding:0;border:0;background:transparent;line-height:0;font-size:0}
/* The sheet keeps its own place when it swaps drawn rows; the browser's scroll anchoring would move it again. */
.excel-sheet{overflow-anchor:none}
/* Like Excel: long text spills into empty cells beside it; rotated text; sheets with gridlines turned off. */
.excel-sheet td.excel-spill-host{overflow:visible}
/* Pinned (frozen) cells paint a white background: a cell whose text spills sits just above its neighbours. */
.excel-sheet table.excel-cols-frozen td.excel-frozen-col.excel-spill-host{z-index:11}.excel-sheet tr.excel-frozen-row>td.excel-spill-host{z-index:21}.excel-sheet table.excel-cols-frozen tr.excel-frozen-row>td.excel-frozen-col.excel-spill-host{z-index:31}.excel-spill{white-space:nowrap;overflow:hidden}
.excel-rot{display:inline-block;white-space:nowrap;line-height:1.1}
.excel-word{display:inline-block;max-width:100%}
.excel-sheet table.excel-nogrid td{border-right-color:transparent;border-bottom-color:transparent}
/* Separate borders: each cell draws its own right and bottom edge. With collapsed borders the rows
   scrolling under the sticky column letters painted their lines and text over them. */
.excel-tabs{display:flex;gap:2px;overflow-x:auto;background:#f3f3f3;border:1px solid #c9d2cc;border-top:0;border-radius:0 0 8px 8px;padding:0 4px;-webkit-overflow-scrolling:touch}
.excel-tab{flex:0 0 auto;padding:10px 16px;border:0;border-bottom:3px solid transparent;background:transparent;color:#444;font-weight:700;cursor:pointer;white-space:nowrap}
.excel-tab.active{background:#fff;color:#137333;border-bottom-color:#1a73e8}
@media(max-width:600px){.excel-library-card.excel-sheet-open{max-height:94vh;padding:12px}.excel-sheet{max-height:58vh}.excel-tab{padding:9px 13px}}
.excel-sheet th,.excel-sheet td{min-width:0;overflow-wrap:normal}
/* Full-screen sheet (owner reference: Google Sheets on a phone). Only the grid, the sheet tabs
   and one back arrow in the top-left corner; covers the store's bottom navigation. */
.excel-fs-back{display:none}
.excel-fullscreen-open{overflow:hidden}
.excel-library-modal.excel-fullscreen{padding:0!important;z-index:2000;background:#fff}
.excel-fullscreen .excel-library-card.excel-sheet-open{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-height:none;max-width:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;overflow:hidden;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}
.excel-fullscreen .excel-library-card>:not(.excel-preview){display:none!important}
.excel-fullscreen .excel-preview{display:flex;flex-direction:column;flex:1;min-height:0;margin:0;padding:0;border:0;position:relative}
.excel-fullscreen .excel-preview>.drawer-head,.excel-fullscreen #excel-sheet-status,.excel-fullscreen .excel-map-panel{display:none!important}.excel-fullscreen .excel-sheet-search{position:absolute;top:3px;left:50px;right:8px;z-index:5;margin:0}.excel-fullscreen .excel-sheet{margin-top:44px}
.excel-fullscreen .excel-sheet{flex:1;min-height:0;max-height:none;border:0;border-radius:0}
.excel-fullscreen .excel-tabs{border:0;border-top:1px solid #d4d4d4;border-radius:0;flex:0 0 auto}
.excel-fullscreen .excel-tab{padding:14px 20px;font-size:16px}
.excel-fullscreen .excel-sheet thead th{height:40px}
.excel-fullscreen .excel-fs-back{display:grid;place-items:center;position:absolute;top:2px;left:4px;z-index:5;width:40px;height:36px;border:0;border-radius:10px;background:#f3f3f3;color:#202124;font-size:22px;font-weight:700;cursor:pointer}
/* Add to cart button animation (owner's video): cart rolls in, a box drops in, the cart rolls
   out, then the button turns into a green circle with a tick and returns to normal. */
.products .product .add{position:relative;overflow:hidden;transition:background-color .3s,border-radius .3s}
.products .product .add>svg{transition:opacity .2s,transform .2s}
.products .product .add.is-adding>svg,.products .product .add.is-success>svg{opacity:0;transform:scale(.6)}
.products .product .add .cart-fx{position:absolute;inset:0;pointer-events:none}
.products .product .add .cart-fx-cart{position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;opacity:0}
.products .product .add .cart-fx-cart svg{display:block;width:22px;height:22px;fill:none;stroke:#b7f36b;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.products .product .add .cart-fx-box{position:absolute;left:9px;top:-11px;width:8px;height:7px;border-radius:2px;background:#f6c544;opacity:0}
.products .product .add .cart-fx-check{position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;fill:none;stroke:#fff;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:24;stroke-dashoffset:24;opacity:0}
.products .product .add.is-adding{background:#163d22}
.products .product .add.is-adding .cart-fx-cart{animation:cart-fx-roll 1.3s ease-in-out forwards}
.products .product .add.is-adding .cart-fx-box{animation:cart-fx-drop 1.3s ease-in forwards}
.products .product .add.is-success{background:#22a35a;border-radius:22px;animation:cart-fx-ring .9s ease-out}
.products .product .add.is-success .cart-fx-check{opacity:1;animation:cart-fx-check .45s .1s ease-out forwards}
@keyframes cart-fx-roll{0%{transform:translateX(-32px);opacity:0}22%{transform:translateX(0);opacity:1}68%{transform:translateX(0);opacity:1}100%{transform:translateX(36px);opacity:0}}
@keyframes cart-fx-drop{0%,24%{transform:translateY(-4px);opacity:0}32%{opacity:1}48%{transform:translateY(12px);opacity:1}100%{transform:translateY(12px);opacity:1}}
@keyframes cart-fx-ring{0%{box-shadow:0 0 0 0 #22a35a99}100%{box-shadow:0 0 0 12px #22a35a00}}
@keyframes cart-fx-check{to{stroke-dashoffset:0}}
/* Phone bottom navigation, "liquid" style (owner's video). liquid-nav.js sets --liquid-x (the open
   tab's centre) and --liquid-lift; the bubble, the notch in the bar and the raised icon follow. */
@property --liquid-x{syntax:"<length>";inherits:true;initial-value:0px}
@media(max-width:850px){
 .mobile-bottom-nav.liquid{overflow:visible;background:transparent!important;border-top:0!important;filter:drop-shadow(0 -1px 0 #e1e8de) drop-shadow(0 -6px 14px #18342614);transition:--liquid-x .5s cubic-bezier(.65,0,.35,1)}
 .mobile-bottom-nav.liquid::before{content:"";position:absolute;inset:0;z-index:0;background:#fff;-webkit-mask:radial-gradient(circle 37px at var(--liquid-x) 0,#0000 36px,#000 37.5px);mask:radial-gradient(circle 37px at var(--liquid-x) 0,#0000 36px,#000 37.5px)}
 .mobile-bottom-nav.liquid.liquid-none::before{-webkit-mask:none;mask:none}
 .mobile-bottom-nav.liquid.liquid-instant,.mobile-bottom-nav.liquid.liquid-instant *{transition:none!important}
 .mobile-bottom-nav.liquid .liquid-nav-bubble{position:absolute;z-index:1;top:-27px;left:0;width:58px;height:58px;border-radius:50%;background:#fff;box-shadow:0 0 0 7px var(--paper,#f5f7f1),0 6px 16px #1834262e;transform:translateX(calc(var(--liquid-x) - 29px));pointer-events:none;transition:opacity .2s}
 .mobile-bottom-nav.liquid.liquid-none .liquid-nav-bubble{opacity:0}
 .mobile-bottom-nav.liquid .bottom-nav-item{z-index:2;justify-content:center}
 .mobile-bottom-nav.liquid .bottom-nav-item::after{display:none}
 .mobile-bottom-nav.liquid .bottom-nav-item>span{background:transparent!important;transition:transform .5s cubic-bezier(.65,0,.35,1)}
 .mobile-bottom-nav.liquid .bottom-nav-item.active>span{transform:translateY(var(--liquid-lift,-30px)) scale(.86)}
 .mobile-bottom-nav.liquid .bottom-nav-item>small{position:absolute;left:0;right:0;bottom:6px;opacity:0;transform:translateY(6px);transition:opacity .25s,transform .25s}
 .mobile-bottom-nav.liquid .bottom-nav-item.active>small{opacity:1;transform:none;transition-delay:.18s}
 :root[data-theme="dark"] .mobile-bottom-nav.liquid{filter:drop-shadow(0 -1px 0 #33453a)}
 :root[data-theme="dark"] .mobile-bottom-nav.liquid::before{background:#142119}
 :root[data-theme="dark"] .mobile-bottom-nav.liquid .liquid-nav-bubble{background:#1f3326;box-shadow:0 0 0 7px var(--paper,#0f1a13),0 6px 16px #0008}
}
@media(max-width:850px) and (prefers-reduced-motion:reduce){.mobile-bottom-nav.liquid,.mobile-bottom-nav.liquid *{transition:none!important}}
/* Owner's picture: the bar sits on the bottom edge (white down to the screen edge) with round top corners, the notch has smooth shoulders, the open tab
   sits in a white bubble with a bold black label. Icon colours are unchanged. */
@media(max-width:850px){
 body:has(.mobile-bottom-nav.liquid){padding-bottom:calc(96px + env(safe-area-inset-bottom))}
 .mobile-bottom-nav.liquid{left:0!important;right:0!important;bottom:0!important;min-height:calc(74px + env(safe-area-inset-bottom))!important;padding:6px 4px calc(8px + env(safe-area-inset-bottom))!important;filter:drop-shadow(0 0 1px #0000001a) drop-shadow(0 10px 22px #0000001a)}
 .mobile-bottom-nav.liquid::before{border-radius:24px 24px 0 0;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='40'%3E%3Cpath d='M0 0H22C29 0 31 4 34 11A38 38 0 0 0 106 11C109 4 111 0 118 0Z'/%3E%3C/svg%3E") no-repeat calc(var(--liquid-x) - 70px) 0/140px 40px,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='40'%3E%3Cpath d='M0 0H22C29 0 31 4 34 11A38 38 0 0 0 106 11C109 4 111 0 118 0Z'/%3E%3C/svg%3E") no-repeat calc(var(--liquid-x) - 70px) 0/140px 40px exclude,linear-gradient(#000 0 0)}
 .mobile-bottom-nav.liquid .liquid-nav-bubble{background:#fff;box-shadow:0 0 0 6px var(--paper,#f5f7f1),0 6px 16px #0000001f}
 .mobile-bottom-nav.liquid .bottom-nav-item.active>small{color:#111;font-weight:800}
 :root[data-theme="dark"] .mobile-bottom-nav.liquid .liquid-nav-bubble{background:#1f3326;box-shadow:0 0 0 6px var(--paper,#101a14),0 6px 16px #0008}
 :root[data-theme="dark"] .mobile-bottom-nav.liquid .bottom-nav-item.active>small{color:var(--ink)}
}
/* Press and drag along the bottom nav (owner's recording): the bubble follows the finger. */
@media(max-width:850px){
 .mobile-bottom-nav.liquid{touch-action:none;-webkit-user-select:none;user-select:none}
 .mobile-bottom-nav.liquid.liquid-dragging{transition:none}
 .mobile-bottom-nav.liquid.liquid-dragging .liquid-nav-bubble{transform:translateX(calc(var(--liquid-x) - 29px)) scale(1.08)}
 .mobile-bottom-nav.liquid.liquid-dragging .bottom-nav-item>span{transition-duration:.2s}
 .mobile-bottom-nav.liquid.liquid-dragging .bottom-nav-item.active:not(.liquid-hover)>span{transform:none}
 .mobile-bottom-nav.liquid.liquid-dragging .bottom-nav-item.liquid-hover>span{transform:translateY(var(--liquid-lift,-30px)) scale(.86)}
 .mobile-bottom-nav.liquid.liquid-dragging .bottom-nav-item.active:not(.liquid-hover)>small{opacity:0}
 .mobile-bottom-nav.liquid.liquid-dragging .bottom-nav-item.liquid-hover>small{opacity:1;transform:none;color:#111;font-weight:800;transition-delay:0s}
}

/* Excel full screen: a plain white top bar (no grey band or iPhone input shading), and the sheet
   starts below it so the column letters are never hidden under the search box. */
.excel-fullscreen .excel-library-card.excel-sheet-open{background:#fff}
.excel-fullscreen .excel-preview::before{content:"";position:absolute;top:0;left:0;right:0;height:50px;background:#fff;border-bottom:1px solid #e3e6e4;z-index:4}
.excel-fullscreen .excel-sheet-search input{-webkit-appearance:none;appearance:none;box-shadow:none;background:#f3f5f4;border-color:#dfe4e1}
/* Search bar like Google Sheets: the box, then previous / next match arrows. */
.excel-sheet-search{display:flex;align-items:center;gap:2px}.excel-sheet-search label{flex:1;min-width:0}
.excel-fullscreen .excel-sheet-search{top:5px;height:40px}.excel-sheet-search label{display:block;height:40px}.excel-sheet-search input{display:block;height:40px;padding:0 12px}.excel-fullscreen .excel-fs-back{top:7px}
.excel-find-step{flex:none;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:#3c4043;display:grid;place-items:center;cursor:pointer}.excel-find-step:active{background:#e8eaed}
.excel-fullscreen .excel-sheet{margin-top:50px}
/* Excel viewer: selected cells (excel-select.js). The tint sits over the cell's own colour. */
#excel-grid td.xs-sel{background-image:linear-gradient(#1a73e838,#1a73e838)}
#excel-grid td.xs-active{background-image:none}
#excel-grid th.xs-head{background:#d3e3fd;color:#0b57d0}
#excel-grid td{cursor:cell}#excel-grid tbody th[data-r]{cursor:pointer}
@media (pointer:fine){#excel-grid{-webkit-user-select:none;user-select:none}}
/* Phones: the cart (empty or not) reaches the bottom edge under the bottom nav, so no dark overlay
   shows around the nav's round corners and notch; its content stops above the nav. */
@media(max-width:850px){
 #drawer,#drawer:has(.cart-empty-design){bottom:0!important;padding-bottom:calc(96px + env(safe-area-inset-bottom))!important}
}

/* Excel library: the owner's Windows and Mac download card. */
.excel-auto-upload{display:grid;gap:6px;margin:0;padding:12px;border:1px dashed #d7dfd6;border-radius:12px;background:#fafcf8}
.excel-auto-upload>strong{font-size:14px;line-height:1.5}.excel-auto-upload small{color:#8a9389;font-size:12px;line-height:1.6}.excel-auto-upload #excel-auto-upload-state{font-size:11px;overflow-wrap:anywhere}
.excel-auto-upload-downloads{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:2px 0 3px}.excel-auto-upload .excel-auto-upload-download{display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:60px;padding:10px 9px;border:0;border-radius:10px;color:#fff;font:inherit;font-size:13px;font-weight:650;line-height:1.45;cursor:pointer;text-align:left}.excel-auto-upload .excel-auto-upload-download:disabled{opacity:.65;cursor:wait}.excel-auto-upload-download.windows{background:linear-gradient(130deg,#039aea,#0064d9)}.excel-auto-upload-download.mac{background:linear-gradient(130deg,#354b5c,#467d80)}.excel-auto-upload-os-icon{flex:none;width:31px;height:35px;fill:currentColor}.excel-auto-upload-download>span{min-width:0}.excel-auto-upload-download>span>span{display:flex;align-items:center;gap:5px;white-space:nowrap}.excel-auto-upload-download b{display:block;white-space:nowrap;font-weight:650}.excel-auto-upload-download .download-icon{width:15px;height:15px;flex:none}
.excel-auto-upload[hidden]{display:none}
/* Freeze panes from the Excel file (excel-map.js sets top/left). Layers, low to high: cells,
   frozen columns, frozen rows, frozen corner, row numbers, column letters. A cell holding a shape
   is lifted 5 inside its own layer so the shape covers the cells beside it. */
.excel-sheet tr.excel-frozen-row>td,.excel-sheet tr.excel-frozen-row>th{position:sticky;z-index:20}
.excel-sheet tr.excel-frozen-row>td{background-color:#fff}
.excel-sheet table.excel-cols-frozen td.excel-frozen-col{position:sticky;z-index:10;background-color:#fff}
.excel-sheet table.excel-cols-frozen tr.excel-frozen-row>td.excel-frozen-col{z-index:30}
.excel-sheet tbody th{z-index:40}
.excel-sheet tr.excel-frozen-row>th{z-index:45}
.excel-sheet thead th{z-index:50}
.excel-sheet table.excel-cols-frozen thead th.excel-frozen-col{z-index:55}
.excel-sheet .excel-corner.excel-corner{z-index:60}
/* Pictures and shapes float above every cell, as in Excel: a picture's cell does not form its own layer
   (a later picture cell's background covered the bottom of the INV logo); frozen cells keep theirs. */
.excel-sheet td.excel-shape-host{z-index:auto}
.excel-sheet table.excel-cols-frozen td.excel-frozen-col.excel-shape-host{z-index:15}
.excel-sheet tr.excel-frozen-row>td.excel-shape-host{z-index:25}
.excel-sheet table.excel-cols-frozen tr.excel-frozen-row>td.excel-frozen-col.excel-shape-host{z-index:35}
/* Excel shapes and pictures (excel-map.js places them inside their top-left cell). */
#excel-grid .excel-shape{position:absolute;z-index:5;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;padding:2px 6px;white-space:pre-wrap;line-height:1.2;pointer-events:none;font-family:"Times New Roman",system-ui,serif}
#excel-grid .excel-shape img{width:100%;height:100%;object-fit:fill;display:block}
/* The sheet handles two-finger zoom itself (smaller and bigger), so the page does not zoom. */
#excel-grid{touch-action:pan-x pan-y}
.excel-sheet tbody th{font-size:calc(12px*min(1,var(--excel-zoom,1)))}
/* Search bar + Excel folder button (owner's design): a white pill and a square button side by side. */
.mobile-search .search-pill{flex:1;min-width:0;display:flex;align-items:center;gap:10px;height:52px;padding:0 14px 0 16px;border-radius:26px;background:#fff;border:1px solid #edf0ee;box-shadow:0 6px 18px rgba(18,38,28,.10);color:#4a4f4c}
.mobile-search .search-pill:focus-within{border-color:#43823d;box-shadow:0 0 0 3px #43823d22,0 6px 18px rgba(18,38,28,.10)}
.mobile-search .search-pill-icon{width:24px;height:24px;flex:none}
.mobile-search .search-pill input{font-size:16px;color:#1d2420}
.mobile-search .search-pill input::placeholder{color:#8a918d}
.excel-folder-button{flex:none;display:grid;place-items:center;width:52px;height:52px;padding:0;border:1px solid #edf0ee;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(18,38,28,.10);color:#1f2a44;cursor:pointer}
.excel-folder-button[hidden]{display:none}
.excel-folder-button svg{width:26px;height:26px}
.excel-folder-button:active{transform:scale(.96)}
/* Gallery "download all photos" button: the ring unrolls into the progress bar, the arrow floats down
   on a parachute while photos download, then a check and "Complete" (owner's reference video). */
.gallery-info{display:flex;align-items:center;gap:14px}
.gallery-dl{position:relative;flex:0 0 150px;width:150px;height:60px;padding:0;border:0;background:none;color:#14b8a6;cursor:pointer;-webkit-tap-highlight-color:transparent;--p:0}
.gallery-dl-track{position:absolute;left:53px;top:8px;width:44px;height:44px;box-sizing:border-box;border:2.5px solid currentColor;border-radius:999px;overflow:hidden;box-shadow:0 0 14px rgba(20,184,166,.35);transition:left .45s cubic-bezier(.65,0,.25,1),top .45s cubic-bezier(.65,0,.25,1),width .45s cubic-bezier(.65,0,.25,1),height .45s cubic-bezier(.65,0,.25,1),border-width .25s .2s,background-color .25s .2s}
.gallery-dl-fill{display:block;width:calc(var(--p) * 1%);height:100%;background:currentColor;opacity:0;transition:width .25s ease,opacity .2s .3s}
.gallery-dl-drop{position:absolute;left:63px;top:3.5px;width:24px;height:34px;fill:currentColor;transition:top .45s cubic-bezier(.65,0,.25,1)}
.gallery-dl-chute{opacity:0;transform-origin:12px 21px;transition:opacity .3s}
.gallery-dl-check{position:absolute;left:63px;top:8px;width:24px;height:24px;opacity:0;transform:scale(.4);transition:opacity .25s,transform .35s cubic-bezier(.3,1.6,.5,1)}
.gallery-dl-label{position:absolute;left:0;right:0;top:44px;color:#5c6b63;font-size:10px;font-weight:700;letter-spacing:.06em;text-align:center;white-space:nowrap}
.gallery-dl:not([data-state="idle"]) .gallery-dl-track{left:0;top:38px;width:150px;height:4px;border-width:0;background-color:rgba(20,184,166,.18)}
.gallery-dl:not([data-state="idle"]) .gallery-dl-fill{opacity:1}
.gallery-dl[data-state="downloading"] .gallery-dl-drop{top:calc(-40px + var(--fall,0) * 48px);transition:none}
.gallery-dl[data-state="downloading"] .gallery-dl-chute{opacity:1;animation:gallery-dl-sway 1.6s ease-in-out infinite}
.gallery-dl[data-state="done"] .gallery-dl-drop,.gallery-dl[data-state="save"] .gallery-dl-drop{opacity:0}
.gallery-dl[data-state="done"] .gallery-dl-check,.gallery-dl[data-state="save"] .gallery-dl-check{opacity:1;transform:none}
.gallery-dl[data-state="idle"]:hover .gallery-dl-track{box-shadow:0 0 20px rgba(20,184,166,.55)}
@keyframes gallery-dl-sway{0%,100%{transform:rotate(-7deg)}50%{transform:rotate(7deg)}}
@media(max-width:520px){.gallery-info{width:100%;justify-content:space-between}}
@media(prefers-reduced-motion:reduce){.gallery-dl *{transition:none!important;animation:none!important}}
:root[data-theme="dark"] .gallery-dl-label{color:#a9b8ae}
/* Excel viewer: ≡ at the left of the sheet tabs (stays put while the tabs scroll) opens a "Sheets"
   list from the bottom, like the Google Sheets app (owner's screenshot). */
.excel-sheet-menu{position:sticky;left:-4px;z-index:2;flex:0 0 auto;display:grid;place-items:center;width:52px;margin-left:-4px;padding:0;border:0;border-right:1px solid #d4d4d4;background:#f3f3f3;color:#1e8e3e;cursor:pointer}
.excel-sheet-menu svg{width:24px;height:24px}
.excel-sheet-list{position:fixed;inset:0;z-index:120;display:flex;align-items:flex-end;background:rgba(0,0,0,.32)}
.excel-sheet-list[hidden]{display:none}
.excel-sheet-list-card{width:100%;max-height:62vh;max-height:62dvh;display:flex;flex-direction:column;background:#2f3034;color:#fff;padding-bottom:env(safe-area-inset-bottom);animation:excel-sheet-list-up .22s ease-out}
.excel-sheet-list-card h4{flex:0 0 auto;margin:0;padding:18px 16px;border-bottom:1px solid #45464b;font-size:17px;font-weight:500;text-align:center}
.excel-sheet-list-rows{flex:1 1 auto;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
.excel-sheet-list-row{display:block;width:calc(100% - 34px);margin-left:34px;padding:20px 0;border:0;border-bottom:1px solid #45464b;background:none;color:#fff;font-size:17px;text-align:left;cursor:pointer}
.excel-sheet-list-row.active{color:#81c995;font-weight:700}
@keyframes excel-sheet-list-up{from{transform:translateY(100%)}to{transform:none}}
@media(min-width:700px){.excel-sheet-list{align-items:center;justify-content:center}.excel-sheet-list-card{width:min(420px,92vw);border-radius:14px;overflow:hidden}}
@media(prefers-reduced-motion:reduce){.excel-sheet-list-card{animation:none}}
/* Excel selection corner handles (touch screens, excel-select.js) and a flash when the selection is copied. */
#excel-grid .xs-handle{position:absolute;z-index:36;width:14px;height:14px;margin:-7px 0 0 -7px;border:2px solid #fff;border-radius:50%;background:#1a73e8;box-shadow:0 1px 3px rgba(0,0,0,.3);touch-action:none}
#excel-grid .xs-handle::before{content:"";position:absolute;inset:-14px}
#excel-grid.xs-copied td.xs-sel{background-image:linear-gradient(#1a73e866,#1a73e866)}
#excel-grid .xs-range{position:absolute;z-index:35;box-sizing:border-box;border:2px solid #1a73e8;pointer-events:none}
.xs-copied-note{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom));z-index:2147483000;padding:10px 18px;border-radius:999px;background:#202124;color:#fff;font-size:14px;font-weight:600;box-shadow:0 6px 18px rgba(0,0,0,.25);opacity:0;transform:translate(-50%,10px);transition:opacity .2s,transform .2s;pointer-events:none}
.xs-copied-note.show{opacity:1;transform:translate(-50%,0)}
/* iPhone decides at touch-down whether a finger pans: on the selection and its dots it never does, so a
   drag there (any direction) grows the selection instead of moving the screen; and the sheet's own
   scrolling never drags the whole page sideways. */
#excel-grid td.xs-sel,#excel-grid .xs-handle{touch-action:none}
#excel-grid{overscroll-behavior:contain}
/* Photo search (photo-scan.js): scan button at the right end of the search bar, and a result strip under
   it (photo, best match, ˄ ˅ to the next closest, ✕). */
.search-pill .photo-scan-button{flex:none;display:grid;place-items:center;width:36px;height:36px;margin-right:-6px;padding:0;border:0;border-radius:50%;background:transparent;color:#1e8e3e;cursor:pointer}
.search-pill .photo-scan-button svg{width:24px;height:24px}
.search-pill .photo-scan-button:disabled{opacity:.45}
.photo-scan-panel{display:flex;align-items:center;gap:12px;margin:-4px 16px 10px;padding:10px 12px;border:1px solid #e3ebe5;border-radius:16px;background:#fff;box-shadow:0 6px 18px rgba(18,38,28,.08)}
.photo-scan-panel[hidden]{display:none}
.photo-scan-thumb{flex:none;width:46px;height:46px;border-radius:10px;object-fit:cover;background:#f2f5f2}
.photo-scan-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.photo-scan-copy strong{font-size:14px;color:#1d2420;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.photo-scan-copy small{font-size:12px;color:#66706a}
.photo-scan-panel{flex-wrap:wrap}.photo-scan-copy strong{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.photo-scan-step[hidden]{display:none}.photo-scan-why{flex:0 0 100%;margin-top:-2px;padding:7px 2px 0;border-top:1px solid #edf2ee;font-size:12px;line-height:1.4;color:#2f6b45}.photo-scan-why:empty{display:none}
.photo-scan-clear{flex:none;width:34px;height:34px;border:0;border-radius:50%;background:#f1f4f2;color:#3b4540;font-size:15px;cursor:pointer}
:root[data-theme="dark"] .photo-scan-panel{background:#17251c;border-color:#2b3b30}:root[data-theme="dark"] .photo-scan-copy strong{color:var(--ink)}
/* The matched product card is highlighted like an Excel search match. */
#products article.photo-match{outline:3px solid #1a73e8;outline-offset:3px;box-shadow:0 0 0 8px rgba(26,115,232,.16);animation:photo-match-in .6s ease-out}
@keyframes photo-match-in{from{box-shadow:0 0 0 22px rgba(26,115,232,0)}to{box-shadow:0 0 0 8px rgba(26,115,232,.16)}}
.photo-scan-step{flex:none;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#3b4540;font-size:20px;line-height:1;cursor:pointer}
/* Live camera scanner (full screen, like the iPhone code scanner: corner frame, flashlight, photos). */
.photo-scanner{position:fixed;inset:0;z-index:2147482000;background:#000;overflow:hidden}
.photo-scanner[hidden]{display:none}
html.photo-scanner-open,html.photo-scanner-open body{overflow:hidden}
.photo-scanner video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
/* 1.1.271 owner: no need to fit the part into a small box — the scan uses most of the screen and looks closer at the middle. */
.photo-scanner-frame{position:absolute;left:50%;top:50%;width:min(88vw,560px);height:min(64vh,640px);transform:translate(-50%,-50%);pointer-events:none}
.photo-scanner-frame::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:14px;margin:-7px 0 0 -7px;border:3px solid #fff;border-radius:50%;filter:drop-shadow(0 1px 3px rgba(0,0,0,.4))}
.photo-scanner-frame i{position:absolute;width:44px;height:44px;border:4px solid #fff;filter:drop-shadow(0 1px 3px rgba(0,0,0,.35))}
.photo-scanner-frame i:nth-child(1){left:0;top:0;border-right:0;border-bottom:0;border-top-left-radius:22px}
.photo-scanner-frame i:nth-child(2){right:0;top:0;border-left:0;border-bottom:0;border-top-right-radius:22px}
.photo-scanner-frame i:nth-child(3){left:0;bottom:0;border-right:0;border-top:0;border-bottom-left-radius:22px}
.photo-scanner-frame i:nth-child(4){right:0;bottom:0;border-left:0;border-top:0;border-bottom-right-radius:22px}
.photo-scanner-close{position:absolute;left:16px;top:calc(14px + env(safe-area-inset-top));width:44px;height:44px;border:0;border-radius:50%;background:rgba(0,0,0,.45);color:#fff;font-size:18px;cursor:pointer}
.photo-scanner-hint{position:absolute;left:50%;top:calc(74px + env(safe-area-inset-top));transform:translateX(-50%);max-width:calc(100% - 32px);margin:0;padding:8px 14px;border-radius:16px;background:rgba(0,0,0,.45);color:#fff;font-size:14px;font-weight:600;text-align:center}
.photo-scanner-bar{position:absolute;left:0;right:0;bottom:calc(36px + env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr auto 1fr;align-items:center;padding:0 28px}
.photo-scanner-bar>*{grid-row:1}
.photo-scanner-gallery,.photo-scanner-torch{display:grid;place-items:center;width:58px;height:58px;padding:0;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.18);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer}
.photo-scanner-gallery{grid-column:1;justify-self:start}.photo-scanner-torch{grid-column:2}
.photo-scanner-torch[hidden]{display:none}.photo-scanner-torch.on{background:#fff;color:#111}
.photo-scanner-gallery svg,.photo-scanner-torch svg{width:26px;height:26px}
/* Network speed under the shop logo (net-speed.js): wifi icon green / yellow / red and the speed. */
.settings-profile-avatar>.net-speed{position:absolute;left:50%;top:calc(100% - 12px);z-index:2;display:flex;flex-direction:column;align-items:center;gap:0;transform:translateX(-50%);color:#fff;font-weight:800;pointer-events:none}
.net-speed svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;filter:drop-shadow(0 1px 2px rgba(0,0,0,.45))}
.net-speed svg circle{fill:currentColor;stroke:none}
.net-speed small{margin-top:-1px;color:#fff;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;text-shadow:0 1px 3px rgba(0,0,0,.6)}
.net-speed[data-level="good"]{color:#34c759}.net-speed[data-level="normal"]{color:#ffcc00}.net-speed[data-level="low"]{color:#ff3b30}
.net-speed[data-level="offline"],.net-speed[data-level="checking"]{color:#c7ccc9}
/* PC header: the logo is small, so the speed sits as a small white pill just under it. */
@media(min-width:851px){.settings-profile-avatar>.net-speed{left:50%;top:calc(100% - 8px);flex-direction:row;gap:2px;padding:2px 6px 2px 3px;border-radius:999px;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transform:translateX(-50%)}.net-speed svg{width:14px;height:14px;stroke-width:3;filter:none}.net-speed small{margin:0;color:#33413a;font-size:10px;text-shadow:none}}
/* Phones: logo and shop name sit a little higher, and the speed sits under the logo with a small gap
   (owner's mock-up: not touching the logo). */
@media(max-width:850px){
 .home-profile-banner .settings-profile-avatar,.home-profile-banner .settings-profile-copy{transform:translateY(-12px)}
 .settings-profile-avatar>.net-speed{top:calc(100% + 5px)}
 .settings-profile-avatar>.net-speed svg{width:21px;height:21px}
}
/* Seller shops without their own hero / catalogue heading hide GearHub's defaults (store.js hideShopDefaults). */
.hero[hidden],[data-i18n="featured"][hidden],[data-i18n="featuredText"][hidden]{display:none!important}
.seller-shop .benefits{display:none!important}
/* Free AI #6: "Similar parts" under a product's photos (similar-parts.js). */
.gallery-similar{flex:0 0 auto;margin-top:8px;width:100%;max-width:100%;min-width:0;box-sizing:border-box}
.gallery-similar[hidden]{display:none}
.gallery-similar>p{margin:0 0 6px;font-size:13px;font-weight:800;opacity:.85}
.gallery-similar>div{display:flex;gap:8px;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;padding-bottom:4px;touch-action:pan-x;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.gallery-similar button{flex:0 0 88px;display:grid;gap:4px;padding:6px;border:1px solid rgba(127,127,127,.25);border-radius:12px;background:rgba(255,255,255,.9);color:#1d2420;cursor:pointer;text-align:left}
.gallery-similar img{width:100%;height:60px;object-fit:contain;border-radius:8px;background:#fff}
.gallery-similar span{font-size:11px;line-height:1.25;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
/* Free AI #7: "Part No." button in the scanner reads the label (photo-scan.js). */
.photo-scanner-label{grid-column:3;grid-row:1;justify-self:end;display:grid;place-items:center;gap:2px;width:64px;height:64px;padding:0;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:rgba(255,255,255,.18);color:#fff;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);cursor:pointer}
.photo-scanner-label svg{width:24px;height:24px}.photo-scanner-label small{font-size:10px;font-weight:700;line-height:1}
.photo-scanner-label:disabled{opacity:.6}
.photo-scanner-bar>span:empty{display:none}
/* 1.1.202 owner: a seller shop's Home shows its settings navigation picture (GearHub's) with the shop name only. */
.hero.seller-nav-hero{align-items:flex-end;min-height:240px;padding:28px 32px;background:linear-gradient(90deg,#08263fd9 0%,#08263f80 45%,#08263f10 80%),var(--seller-nav-picture) center/cover no-repeat!important}
.hero.seller-nav-hero>:not(.seller-nav-title),.hero.seller-nav-hero::before,.hero.seller-nav-hero::after{display:none!important}
.seller-nav-title{color:#fff;font-size:40px;line-height:1.15;font-weight:800;letter-spacing:-.02em;text-shadow:0 2px 12px #0006;overflow-wrap:anywhere}
@media(max-width:700px){.hero.seller-nav-hero{width:auto;min-height:170px;margin-left:16px;margin-right:16px;padding:20px 20px}.seller-nav-title{font-size:30px}}
/* 1.1.206: the banner is Home-only; on Settings/Category/Promotion the page's own hiding wins. */
.hero.seller-nav-hero:not(.store-view-hidden){display:flex!important}
/* 1.1.207 owner: a seller shop without a logo shows no gear in the footer. */
.footer-logo[hidden]{display:none!important}
/* 1.1.214 owner: while searching, only the search bar and the matching products show. */
body.searching [data-home-content]:not(.mobile-search):not(#catalog),body.searching nav[aria-label="Policies"],body.searching #catalog .section-head,body.searching #catalog .filters{display:none!important}
/* 1.1.215 owner: matching Excel rows (sheet BC) under the search results. */
.excel-results{margin:18px 0 8px}.excel-results[hidden]{display:none}
.excel-results-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 2px 10px}
.excel-results-head h3{margin:0;font-size:18px}.excel-results-head span{color:var(--muted,#66756c);font-size:14px}
.excel-results-grid{max-height:70vh;overflow:auto;border:1px solid #c7c7c7;border-radius:8px;background:#fff;-webkit-overflow-scrolling:touch}
.excel-results-grid table{border-collapse:separate;border-spacing:0;table-layout:fixed;width:max-content;font:16px/1.3 Calibri,"Segoe UI",system-ui,sans-serif;color:#000}
.excel-results-grid th,.excel-results-grid td{padding:3px 6px;border-right:1px solid #d4d4d4;border-bottom:1px solid #d4d4d4;overflow:hidden;white-space:nowrap;text-overflow:clip;vertical-align:middle;box-sizing:border-box}
.excel-results-grid th{background:#f3f3f3;color:#555;font-weight:400;font-size:12px;text-align:center}
.excel-results-grid tr>th:first-child{position:sticky;left:0;z-index:1}
.excel-results-letters th{position:sticky;top:0;z-index:2;height:28px}.excel-results-letters th:first-child{z-index:3}
.excel-results-header td,.excel-results-header th{position:sticky;top:28px;z-index:2}.excel-results-header th{z-index:3}
.excel-results-header td{background-color:#fff}
.excel-results-grid thead tr>th:first-child{z-index:4}
.excel-results-grid tbody tr{cursor:pointer}.excel-results-grid tbody tr:active td{filter:brightness(.94)}
.excel-results-open{display:block;width:100%;margin-top:10px;padding:12px;border:0;border-radius:14px;background:#1e7a3c;color:#fff;font:inherit;font-weight:700;cursor:pointer}
/* 1.1.217 owner: "ရှာတာပဲ" (matching rows) / "Excel လို" (whole sheet, jumps to the match). */
.excel-results-modes{display:inline-flex;padding:3px;border-radius:12px;background:#e8eee9}
.excel-results-modes button{padding:7px 12px;border:0;border-radius:9px;background:none;color:#3c4b42;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.excel-results-modes button[aria-pressed="true"]{background:#fff;color:#14261c;box-shadow:0 1px 3px #0002}
.excel-results-bar{display:flex;align-items:center;justify-content:flex-end;gap:8px;margin:0 2px 8px;color:var(--muted,#66756c);font-size:14px}
.excel-results-bar button{width:40px;height:34px;border:1px solid #d5ddd7;border-radius:10px;background:#fff;color:#14261c;font-size:18px;cursor:pointer}
.excel-results-sheet .excel-hit>th{background:#d3e3fd;color:#1a73e8}
.excel-results-sheet .excel-current .excel-match{box-shadow:inset 0 0 0 2px #1a73e8}
.excel-results-sheet tbody tr{cursor:default}
/* 1.1.218 owner: in the "Excel လို" view only the search bar and the sheet show. */
body.excel-sheet-mode #products{display:none!important}
body.excel-sheet-mode .excel-results{margin-top:8px}
/* 1.1.219 owner: the sheet runs edge to edge (no side gaps, no outer frame), like Excel. The view
   choice sits in the Excel files panel. */
.excel-results{position:relative;width:100vw;margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.excel-results .excel-results-grid{border:0;border-top:1px solid #c7c7c7;border-bottom:1px solid #c7c7c7;border-radius:0}
.excel-results-bar{position:absolute;top:0;right:0;z-index:6;margin:0;padding:2px 6px;gap:6px;background:#f3f3f3;border-left:1px solid #d4d4d4;height:28px;box-sizing:border-box}
.excel-results-bar button{width:32px;height:24px;border-radius:6px;font-size:15px;line-height:1}
.excel-results-bar .excel-results-count{font-size:12px}
.excel-results-none{margin:0 16px;color:var(--muted,#66756c)}
.excel-results-open{width:calc(100% - 30px);margin:10px 15px 0}
.excel-search-setting{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 14px;font-size:14px;font-weight:600}
.excel-sheet-open .excel-search-setting{display:none}
/* 1.1.220: the match count and ˄ ˅ sit over the left corner (the right edge has the phone's back handle). */
.excel-results-bar{left:0;right:auto;border-left:0;border-right:1px solid #d4d4d4}
/* 1.1.221 owner's search bar: white pill with a green line and soft green glow, green scan icon, and a
   white tile with a green folder. While something is typed the bar runs full width (scan and folder
   hide) and ends with the number found, ˄ ˅ (Excel view) and a bin. */
.mobile-search .search-pill{height:56px;padding:0 10px 0 22px;border:2px solid #1f7a35;border-radius:28px;box-shadow:0 0 0 5px #1f7a3522,0 6px 18px rgba(18,38,28,.08)}
.mobile-search .search-pill:focus-within{border-color:#1f7a35;box-shadow:0 0 0 5px #1f7a3533,0 6px 18px rgba(18,38,28,.10)}
.mobile-search .search-pill-icon{display:none}
.excel-folder-button{width:56px;height:56px;border-radius:18px;border-color:#eef2ef;box-shadow:0 6px 18px rgba(18,38,28,.10)}
.excel-folder-button svg{width:30px;height:30px}
.search-tools{display:none;flex:none;align-items:center;gap:2px}
body.searching .search-tools{display:contents}
body.searching .search-pill .photo-scan-button,body.searching .excel-folder-button{display:none}
.search-count{padding:0 4px;color:#5f6b64;font-size:14px;font-variant-numeric:tabular-nums;white-space:nowrap}
.search-count:empty{display:none}
.search-tools button{flex:none;display:grid;place-items:center;width:38px;height:38px;padding:0;border:0;border-radius:50%;background:none;color:#3c4740;cursor:pointer}
.search-tools button[hidden]{display:none}
.search-tools button:active{background:#eef3ef}
.search-tools svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.search-tools .search-clear{color:#1f7a35}
/* 1.1.222 owner: on phones, while searching the shop banner and the bottom navigation hide and the
   search bar sits at the very top (under the status bar). */
@media(max-width:850px){
 body.searching>.home-navigation,body.searching>.announcement,body.searching .mobile-bottom-nav{display:none!important}
 html:has(body.searching.excel-sheet-mode),body.searching.excel-sheet-mode{overflow:hidden}
 body.searching .mobile-search{position:sticky;top:0;z-index:8;margin-top:0;padding-top:calc(10px + env(safe-area-inset-top));padding-bottom:10px;background:var(--paper,#f5f7f1)}
}
/* 1.1.222 owner: the camera (photo scan) stays in the bar while searching, before the bin. */
.search-pill .search-count{order:1}.search-pill .search-step{order:2}.search-pill .photo-scan-button{order:3}.search-pill .search-clear{order:4}
@media(max-width:360px){.search-tools button{width:32px}.search-pill .photo-scan-button{width:32px}}
/* 1.1.223 owner's video: the bin eats the typed letters (scan hides again while searching). */
.search-tools .search-clear{position:relative;overflow:visible}
.search-clear .bin-lid{transform-box:view-box;transform-origin:4px 7px}
.search-clear .bin-fill{fill:currentColor;stroke:none;opacity:.85;transform-box:fill-box;transform-origin:50% 100%;transform:scaleY(0)}
.bin-letters{position:fixed;z-index:2147483000;display:flex;align-items:center;white-space:pre;pointer-events:none}
.bin-letters span{display:inline-block;white-space:pre}
#search.bin-hiding{color:transparent;caret-color:transparent}
.bin-ring{position:absolute;inset:-6px;pointer-events:none}
.bin-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.bin-ring circle{fill:none;stroke:#1f7a35;stroke-width:2.4;stroke-linecap:round;stroke-dasharray:126;stroke-dashoffset:126}
/* 1.1.224 owner: the "Excel လို" search view is the real Excel viewer under the search bar (original
   sizes, drag-select, copy, row select); its own title, search box and back arrow stay hidden there. */
.excel-results-host{position:relative;background:#fff}.excel-results-host[hidden]{display:none}
.excel-preview.excel-inline{display:flex;flex-direction:column;height:100%;margin:0;padding:0;border:0}
.excel-inline>.drawer-head,.excel-inline #excel-sheet-status,.excel-inline .excel-map-panel,.excel-inline .excel-sheet-search,.excel-inline .excel-fs-back{display:none!important}
.excel-inline .excel-sheet{flex:1;min-height:0;max-height:none;margin:0;border:0;border-top:1px solid #d4d4d4;border-radius:0}
.excel-inline .excel-tabs{flex:0 0 auto;border:0;border-top:1px solid #d4d4d4;border-radius:0}
.excel-filtered .excel-tabs,.excel-filtered .excel-sheet-list{display:none!important}
/* 1.1.226: Copy / Go for a link cell in the Excel viewer. */
.xs-link-menu{position:fixed;z-index:2147483200;display:flex;gap:2px;padding:4px;border-radius:12px;background:#202124;box-shadow:0 6px 20px #0004}
.xs-link-menu button{min-width:72px;padding:10px 14px;border:0;border-radius:9px;background:none;color:#fff;font:600 15px system-ui,-apple-system,sans-serif;cursor:pointer}
.xs-link-menu button:active{background:#ffffff26}
/* 1.1.234 owner: Share My Store QR looks like the owner's picture — green card, shop name in white, the QR on a
   white card with a light green edge, the shop's logo filling the middle tile, the link in a pill. */
.share-poster{position:relative;overflow:hidden;margin:2px 0 4px;padding:18px 16px 16px;border-radius:18px;background:radial-gradient(120% 70% at 0% 0%,#ffffff1f 0 38%,transparent 39%),radial-gradient(90% 60% at 100% 100%,#ffffff17 0 45%,transparent 46%),linear-gradient(160deg,#1f9b5e,#0c6a3c);color:#fff}
.share-poster .share-name{margin:0 0 14px;color:#fff;font-size:24px;font-weight:800;line-height:1.15;overflow-wrap:anywhere}
.share-poster .share-qr{position:relative;width:min(232px,62vw);padding:14px;border:3px solid #6fd39a;border-radius:22px;background:#fff;box-shadow:0 8px 22px #0003}
#share-qr .share-qr-logo{position:absolute;left:50%;top:50%;width:23%;aspect-ratio:1;object-fit:cover;transform:translate(-50%,-50%);border-radius:20%;background:#fff;border:4px solid #fff;box-sizing:content-box}
.share-poster-link{display:flex;align-items:center;justify-content:center;gap:8px;margin:14px auto 0;max-width:100%;padding:9px 14px;border:1px solid #ffffff59;border-radius:999px;background:#ffffff1f;color:#fff;font-size:14px;font-weight:600;min-width:0}
.share-poster-link svg{flex:none;width:18px;height:18px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.share-poster-link span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* 1.1.611 owner: tapping the link pill opens the link (it is a real link now, so a promotion link lands on that promotion at once) */
a.share-poster-link{text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
a.share-poster-link:active{background:#ffffff40}
/* 1.1.235 owner: product photos on phones in the owner's design — bold name, round close, SKU / Part No chips,
   grey photo panel with round arrows, count and download on the photo, four thumbnails, Similar parts cards
   (tap opens) and See all. PC keeps its layout (chips and See all are phone-only). */
.gallery-ids,.gallery-similar .gallery-similar-all,.gallery-dl-icon{display:none}
@media(max-width:520px){
 .gallery-modal .gallery-card{padding:16px 16px 14px;border-radius:26px;background:#fbfcfd}
 .gallery-modal .drawer-head{align-items:center;margin-bottom:8px}
 .gallery-modal .drawer-head h2{margin:0;color:#0f172a;font-size:24px;font-weight:800;letter-spacing:-.3px;line-height:1.15}
 .gallery-modal #gallery-close{flex:0 0 44px;width:44px;height:44px;border:1.5px solid #d9dee6;border-radius:50%;background:#f3f5f8;color:#1f2937;font-size:18px;box-shadow:none;outline:none}
 /* 1.1.238 owner: the ✕ sat off-centre (the text glyph has its own spacing) — drawn as two centred bars. */
 .gallery-modal #gallery-close{position:relative;padding:0;font-size:0;line-height:0}
 .gallery-modal #gallery-close::before,.gallery-modal #gallery-close::after{content:"";position:absolute;left:50%;top:50%;width:16px;height:2px;margin:-1px 0 0 -8px;border-radius:2px;background:#1f2937;transform:rotate(45deg)}
 .gallery-modal #gallery-close::after{transform:rotate(-45deg)}
 .gallery-ids:not([hidden]){display:flex;flex-wrap:wrap;gap:8px;margin:0 0 12px}
 .gallery-ids span{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;font-size:12.5px;font-weight:700;line-height:1.1}
 .gallery-ids svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
 .gallery-id-sku{background:#d8f5ec;color:#0f9f86}
 .gallery-id-part{background:#eef1f4;color:#4b5563}
 .gallery-modal .gallery-stage{position:relative;border-radius:20px;background:#eef1f5}
 .gallery-modal .gallery-stage>img{padding:14px;box-sizing:border-box;mix-blend-mode:multiply}
 .gallery-stage #gallery-count{position:absolute;left:10px;bottom:10px;z-index:2;padding:5px 11px;border-radius:999px;background:#64748bcc;color:#fff;font-size:12.5px;font-weight:700}
 .gallery-stage .gallery-dl{position:absolute;right:10px;bottom:10px;z-index:2;width:58px;height:58px;flex:none}
 .gallery-stage .gallery-dl[data-state="idle"] .gallery-dl-track{left:0;top:0;width:58px;height:58px;border:0;background:#14b39a;box-shadow:0 6px 16px #14b39a59}
 .gallery-stage .gallery-dl[data-state="idle"] .gallery-dl-drop{opacity:0}
 /* 1.1.236 owner: tray download icon like the owner's picture, a little bigger. */
 .gallery-stage .gallery-dl[data-state="idle"] .gallery-dl-icon{display:block;position:absolute;left:14px;top:14px;width:30px;height:30px;fill:none;stroke:#fff;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
 .gallery-stage .gallery-dl:not([data-state="idle"]){width:150px}
 .gallery-stage .gallery-dl:not([data-state="idle"]) .gallery-dl-track{top:44px}
 /* 1.1.237 owner: the parachute was too small for the bigger button — about 1.7x, landing on the bar. */
 .gallery-stage .gallery-dl:not([data-state="idle"]){width:170px}
 .gallery-stage .gallery-dl:not([data-state="idle"]) .gallery-dl-track{width:170px;top:50px;height:5px}
 .gallery-stage .gallery-dl-drop{left:46px;width:40px;height:57px}
 .gallery-stage .gallery-dl[data-state="downloading"] .gallery-dl-drop{top:calc(-72px + var(--fall,0) * 65px)}
 .gallery-stage .gallery-dl-check{left:48px;top:6px;width:38px;height:38px}
 .gallery-stage .gallery-dl-label{top:24px;left:auto;right:0;color:#0f766e;font-size:13px;text-align:right}
 .gallery-modal .gallery-meta{min-height:0;margin-top:10px}
 .gallery-modal .gallery-thumbs{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 30px) / 4);gap:10px;flex:0 0 auto;padding:2px}
 .gallery-modal .gallery-thumb{width:auto;height:60px;padding:5px;border:2px solid transparent;border-radius:14px;background:#f1f4f7}
 .gallery-modal .gallery-thumb.active{border-color:#14b39a;background:#fff}
 .gallery-similar{margin-top:12px}
 .gallery-similar>p{display:flex;align-items:center;justify-content:space-between;margin:0 0 8px;color:#0f172a;font-size:17px;font-weight:800;opacity:1}
 .gallery-similar .gallery-similar-all{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;color:#0f9f86;font-size:14px;font-weight:700}
 .gallery-similar-all b{font-size:18px;line-height:1}
 .gallery-similar>div{gap:8px}
 .gallery-similar button[data-similar-id]{flex:0 0 calc((100% - 24px) / 4);gap:6px;padding:7px;border:1px solid #e2e7ec;border-radius:14px;background:#fff;color:#0f172a;align-content:start}
 .gallery-similar img{height:52px}
 .gallery-similar span{font-size:12px;font-weight:700;min-height:2.5em}
 .gallery-similar.all>div{flex-wrap:wrap;max-height:42dvh;overflow-x:hidden;overflow-y:auto;touch-action:pan-y}
 :root[data-theme="dark"] .gallery-modal .gallery-card{background:#17251c}
 :root[data-theme="dark"] .gallery-modal .drawer-head h2,:root[data-theme="dark"] .gallery-similar>p{color:#eef5ef}
 :root[data-theme="dark"] .gallery-modal .gallery-stage{background:#e9edf1}
}
/* 1.1.242 owner: Notifications on/off switch and Contact us in the shop Settings.
   1.1.245: own class name — the older .settings-switch rules drew a second white knob on it (iPhone). */
.settings-alerts-row[hidden]{display:none}
.settings-toggle{position:relative;flex:0 0 auto;display:inline-block;width:52px;height:32px;cursor:pointer}
.settings-toggle input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}
.settings-toggle span{position:absolute;inset:0;border-radius:999px;background:#d5ddd7;transition:background .2s}
.settings-toggle span::after{content:"";position:absolute;left:3px;top:3px;width:26px;height:26px;border-radius:50%;background:#fff;box-shadow:0 2px 5px #0003;transition:transform .2s}
.settings-toggle input:checked+span{background:#14866b}
.settings-toggle input:checked+span::after{transform:translateX(20px)}
.settings-toggle input:disabled+span{opacity:.5}
.settings-toggle input:focus-visible+span{outline:2px solid #14866b;outline-offset:2px}
a.settings-contact{color:inherit;text-decoration:none}
/* 1.1.250 owner: Notifications history (tap the Notifications row in Settings). */
.settings-alerts-row{cursor:pointer}
.alerts-history{position:fixed;inset:0;z-index:120;display:flex;align-items:flex-end;justify-content:center;background:#0f172a66}
.alerts-history[hidden]{display:none}
body.alerts-history-open{overflow:hidden}
.alerts-history-card{display:flex;flex-direction:column;width:min(560px,100%);max-height:86vh;max-height:86dvh;border-radius:24px 24px 0 0;background:#fff;color:#0f172a;box-shadow:0 -10px 40px #0003;padding-bottom:env(safe-area-inset-bottom)}
.alerts-history-head{display:flex;align-items:center;justify-content:space-between;padding:18px 18px 10px;border-bottom:1px solid #eef1f4}
.alerts-history-head h2{margin:0;font-size:22px;font-weight:800}
.alerts-history-close{position:relative;width:40px;height:40px;padding:0;border:1.5px solid #d9dee6;border-radius:50%;background:#f3f5f8;cursor:pointer}
.alerts-history-close::before,.alerts-history-close::after{content:"";position:absolute;left:50%;top:50%;width:15px;height:2px;margin:-1px 0 0 -7.5px;border-radius:2px;background:#1f2937;transform:rotate(45deg)}
.alerts-history-close::after{transform:rotate(-45deg)}
.alerts-history-list{overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;padding:6px 10px 14px}
.alerts-history-item{display:flex;gap:12px;width:100%;padding:12px 10px;border:0;border-bottom:1px solid #f1f3f6;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer}
.alerts-history-item:last-child{border-bottom:0}
.alerts-history-icon{flex:0 0 44px;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#e8f6ef;font-size:21px}
.alerts-history-text{display:grid;gap:3px;min-width:0}
.alerts-history-text strong{font-size:15px;line-height:1.3;overflow-wrap:anywhere}
.alerts-history-text small{color:#4b5563;font-size:13.5px;line-height:1.35;overflow-wrap:anywhere}
.alerts-history-text time{color:#0f9f86;font-size:12.5px;font-weight:700}
.alerts-history-empty{margin:28px 0;text-align:center;color:#6b7280}
@media(min-width:700px){.alerts-history{align-items:center}.alerts-history-card{border-radius:24px;max-height:80vh}}
:root[data-theme="dark"] .alerts-history-card{background:#17251c;color:#eef5ef}
:root[data-theme="dark"] .alerts-history-text small{color:#b8c6bc}
/* 1.1.251 owner: new-alerts count on the Settings → Notifications row; new items tinted in the list. */
.alerts-count{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:6px;padding:0 7px;border-radius:999px;background:#e5383b;color:#fff;font-size:12.5px;font-weight:800;line-height:1;vertical-align:2px}
.alerts-count[hidden]{display:none}
.alerts-history-item.is-new{background:#ecf8f2;border-radius:14px}
:root[data-theme="dark"] .alerts-history-item.is-new{background:#1f3a2b}
/* 1.1.281 owner: shop owners teach the scanner from the result strip. */
.photo-scan-panel{flex-wrap:wrap}
.photo-scan-right{flex:0 0 100%;min-height:42px;border:1px solid #bfe2cb;border-radius:12px;background:#eaf7ef;color:#106b34;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.photo-scan-right[hidden]{display:none}
.photo-scan-right:disabled{opacity:.75;cursor:default}
:root[data-theme="dark"] .photo-scan-right{background:#1d3325;border-color:#2f5a3e;color:#9fe0b4}
/* 1.1.283 owner: Settings → Storage lists Render, Cloudflare R2 and Google Drive for the GearHub owner. */
/* 1.1.286 owner: Settings → Server storage for the GearHub owner — one card per place and the backup buttons, the full width of the row. */
.settings-row:has(>.storage-more:not([hidden])){flex-wrap:wrap}
#profile-view .settings-row>.storage-more{grid-column:1/-1!important;grid-row:2!important;flex:1 0 100%}
.storage-more{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:10px;width:100%;min-width:0;margin-top:4px;padding-top:12px;border-top:1px solid #edf2ee}
.storage-more[hidden]{display:none}
.storage-card{display:flex;gap:11px;min-width:0;padding:12px;border:1px solid #e3ebe1;border-radius:16px;background:#f7faf5}
.storage-card-icon{display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border-radius:11px;background:#fff;box-shadow:0 1px 4px #0b3a1a14;font-size:18px}
.storage-card-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
.storage-card-title{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 8px;margin:0;font-size:13.5px;line-height:1.35}
.storage-card-title b{color:var(--ink,#192820);font-weight:800;white-space:nowrap}
.storage-card-title span{color:#1f7a37;font-weight:800;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.storage-card-note{margin:0;color:var(--muted,#66756b);font-size:12px;line-height:1.4}
.storage-card .storage-meter{width:100%;margin-top:5px}
.storage-drive .storage-meter i{background:#2f6fd6}.storage-r2 .storage-meter i{background:#e8812a}
.storage-shops{display:grid;gap:3px;margin:6px 0 0;padding:0;list-style:none}
.storage-shops li{display:flex;justify-content:space-between;gap:8px;min-width:0;font-size:12px;line-height:1.45;color:var(--muted,#66756b)}
.storage-shops li span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storage-shops li b{flex:none;color:var(--ink,#192820);font-weight:700;font-variant-numeric:tabular-nums}
.storage-backup{grid-column:1/-1;background:linear-gradient(135deg,#f1f9ec,#e7f4e3);border-color:#cfe6c8}
.storage-backup-state{margin:2px 0 0;color:#1f7a37;font-size:12px;font-weight:700}
.storage-backup-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;margin-top:9px}
.storage-backup-actions>*{display:flex;min-height:42px;align-items:center;justify-content:center;gap:6px;padding:0 14px;border-radius:12px;font:inherit;font-size:13px;font-weight:800;text-decoration:none;cursor:pointer}
.storage-backup-run{border:0;background:#26833c;color:#fff;box-shadow:0 4px 12px #26833c40}.storage-backup-run:disabled{opacity:.6;cursor:progress}
.storage-backup-download{border:1px solid #26833c;background:#fff;color:#1f6f33}
.storage-backup-actions>*:focus-visible{outline:3px solid #98d94d;outline-offset:2px}
:root[data-theme="dark"] .storage-more{border-color:#2b3b30}:root[data-theme="dark"] .storage-card{background:#1d2c22;border-color:#2b3b30}:root[data-theme="dark"] .storage-card-icon{background:#253b2b}:root[data-theme="dark"] .storage-card-title span,:root[data-theme="dark"] .storage-backup-state{color:#b7f36b}:root[data-theme="dark"] .storage-backup-download{background:#17251c;color:#b7f36b;border-color:#3f7d4d}
/* 1.1.291 owner "User show": what the shop owner hides from visitors (html[data-visitor-hide]). */
html[data-visitor-hide~="price"] .product .price,html[data-visitor-hide~="price"] .product .promo-badge,html[data-visitor-hide~="price"] .category-product-row .price{display:none!important}
html[data-visitor-hide~="stock"] .category-row-stock{display:none!important}
/* 1.1.293 owner: the phone bottom bar slides away while scrolling down and back when scrolling up (nav-autohide.js). */
@media(max-width:850px){
 .mobile-bottom-nav{transition:transform .34s cubic-bezier(.2,.8,.2,1)}
 .mobile-bottom-nav.liquid{transition:--liquid-x .5s cubic-bezier(.65,0,.35,1),transform .34s cubic-bezier(.2,.8,.2,1)}
 .mobile-bottom-nav.nav-away{transform:translate3d(0,calc(100% + 40px),0)!important}
}
@media(prefers-reduced-motion:reduce){.mobile-bottom-nav,.mobile-bottom-nav.liquid{transition:none}}
/* 1.1.294 owner: visiting another shop inside a shop app — Home, Category, Promotion, Cart and an exit button (visit-shop.js). */
.mobile-bottom-nav .bottom-nav-item[hidden],.desktop-top-nav .desktop-nav-item[hidden]{display:none!important}
body.visiting-shop .mobile-bottom-nav{grid-template-columns:repeat(5,minmax(0,1fr))!important}
body.visiting-shop.no-promotions .mobile-bottom-nav{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.visit-exit{text-decoration:none;color:#c2412d}
.visit-exit svg{fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.mobile-bottom-nav .visit-exit>span{color:#d0402a!important}
.mobile-bottom-nav .visit-exit>span>svg{width:30px;height:30px;stroke:#d0402a!important;stroke-width:2.4}
.mobile-bottom-nav .visit-exit>small{color:#c2412d}
.desktop-top-nav .visit-exit,.desktop-top-nav .visit-exit span{color:#c2412d!important}
.desktop-top-nav .visit-exit svg{color:#c2412d}
/* 1.1.298: the exit shows the app's own shop logo and name instead of the red sign. */
.visit-exit-logo{display:block;width:34px;height:34px;border-radius:50%;object-fit:cover;background:#fff;border:2px solid #fff;box-shadow:0 1px 6px #10201833}
.mobile-bottom-nav .visit-exit.has-logo>small,.desktop-top-nav .visit-exit.has-logo,.desktop-top-nav .visit-exit.has-logo span{color:#243b2b!important}
.mobile-bottom-nav .visit-exit.has-logo>small{max-width:64px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.desktop-top-nav .visit-exit-logo{width:24px;height:24px;border-width:1px}

/* 1.1.406 owner: STM — a download button in front of an invoice number saves that invoice's INV page as a picture. */
.excel-dl{display:inline-grid;place-items:center;width:22px;height:22px;margin:0 5px 0 0;padding:0;border:0;border-radius:6px;background:#1f9a3e;color:#fff;vertical-align:middle;cursor:pointer}
.excel-dl svg{display:block;width:14px;height:14px}
.excel-dl.busy{opacity:.45;pointer-events:none}
.excel-dl-host{white-space:nowrap!important}
/* 1.1.463 owner: the eye opens a list of the hidden columns / rows; tick one to show it. */
.excel-hid-panel{position:fixed;z-index:2147483000;width:min(340px,calc(100vw - 16px));overflow:auto;box-sizing:border-box;padding:6px 6px 10px;border:1px solid #d4d4d4;border-radius:14px;background:#fff;color:#1c2a21;box-shadow:0 12px 36px #1b2b2240;font:14px/1.3 system-ui,sans-serif}
.excel-hid-head{position:sticky;top:-6px;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 6px;background:#fff;border-bottom:1px solid #eee}
.excel-hid-head b{font-size:14px}.excel-hid-head span{display:flex;gap:4px}
.excel-hid-head button{min-height:32px;padding:0 9px;border:1px solid #cfe0d3;border-radius:9px;background:#f3f9f4;color:#1b6b34;font:600 12.5px system-ui,sans-serif}
.excel-hid-head .excel-hid-x{width:32px;padding:0;font-size:18px;line-height:1}
.excel-hid-sec{margin:8px 6px 2px;color:#666;font:700 11.5px system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase}
.excel-hid-item{display:grid;grid-template-columns:24px auto 1fr;align-items:center;gap:8px;min-height:44px;padding:0 8px;border-radius:10px;cursor:pointer}
.excel-hid-item:active{background:#eef6ff}
.excel-hid-item input{width:20px;height:20px;accent-color:#1a73e8}
.excel-hid-item b{font-weight:700;white-space:nowrap}
.excel-hid-item small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6a6a6a;font-size:12.5px}
.excel-hid-none{margin:10px 8px;color:#777}
.excel-hid-item small i{color:#b45309;font-style:normal;font-weight:600}

.excel-sheet td .excel-clip{overflow:hidden;white-space:inherit}

/* 1.1.497 owner: (1) resize grips on column headers / row numbers; (2) the bar under the sheet: Sum of selected numbers, and View for long text. */
.excel-sheet th{overflow:visible}
.excel-grip{position:absolute;z-index:6;touch-action:none;background:transparent}
.excel-grip-c{top:0;right:0;width:16px;height:100%;cursor:col-resize}
.excel-grip-c::after{content:"";position:absolute;right:6px;top:22%;height:56%;width:3px;border-radius:2px;background:#8d9a93;opacity:.55}
.excel-grip-r{left:0;bottom:0;width:100%;height:14px;cursor:row-resize}
.excel-grip-r::after{content:"";position:absolute;left:22%;bottom:5px;width:56%;height:3px;border-radius:2px;background:#8d9a93;opacity:.55}
.excel-grip.is-drag::after,.excel-grip:hover::after{background:#1a73e8;opacity:1}
.excel-selbar{flex:0 0 auto;display:flex;align-items:center;gap:14px;min-height:46px;padding:7px 12px;background:#eef6f0;border-top:1px solid #c9d2cc;font:600 15px/1.3 system-ui,sans-serif;color:#1d3b2a}
.excel-selbar[hidden]{display:none}
.excel-selbar .xs-cap{color:#4d6256;font-weight:600;white-space:nowrap}
.excel-selbar .xs-sum{font-size:20px;font-weight:800;color:#0b6b2c;cursor:copy}
.excel-selbar .xs-view{margin-left:auto;border:0;border-radius:999px;padding:8px 18px;background:#137a2c;color:#fff;font:700 15px system-ui,sans-serif}
.excel-selbar .xs-line{flex:1;min-width:0;overflow-x:auto;overflow-y:hidden;white-space:nowrap;-webkit-overflow-scrolling:touch;padding:9px 12px;background:#fff;border:1px solid #c9d2cc;border-radius:10px;font:500 16px/1.2 Georgia,'Times New Roman',serif;color:#111}
.excel-selbar .xs-x{flex:0 0 auto;width:34px;height:34px;border:0;border-radius:50%;background:#dfe9e2;color:#294034;font:700 20px/1 system-ui,sans-serif}
#excel-grid thead th[data-c]{cursor:pointer}

/* 1.1.548 owner: second folder "Saved files" in the Excel files panel */
.excel-folder-title{margin:18px 0 0;font-size:15px;font-weight:800;color:#137a2c}
.excel-saved{margin-top:22px;padding-top:14px;border-top:1.5px dashed #cfe5d2}
.excel-saved[hidden]{display:none}
.excel-saved form{margin-top:8px}
.excel-saved-item{display:flex;align-items:stretch;gap:8px}
.excel-saved-item .excel-file-row{flex:1 1 auto;min-width:0}
.excel-saved-del{flex:0 0 44px;border:1px solid #e6c9c4;border-radius:14px;background:#fff;color:#b42318;font-size:18px;font-weight:700;cursor:pointer}

.excel-saved-folder{margin-top:8px;width:100%;padding:11px 12px;border:1.5px dashed #9ccaa6;border-radius:14px;background:#f4fbf5;color:#137a2c;font:inherit;font-weight:700;font-size:14px;cursor:pointer}

/* 1.1.554 owner: folders inside Saved files (make, rename, drag files in) */
.excel-saved-newfolder{margin-top:8px;width:100%;padding:11px 12px;border:1.5px solid #137a2c;border-radius:14px;background:#fff;color:#137a2c;font:inherit;font-weight:800;font-size:14px;cursor:pointer}
.excel-saved-box{display:grid;gap:10px;border-radius:14px}
.excel-saved-foldbox{padding:8px;border:1.5px solid #cfe5d2;background:#f6fbf6}
.excel-saved-foldhead{display:flex;align-items:stretch;gap:8px}
.excel-saved-foldname{flex:1 1 auto;min-width:0;text-align:left;padding:12px;border:0;border-radius:12px;background:#e3f3e6;color:#0f5f22;font:inherit;font-weight:800;font-size:15px;line-height:1.3;cursor:pointer;overflow-wrap:anywhere}
.excel-saved-foldedit{flex:0 0 44px;border:1px solid #cfe5d2;border-radius:12px;background:#fff;color:#137a2c;font-size:17px;font-weight:700;cursor:pointer}
.excel-saved-foldbody{display:grid;gap:10px}
.excel-saved-empty{margin:2px 4px 4px;color:#6c7a70;font-size:13px}
.excel-saved-roothead{margin:2px 4px 0;font-size:13px;font-weight:800;color:#5b6b60}
.excel-saved-item[draggable=true] .excel-file-row{cursor:grab}
.excel-saved-item.dragging{opacity:.45}
.excel-saved-box.drop-on{outline:2.5px dashed #137a2c;outline-offset:2px;background:#eaf7ec}
.excel-saved-move{flex:0 0 74px;max-width:74px;padding:0 4px;border:1px solid #cfe5d2;border-radius:14px;background:#f4fbf5;color:#137a2c;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.excel-saved-nameedit{display:flex;flex:1 1 auto;min-width:0;gap:8px}
.excel-saved-nameedit input{flex:1 1 auto;min-width:0;padding:11px 12px;border:1.5px solid #9ccaa6;border-radius:12px;background:#fff;font:inherit;font-size:16px}
.excel-saved-nameedit button{flex:0 0 44px;border:1px solid #cfe5d2;border-radius:12px;background:#fff;color:#137a2c;font-size:17px;font-weight:800;cursor:pointer}
.excel-saved-nameedit .excel-saved-no{color:#b42318;border-color:#e6c9c4}
.excel-saved-newrow{padding:8px;border:1.5px dashed #9ccaa6;border-radius:14px;background:#f4fbf5}
.excel-saved.drop-files{outline:2px dashed #2fa24d;outline-offset:-4px;background:#f1fbf3}
