@font-face{font-family:Vazirmatn;src:local(Vazirmatn),local(Tahoma);font-display:swap}:root{color:#18231e;font-synthesis:none;text-rendering:optimizelegibility;--primary:#16794b;--primary-dark:#0e5b37;--surface:#fff;--muted:#6d7a72;--line:#e5ebe7;direction:rtl;background:#f5f7f5;font-family:Vazirmatn,Tahoma,Arial,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}#root{min-height:100vh}.app-shell{background:#f8faf8;width:min(100%,760px);min-height:100vh;margin:auto;padding-bottom:86px;box-shadow:0 0 30px #153d2710}.topbar{z-index:10;border-bottom:1px solid var(--line);background:#fff;align-items:center;gap:12px;height:64px;padding:10px 18px;display:flex;position:sticky;top:0}.topbar h1{margin:0;font-size:18px}.topbar-spacer{margin-right:auto}.brand-dot,.auth-logo{background:var(--primary);color:#fff;border-radius:13px;place-items:center;width:40px;height:40px;font-size:23px;font-weight:900;display:grid}.icon-btn,.floating-back{background:0 0;border:0;place-items:center;display:grid}.icon-btn svg{width:22px}main{padding:16px}.bottom-nav{border-top:1px solid var(--line);z-index:20;width:min(100%,760px);height:72px;padding-bottom:env(safe-area-inset-bottom);background:#fff;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:50%;transform:translate(-50%)}.bottom-nav a{color:#7b8980;flex-direction:column;justify-content:center;align-items:center;gap:3px;font-size:11px;display:flex;position:relative}.bottom-nav svg{width:21px}.bottom-nav a.active{color:var(--primary);font-weight:800}.cart-link b{color:#fff;background:#e04c3f;border-radius:10px;padding:1px 5px;font-size:9px;position:absolute;top:6px;right:calc(50% + 4px)}.welcome{justify-content:space-between;align-items:center;padding:6px 2px 18px;display:flex}.welcome small,.detail-content>small,.product-card>small{color:var(--muted)}.welcome h2{margin:4px 0 0;font-size:21px}.welcome>svg{color:var(--primary);background:#e4f3ea;border-radius:15px;width:46px;height:46px;padding:10px}.hero-card{color:#fff;background:linear-gradient(135deg,#0d5c38,#23915e);border-radius:24px;padding:22px;box-shadow:0 12px 30px #16794b36}.hero-card h2{margin:7px 0;font-size:25px}.hero-card p{color:#dff5e8;margin:0 0 18px;font-size:13px}.hero-card a{color:var(--primary-dark);background:#fff;border-radius:12px;align-items:center;padding:9px 14px;font-size:13px;font-weight:800;display:inline-flex}.hero-card svg,.section-title svg{width:17px}.section-title{justify-content:space-between;align-items:center;margin:25px 0 12px;display:flex}.section-title h2{margin:0;font-size:18px}.section-title a{color:var(--primary);align-items:center;font-size:12px;display:flex}.categories{grid-template-columns:repeat(2,1fr);gap:10px;display:grid}.categories button{border:1px solid var(--line);color:#35433a;background:#fff;border-radius:14px;padding:13px}.product-scroll,.product-grid{grid-template-columns:repeat(2,1fr);gap:12px;display:grid}.product-card{border:1px solid var(--line);background:#fff;border-radius:18px;min-width:0;padding:10px;box-shadow:0 3px 12px #173c2608}.product-image{background:#f1f5f2;border-radius:13px;place-items:center;height:115px;font-size:55px;display:grid;position:relative}.product-image span{color:var(--primary);background:#e0f4e8;border-radius:8px;padding:3px 6px;font-size:9px;position:absolute;top:7px;right:7px}.product-card>small{margin-top:9px;font-size:10px;display:block}.product-card h3{height:40px;margin:4px 0;font-size:14px}.product-card p{margin:0;font-size:10px}.product-card p b{color:var(--primary);font-size:12px}.product-card em{color:var(--muted);font-size:9px;font-style:normal}.search{border:1px solid var(--line);background:#fff;border-radius:15px;align-items:center;gap:8px;margin-bottom:16px;padding:0 13px;display:flex}.search svg{width:20px;color:var(--muted)}.search input{background:0 0;border:0;outline:0;width:100%;padding:13px 3px}.state,.empty{text-align:center;min-height:45vh;color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.state svg,.empty>svg{color:#a8b4ac;width:50px;height:50px}.error{color:#b33}.empty h2{color:#24332a;margin:5px 0}.empty p{margin:0 0 12px;font-size:13px}.detail-image{background:#eef4f0;border-radius:24px;place-items:center;height:260px;font-size:120px;display:grid}.detail-content h2{margin:5px 0;font-size:22px}.stock{color:var(--primary);font-size:12px}.tier-box{border:1px solid var(--line);background:#fff;border-radius:17px;margin:18px 0;padding:13px}.tier-box h3{margin:0 0 8px;font-size:14px}.tier-box div{border-radius:9px;justify-content:space-between;padding:9px;font-size:12px;display:flex}.tier-box div.selected{color:var(--primary);background:#e9f6ee}.quantity-row,.buy-bar{justify-content:space-between;align-items:center;display:flex}.quantity-row>div:first-child{flex-direction:column;font-size:12px;display:flex}.stepper{background:#f0f4f1;border-radius:13px;align-items:center;gap:14px;padding:5px;display:flex}.stepper button{width:33px;height:33px;color:var(--primary);background:#fff;border:0;border-radius:9px;place-items:center;display:grid}.stepper svg{width:16px}.buy-bar{border:1px solid var(--line);background:#fff;border-radius:18px;margin-top:20px;padding:12px;position:sticky;bottom:75px;box-shadow:0 10px 25px #1f3a2920}.buy-bar>div{flex-direction:column;display:flex}.buy-bar small{color:var(--muted);font-size:10px}.buy-bar b{font-size:13px}.primary{background:var(--primary);color:#fff;border:0;border-radius:13px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-weight:800;display:inline-flex}.primary:hover{background:var(--primary-dark)}.primary:disabled{cursor:not-allowed;background:#aebbb3}.primary svg{width:18px}.wide{width:100%}.cart-lines{flex-direction:column;gap:10px;display:flex}.cart-lines article{border:1px solid var(--line);background:#fff;border-radius:17px;align-items:center;gap:10px;padding:10px;display:flex}.mini-image{background:#f0f4f1;border-radius:12px;place-items:center;width:64px;height:64px;font-size:32px;display:grid}.line-info{flex:1;min-width:0}.line-info h3{margin:0;font-size:13px}.line-info small{color:var(--muted);font-size:9px}.line-info b{color:var(--primary);font-size:11px;display:block}.stepper.small{gap:5px}.stepper.small button{width:25px;height:25px}.stepper.small span{font-size:11px}.summary{border:1px solid var(--line);background:#fff;border-radius:18px;margin-top:17px;padding:15px}.summary>div{justify-content:space-between;padding:8px 0;font-size:12px;display:flex}.summary .total{border-top:1px dashed var(--line);font-size:14px}.warning{color:#8c6516;background:#fff3db;border-radius:10px;padding:10px;font-size:11px}.order-card{border:1px solid var(--line);background:#fff;border-radius:18px;padding:16px}.order-card>div{justify-content:space-between;display:flex}.order-card small{color:var(--muted)}.status{color:#936d13;background:#fff3d7;border-radius:10px;padding:5px 9px;font-size:10px}.order-card h3{margin:15px 0 3px;font-size:16px}.order-card p{color:var(--muted);font-size:12px}.order-card button{color:var(--primary);background:0 0;border:0;align-items:center;margin-right:auto;display:flex}.order-card svg{width:16px}.profile-head{text-align:center;border:1px solid var(--line);background:#fff;border-radius:20px;padding:24px}.profile-head>div{width:70px;height:70px;color:var(--primary);background:#e7f4ec;border-radius:50%;place-items:center;margin:auto;display:grid}.profile-head h2{margin:10px 0 3px;font-size:18px}.profile-head p{color:var(--primary);justify-content:center;align-items:center;gap:3px;font-size:11px;display:flex}.profile-head p svg{width:15px}.menu-list{border:1px solid var(--line);background:#fff;border-radius:18px;margin-top:15px;padding:5px 14px}.menu-list button{border:0;border-bottom:1px solid var(--line);text-align:right;background:0 0;justify-content:space-between;width:100%;padding:15px 0;display:flex}.menu-list svg{width:17px}.menu-list .danger{color:#b43a32;border:0}.auth-page{text-align:center;background:#f8faf8;width:min(100%,480px);min-height:100vh;margin:auto;padding:55px 22px;position:relative}.auth-logo{border-radius:21px;width:64px;height:64px;margin:auto;font-size:35px;box-shadow:0 10px 25px #16794b33}.auth-logo.small{width:50px;height:50px;font-size:27px}.auth-page h1{margin:20px 0 6px;font-size:25px}.auth-page>p{color:var(--muted);margin:0 0 25px;font-size:13px}.segmented{background:#e9eeeb;border-radius:13px;grid-template-columns:1fr 1fr;margin-bottom:14px;padding:4px;display:grid}.segmented button{color:var(--muted);background:0 0;border:0;border-radius:10px;padding:9px}.segmented .active{color:var(--primary);background:#fff;font-weight:800;box-shadow:0 2px 6px #23382a12}.form-card{border:1px solid var(--line);text-align:right;background:#fff;border-radius:19px;flex-direction:column;gap:13px;padding:17px;display:flex}.form-card label{font-size:12px;font-weight:700}.form-card label small{color:var(--muted);font-weight:400}.form-card input{border:1px solid #dce4df;border-radius:12px;outline:0;width:100%;margin-top:6px;padding:12px;display:block}.form-card input:focus{border-color:var(--primary);box-shadow:0 0 0 3px #16794b15}.text-link{color:var(--primary);margin-top:20px;font-size:13px;display:block}.floating-back{position:absolute;top:20px;right:18px}@media (width>=640px){main{padding:22px}.product-grid{grid-template-columns:repeat(3,1fr)}.categories{grid-template-columns:repeat(4,1fr)}.product-scroll{grid-template-columns:repeat(3,1fr)}}.product-image img,.detail-image img,.mini-image img{object-fit:contain;border-radius:inherit;width:100%;height:100%}.category-filter{overscroll-behavior-inline:contain;scroll-behavior:smooth;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;touch-action:pan-x;scrollbar-width:none;cursor:grab;gap:8px;padding:2px 2px 14px;display:flex;overflow-x:auto}.category-filter:active{cursor:grabbing}.category-filter::-webkit-scrollbar{display:none}.category-filter button{scroll-snap-align:center;border:1px solid var(--line);color:#55645a;white-space:nowrap;background:#fff;border-radius:999px;flex:none;align-items:center;gap:6px;padding:8px 13px;transition:background .18s,border-color .18s,color .18s,transform .18s;display:flex}.category-filter button:active{transform:scale(.97)}.category-filter button small{background:#edf2ef;border-radius:999px;padding:1px 6px;font-size:9px}.category-filter button.active{background:var(--primary);border-color:var(--primary);color:#fff}.category-filter button.active small{background:#ffffff2b}.categories>a{border:1px solid var(--line);color:#35433a;background:#fff;border-radius:16px;grid-template-rows:auto auto;grid-template-columns:46px minmax(0,1fr);align-items:center;column-gap:10px;padding:10px;display:grid}.categories>a>img,.categories>a>svg{object-fit:cover;width:46px;height:46px;color:var(--primary);background:#edf4ef;border-radius:12px;grid-row:1/3;padding:5px}.categories>a>span{white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:800;overflow:hidden}.categories>a>small{color:var(--muted);font-size:9px}.product-image{background:#fff;height:155px;overflow:hidden}.detail-image{border:1px solid var(--line);background:#fff;height:min(68vw,430px);overflow:hidden}.image-fallback{color:#9cac9f;background:#edf3ef;border-radius:14px;padding:9px;width:42px!important;height:42px!important}.profile-head strong{color:var(--muted);font-size:12px;font-weight:500;display:block}.menu-list a,.menu-list button{border:0;border-bottom:1px solid var(--line);text-align:right;background:0 0;justify-content:space-between;align-items:center;width:100%;padding:15px 0;display:flex}.menu-list a>span,.menu-list button>span{align-items:center;gap:10px;display:flex}.menu-list a>span svg,.menu-list button>span svg{color:var(--primary);background:#e9f5ee;border-radius:10px;width:32px;height:32px;padding:6px}.menu-list .danger span svg{color:#b43a32;background:#fff0ef}.profile-form{border:1px solid var(--line);background:#fff;border-radius:20px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px;display:grid}.profile-form label{font-size:11px;font-weight:800}.profile-form input,.profile-form textarea{background:#fff;border:1px solid #dce4df;border-radius:12px;outline:0;width:100%;margin-top:6px;padding:12px;display:block}.profile-form input:disabled{color:#8a958e;background:#f2f4f3}.profile-form textarea{resize:vertical;min-height:100px}.profile-form .full{grid-column:1/-1}.support-card,.order-detail-head,.info-card{border:1px solid var(--line);background:#fff;border-radius:20px;padding:20px}.support-card{text-align:center}.support-card>svg{width:64px;height:64px;color:var(--primary);background:#e6f4ec;border-radius:20px;padding:15px}.support-card h2{margin:14px 0 5px;font-size:20px}.support-card p{color:var(--muted);margin:0 0 18px;font-size:12px}.support-card a{margin-top:10px}.whatsapp{color:#168442;border:1px solid #25a65a;border-radius:13px;justify-content:center;align-items:center;gap:8px;padding:12px 16px;font-weight:800;display:inline-flex}.order-card{margin-bottom:10px;display:block}.order-more{color:var(--primary);justify-content:flex-end;align-items:center;font-size:11px;display:flex}.order-more svg{width:16px}.order-detail-head{grid-template-columns:1fr auto;align-items:center;gap:10px;display:grid}.order-detail-head>b{color:var(--primary);font-size:16px}.order-detail-head small{color:var(--muted);grid-column:1/-1}.order-items{flex-direction:column;gap:8px;margin:14px 0;display:flex}.order-items article{border:1px solid var(--line);background:#fff;border-radius:16px;align-items:center;gap:10px;padding:10px;display:flex}.order-items img,.order-items article>svg{object-fit:contain;background:#f2f5f3;border-radius:11px;width:58px;height:58px;padding:4px}.order-items article>div{flex:1}.order-items h3{margin:0;font-size:12px}.order-items small{color:var(--muted);font-size:10px}.order-items article>b{color:var(--primary);font-size:11px}.info-card p{border-bottom:1px solid var(--line);flex-direction:column;gap:5px;margin:0;padding:10px 0;display:flex}.info-card p:last-child{border:0}.info-card span{color:var(--muted);font-size:11px;line-height:1.8}@media (width<=480px){.profile-form{grid-template-columns:1fr}.profile-form .full{grid-column:auto}}.refresh-btn{color:var(--primary);background:#f1f7f3;border:1px solid #dce7e0;border-radius:11px;align-items:center;gap:5px;padding:7px 9px;font-size:10px;font-weight:800;display:flex}.refresh-btn svg{width:16px;height:16px}.refresh-btn:disabled{opacity:.65}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=380px){.refresh-btn span{display:none}}.site-logo{object-fit:contain;border-radius:10px;width:42px;height:42px}.short-description{color:var(--muted);border:1px solid var(--line);background:#fff;border-radius:14px;padding:12px;font-size:12px;line-height:1.9}.product-description{border:1px solid var(--line);background:#fff;border-radius:17px;margin:16px 0;padding:14px}.product-description h3{margin:0 0 8px;font-size:14px}.product-description div{color:#56655b;font-size:12px;line-height:2}.product-description img{max-width:100%;height:auto}.auth-site-logo{object-fit:contain;width:min(220px,70%);height:82px;margin:0 auto 10px;display:block}.cart-actions{flex-direction:column;align-items:center;gap:6px;display:flex}.remove-line{color:#ba3b34;background:0 0;border:0;align-items:center;gap:3px;font-size:10px;display:flex}.remove-line svg{width:14px;height:14px}.hero-card.has-image{background-position:50%;background-size:cover}.state.compact{min-height:160px}.pagination{justify-content:center;align-items:center;gap:12px;margin:22px 0;display:flex}.pagination button{border:1px solid var(--line);color:var(--primary);background:#fff;border-radius:11px;padding:9px 13px;font-weight:700}.pagination button:disabled{opacity:.45}.pagination span{color:var(--muted);font-size:11px}.product-gallery{margin-bottom:14px}.gallery-thumbs{gap:8px;padding:10px 2px;display:flex;overflow-x:auto}.gallery-thumbs button{background:#fff;border:2px solid #0000;border-radius:12px;flex:0 0 68px;width:68px;height:68px;padding:3px}.gallery-thumbs button.active{border-color:var(--primary)}.gallery-thumbs img{object-fit:contain;border-radius:8px;width:100%;height:100%}
