@font-face{font-family:Vazirmatn;src:url('./fonts/Vazirmatn.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
/* Achar storefront: calm surfaces, consistent controls and separate category actions. */
:root{--ink:#111315;--paper:#f6f7f4;--card:#fff;--yellow:#f6c445;--yellow2:#ffd968;--line:#e3e5df;--muted:#747a76;--green:#167a53;--red:#b23a36;--shadow:0 14px 40px rgba(17,19,21,.08);font-family:Vazirmatn,Tahoma,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper);font-size:16px}
*{box-sizing:border-box}body{margin:0;background:var(--paper);min-height:100vh}button,input,select{font:inherit}button{cursor:pointer}a{color:inherit;text-decoration:none}.hidden{display:none!important}
.brand-row{display:flex;align-items:center;gap:12px}.brand-row>div:last-child{display:flex;flex-direction:column;gap:2px}.brand-row strong{font-size:1rem}.brand-row small{color:var(--muted);font-size:.76rem}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:var(--yellow);border:3px solid var(--ink);border-radius:13px;font-weight:900;font-size:1.3rem;box-shadow:3px 3px 0 var(--ink)}.brand-mark.big{width:112px;height:112px;font-size:4rem;border-radius:30px;box-shadow:9px 9px 0 var(--ink);transform:rotate(-5deg)}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:1.05fr .95fr}.auth-art{background:var(--ink);color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:40px;position:relative;overflow:hidden}.auth-art:before,.auth-art:after{content:"";position:absolute;border:2px solid #33383a;border-radius:50%;width:520px;height:520px}.auth-art:after{width:360px;height:360px}.auth-art p{font-size:1.35rem;font-weight:700;z-index:1}.auth-card{max-width:470px;width:calc(100% - 48px);margin:auto;background:white;border:1px solid var(--line);border-radius:28px;padding:36px;box-shadow:var(--shadow)}.auth-tabs{display:flex;background:#f0f1ed;border-radius:14px;padding:5px;margin:34px 0 24px}.auth-tabs button{border:0;background:transparent;padding:11px;flex:1;border-radius:10px;color:var(--muted)}.auth-tabs button.active{background:var(--ink);color:white}.auth-card form{display:grid;gap:17px}.auth-card label,.checkout-box label{display:grid;gap:8px;font-size:.86rem;font-weight:700}.auth-card input,.checkout-box input,.checkout-box select,.filters select{border:1px solid var(--line);background:white;border-radius:13px;padding:14px;outline:none}.auth-card input:focus,.checkout-box input:focus,.checkout-box select:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgba(246,196,69,.35)}.primary{border:2px solid var(--ink);background:var(--yellow);color:var(--ink);font-weight:900;border-radius:14px;padding:14px 18px;box-shadow:4px 4px 0 var(--ink);transition:.15s}.primary:hover{transform:translate(-1px,-1px);box-shadow:5px 5px 0 var(--ink)}.wide{width:100%;display:flex;align-items:center;justify-content:space-between}.auth-note{font-size:.78rem;line-height:1.9;color:var(--muted);margin:24px 0 0}
.topbar{height:78px;position:sticky;top:0;z-index:20;background:rgba(246,247,244,.9);backdrop-filter:blur(18px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1240px)/2))}.header-actions{display:flex;gap:10px}.account-pill,.icon-btn,.category-shortcut{border:1px solid var(--line);background:white;border-radius:14px;padding:8px 12px;display:flex;align-items:center;gap:9px}.category-shortcut{background:var(--ink);color:white;border-color:var(--ink);font-weight:800}.category-shortcut>span:first-child{color:var(--yellow);font-size:1.25rem}.avatar{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--ink);color:var(--yellow);font-weight:800}.icon-btn b{background:var(--yellow);border-radius:8px;padding:3px 7px}
main{max-width:1240px;margin:auto;padding:32px 24px 120px}.page{display:none}.page.active{display:block}.hero-strip{min-height:260px;background:var(--ink);border-radius:30px;color:white;padding:42px 48px;display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}.hero-strip:after{content:"";position:absolute;width:300px;height:300px;border:60px solid #272b2d;border-radius:50%;left:17%;top:-110px}.eyebrow{display:block;color:#8a908c;font-size:.78rem;font-weight:800;letter-spacing:.05em;margin-bottom:8px}.hero-strip .eyebrow{color:var(--yellow)}h1,h2,h3,p{margin-top:0}.hero-strip h1{font-size:clamp(2rem,4.5vw,4.4rem);line-height:1.2;max-width:720px;margin-bottom:16px;letter-spacing:-.04em}.hero-strip p{color:#c1c5c2;max-width:600px;line-height:1.9;margin:0}.hero-tool{z-index:2;flex:0 0 180px;height:180px;border-radius:50%;background:var(--yellow);color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;border:5px solid white;box-shadow:12px 12px 0 #34393b;transform:rotate(5deg)}.hero-tool span{font-size:3.6rem;font-weight:900}.hero-tool small{font-weight:800}
.search-wrap{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);padding:9px 12px;border-radius:18px;margin:-25px auto 22px;position:relative;z-index:3;max-width:840px;box-shadow:var(--shadow)}.search-wrap>span{font-size:2rem}.search-wrap input{flex:1;border:0;outline:0;background:transparent;min-width:0;padding:10px;font-size:1rem}.search-wrap button,.ghost{border:1px solid var(--line);background:#f3f4f1;border-radius:11px;padding:10px 14px}.filters{max-width:840px;margin:0 auto 18px;background:white;border:1px solid var(--line);padding:14px 18px;border-radius:15px;display:flex;justify-content:space-between;align-items:center;gap:14px}.filters label{display:flex;align-items:center;gap:9px;font-size:.88rem}.filters select{padding:8px 10px}.category-panel{background:white;border:1px solid var(--line);border-radius:22px;padding:20px;margin:20px 0 32px;scroll-margin-top:95px;box-shadow:0 8px 24px rgba(17,19,21,.05)}.category-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}.category-heading h2{font-size:1.35rem;margin:0}.category-heading>small{color:var(--muted)}.categories{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.category{border:1px solid var(--line);background:#f5f6f3;border-radius:13px;padding:12px 10px;white-space:nowrap;color:#535955;font-weight:750}.category:hover{border-color:#a9ada9}.category.active{background:var(--ink);border-color:var(--ink);color:white;box-shadow:inset 0 -3px var(--yellow)}.section-head,.page-title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:22px}.section-head h2,.page-title h1{font-size:2rem;margin:0}.result-count{color:var(--muted);font-size:.86rem}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product-card{background:var(--card);border:1px solid var(--line);border-radius:22px;overflow:hidden;transition:.2s}.product-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.product-image{height:230px;background:#eef0eb;position:relative;display:grid;place-items:center;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;padding:12px}.stock-pill{position:absolute;right:12px;top:12px;background:white;border-radius:999px;padding:6px 9px;font-size:.7rem;font-weight:800}.stock-pill.out{color:var(--red)}.product-body{padding:17px}.brand{color:var(--muted)}.product-body h3{font-size:.92rem;line-height:1.75;height:3.5em;overflow:hidden;margin:7px 0 17px}.price-line{display:flex;align-items:flex-end;justify-content:space-between}.price-line>div{display:flex;flex-direction:column}.price{font-size:1rem}.base-price{font-size:.74rem;color:#a4aaa6;margin-top:5px}.add-btn{width:40px;height:40px;border-radius:12px;border:2px solid var(--ink);background:var(--yellow);font-size:1.5rem;font-weight:800;box-shadow:3px 3px 0 var(--ink)}.add-btn:disabled{background:#ddd;border-color:#aaa;box-shadow:none;color:#888;cursor:not-allowed}
.drawer{position:fixed;inset:0;z-index:50;pointer-events:none;visibility:hidden}.drawer.open{pointer-events:auto;visibility:visible}.scrim{position:absolute;inset:0;background:rgba(17,19,21,.55);opacity:0;transition:.25s}.drawer.open .scrim{opacity:1}.drawer-panel{position:absolute;left:0;top:0;bottom:0;width:min(480px,100%);background:white;padding:26px;overflow:auto;transform:translateX(-100%);transition:.3s cubic-bezier(.2,.8,.2,1)}.drawer.open .drawer-panel{transform:none}.drawer-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:18px}.drawer-head h2{margin:0}.close{border:0;background:#f0f1ed;border-radius:12px;width:40px;height:40px;font-size:1.5rem}.cart-items{display:grid;gap:12px;margin:18px 0}.cart-item{display:grid;grid-template-columns:66px 1fr auto;gap:12px;align-items:center;border-bottom:1px solid var(--line);padding-bottom:12px}.cart-item img{width:66px;height:66px;object-fit:contain;background:#f1f2ee;border-radius:12px}.cart-item h4{font-size:.8rem;line-height:1.65;margin:0 0 5px}.cart-item small{color:var(--muted)}.qty{display:flex;align-items:center;gap:7px}.qty button{width:28px;height:28px;border:1px solid var(--line);background:white;border-radius:8px}.empty{padding:44px 16px;text-align:center;color:var(--muted);line-height:2}.checkout-box{border-top:1px solid var(--line);padding-top:18px;display:grid;gap:14px}.pickup-note{background:#fff7dc;border:1px solid #f1d77a;border-radius:14px;padding:13px;display:flex;align-items:center;gap:12px}.pickup-note>span{font-size:1.6rem}.pickup-note div{display:flex;flex-direction:column}.pickup-note small{color:#78672d;margin-top:4px}.total-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0}.total-row strong{font-size:1.15rem}.muted{color:var(--muted);text-align:center}.checkout-box.hidden{display:none}
.orders-list{display:grid;gap:14px}.order-card{background:white;border:1px solid var(--line);border-radius:20px;padding:20px;display:grid;grid-template-columns:1fr auto;gap:16px}.order-card h3{margin-bottom:7px}.order-meta{color:var(--muted);font-size:.84rem;line-height:1.8}.order-status{background:#fff4ce;color:#7a5b00;border-radius:999px;padding:7px 10px;font-size:.76rem;font-weight:800;height:max-content}.pay-btn{border:1px solid var(--ink);background:var(--yellow);border-radius:11px;padding:9px 12px;font-weight:800;margin-top:12px}.panel{background:white;border:1px solid var(--line);border-radius:20px;padding:24px}.profile-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.stat-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat-row div{background:#f2f3f0;border-radius:16px;padding:18px;display:flex;flex-direction:column}.stat-row b{font-size:1.6rem}.stat-row span,.panel p{color:var(--muted);font-size:.86rem;line-height:1.9}.danger{border:1px solid #efc7c5;background:#fff1f0;color:var(--red);border-radius:14px;padding:14px}.bottom-nav{display:none}.toast{position:fixed;right:50%;top:20px;transform:translate(50%,-90px);background:var(--ink);color:white;padding:13px 18px;border-radius:12px;z-index:100;box-shadow:var(--shadow);transition:.25s}.toast.show{transform:translate(50%,0)}
@media(max-width:980px){.product-grid{grid-template-columns:repeat(3,1fr)}.hero-strip{padding:36px}.hero-tool{flex-basis:145px;height:145px}.hero-tool span{font-size:2.8rem}.categories{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:720px){.auth-shell{display:block;padding:24px}.auth-art{display:none}.auth-card{margin:6vh auto;width:100%;padding:25px}.topbar{height:67px;padding:0 12px}.brand-row.compact small,.account-pill #accountName{display:none}.header-actions{gap:6px}.account-pill,.icon-btn,.category-shortcut{padding:7px 9px}.category-shortcut>span:last-child{display:none}.category-shortcut{width:42px;height:42px;justify-content:center}.brand-mark{width:36px;height:36px;border-radius:11px}.brand-row strong{font-size:.9rem}main{padding:18px 14px 100px}.hero-strip{min-height:245px;padding:27px 23px;border-radius:22px;display:block}.hero-strip h1{font-size:2.15rem;max-width:90%}.hero-strip p{font-size:.84rem;max-width:75%}.hero-tool{position:absolute;left:19px;bottom:22px;width:88px;height:88px;border-width:3px;box-shadow:6px 6px 0 #34393b}.hero-tool span{font-size:1.75rem}.hero-tool small{font-size:.55rem}.search-wrap{margin:-20px 10px 12px;border-radius:15px}.search-wrap button{padding:9px}.filters{margin:0 10px 12px;align-items:stretch;flex-direction:column}.category-panel{padding:16px 12px;margin:18px 0 24px}.category-heading{align-items:flex-start;flex-direction:column;gap:3px}.category-heading h2{font-size:1.2rem}.category-heading>small{font-size:.78rem}.categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.category{font-size:.82rem;padding:11px 6px}.section-head h2,.page-title h1{font-size:1.45rem}.product-grid{grid-template-columns:repeat(2,1fr);gap:10px}.product-image{height:165px}.product-body{padding:12px}.product-body h3{font-size:.8rem;height:3.5em;margin-bottom:12px}.price{font-size:.86rem}.add-btn{width:35px;height:35px}.bottom-nav{position:fixed;display:grid;grid-template-columns:repeat(3,1fr);bottom:0;left:0;right:0;background:rgba(255,255,255,.94);backdrop-filter:blur(15px);border-top:1px solid var(--line);z-index:30;padding:7px 8px calc(7px + env(safe-area-inset-bottom))}.bottom-nav button{border:0;background:transparent;color:var(--muted);display:flex;flex-direction:column;align-items:center;gap:3px;font-size:.7rem}.bottom-nav button span{font-size:1.3rem}.bottom-nav button.active{color:var(--ink);font-weight:800}.profile-grid{grid-template-columns:1fr}.stat-row div{padding:13px}.order-card{grid-template-columns:1fr}.order-status{justify-self:start}.page-title{align-items:center}.drawer-panel{padding:20px 16px}.toast{top:12px;max-width:calc(100% - 24px);width:max-content}.account-pill{min-width:42px;justify-content:center}}
@media(max-width:390px){.product-grid{grid-template-columns:1fr 1fr}.product-image{height:145px}.hero-strip h1{font-size:1.85rem}.hero-strip p{max-width:100%;padding-left:70px}.stat-row{grid-template-columns:1fr 1fr}.stat-row div:last-child{grid-column:span 2}}
.browse-categories{display:flex;align-items:center;gap:15px;width:100%;text-align:right;background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px 22px;margin:20px 0 32px;box-shadow:0 8px 24px rgba(17,19,21,.05)}.browse-categories:hover{border-color:var(--ink)}.browse-categories>span:nth-child(2){display:flex;flex-direction:column;gap:3px}.browse-categories strong{font-size:1.08rem}.browse-categories small{color:var(--muted)}.browse-icon{display:grid;place-items:center;background:var(--yellow);border-radius:12px;width:46px;height:46px;font-size:1.4rem}.browse-arrow{margin-right:auto;font-size:1.5rem}.category-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:8px 0 28px}.category-breadcrumbs button{border:0;background:transparent;padding:5px;color:#555e59}.category-breadcrumbs button:last-child{color:var(--ink);font-weight:800}.category-breadcrumbs span{color:#9aa09d}.category-page-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.category-page-intro h2{font-size:1.65rem;margin:0 0 4px}.category-page-intro p{color:var(--muted);margin:0}.category-status{min-height:0}.category-status.loading,.category-status.error{background:white;border:1px solid var(--line);border-radius:16px;padding:22px;margin:15px 0;color:var(--muted)}.category-status.error{display:flex;align-items:center;justify-content:space-between;gap:12px}.category-status.error button{border:1px solid var(--ink);background:var(--yellow);border-radius:10px;padding:8px 12px;color:var(--ink);font-weight:800}.category-tree{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.category-tree-item{min-height:104px;display:grid;grid-template-columns:1fr auto;align-content:center;gap:5px;text-align:right;background:white;border:1px solid var(--line);border-radius:18px;padding:19px;transition:.15s}.category-tree-item:hover{border-color:var(--ink);box-shadow:var(--shadow);transform:translateY(-2px)}.category-tree-item strong{grid-column:1 / -1;font-size:1rem;line-height:1.65}.category-tree-item small{color:var(--muted)}.category-tree-item>span{font-size:1.25rem;color:var(--ink)}.category-tree-item:focus-visible,.browse-categories:focus-visible,.category-breadcrumbs button:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
@media(max-width:980px){.category-tree{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.bottom-nav{grid-template-columns:repeat(4,1fr)}.bottom-nav button{font-size:.66rem}.browse-categories{padding:14px;margin:18px 0 24px}.browse-categories strong{font-size:.95rem}.category-page-intro h2{font-size:1.35rem}.category-page-intro p{font-size:.82rem}.category-tree{grid-template-columns:1fr;gap:9px}.category-tree-item{min-height:76px;padding:13px 16px}.category-status.error{align-items:flex-start;flex-direction:column}.category-breadcrumbs{margin-bottom:20px}}
.selected-category{display:inline-block;margin:-5px 0 18px;padding:9px 14px;border:1px solid var(--ink);border-radius:999px;background:var(--yellow);color:var(--ink);font-weight:800}.selected-category.hidden{display:none}
.category-products{margin-top:30px}.category-products .section-head h2{font-size:1.45rem}.category-more{display:block;margin:24px auto 0;min-width:180px}.category-product-card{width:100%;padding:0;text-align:right;font:inherit;cursor:pointer}.category-product-card .product-body h3{height:auto;min-height:3.5em}.category-product-card .price-line{display:block}.category-product-card .product-image img{mix-blend-mode:normal}.product-detail{position:fixed;inset:0;z-index:70;display:grid;place-items:center;padding:18px}.product-detail-scrim{position:absolute;inset:0;background:rgba(17,19,21,.68)}.product-detail-panel{position:relative;width:min(720px,100%);max-height:min(90vh,900px);overflow:auto;background:white;border-radius:22px;padding:24px;box-shadow:var(--shadow)}.product-detail-panel>.close{position:sticky;top:0;float:left;z-index:2}.detail-layout{display:grid;grid-template-columns:minmax(0,230px) 1fr;gap:24px;align-items:start}.detail-layout img{width:100%;aspect-ratio:1;object-fit:contain;background:#f2f3f0;border-radius:16px}.detail-layout h2{font-size:1.35rem;line-height:1.65;margin:4px 0 12px}.detail-layout p{line-height:1.9;color:var(--muted)}.detail-layout .detail-price{font-size:1.25rem;color:var(--ink);font-weight:900}.detail-attributes{margin-top:24px;border-top:1px solid var(--line);padding-top:18px}.detail-attributes h3{font-size:1rem}.detail-attributes dl{margin:0;display:grid;gap:8px}.detail-attributes dl div{display:grid;grid-template-columns:140px 1fr;gap:12px}.detail-attributes dt{color:var(--muted)}.detail-attributes dd{margin:0}
@media(max-width:720px){.category-products{margin-top:22px}.product-detail{padding:0;align-items:end}.product-detail-panel{max-height:92vh;border-radius:20px 20px 0 0;padding:18px}.detail-layout{grid-template-columns:1fr;gap:12px}.detail-layout img{max-height:220px}.detail-attributes dl div{grid-template-columns:100px 1fr}}
.category-tree{display:block;max-width:900px;margin:auto}.category-branch{min-width:0}.category-tree>.category-branch{background:#fff;border:1px solid var(--line);border-radius:17px;margin:10px 0;overflow:hidden}.category-row{width:100%;min-height:62px;border:0;background:transparent;color:var(--ink);padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;text-align:right;font-weight:750}.category-row:hover{background:#f6f7f4}.category-row:focus-visible{outline:3px solid var(--yellow);outline-offset:-3px}.category-row-icon{width:28px;height:28px;flex:none;display:grid;place-items:center;border-radius:50%;background:#f0f1ee;color:#747a76;font-size:1.1rem;transition:transform .18s}.category-branch.expanded>.category-row .category-row-icon{transform:rotate(180deg);background:var(--yellow);color:var(--ink)}.category-children{padding:4px 12px 12px;background:#f5f6f4}.category-children[hidden]{display:none}.category-children-loading{padding:16px;color:var(--muted)}.category-children>.category-branch{border-bottom:1px solid var(--line)}.category-children>.category-branch:last-child{border-bottom:0}.category-children .category-row{min-height:46px;padding:8px 12px;font-weight:600}.category-depth-2>.category-row{font-weight:750}.category-depth-3>.category-row{padding-right:24px}.category-depth-4>.category-row{padding-right:36px}.category-children .category-children{padding:2px 8px 8px;background:#eceeeb}.category-products{scroll-margin-top:100px}
@media(max-width:720px){.category-tree>.category-branch{margin:8px 0}.category-row{min-height:58px;padding:10px 14px}.category-children{padding:3px 8px 8px}.category-children .category-row{font-size:.92rem;min-height:42px}.category-depth-3>.category-row{padding-right:18px}.category-depth-4>.category-row{padding-right:26px}}
.category-product-card{display:flex;flex-direction:column;padding:0}.category-product-view{width:100%;flex:1;border:0;background:none;padding:0;text-align:right;color:inherit}.category-product-view .product-body{padding-bottom:8px}.category-add{margin:0 14px 14px;border:1px solid var(--ink);background:var(--yellow);color:var(--ink);border-radius:11px;padding:10px 12px;font-weight:800}.category-add:disabled,.detail-add:disabled{opacity:.5;cursor:not-allowed}.category-add:focus-visible,.category-product-view:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}.detail-add{margin-top:12px}.cart-controls{display:flex;flex-direction:column;align-items:center;gap:8px}.cart-remove{border:0;background:none;color:var(--red);font-size:.8rem;padding:4px 6px}.cart-item{grid-template-columns:66px minmax(0,1fr) auto}.cart-item h4{overflow-wrap:anywhere}.cart-item .qty button{min-width:30px;min-height:30px}
@media(max-width:720px){.category-add{margin:0 10px 10px}.cart-item{grid-template-columns:54px minmax(0,1fr);gap:8px}.cart-item img{width:54px;height:54px}.cart-controls{grid-column:2;flex-direction:row;justify-content:space-between}.cart-item h4{font-size:.8rem}}
.category-product-card.is-in-cart{border-color:var(--green);box-shadow:0 0 0 2px rgba(22,122,83,.12)}
.category-product-card.is-unavailable .product-image{background:#f1f2f1}
.category-product-card.is-unavailable .product-image img{filter:grayscale(1);opacity:.72}
.category-add.in-cart,.detail-add.in-cart{background:#e2f5eb;border-color:var(--green);color:#0e6544;box-shadow:none}
.category-add.unavailable,.detail-add.unavailable{background:#eceeed;border:1px solid #c8ceca;color:#616b66;box-shadow:none;opacity:1}
.category-add:disabled:not(.unavailable),.detail-add:disabled:not(.unavailable){opacity:.6}
.detail-availability.unavailable{color:var(--red);font-weight:800}
.admin-push-panel{margin:18px 0;line-height:1.9}.admin-push-panel button{margin:4px;min-height:44px}.admin-push-panel small{display:block;color:var(--muted)}
.product-share{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;min-height:44px}.product-share:disabled{opacity:.6}.product-share-link{display:grid;gap:6px;margin-top:12px}.product-share-link input{width:100%;border:1px solid var(--line);border-radius:10px;padding:10px;font:inherit;font-size:.8rem}.product-share-link small{color:var(--muted)}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.ui-icon{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.category-shortcut .ui-icon{color:var(--yellow)}
.category-shortcut>span:first-child{color:white;font-size:inherit}
.avatar{background:#f0f1ee;color:var(--ink)}
.avatar .ui-icon{width:18px;height:18px}
.icon-btn .ui-icon{width:20px;height:20px}
.pickup-note>.ui-icon{width:25px;height:25px;color:#78672d}
.category-row-icon .ui-icon{width:16px;height:16px}
.category-row-icon.leaf .ui-icon{transform:rotate(90deg)}
:root{--ink:#18212e;--paper:#f5f6f8;--line:#e5e8ed;--muted:#687382;--yellow:#f5c451;--shadow:0 12px 32px rgba(24,33,46,.07)}.brand-mark{border:0;box-shadow:none;border-radius:12px}.brand-mark.big{box-shadow:none;border:1px solid rgba(255,255,255,.2)}.primary{border:1px solid #e0ae35;box-shadow:0 4px 12px rgba(195,145,30,.13);font-weight:750}.primary:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(195,145,30,.18)}.topbar{box-shadow:0 2px 14px rgba(24,33,46,.04)}.hero-strip{background:linear-gradient(115deg,#253345,#172331);border-radius:24px;box-shadow:0 12px 28px rgba(24,33,46,.1)}.hero-strip h1{letter-spacing:0;line-height:1.55;font-weight:800}.hero-strip p{color:#d0d7df}.hero-strip:after{border-color:rgba(245,196,81,.12)}.product-card{border-radius:18px;box-shadow:0 2px 8px rgba(24,33,46,.025)}.product-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(24,33,46,.08);border-color:#cbd2dc}.product-image{background:#fff}.product-image img{object-fit:contain;padding:14px;mix-blend-mode:normal}.product-body h3{font-weight:650;line-height:1.9}.brand{font-size:.75rem;color:#7b8593}.price{font-weight:800;font-variant-numeric:tabular-nums}.category-add{border-color:#e2b544;font-weight:700;border-radius:10px}.category-tree>.category-branch{border-radius:14px;box-shadow:0 2px 8px rgba(24,33,46,.025)}.category-children{background:#f8f9fb}.category-children .category-children{background:#f0f3f7}.category-row:hover{background:#f6f8fb}.page-title h1{font-weight:800}.section-head h2{font-weight:750}.auth-card{border-radius:24px}.bottom-nav{box-shadow:0 -5px 24px rgba(24,33,46,.04)}.bottom-nav button.active{color:#936100}.category-shortcut{border-radius:12px}.ghost:hover{background:#eaf0f5}.ui-icon{stroke-width:1.75}.category-products .section-head{gap:14px;flex-wrap:wrap}.result-count{line-height:1.8}
@media(max-width:720px){.product-body h3{font-size:.81rem}.category-add{font-size:.78rem;padding:11px 6px}.hero-strip h1{font-size:1.8rem}.hero-strip p{max-width:100%}.home-hero{padding:26px 22px}.category-row-title{min-height:44px}.category-row-icon{min-width:40px;min-height:40px}.bottom-nav button{min-height:48px;justify-content:center;gap:5px}.product-image{background:white}.section-head{gap:12px}.home-samples>.section-head h2{font-size:1.2rem}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.category-row-title{flex:1;min-width:0;border:0;background:transparent;text-align:right;color:inherit;font-weight:inherit;padding:10px 0;line-height:1.8}.category-row-title.is-selected{color:#936100}.category-row-icon{border:0;min-width:36px;min-height:36px}.category-row-title:focus-visible,.category-row-icon:focus-visible{outline:3px solid var(--yellow);outline-offset:3px;border-radius:8px}.category-row{gap:10px;padding-top:4px;padding-bottom:4px}.category-children .category-row{padding-top:0;padding-bottom:0}
.home-hero{min-height:180px;padding:32px 38px}
.home-hero>div{position:relative;z-index:1}
.home-hero h1{font-size:clamp(1.75rem,3vw,2.5rem);margin-bottom:8px}
.home-hero p{font-size:.96rem}
.home-samples{margin-top:28px}
.home-samples>.section-head{align-items:center;margin-bottom:16px}
.home-samples>.section-head h2{font-size:1.5rem}
.home-category{margin:22px 0 34px}
.home-category .section-head{align-items:center;margin-bottom:14px}
.home-category .section-head h3{font-size:1.2rem;margin:0}
.home-category-link{border:0;background:#e9f3ed;color:#116947;border-radius:10px;padding:8px 12px;font-size:.9rem;font-weight:800}
.product-image img{padding:4px;transform:none;object-fit:contain}
.detail-layout img{padding:2px}
.bottom-nav button .ui-icon{width:23px;height:23px}
.bottom-nav button span{font-size:.7rem;line-height:1.5;white-space:nowrap}
.bottom-nav button.active .ui-icon{stroke-width:2.2}
@media(max-width:720px){
  .home-hero{min-height:138px;padding:22px 18px}
  .home-hero h1{font-size:1.55rem;max-width:none;margin-bottom:6px}
  .home-hero p{font-size:.83rem;max-width:none}
  .home-hero:after{width:150px;height:150px;border-width:28px;left:-45px;top:-50px}
  .home-samples{margin-top:22px}
  .home-samples>.section-head h2{font-size:1.15rem}
  .home-samples>.section-head .ghost{font-size:.8rem;padding:8px 10px}
  .home-category{margin:18px 0 28px}
  .home-category .section-head h3{font-size:1.05rem}
  .home-category-link{font-size:.8rem}
  .cart-label{display:none}
  .bottom-nav button{gap:4px}
  .bottom-nav button .ui-icon{width:23px;height:23px}
}
.order-items{padding-right:20px;margin:12px 0;color:var(--ink);line-height:1.9;font-size:.86rem}
.order-status.paid{background:#e2f5eb;color:#0e6544}
.admin-note{color:var(--muted);line-height:1.9;margin-bottom:20px}
.admin-action{display:inline-block;margin:10px 0 0 8px}
#checkoutBtn:disabled{opacity:.55;cursor:not-allowed;box-shadow:none}
.cart-item.has-issue{background:#fff8eb;border:1px solid #e8be6b;border-radius:13px;padding:10px}.cart-stock-warning{color:#9d3e20;font-size:.82rem;line-height:1.7;margin:7px 0 0}.cart-fix{border:1px solid #b96b2c;background:#fff;color:#874515;border-radius:9px;padding:5px 8px;font-size:.78rem;font-weight:800}.cart-summary-warning{background:#fff0d8;border:1px solid #e8be6b;border-radius:12px;padding:11px 13px;color:#874515;line-height:1.7;font-size:.88rem;display:grid;gap:8px}.cart-summary-warning .ghost{justify-self:start}.cart-summary-warning.hidden{display:none}
.admin-summary{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;margin:8px 0 24px}
.admin-metric{border:1px solid var(--line);background:white;border-radius:16px;padding:13px 10px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;text-align:right;min-height:76px}
.admin-metric:hover{border-color:var(--ink)}.admin-metric strong{font-size:1.45rem;line-height:1.2}.admin-metric span{font-size:.82rem;color:var(--muted)}
.admin-main-tabs{display:flex;gap:8px;margin:18px 0;background:#e9ebe7;border-radius:15px;padding:5px;max-width:420px}.admin-main-tabs button{flex:1;border:0;background:transparent;border-radius:11px;padding:11px;font-weight:800}.admin-main-tabs button.active{background:var(--ink);color:white}
.admin-main-tabs{max-width:620px}.admin-category-tree{display:grid;gap:9px;max-width:900px}.admin-category-branch{border:1px solid var(--line);background:white;border-radius:14px;overflow:hidden}.admin-category-row{display:flex;align-items:center;gap:10px;padding:10px 12px;min-height:55px}.admin-category-row>span{font-weight:800;flex:1;min-width:0}.admin-category-row small{color:var(--muted);white-space:nowrap}.admin-category-expand{border:0;background:#f1f2ee;border-radius:8px;width:31px;height:31px;flex:none}.admin-category-expand:disabled{opacity:.5}.admin-category-toggle{border:1px solid;border-radius:999px;padding:7px 12px;font-weight:800;white-space:nowrap}.admin-category-toggle.is-visible{background:#e4f6ea;border-color:#87cca2;color:#16673e}.admin-category-toggle.is-hidden{background:#fff0ed;border-color:#efaaa0;color:#a4372b}.admin-category-toggle:disabled{background:#f1f2ee;color:var(--muted);border-color:var(--line)}.admin-category-children{padding:0 12px 12px 18px;display:grid;gap:8px}.admin-category-children[hidden]{display:none}.admin-category-children .admin-category-branch{border-right:3px solid var(--yellow)}
.admin-filters{display:flex;gap:7px;overflow-x:auto;padding:4px 0 12px;margin:2px 0}.admin-filters button{white-space:nowrap;border:1px solid var(--line);border-radius:999px;background:white;padding:8px 13px;font-size:.86rem}.admin-filters button.active{background:var(--yellow);border-color:var(--ink);font-weight:800}
.admin-tools{display:flex;gap:8px;margin:4px 0 12px}.admin-tools input{flex:1;min-width:0;border:1px solid var(--line);border-radius:12px;background:white;padding:11px 13px;outline:none}.admin-tools input:focus{border-color:var(--ink);box-shadow:0 0 0 3px rgba(246,196,69,.3)}
.admin-count{font-size:.86rem;color:var(--muted);margin:8px 0 14px}.admin-user-filter{display:flex;align-items:center;gap:12px;background:#fff7dc;border:1px solid #f1d77a;border-radius:12px;padding:9px 13px;margin:8px 0}.admin-user-filter button{margin-right:auto;border:0;background:transparent;text-decoration:underline}
.admin-order-card,.admin-user-card{background:white;border:1px solid var(--line);border-radius:18px;padding:18px;display:grid;gap:11px}.admin-order-top,.admin-user-card>div:first-child{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.admin-order-card h3,.admin-user-card h3{margin:0 0 2px;font-size:1rem}.admin-order-card small,.admin-user-card span{color:var(--muted)}.admin-order-card p,.admin-user-card p{margin:0}.admin-order-card>.ghost,.admin-user-card>.ghost{justify-self:start}.admin-users{display:grid;gap:12px}.admin-user-card>a{width:max-content;color:#116947;text-decoration:underline}.admin-user-card>div:first-child{flex-wrap:wrap}
.admin-pages{display:flex;align-items:center;justify-content:center;gap:15px;margin:22px 0}.admin-pages button{border:1px solid var(--line);background:white;border-radius:10px;padding:9px 13px}.admin-pages button:disabled{opacity:.45;cursor:not-allowed}
.admin-dialog{width:min(760px,calc(100% - 28px));max-height:88vh;border:0;border-radius:22px;padding:0;background:white;box-shadow:0 20px 60px rgba(0,0,0,.24);color:var(--ink)}.admin-dialog::backdrop{background:rgba(17,19,21,.64)}.admin-dialog-head{position:sticky;top:0;background:white;display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-bottom:1px solid var(--line);z-index:1}.admin-dialog-head h2{font-size:1.25rem;margin:0}#adminDetailBody{padding:20px 22px;overflow:auto}.admin-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}.admin-detail-line{background:#f4f5f2;border-radius:12px;padding:11px;display:flex;flex-direction:column;gap:3px}.admin-detail-line span{color:var(--muted);font-size:.78rem}.admin-detail-line strong{font-size:.9rem;overflow-wrap:anywhere}.admin-payment-note{background:#fff7dc;padding:12px;border-radius:12px;line-height:1.8}.admin-detail-items{display:grid;gap:9px;margin:12px 0 24px}.admin-detail-items>div{border:1px solid var(--line);border-radius:13px;padding:11px;display:grid;grid-template-columns:1fr auto;gap:3px 12px}.admin-detail-items strong{grid-column:1/-1}.admin-detail-items span{font-size:.83rem;color:var(--muted)}.admin-detail-items b{font-size:.86rem}.admin-events{border-top:1px solid var(--line);padding-top:18px}.admin-events p{font-size:.85rem;line-height:1.8;color:var(--muted)}.admin-detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
@media(max-width:900px){.admin-summary{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:600px){.admin-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-metric{min-height:68px}.admin-order-top{align-items:flex-start}.admin-tools{flex-wrap:wrap}.admin-tools input{flex-basis:100%}.admin-dialog{width:100%;max-height:94vh;margin:0;position:fixed;bottom:0;max-width:none;border-radius:20px 20px 0 0}.admin-detail-grid{grid-template-columns:1fr 1fr}#adminDetailBody{padding:16px}.admin-dialog-head{padding:14px 16px}}
.account-form,.otp-section{display:grid;gap:14px}.account-form h3{margin:0}.account-form label,.otp-section label{display:grid;gap:7px;font-size:1rem}.account-form input,.account-form textarea,#registerAddress{width:100%;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fafbf9;font:inherit;line-height:1.7;box-sizing:border-box;resize:vertical}.account-form input:focus,.account-form textarea:focus,#registerAddress:focus{outline:2px solid var(--yellow);outline-offset:2px}.account-form button{justify-self:start}.form-hint,.form-status{font-size:.9rem;line-height:1.8;margin:0;color:var(--muted)}.form-status:empty{display:none}.phone-status{margin:0;padding:10px 12px;border-radius:12px;background:#fff4d9;color:#7a5b00;line-height:1.8;font-size:.94rem;overflow-wrap:anywhere}.phone-status.verified{background:#e4f6ea;color:#16673e}.otp-section{padding:13px;background:#f5f6f2;border-radius:14px}.otp-section.hidden{display:none}.account-form .hidden{display:none}.account-form button:disabled,.otp-section button:disabled{opacity:.55;cursor:not-allowed}.account-form input[dir=ltr],.auth-card input[dir=ltr]{text-align:left}
