@font-face{font-family:"Vazirmatn";src:url("fonts/Vazirmatn-400.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Vazirmatn";src:url("fonts/Vazirmatn-700.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
:root{--font:"Vazirmatn",Tahoma,sans-serif}
/* Task 153: one simple RTL design for every store's backup copy. Colours and font come from
   the store's own settings (variables set in each page's <head>). Mobile first. */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--font);font-size:15px;line-height:1.8;color:#1d2433;background:#f6f7f9}
a{color:var(--primary-light)}
img{max-width:100%;height:auto}
h1{font-size:1.35rem;margin:.6rem 0}
h2{font-size:1.15rem;margin:1.4rem 0 .6rem}
h3{font-size:1rem;margin:1rem 0 .4rem}
del{color:#8a93a3;margin-left:.4rem;font-size:.9em}
[hidden]{display:none!important}
.wrap{max-width:1180px;margin:0 auto;padding:0 16px}
.muted{color:#667085;font-size:.9em}
.block{display:block}
.outage{background:var(--accent);color:#fff;padding:.5rem 16px;font-size:.88rem;text-align:center}
.outage-at{display:inline-block;margin-right:.4rem;opacity:.9}
.top{background:#fff;border-bottom:1px solid #e5e7eb}
.top-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.6rem;padding-bottom:.6rem}
.brand{display:flex;align-items:center;gap:.5rem;color:var(--primary);font-weight:700;text-decoration:none;font-size:1.1rem}
.brand img{height:40px;width:auto}
.cart-link{background:var(--primary);color:#fff;text-decoration:none;padding:.35rem .9rem;border-radius:999px;white-space:nowrap}
.cart-count{background:var(--accent);border-radius:999px;padding:0 .45rem;margin-right:.3rem;font-size:.85em}
.nav{display:flex;gap:1rem;overflow-x:auto;padding-bottom:.5rem;white-space:nowrap}
.nav a{color:#344054;text-decoration:none}
.main{padding-top:1rem;padding-bottom:2rem;min-height:60vh}
.foot{background:#fff;border-top:1px solid #e5e7eb;padding:1.2rem 0}
.foot-title{font-weight:700;margin:0 0 .5rem}
.foot-links a{color:#344054}
.btn{display:inline-block;background:var(--primary);color:#fff;border:0;border-radius:10px;padding:.6rem 1.2rem;font:inherit;cursor:pointer;text-decoration:none;margin:.3rem 0}
.btn:hover{background:var(--primary-light)}
.btn.ghost{background:#fff;color:var(--primary);border:1px solid var(--primary)}
.btn.small{padding:.25rem .7rem;font-size:.88rem}
.messengers{display:flex;flex-wrap:wrap;gap:.5rem;margin:.5rem 0}
.msg{color:#fff}
.msg-wa{background:#1f9d55}
.msg-bale{background:#0d6efd}
.msg-tg{background:#229ed9}
.slides{display:grid;gap:.6rem;margin-bottom:1rem}
.slide{position:relative;display:block;border-radius:14px;overflow:hidden}
.slide img{display:block;width:100%}
.slide-text{position:absolute;bottom:0;right:0;left:0;background:linear-gradient(transparent,rgba(0,0,0,.6));color:#fff;padding:1rem}
.stories{display:flex;gap:.8rem;overflow-x:auto;margin-bottom:1rem}
.story{margin:0;width:84px;flex:none;text-align:center;font-size:.8rem}
.story img{width:72px;height:72px;border-radius:50%;object-fit:cover;border:2px solid var(--accent)}
.home-title small{display:block;font-size:.85rem;color:#667085;font-weight:400}
.cat-strip{display:flex;flex-wrap:wrap;gap:.5rem;margin:.6rem 0}
.chip{background:var(--tint);color:var(--primary);padding:.3rem .8rem;border-radius:999px;text-decoration:none;font-size:.9rem}
.chip-strong{background:var(--primary);color:#fff}
.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.card{display:flex;flex-direction:column;background:#fff;border-radius:12px;padding:.6rem;text-decoration:none;color:inherit;border:1px solid #eef0f3}
.card-img{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;background:#f2f4f7;border-radius:8px;overflow:hidden}
.card-img img{width:100%;height:100%;object-fit:cover}
.card-name{margin:.4rem 0;font-size:.9rem;line-height:1.6}
.card-price{margin-top:auto;font-weight:700;color:var(--primary)}
.card-price.big{font-size:1.25rem}
.out{color:#b42318;font-weight:700}
.trail{font-size:.85rem;color:#667085;margin-bottom:.4rem}
.notice{background:#fff8e6;border:1px solid #f5d38a;border-radius:10px;padding:.6rem .8rem;margin:.6rem 0}
.notice-critical,.notice-warning{background:#fff1f0;border-color:#f3a7a0}
.notice p{margin:.2rem 0}
.listing{display:grid;gap:1rem}
.filters-box summary{cursor:pointer;font-weight:700;background:#fff;border:1px solid #eef0f3;border-radius:12px;padding:.5rem .8rem}
.filters-box[open] summary{margin-bottom:.5rem}
.filters{background:#fff;border-radius:12px;padding:.8rem;border:1px solid #eef0f3}
.filters label{display:block;margin:.3rem 0}
.filters input[type=text],.filters input[type=number],.filters select{width:100%}
fieldset{border:1px solid #e5e7eb;border-radius:10px;margin:.5rem 0;padding:.4rem .7rem}
legend{font-weight:700;font-size:.9rem}
.inline{display:inline-flex!important;align-items:center;gap:.3rem;margin-left:.8rem}
.toolbar{display:flex;flex-wrap:wrap;gap:.6rem;align-items:center;margin-bottom:.7rem}
input,select,textarea{font:inherit;border:1px solid #d0d5dd;border-radius:8px;padding:.4rem .5rem;background:#fff;max-width:100%}
.wide{width:100%}
.qty{width:5rem}
.product{display:grid;gap:1rem}
.gallery{display:flex;gap:.5rem;overflow-x:auto;scroll-snap-type:x mandatory}
.gallery img{flex:none;width:100%;border-radius:12px;scroll-snap-align:start;background:#fff}
.no-img{height:140px;background:#eef0f3;border-radius:12px;display:flex;align-items:center;justify-content:center;color:#98a2b3;width:100%}
.badges{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.4rem}
.badges li{background:var(--tint);color:var(--primary);border-radius:8px;padding:.15rem .6rem;font-size:.85rem}
.price-box{margin:.6rem 0}
.buy{background:#fff;border:1px solid #eef0f3;border-radius:12px;padding:.8rem;margin:.6rem 0}
.choices{display:grid;gap:.3rem;margin:.4rem 0}
.choice{display:flex;gap:.5rem;align-items:flex-start;padding:.35rem .5rem;border:1px solid #eef0f3;border-radius:8px;background:#fff}
.choice.disabled{opacity:.55}
.pick-list{max-height:320px;overflow-y:auto;margin:.4rem 0}
.num{font-family:inherit;letter-spacing:.04em;unicode-bidi:isolate;font-weight:700}
.options .opt{margin:.3rem 0}
.line-total{font-weight:700;font-size:1.05rem;color:var(--primary)}
.package{border:1px dashed var(--primary-light);border-radius:10px;padding:.5rem .7rem;margin:.5rem 0;background:#fff}
.package p{margin:.1rem 0}
.sections{background:#fff;border-radius:12px;padding:.4rem 1rem 1rem;margin-top:1rem}
.specs{width:100%;border-collapse:collapse}
.specs th,.specs td{border-bottom:1px solid #eef0f3;padding:.35rem;text-align:right;vertical-align:top}
.specs th{width:40%;color:#475467;font-weight:400}
.prose{overflow-wrap:anywhere}
.prose img{border-radius:8px}
.prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:0 0 .75rem;font-size:.92em}
.prose th,.prose td{border:1px solid #e5e8ec;padding:.4rem .6rem;text-align:right;vertical-align:top}
.prose th{background:var(--primary);color:#fff}
.prose tbody tr:nth-child(even) td{background:#f5f7fa}
.faq{border-bottom:1px solid #eef0f3;padding:.4rem 0}
.faq summary{cursor:pointer;font-weight:700}
.review{border-bottom:1px solid #eef0f3;padding:.5rem 0}
.tag{background:#ecfdf3;color:#067647;border-radius:6px;padding:0 .4rem;font-size:.8rem;margin:0 .3rem}
.video{width:100%;border-radius:10px;margin:.4rem 0}
.terms-preview{background:#fff;border:1px solid #eef0f3;border-radius:10px;padding:.4rem .8rem;margin:.5rem 0}
.terms-preview summary{cursor:pointer;font-weight:700}
.numbers{display:grid;gap:.4rem}
.num-row{display:grid;grid-template-columns:1fr auto;gap:.2rem .6rem;align-items:center;background:#fff;border:1px solid #eef0f3;border-radius:10px;padding:.5rem .7rem}
.num-row .muted{grid-column:1/-1;order:3}
.cart-line{display:grid;grid-template-columns:64px 1fr;gap:.6rem;background:#fff;border:1px solid #eef0f3;border-radius:12px;padding:.6rem;margin-bottom:.6rem}
.cart-line.bad{border-color:#f3a7a0;background:#fff7f6}
.cart-line img,.thumb{width:64px;height:64px;object-fit:cover;border-radius:8px;background:#f2f4f7;display:block}
.cart-info p,.cart-info ul{margin:.1rem 0}
.cart-info ul{padding-right:1rem}
.cart-qty{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.order-form{background:#fff;border:1px solid #eef0f3;border-radius:12px;padding:.8rem}
.field{display:grid;gap:.2rem;margin:.5rem 0}
.field input,.field select,.field textarea{width:100%}
.summary-lines{padding-right:1.2rem}
.receipt{background:var(--tint);border-radius:12px;padding:.6rem 1rem}
.bank-card{background:#fff;border:1px solid #d0d5dd;border-radius:12px;padding:.6rem 1rem;margin:.5rem 0}
.bank-card .num{font-size:1.2rem;margin:0}
.message{white-space:pre-wrap;background:#fff;border:1px solid #eef0f3;border-radius:10px;padding:.7rem;font-family:inherit;font-size:.88rem}
.tree a{text-decoration:none}
.contact dt{font-weight:700}
.contact dd{margin:0 0 .6rem}
.toast{position:fixed;bottom:16px;right:16px;left:16px;background:#101828;color:#fff;padding:.7rem 1rem;border-radius:12px;z-index:10;display:flex;justify-content:space-between;gap:1rem}
.toast a{color:#fff;font-weight:700}
.lead{color:#475467}
@media (min-width:720px){
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .product{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .listing{grid-template-columns:240px minmax(0,1fr);align-items:start}
  .no-img{height:auto;aspect-ratio:1/1}
  .slides{grid-template-columns:repeat(2,1fr)}
  .toast{left:auto;max-width:420px}
}
@media (min-width:1024px){
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .gallery{flex-wrap:wrap}
  .gallery img{width:calc(50% - .25rem)}
  .gallery img:first-child{width:100%}
}
