/* Achar visual system — storefront, checkout and administration. */
/* Search styling follows the shared visual system; responsive overrides below. */
/* Product actions remain text-first; quantity is isolated in a small badge. */
.product-card button.category-add,button.detail-add{display:flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:10px 12px;border-radius:10px;background:#fff2cc;border:1px solid #ebd294;box-shadow:none;font-weight:550;line-height:1.7}.product-card button.category-add:hover:not(:disabled),button.detail-add:hover:not(:disabled){background:#ffe7a8;transform:none;box-shadow:none}.product-card button.category-add.in-cart,button.detail-add.in-cart{background:#f5faf7;border-color:#c9dfd3;color:#25684f}.product-card button.category-add.in-cart:hover,button.detail-add.in-cart:hover{background:#eaf5ef}.product-cart-count{display:inline-block;padding:2px 8px;border-radius:6px;background:#e3f0e8;color:#25684f;white-space:nowrap;font-size:.85em;font-weight:500;unicode-bidi:isolate}.product-card button.category-add.unavailable,button.detail-add.unavailable{background:#f4f6f8;border-color:#dce2e8;color:#687789}
/* Compact category indicators are defined below the responsive rules. */
@font-face{font-family:Vazirmatn;src:url('/fonts/Vazirmatn.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{font-family:Vazirmatn,Tahoma,sans-serif;--ink:#182735;--paper:#f6f7f9;--line:#e4e9ef;--muted:#657383;--yellow:#f4c65a;--green:#21735a;--red:#ad3d40;--shadow:0 12px 36px #1827350b;--radius:18px;line-height:1.8;font-synthesis:none}
body{font-weight:400;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}
button{font-weight:600;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
button:disabled{cursor:not-allowed}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #d69b21;outline-offset:3px}
h1,h2,h3,h4{font-weight:650;letter-spacing:0;line-height:1.75}
.eyebrow{font-weight:500;letter-spacing:0;font-size:.72rem;color:var(--muted);margin-bottom:5px}
.ui-icon{width:22px;height:22px;stroke-width:1.7;vertical-align:middle}
.topbar{height:80px;background:#fffffff2;backdrop-filter:blur(16px);border-bottom:1px solid var(--line);box-shadow:0 3px 16px #18273503}
.brand-row strong{font-size:1.02rem;font-weight:650}.brand-row small{font-size:.7rem}
.brand-mark{width:43px;height:43px;border:0;border-radius:13px;box-shadow:none;font-weight:650}
.header-actions{align-items:center;gap:10px}
.account-pill,.icon-btn,.category-shortcut{min-height:46px;border-radius:12px;padding:9px 13px;font-size:.82rem;font-weight:550;background:#fff}
.category-shortcut{background:var(--ink);color:#fff;border-color:var(--ink)}
.account-pill:hover,.icon-btn:hover{border-color:#b9c5d1;background:#fafbfd}
.icon-btn b{min-width:23px;height:23px;padding:0 5px;border-radius:7px;font-size:.72rem;display:grid;place-items:center;font-weight:600}
.avatar{background:#f3f6f9;border-radius:9px}
main{max-width:1280px;padding:32px 28px 100px}
.primary,.ghost,.pay-btn,.category-add,.detail-add{min-height:44px;border-radius:11px;padding:11px 16px;font-weight:600;box-shadow:none}
.primary,.category-add{background:var(--yellow);border:1px solid #e4b748;color:var(--ink)}
.primary:hover,.category-add:hover:not(:disabled){background:#f9d375;box-shadow:0 5px 14px #c5952020;transform:translateY(-1px)}
.ghost{background:white;border:1px solid var(--line);color:var(--ink)}.ghost:hover{background:#f1f5f9;border-color:#c6d0da}
.close{display:grid;place-items:center;border:1px solid var(--line);background:#f7f9fb;border-radius:11px;min-width:42px;min-height:42px;line-height:1;font-size:1.4rem}
.hero-strip.home-hero{min-height:310px;padding:38px 44px;border-radius:24px;background:radial-gradient(ellipse at 0% 0%,#344c5d 0,transparent 58%),#192b3a;gap:40px;box-shadow:0 14px 32px #18273512}
.home-hero:after{width:390px;height:390px;border:1px solid #ffffff10;left:100px;top:-210px;pointer-events:none}
.hero-copy{max-width:660px;flex:1;min-width:0}.home-hero .eyebrow{color:#ebcc7e;font-size:.78rem}
.home-hero h1{font-size:clamp(2rem,3.2vw,2.9rem);font-weight:650;line-height:1.6;margin:8px 0 12px}
.home-hero p{color:#c5d0d9;font-size:.85rem;line-height:2;max-width:500px}
.hero-cta{display:inline-flex;align-items:center;justify-content:center;gap:12px;margin-top:23px;font-size:.82rem}
.hero-service{flex:0 0 240px;display:flex;flex-direction:column;align-items:flex-start;gap:8px;background:#ffffff07;border:1px solid #ffffff16;border-radius:18px;padding:24px;transform:none}
.hero-service .ui-icon{width:32px;height:32px;color:var(--yellow);margin-bottom:5px}
.hero-service span{font-size:.8rem;color:#c5d0d9}.hero-service strong{font-size:1rem;font-weight:600}.hero-service small{font-size:.7rem;color:#aebfcd;line-height:2}
.store-benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0 34px;border:1px solid var(--line);border-radius:14px;background:#fff;padding:15px 18px}
.store-benefits span{display:flex;align-items:center;justify-content:center;gap:10px;font-size:.78rem;color:#506273}
.store-benefits span+span{border-right:1px solid var(--line)}.store-benefits .ui-icon{color:#8b6823;width:20px;height:20px}
.home-samples{margin-top:30px}.home-samples>.section-head h2,.section-head h2,.page-title h1{font-size:1.65rem;font-weight:650}
.section-head,.page-title{gap:18px;align-items:center;margin-bottom:22px}.result-count{font-size:.76rem}
.home-category{margin:28px 0 38px}.home-category .section-head h3{font-size:1.1rem;font-weight:600}.home-category .section-head .ghost{font-size:.75rem;padding:7px 13px;min-height:38px}
.product-grid{gap:18px;grid-template-columns:repeat(4,minmax(0,1fr))}
.product-card{border-radius:16px;border:1px solid var(--line);background:#fff;box-shadow:0 3px 12px #18273503}
.product-card:hover{border-color:#bdcbd7;transform:translateY(-3px);box-shadow:0 12px 26px #1827350c}
.product-image{height:210px;background:#fff}.product-image img{width:100%;height:100%;object-fit:contain;padding:14px;mix-blend-mode:normal}
.product-body,.category-product-view .product-body{padding:16px 17px 12px}.brand{display:block;font-size:.68rem;font-weight:450;color:#6e7c89;letter-spacing:0}
.product-body h3,.category-product-card .product-body h3{font-size:.84rem;font-weight:500;line-height:1.9;margin:9px 0 15px;height:5.7em;min-height:5.7em;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.price-line{min-height:29px}.price{font-size:.95rem;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}
.category-add{margin:0 16px 16px;font-size:.78rem;display:flex;align-items:center;justify-content:center;gap:8px}.category-add .ui-icon,.detail-add .ui-icon{width:18px;height:18px}
.detail-add{display:inline-flex;align-items:center;gap:8px}
.category-add.in-cart,.detail-add.in-cart{background:#eef7f2;color:#216a50;border-color:#b5d6c6;box-shadow:none}
.category-add.unavailable,.detail-add.unavailable{background:#f4f6f8;border-color:#dce2e8;color:#687789;opacity:1}
.category-product-card.is-in-cart{box-shadow:none;border-color:#9fcbb6}.category-product-card.is-unavailable .product-image img{filter:grayscale(.45);opacity:.78}
.page-title{margin:3px 0 24px}.page-title .ghost{font-size:.77rem}.category-page-intro h2{font-size:1rem;font-weight:600}.category-page-intro p{font-size:.8rem;line-height:1.9}
.catalog-layout{display:grid;grid-template-columns:295px minmax(0,1fr);gap:26px;align-items:start}
.catalog-sidebar{position:sticky;top:102px;max-height:calc(100vh - 135px);overflow-y:auto;scrollbar-width:thin;padding:2px}
.catalog-content{min-width:0}.catalog-content .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.catalog-welcome{min-height:300px;padding:48px 28px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff;border:1px dashed #ccd7e0;border-radius:18px}
.catalog-welcome>.ui-icon{width:42px;height:42px;color:#a68131;margin-bottom:20px}.catalog-welcome h2{font-size:1.15rem}.catalog-welcome p{max-width:390px;color:var(--muted);font-size:.82rem;line-height:2;margin:0}
.category-tree{max-width:none}.category-tree>.category-branch{border-radius:13px;margin:0 0 9px;box-shadow:none}
.category-row{padding:5px 13px;min-height:52px;gap:7px}.category-row-title{font-size:.8rem;font-weight:550;line-height:1.9;min-height:44px}
.category-row-title.is-selected{color:#926716;font-weight:650;background:#fff7e8;border-radius:8px;padding-inline:8px}
.category-row-icon{width:34px;height:34px;min-width:34px;min-height:34px;border-radius:9px;background:#f2f5f8;color:#718191}
.category-children,.category-children .category-children{background:#f8fafc;padding:4px 8px 8px}.category-children .category-row-title{font-size:.76rem;font-weight:450}.category-children .category-row{padding-inline:7px}
.category-products{margin-top:0;scroll-margin-top:100px}.category-products .section-head h2{font-size:1.1rem}
.category-status.loading,.category-status.error{border-radius:14px;font-size:.82rem;padding:20px}.category-more{font-size:.8rem}
.category-status.loading{display:flex;align-items:center;gap:13px;min-height:68px;color:var(--ink);background:linear-gradient(110deg,#fff 20%,#f4f7fa 38%,#fff 58%);background-size:220% 100%;animation:loading-sheen 1.8s ease-in-out infinite}.category-status.loading::before,.category-children-loading::before{content:"";width:21px;height:21px;flex:none;border:3px solid #e6ebf0;border-top-color:#d5a82d;border-radius:50%;animation:loading-spin .8s linear infinite}.category-more.is-loading{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:#f6f8fa;border-color:#cbd5df;color:var(--ink);cursor:wait;min-width:210px}.category-more.is-loading::before{content:"";width:16px;height:16px;border:2px solid #d5dce3;border-top-color:#bd8d20;border-radius:50%;animation:loading-spin .8s linear infinite}.category-children-loading{display:flex;align-items:center;gap:10px;color:var(--muted);padding:14px 18px}.category-children-loading::before{width:16px;height:16px;border-width:2px}@keyframes loading-spin{to{transform:rotate(360deg)}}@keyframes loading-sheen{to{background-position:-220% 0}}@media(prefers-reduced-motion:reduce){.category-status.loading,.category-status.loading::before,.category-children-loading::before,.category-more.is-loading::before{animation-duration:3s}}
.drawer-panel{width:min(480px,100%);padding:24px}.drawer-head h2{font-size:1.4rem}.drawer-head{padding-bottom:19px}
.cart-item{background:#fff;gap:13px;padding:16px 0;border-bottom:1px solid var(--line)}.cart-item h4{font-size:.77rem;font-weight:500;line-height:1.9}.cart-item small{font-size:.72rem}
.qty{padding:3px;border:1px solid var(--line);border-radius:11px;background:#fafbfd;gap:8px}.qty button,.cart-item .qty button{display:grid;place-items:center;width:34px;height:34px;min-width:34px;min-height:34px;border:0;background:transparent;border-radius:8px}.qty button:hover{background:#eaf0f5}.qty .ui-icon{width:17px;height:17px}.qty b{font-size:.82rem;font-weight:550;min-width:20px;text-align:center}
.cart-remove{font-size:.71rem;color:#95636a;min-height:34px}.cart-controls{gap:6px}.total-row strong{font-weight:650;font-size:1.05rem}.pickup-note{background:#fff9ec;border-color:#eddfbc;border-radius:12px;font-size:.82rem}
.checkout-box label{font-weight:500;font-size:.78rem}.checkout-box select{font-size:.85rem;border-radius:11px;min-height:46px}.checkout-box .muted{font-size:.7rem;line-height:2}
.product-detail-panel{width:min(820px,100%);border-radius:22px;padding:28px}.detail-layout{grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:30px}.detail-layout img{background:white;border:1px solid var(--line);border-radius:16px;padding:12px;object-fit:contain}
.detail-layout h2{font-size:1.2rem;font-weight:600;line-height:1.9}.detail-layout .detail-price{font-size:1.15rem;font-weight:650}.detail-availability{font-size:.8rem;font-weight:500;color:var(--green)}.product-share{font-size:.76rem}.detail-attributes h3{font-weight:600;font-size:.94rem}.detail-attributes dl{font-size:.78rem}.detail-attributes dl>div{padding:10px 12px;border-radius:8px}.detail-attributes dl>div:nth-child(odd){background:#f6f8fa}
.panel,.order-card,.auth-card{border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 4px 16px #18273503}.panel{padding:24px}.panel h3{font-size:1rem;font-weight:600}.profile-grid{gap:20px}.account-form label,.otp-section label{font-size:.8rem;font-weight:450}.account-form input,.account-form textarea,#registerAddress{background:#fbfcfd;font-size:.85rem;border-radius:11px}.account-form button{font-size:.79rem}.phone-status,.form-status,.form-hint{font-size:.77rem}.otp-section{background:#f4f7fa;border:1px solid var(--line)}
.order-card{padding:22px;gap:16px}.order-card h3{font-size:.95rem}.order-meta,.order-items{font-size:.78rem;line-height:2}.order-status{font-size:.69rem;font-weight:550;line-height:1.8;padding:6px 11px}.order-status.paid{background:#edf7f1;color:#25684d}.pay-btn{font-size:.8rem}
.admin-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:28px}.admin-metric{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;min-height:112px;padding:19px;border-radius:15px;gap:4px 10px;box-shadow:0 3px 12px #18273503}
.admin-metric strong{font-size:1.65rem;font-weight:650;grid-column:1;line-height:1.6}.admin-metric span{font-size:.73rem;grid-column:1;line-height:1.8}.admin-metric>.ui-icon{grid-column:2;grid-row:1/3;width:38px;height:38px;padding:8px;border-radius:11px;background:#f3f6f9;color:#7f92a4}.admin-metric:hover{border-color:#c3cfd9;background:#fcfdff}.admin-metric[data-metric="failed"]>.ui-icon,.admin-metric[data-metric="review"]>.ui-icon{background:#fff3eb;color:#a97534}
.admin-main-tabs{max-width:none;width:100%;margin:24px 0 16px;padding:5px;border:1px solid var(--line);background:#eef2f6;border-radius:13px;gap:5px}.admin-main-tabs button{font-weight:550;font-size:.84rem;display:flex;align-items:center;justify-content:center;gap:9px;min-height:47px}.admin-main-tabs button.active{background:white;color:var(--ink);box-shadow:0 3px 9px #18273508}.admin-main-tabs .ui-icon{width:19px;height:19px}
.admin-push-panel{display:grid;grid-template-columns:repeat(3,max-content) 1fr;gap:9px 12px;align-items:center;background:linear-gradient(100deg,#fffaf0,#fff);border-color:#ecdfc2}.admin-push-panel h3,.admin-push-panel p,.admin-push-panel small{grid-column:1/-1;margin:0}.admin-push-panel p{font-size:.79rem;color:var(--muted)}.admin-push-panel button{margin:0;font-size:.74rem}.admin-push-panel small{font-size:.7rem;line-height:1.9;margin-top:4px}
.admin-filters{padding-bottom:16px;gap:8px}.admin-filters button{font-size:.75rem;padding:8px 14px;font-weight:450}.admin-filters button.active{background:#fff5de;color:#87631e;border-color:#e3c987;font-weight:600}
.admin-tools{background:white;border:1px solid var(--line);border-radius:13px;padding:6px;align-items:center}.admin-tools input{border:0;padding:9px 11px;font-size:.8rem;background:transparent}.admin-tools .ghost{min-height:40px;font-size:.76rem;background:#f2f5f8}.admin-count{font-size:.75rem}
.admin-orders,.admin-users{display:grid;gap:13px}.admin-order-card,.admin-user-card{padding:21px;border-radius:15px;gap:12px}.admin-order-card h3,.admin-user-card h3{font-size:.9rem;font-weight:600}.admin-order-card small,.admin-user-card span{font-size:.74rem}.admin-order-card .ghost,.admin-user-card .ghost{font-size:.75rem;min-height:40px;padding:8px 13px}.admin-user-card p{font-size:.77rem;line-height:1.9}
.admin-category-tree{max-width:none}.admin-category-row>span{font-size:.83rem;font-weight:550}.admin-category-row small{font-size:.67rem}.admin-category-toggle{font-size:.69rem;font-weight:550;min-height:36px;padding:6px 11px}.admin-category-expand{display:grid;place-items:center;border-radius:9px;width:36px;height:36px}.admin-category-expand .ui-icon{width:17px;height:17px}.admin-category-expand[aria-expanded="true"] .ui-icon{transform:rotate(180deg)}
.admin-dialog{border:1px solid var(--line);border-radius:20px}.admin-dialog-head h2{font-size:1.05rem;font-weight:600}.admin-detail-line{background:#f6f8fa;border-radius:10px;padding:13px}.admin-detail-line span{font-size:.7rem}.admin-detail-line strong{font-size:.82rem;font-weight:550}.admin-detail-items strong{font-size:.85rem;font-weight:550;line-height:1.9}.admin-detail-items span,.admin-detail-items b,.admin-events p{font-size:.74rem}.admin-payment-note{background:#fff9ec;font-size:.78rem}.admin-detail-actions .primary,.admin-detail-actions .danger{font-size:.8rem;min-height:44px}
.auth-card{padding:34px;max-width:470px}.auth-art{background:radial-gradient(circle at top left,#344c5d,#192b3a 70%)}.auth-art p{font-size:1.18rem;font-weight:550}.brand-mark.big{font-weight:550;transform:none}.auth-tabs{margin:26px 0 22px;background:#f1f4f7;border-radius:12px}.auth-tabs button{font-size:.83rem;font-weight:500}.auth-card label{font-size:.8rem;font-weight:500}.auth-card input{font-size:.9rem;border-radius:11px;padding:12px}.auth-note{font-size:.72rem}.auth-card>#authBrowse{margin-top:19px;font-size:.75rem;width:100%}
.bottom-nav{background:#fffffff5;border-top:1px solid var(--line);box-shadow:0 -6px 24px #18273506}.bottom-nav button{min-height:50px;gap:5px;font-weight:450;padding:6px}.bottom-nav button span{font-size:.65rem;white-space:nowrap}.bottom-nav button .ui-icon{width:22px;height:22px;stroke-width:1.65}.bottom-nav button.active{color:#8a6824;font-weight:600}.bottom-nav button.active .ui-icon{stroke-width:1.9}
.toast{font-size:.8rem;font-weight:450;border-radius:12px;line-height:1.9;background:#213747}
@media(max-width:1100px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-content .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.catalog-layout{grid-template-columns:260px minmax(0,1fr);gap:20px}.hero-service{flex-basis:215px}}
@media(max-width:850px){.catalog-layout{grid-template-columns:1fr}.catalog-sidebar{position:static;max-height:none;overflow:visible}.catalog-content .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-welcome{min-height:180px;padding:26px}.category-products{margin-top:15px}.hero-service{display:none}.admin-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-push-panel{grid-template-columns:1fr 1fr}.admin-push-panel button:nth-of-type(3){grid-column:1/-1;justify-self:start}}
@media(max-width:720px){.topbar{height:68px;padding:0 14px}.brand-mark{width:37px;height:37px;border-radius:11px}.brand-row{gap:8px}.brand-row strong{font-size:.84rem}.header-actions{gap:6px}.category-shortcut,.account-pill,.icon-btn{padding:8px;min-height:40px;border-radius:10px;gap:5px}.category-shortcut{width:40px;height:40px}.account-pill{min-width:40px}.avatar{width:23px;height:23px}.icon-btn b{font-size:.65rem;width:20px;min-width:20px;height:22px}.header-actions .ui-icon{width:20px;height:20px}
main{padding:22px 14px 105px}.hero-strip.home-hero{min-height:285px;padding:26px 24px;border-radius:19px;display:flex}.home-hero h1{font-size:2rem;margin:9px 0 12px;max-width:100%;line-height:1.65}.home-hero p{font-size:.76rem;max-width:100%;line-height:2.05}.home-hero .eyebrow{font-size:.68rem}.hero-cta{margin-top:21px;font-size:.76rem;min-height:43px}.home-hero:after{left:-190px;top:-225px}.store-benefits{gap:6px;margin:14px 0 29px;padding:12px 5px;border-radius:12px}.store-benefits span{font-size:.62rem;flex-direction:column;gap:6px;line-height:1.8;text-align:center;padding:0 5px}.store-benefits .ui-icon{width:19px;height:19px}
.section-head,.page-title{gap:12px;align-items:center}.home-samples>.section-head h2,.section-head h2,.page-title h1{font-size:1.23rem}.section-head .ghost,.page-title .ghost{font-size:.65rem;min-height:38px;padding:8px 10px}.home-category{margin:24px 0 30px}.home-category .section-head h3{font-size:.93rem}.home-category .section-head .ghost{font-size:.68rem;min-height:35px}.product-grid,.catalog-content .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.product-card{border-radius:13px}.product-image{height:155px}.product-image img{padding:11px}.product-body,.category-product-view .product-body{padding:11px 12px 8px}.brand{font-size:.6rem}.product-body h3,.category-product-card .product-body h3{font-size:.74rem;line-height:1.95;height:5.85em;min-height:5.85em;margin:7px 0 11px}.price{font-size:.8rem;font-weight:600}.price-line{min-height:24px}.category-add{font-size:.68rem;margin:0 10px 11px;padding:9px 5px;min-height:42px;gap:5px}.category-add .ui-icon{width:15px;height:15px}
.category-row-title{font-size:.82rem}.category-row-icon{width:38px;height:38px;min-width:38px;min-height:38px}.category-children .category-row-title{font-size:.77rem}.category-page-intro p{font-size:.72rem}.category-page-intro h2{font-size:.94rem}.category-products .section-head h2{font-size:1rem}.result-count{font-size:.65rem}.catalog-welcome h2{font-size:1rem}.catalog-welcome p{font-size:.74rem}.catalog-welcome>.ui-icon{width:32px;height:32px;margin-bottom:12px}
.product-detail-panel{padding:20px;max-height:92vh;border-radius:20px 20px 0 0}.detail-layout{grid-template-columns:1fr;gap:20px}.detail-layout img{max-height:240px;padding:15px}.detail-layout h2{font-size:1.07rem;line-height:1.95}.detail-layout .detail-price{font-size:1.05rem}.detail-add,.product-share{min-height:45px;font-size:.78rem}.detail-attributes dl div{grid-template-columns:100px minmax(0,1fr);gap:10px}.detail-attributes dl{font-size:.72rem}
.drawer-panel{padding:22px 17px}.cart-item{grid-template-columns:58px minmax(0,1fr);gap:11px}.cart-item img{width:58px;height:65px;background:white;border:1px solid var(--line)}.cart-item h4{font-size:.75rem}.cart-controls{grid-column:2;flex-direction:row;justify-content:space-between}.cart-remove{min-height:40px}.qty button,.cart-item .qty button{width:34px;height:34px}.checkout-box .primary{font-size:.8rem}.total-row strong{font-size:.95rem}.panel{padding:20px}.account-form{gap:16px}.account-form button{width:100%;justify-self:stretch}.profile-grid{grid-template-columns:1fr;gap:16px}
.admin-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:22px}.admin-metric{min-height:97px;padding:15px;gap:5px}.admin-metric strong{font-size:1.35rem}.admin-metric span{font-size:.66rem}.admin-metric>.ui-icon{width:34px;height:34px;padding:8px}.admin-main-tabs{gap:3px}.admin-main-tabs button{font-size:.72rem;gap:5px;padding:9px 6px}.admin-main-tabs .ui-icon{width:17px;height:17px}.admin-push-panel{padding:19px;gap:10px}.admin-push-panel h3{font-size:.92rem}.admin-push-panel p{font-size:.73rem}.admin-push-panel button{font-size:.66rem;padding:9px 10px;min-height:44px}.admin-push-panel small{font-size:.65rem}.admin-tools{flex-wrap:nowrap}.admin-tools input{flex-basis:auto;font-size:.73rem}.admin-tools .ghost{font-size:.71rem}.admin-order-card,.admin-user-card{padding:17px;gap:13px}.admin-order-top{flex-wrap:wrap}.admin-order-top .order-status{font-size:.64rem}.admin-category-row{gap:7px;padding:10px}.admin-category-row>span{font-size:.76rem;overflow-wrap:anywhere}.admin-category-row small{display:none}.admin-category-toggle{font-size:.65rem;padding:7px 10px}.admin-category-children{padding:0 8px 10px}.admin-detail-items>div{grid-template-columns:1fr}.admin-detail-actions button{flex:1}.admin-dialog{border-radius:19px 19px 0 0}.auth-card{padding:25px 22px;border-radius:19px;width:100%;margin:3vh auto}.auth-shell{padding:20px}.auth-card label,.auth-tabs button{font-size:.78rem}}
.pricing-rows{display:grid;gap:12px;margin:24px 0}.pricing-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:16px;align-items:end;padding:16px;background:var(--bg);border:1px solid var(--line);border-radius:14px}.pricing-row label,.pricing-example{display:grid;gap:8px;font-size:.8rem}.pricing-row input,.pricing-example input{width:100%;min-width:0;direction:ltr;border:1px solid var(--line);border-radius:10px;padding:12px;font:inherit;background:white;min-height:44px}.pricing-row input:read-only{background:#f3f4f6;color:var(--muted)}.pricing-row small{align-self:center;color:var(--muted)}.pricing-actions{display:flex;flex-wrap:wrap;gap:10px}.pricing-example{max-width:360px;margin-top:24px}.pricing-example output{color:var(--ink);font-weight:650}.admin-main-tabs{max-width:760px}#adminPricingView{max-width:1000px}#pricingStatus{font-size:.85rem;line-height:2}
@media(max-width:600px){.admin-main-tabs{display:grid;grid-template-columns:1fr 1fr}.pricing-row{grid-template-columns:1fr 1fr;gap:12px;padding:14px}.pricing-row small{font-size:.7rem}.pricing-row button{font-size:.7rem}.pricing-actions button{flex:1;font-size:.75rem}.pricing-actions .primary{flex-basis:100%}}
@media(max-width:370px){.brand-row strong{font-size:.76rem}.header-actions{gap:4px}.price{font-size:.73rem}.category-add{font-size:.62rem;gap:3px}.home-hero h1{font-size:1.8rem}.admin-push-panel{grid-template-columns:1fr}.admin-push-panel button:nth-of-type(3){justify-self:stretch}.admin-metric>.ui-icon{width:28px;height:28px;padding:6px}}
.category-tree .category-row{min-height:54px;padding-block:5px;gap:10px}.category-tree .category-row-icon{position:relative;isolation:isolate;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;background:transparent;border-radius:10px;color:#657383;box-shadow:none}.category-tree .category-row-icon::before{content:'';position:absolute;inset:8px;background:#edf1f5;border-radius:8px;z-index:-1;transition:background .16s}.category-tree .category-row-icon .ui-icon{width:15px;height:15px}.category-tree .category-branch.expanded>.category-row .category-row-icon{background:transparent;color:#815c15}.category-tree .category-branch.expanded>.category-row .category-row-icon::before{background:#fae7b5}.category-tree button.category-row-icon:hover::before{background:#f5d580}.category-tree .category-row-icon.leaf::before{display:none}.category-tree .category-children .category-row{min-height:54px;padding-block:5px}.category-tree .category-children{padding-block:6px 10px}.category-tree .category-row-title{padding-block:7px;min-height:44px}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
@media(max-width:720px){.product-body h3,.category-product-card .product-body h3{font-size:.82rem;line-height:1.85;height:5.55em;min-height:5.55em}.price{font-size:.85rem}.category-add{min-height:44px;font-size:.72rem}.category-row-icon{min-width:44px;min-height:44px}.admin-category-expand{width:44px;height:44px;flex:none}.admin-category-toggle{min-height:44px}.qty button,.cart-item .qty button{width:40px;height:40px;min-width:40px;min-height:40px}.admin-filters button{min-height:44px}}
@media(max-width:370px){.price{font-size:.78rem}.category-add{font-size:.67rem}}
@media(max-width:720px){.store-benefits span{font-size:.73rem}.home-hero .eyebrow{font-size:.73rem}.brand{font-size:.68rem}.product-body h3,.category-product-card .product-body h3{font-size:.85rem}.bottom-nav button span{font-size:.72rem}.admin-metric span{font-size:.74rem}.admin-push-panel small{font-size:.72rem}.auth-card input,.account-form input,.account-form textarea,.checkout-box select,#registerAddress{font-size:1rem}.catalog-welcome p,.category-page-intro p{font-size:.78rem}}
.admin-main-tabs{position:sticky;top:88px;z-index:12;box-shadow:0 4px 15px #18273508;margin-top:0}.admin-summary{margin-top:10px}#adminOrdersView,#adminUsersView,#adminCategoriesView{scroll-margin-top:160px}
@media(max-width:720px){.admin-main-tabs{top:76px}#adminOrdersView,#adminUsersView,#adminCategoriesView{scroll-margin-top:142px}}
.brand-logo{display:block;flex:none;width:38px;height:48px;object-fit:contain}.brand-logo-large{width:120px;height:120px;border-radius:24px}.auth-art .brand-logo-large{margin-bottom:26px}.brand-row.compact{gap:12px}.app>main{padding-bottom:48px}.store-contact-shortcut{display:flex;align-items:center;gap:9px;margin:18px 0 30px;color:var(--muted);font-size:.8rem;text-decoration:none;min-height:44px}.store-contact-shortcut .ui-icon{color:#9b7227;width:19px;height:19px}.contact-shortcut-label{margin-inline-start:auto;color:var(--ink);border-bottom:1px solid #d6b776}.store-contact{max-width:1224px;margin:0 auto 40px;padding:32px;background:#fff;border:1px solid var(--line);border-radius:20px;scroll-margin-top:100px}.store-contact-intro{display:flex;align-items:center;gap:18px;padding-bottom:26px;border-bottom:1px solid var(--line)}.store-contact-intro img{object-fit:contain;flex:none}.store-contact-intro h2{font-size:1.25rem;margin:0 0 4px}.store-contact-intro p{margin:0;color:var(--muted);font-size:.8rem}.store-contact-details{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:24px;margin-top:26px}.store-contact-address,.store-contact-link{display:flex;align-items:flex-start;gap:12px;min-width:0}.store-contact-details .ui-icon{width:22px;height:22px;flex:none;color:#99702a;margin-top:5px}.store-contact-address h3{font-size:.82rem;margin:0 0 8px}.store-contact-address address{font-style:normal;font-size:.86rem;line-height:2}.store-contact-address small{display:block;color:var(--muted);font-size:.72rem;line-height:2;margin-top:7px}.store-contact-link{color:var(--ink);text-decoration:none;border-radius:12px;padding:10px;background:#f8fafc;min-height:72px;align-self:start}.store-contact-link:hover{background:#fff7e6}.store-contact-link span{display:grid;gap:5px}.store-contact-link small{color:var(--muted);font-size:.74rem}.store-contact-link b{font-size:.95rem;font-weight:550;letter-spacing:.02em;text-align:right}.store-contact-bottom{border-top:1px solid var(--line);margin:26px 0 0;padding-top:16px;font-size:.74rem;color:var(--muted)}
@media(max-width:720px){.brand-logo{width:29px;height:38px}.brand-logo-large{width:100px;height:100px}.brand-row.compact{gap:8px}.store-contact-shortcut{font-size:.73rem;flex-wrap:wrap;gap:7px}.contact-shortcut-label{margin-inline-start:26px}.store-contact{margin:0 14px calc(94px + env(safe-area-inset-bottom));padding:24px 20px;border-radius:16px}.store-contact-intro{gap:14px;padding-bottom:20px}.store-contact-intro img{width:36px;height:45px}.store-contact-intro h2{font-size:1rem}.store-contact-intro .eyebrow{font-size:.64rem}.store-contact-details{grid-template-columns:1fr;gap:15px;margin-top:20px}.store-contact-link{padding:14px;min-height:70px}.store-contact-bottom{margin-top:20px}.app>main{padding-bottom:30px}}
.hero-copy{max-width:100%}.home-hero h1{white-space:nowrap;letter-spacing:-.035em}.hero-address{display:flex;align-items:center;gap:8px;color:#d7e0e7;font-size:.8rem;margin-top:15px}.hero-address .ui-icon{width:19px;height:19px;color:var(--yellow);flex:none}.hero-cta{text-decoration:none;width:max-content}
@media(max-width:720px){.hero-strip.home-hero{min-height:0;padding:24px 21px;gap:0}.home-hero h1{font-size:clamp(1rem,4.8vw,1.2rem);line-height:1.5;margin:0 0 7px;letter-spacing:-.045em}.home-hero p{font-size:.73rem;line-height:1.8;margin:0}.hero-address{font-size:.73rem;margin-top:10px}.hero-cta{margin-top:14px;min-height:42px;font-size:.75rem;padding:9px 13px}}
.product-detail-panel>.close{position:absolute;top:14px;left:14px;float:none;z-index:4;box-shadow:0 4px 16px #18273512}#detailBody{padding-top:66px}.detail-layout{grid-template-columns:minmax(0,300px) minmax(0,1fr)}.product-gallery{min-width:0}.gallery-stage{position:relative;display:grid;place-items:center;min-height:310px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:#fff;outline:none}.gallery-stage:focus-visible{box-shadow:0 0 0 3px #f5c45166}.gallery-stage img{display:block;width:100%;height:310px;aspect-ratio:auto;max-height:none;object-fit:contain;background:#fff;border:0;border-radius:15px;padding:16px}.gallery-counter{position:absolute;right:10px;bottom:10px;direction:ltr;border-radius:999px;padding:5px 9px;background:#182735d9;color:white;font-size:.68rem}.gallery-counter[hidden]{display:none}.gallery-thumbnails{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding:2px 1px 6px;scrollbar-width:thin}.gallery-thumbnail{display:grid;place-items:center;flex:none;width:78px;height:78px;padding:4px;border:1px solid var(--line);border-radius:10px;background:white;cursor:pointer}.gallery-thumbnail img{display:block;width:100%;height:100%;object-fit:contain;border:0;border-radius:6px;padding:2px;background:#fff}.gallery-thumbnail.is-active{border:2px solid #d6ad48;background:#fffaf0}.gallery-thumbnail:focus-visible{outline:2px solid var(--ink);outline-offset:2px}.gallery-nav{position:absolute;top:50%;z-index:1;display:grid;place-items:center;width:36px;height:36px;padding:0;transform:translateY(-50%);border:1px solid #e5e8ed;border-radius:50%;background:#fffffff2;color:#18212e;box-shadow:0 2px 8px #18273518;cursor:pointer}.gallery-nav .ui-icon{width:18px;height:18px}.gallery-next{left:10px}.gallery-next .ui-icon{transform:rotate(90deg)}.gallery-prev{right:10px}.gallery-prev .ui-icon{transform:rotate(-90deg)}.detail-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}.detail-actions>.detail-add,.detail-actions>.product-share{display:flex;align-items:center;justify-content:center;flex:1 1 160px;min-width:0;margin:0}.detail-actions .product-share{border-radius:11px}
@media(max-width:720px){#detailBody{padding-top:58px}.product-detail-panel>.close{top:11px;left:14px}.detail-layout{grid-template-columns:1fr;gap:14px}.gallery-stage{min-height:0}.gallery-stage img{height:min(55vw,230px);max-height:230px;padding:10px}.gallery-thumbnails{gap:7px;margin-top:8px}.gallery-thumbnail{width:68px;height:68px}.gallery-nav{width:32px;height:32px}.detail-attributes{margin-top:18px}}
.category-add:not(.in-cart):not(.unavailable),.detail-add:not(.in-cart):not(.unavailable){background:#efbd46;border-color:#d8a72f}.category-add:hover:not(:disabled):not(.in-cart):not(.unavailable),.detail-add:hover:not(:disabled):not(.in-cart):not(.unavailable){background:#eeb638;border-color:#d3a12a;box-shadow:0 4px 12px #c5952020}
.shipping-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8fafc}.shipping-fields .shipping-address{grid-column:1/-1}.shipping-fields textarea,.shipping-fields input{width:100%;min-width:0;font:inherit;border:1px solid var(--line);border-radius:10px;padding:11px;background:#fff;color:var(--ink)}.shipping-fields textarea{resize:vertical}.shipping-fields input:focus,.shipping-fields textarea:focus{outline:2px solid #f4c65a;outline-offset:1px}.delivery-totals .total-row{margin:0;padding:9px 0;font-size:.8rem}.delivery-totals .payable-total{border-top:1px solid var(--line);margin-top:7px;padding-top:15px;font-size:.9rem}.order-shipping{font-size:.78rem;line-height:1.9;color:var(--muted);white-space:pre-line}.shipping-tracking-label{display:grid;gap:8px;font-size:.8rem;margin:14px 0}.shipping-tracking-label input{font:inherit;padding:11px;border:1px solid var(--line);border-radius:10px}.shipping-fields.hidden{display:none}
.admin-cart-filter{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:18px 0;font-size:.82rem}.admin-cart-filter select{font:inherit;border:1px solid var(--line);border-radius:11px;padding:10px 12px;background:white;color:var(--ink)}.admin-user-actions{display:flex;gap:9px;flex-wrap:wrap}.admin-user-actions button{flex:1;min-width:135px}.admin-cart-meta{background:#fff8e8;color:#735720;padding:10px 12px;border-radius:10px;font-size:.77rem}.admin-current-cart{margin:14px 0;display:inline-flex;align-items:center;gap:9px}.admin-cart-items{display:grid;gap:12px;margin-top:18px}.admin-cart-item{display:grid;grid-template-columns:60px minmax(0,1fr);gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:13px}.admin-cart-item img{width:60px;height:65px;object-fit:contain;background:#fff;border-radius:8px}.admin-cart-item h3{font-size:.86rem;line-height:1.9;margin:0 0 6px;font-weight:600}.admin-cart-item p{margin:0;color:var(--muted);font-size:.75rem}.admin-cart-item strong{font-size:.8rem}.admin-cart-loading:before{content:'';display:inline-block;width:17px;height:17px;border:2px solid var(--line);border-top-color:var(--yellow);border-radius:50%;animation:achar-cart-spin .8s linear infinite;margin-left:10px;vertical-align:middle}.admin-cart-loading{padding:24px 0;color:var(--muted)}@keyframes achar-cart-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.admin-cart-loading:before{animation:none}}
#adminCartBody{padding:20px}#adminCartDialog>.admin-note{font-size:.76rem;margin:16px 20px;white-space:normal;overflow-wrap:anywhere}#adminCartRefresh{margin:0 20px 0}@media(max-width:600px){#adminCartBody{padding:16px}#adminCartDialog>.admin-note{margin:14px 16px}#adminCartRefresh{margin-inline:16px}}
.order-product-row{display:grid;grid-template-columns:58px minmax(0,1fr);gap:12px;align-items:center;min-width:0;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff}.order-product-row img{width:58px;height:64px;object-fit:contain;border-radius:8px;padding:2px}.order-product-row h4{font-size:.82rem;font-weight:600;line-height:1.9;margin:0 0 5px}.order-product-row p{font-size:.73rem;line-height:1.8;margin:4px 0;color:var(--muted)}.order-product-row strong{font-size:.8rem}.order-product-row.is-compact{grid-template-columns:38px minmax(0,1fr);padding:8px 0;border:0;border-radius:0;gap:10px}.order-product-row.is-compact img{width:38px;height:42px}.order-product-row.is-compact h4{font-size:.75rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.item-code{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:.71rem;line-height:1.8;color:#526275}.item-code bdi{user-select:all;font-variant-numeric:tabular-nums;letter-spacing:.3px;font-weight:600}.copy-product-code{border:1px solid var(--line);background:#f6f8fa;color:var(--ink);border-radius:6px;padding:3px 9px;font-size:.65rem;min-height:30px;margin-right:5px}.order-items{list-style:none;padding:0;margin:14px 0}.order-items li{padding:0;margin:0;border-bottom:1px solid #edf0f4}.order-card{display:block}.order-card>.order-status{display:inline-flex;margin-top:12px}.order-snapshot-items{display:grid;gap:10px;margin:15px 0 24px}.admin-order-preview{border-top:1px solid var(--line);margin-top:12px;padding-top:5px}.admin-order-preview>small{font-size:.7rem;color:var(--muted)}.admin-stage-filter{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:.78rem;margin:17px 0}.admin-stage-filter select{flex:1;min-width:190px;max-width:100%;font:inherit;padding:11px 12px;background:white;border:1px solid var(--line);border-radius:11px;color:var(--ink)}.admin-filters{display:flex;flex-wrap:wrap;gap:7px}.admin-filters button{font-size:.73rem;min-height:39px;padding:8px 13px;border-radius:9px}.admin-order-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0 20px}.admin-order-totals:empty{display:none}.admin-order-totals>div{background:white;border:1px solid var(--line);border-radius:12px;padding:13px;display:grid;gap:5px}.admin-order-totals span{font-size:.69rem;color:var(--muted)}.admin-order-totals strong{font-size:.84rem;font-weight:600}.admin-notification-settings{margin:10px 0 20px;border:1px solid var(--line);border-radius:12px;background:white}.admin-notification-settings>summary{padding:12px 16px;cursor:pointer;color:var(--muted);font-size:.78rem}.admin-notification-settings .admin-push-panel{border:0;box-shadow:none;margin:0}.admin-notification-settings .admin-push-panel>h3{display:none}@media(max-width:720px){#adminSummary{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}#adminSummary .admin-metric{min-height:70px;padding:10px;gap:1px}#adminSummary .admin-metric strong{font-size:1.15rem}#adminSummary .admin-metric span{font-size:.61rem}#adminSummary .admin-metric .ui-icon{display:none}.admin-order-totals>div{padding:11px}.admin-order-totals strong{font-size:.77rem}.admin-stage-filter{gap:8px}}
.supplier-basket-panel{margin:20px 0;padding:16px;border:1px solid var(--line);border-radius:14px;background:#f8fafb}.supplier-basket-panel h3{font-size:.94rem;margin:0 0 10px}.supplier-basket-panel p{font-size:.75rem;color:var(--muted);line-height:1.9}.supplier-basket-row{padding:12px 0;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:8px;align-items:center}.supplier-basket-row strong{width:100%;font-size:.78rem;line-height:1.9}.supplier-basket-row p{width:100%;margin:0}.supplier-basket-state{font-size:.7rem;border-radius:7px;padding:4px 9px;background:#fff1ce;color:#735300}.supplier-basket-state.added{background:#e5f4eb;color:#236048}.supplier-basket-state.review,.supplier-basket-state.failed{background:#ffe9e7;color:#8a302b}.supplier-basket-row button{font-size:.69rem;min-height:40px;white-space:normal}
