@font-face{font-family:'Vazirmatn';font-weight:400;font-style:normal;font-display:swap;src:url(fonts/Vazirmatn-Regular.woff2) format('woff2')}
@font-face{font-family:'Vazirmatn';font-weight:500;font-style:normal;font-display:swap;src:url(fonts/Vazirmatn-Medium.woff2) format('woff2')}
@font-face{font-family:'Vazirmatn';font-weight:700;font-style:normal;font-display:swap;src:url(fonts/Vazirmatn-Bold.woff2) format('woff2')}
@font-face{font-family:'Lalezar';font-weight:400;font-style:normal;font-display:swap;src:url(fonts/Lalezar-Regular.woff2) format('woff2')}

*,*::before,*::after{box-sizing:inherit}
:root{
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
  --f-display:'Lalezar','Vazirmatn',Tahoma,'Segoe UI',sans-serif;
  --f-body:'Vazirmatn',Tahoma,'Segoe UI',Arial,sans-serif;
  --bg:#F3F7F7; --surface:#FFFFFF; --surface2:#EAF0F1; --ink:#13202E; --muted:#5A6878; --line:#DCE4E8;
  --brand:#0B7A75; --brand-soft:#DDF1EF; --brand-ink:#FFFFFF;
  --accent:#F2A93B; --sale:#D9432B; --ok:#1F8A4C; --warn:#B7791F;
  --l1:91%; --l2:82%;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#0E1620; --surface:#16212D; --surface2:#1E2B39; --ink:#E9EFF3; --muted:#9BA9B6; --line:#283644;
    --brand:#2BB3AB; --brand-soft:#12312F; --brand-ink:#07191A;
    --accent:#F2B24D; --sale:#FF7A5F; --ok:#4CC27F; --warn:#E2A94A; --l1:26%; --l2:19%; color-scheme:dark;
  }
}
:root[data-theme="dark"]{
  --bg:#0E1620; --surface:#16212D; --surface2:#1E2B39; --ink:#E9EFF3; --muted:#9BA9B6; --line:#283644;
  --brand:#2BB3AB; --brand-soft:#12312F; --brand-ink:#07191A;
  --accent:#F2B24D; --sale:#FF7A5F; --ok:#4CC27F; --warn:#E2A94A; --l1:26%; --l2:19%; color-scheme:dark;
}
html{scroll-padding-top:calc(env(safe-area-inset-top,0px) + 90px);-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:400 15px/1.8 var(--f-body);-webkit-font-smoothing:antialiased;min-height:100%}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
img{max-width:100%;display:block}
h1,h2,h3,h4{margin:0;line-height:1.3}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:6px}
.wrap{max-width:1760px;margin:0 auto;padding:0 clamp(8px,1.2vw,20px)}
.muted{color:var(--muted)}
.ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* buttons & fields */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;background:var(--brand);color:var(--brand-ink);padding:10px 20px;font-weight:700;cursor:pointer;white-space:nowrap}
.btn.sm{padding:6px 14px;font-size:13px;border-radius:10px}
.btn.lg{padding:14px 28px;font-size:16px}
.btn.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}
.btn.soft{background:var(--brand-soft);color:var(--brand)}
.btn.danger{background:transparent;color:var(--sale);border:1px solid var(--sale)}
.btn[disabled]{opacity:.45;cursor:not-allowed}
.icon-btn{position:relative;display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;border:1px solid var(--line);background:var(--surface);cursor:pointer;color:var(--ink)}
.icon-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.count{position:absolute;top:-6px;inset-inline-start:-6px;min-width:20px;height:20px;border-radius:10px;background:var(--sale);color:#fff;font-size:11px;display:grid;place-items:center;padding:0 5px;font-weight:700}
.count:empty,.count[data-n="0"]{display:none}
label.f{display:block;font-size:13px;font-weight:500;color:var(--muted);margin-bottom:4px}
.inp,select.inp,textarea.inp{width:100%;border:1px solid var(--line);background:var(--surface);border-radius:10px;padding:9px 12px;min-height:42px}
textarea.inp{min-height:90px;resize:vertical}
.chk{display:flex;align-items:center;gap:8px;cursor:pointer}
.chk input{width:18px;height:18px;accent-color:var(--brand)}
.fgrid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.fgrid .full{grid-column:1/-1}
.badge{display:inline-block;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--surface2);color:var(--muted)}
.badge.sale{background:var(--sale);color:#fff}
.badge.ok{background:color-mix(in srgb,var(--ok) 18%,transparent);color:var(--ok)}
.badge.warn{background:color-mix(in srgb,var(--warn) 20%,transparent);color:var(--warn)}
.badge.off{background:var(--surface2);color:var(--muted)}

/* header */
.topbar{background:var(--brand);color:var(--brand-ink);text-align:center;font-size:13px;padding:6px 12px}
.hdr{position:sticky;top:env(safe-area-inset-top,0px);z-index:30;background:var(--surface);border-bottom:1px solid var(--line)}
.hdr .wrap{display:flex;align-items:center;gap:14px;padding-top:10px;padding-bottom:10px;flex-wrap:wrap}
.logo{font-family:var(--f-display);font-size:30px;line-height:1;display:flex;align-items:center;gap:8px}
.logo svg{width:42px;height:42px;flex:none}
.logo .wm b{color:var(--brand);font-weight:400}
.search{flex:1;min-width:200px;position:relative;order:2}
.search input{padding-inline-start:42px;border-radius:999px;background:var(--bg)}
.search svg{position:absolute;inset-inline-start:14px;top:11px;width:20px;height:20px;fill:none;stroke:var(--muted);stroke-width:1.8}
.nav{display:flex;gap:4px;order:3}
.nav a{padding:6px 12px;border-radius:10px;font-weight:500;color:var(--muted)}
.nav a.on{background:var(--brand-soft);color:var(--brand)}
.hdr-ic{display:flex;gap:8px;margin-inline-start:auto;order:1}
@media (max-width:760px){.search{order:4;flex-basis:100%}.nav{order:3;flex-basis:100%;overflow-x:auto}.hdr-ic{order:2}.logo{order:1}}
@media (min-width:761px){.logo{order:0}.hdr-ic{order:5;margin-inline-start:0}.nav{order:1}.search{order:2}}

/* hero */
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;padding:48px 0 32px}
.hero h1{font-family:var(--f-display);font-weight:400;font-size:clamp(42px,7.4vw,92px);line-height:1.08;letter-spacing:0}
.hero p{font-size:17px;color:var(--muted);max-width:46ch;margin:18px 0 26px}
.hero .cta{display:flex;gap:12px;flex-wrap:wrap}
.mosaic{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mt{position:relative;aspect-ratio:1;display:block;overflow:hidden;background:linear-gradient(135deg,hsl(var(--h) 60% var(--l1)),hsl(var(--h) 55% var(--l2)));display:grid;place-items:center}
.mt:nth-child(1){border-radius:32px 32px 32px 8px}
.mt:nth-child(2){border-radius:32px 8px 32px 32px;margin-top:28px}
.mt:nth-child(3){border-radius:8px 32px 32px 32px}
.mt:nth-child(4){border-radius:32px 32px 8px 32px;margin-top:28px}
.mt span{font-size:clamp(48px,9vw,96px);line-height:1}
.mt em{position:absolute;inset-inline:10px;bottom:10px;background:var(--surface);color:var(--ink);font-style:normal;border-radius:12px;padding:4px 10px;font-size:12px;display:flex;justify-content:space-between;gap:6px}
@media (prefers-reduced-motion:no-preference){
  .mt{animation:drop .7s cubic-bezier(.2,.8,.2,1) both}
  .mt:nth-child(2){animation-delay:.1s}.mt:nth-child(3){animation-delay:.2s}.mt:nth-child(4){animation-delay:.3s}
}
@keyframes drop{from{opacity:0;transform:translateY(-22px) rotate(-4deg)}to{opacity:1;transform:none}}
@media (max-width:860px){.hero{grid-template-columns:1fr;padding-top:28px}}

.slider{position:relative;margin-top:14px;border-radius:24px;overflow:hidden;background:var(--surface2);height:clamp(200px,28vw,470px)}
.slide{position:absolute;inset:0;display:flex;align-items:center;padding:0 clamp(22px,5vw,80px);color:#fff;background:linear-gradient(120deg,var(--c1),var(--c2));opacity:0;visibility:hidden;transition:opacity .6s ease,visibility .6s}
.slide.on{opacity:1;visibility:visible;z-index:1}
.slide .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.slide.has-img::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to left,rgba(0,0,0,.62),rgba(0,0,0,.04) 72%)}
.stxt{position:relative;z-index:2;max-width:min(580px,62%)}
.stxt h2{font-family:var(--f-display);font-weight:400;font-size:clamp(26px,4.8vw,72px);line-height:1.12}
.stxt p{margin:8px 0 20px;font-size:clamp(13px,1.5vw,19px);opacity:.93}
.stxt .btn{background:#fff;color:#14202d}
.sart{position:absolute;inset-inline-end:clamp(64px,9vw,150px);top:50%;transform:translateY(-50%);font-size:clamp(90px,19vw,310px);line-height:1;filter:drop-shadow(0 14px 26px rgba(0,0,0,.28))}
.sbtn{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#14202d;cursor:pointer;font-size:24px;line-height:1}
.sbtn.prev{inset-inline-start:12px}.sbtn.next{inset-inline-end:12px}
.dots{position:absolute;bottom:12px;inset-inline:0;z-index:3;display:flex;justify-content:center;gap:10px}
.dots button{width:12px;height:12px;border-radius:6px;border:0;padding:0;background:rgba(255,255,255,.55);cursor:pointer;transition:width .25s}
.dots button.on{width:30px;background:#fff}
@media (max-width:560px){.slider{height:220px;border-radius:18px}.stxt{max-width:72%}.sbtn{width:34px;height:34px;font-size:18px}.sart{opacity:.3;inset-inline-end:10px}}
.cats{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(14px,2.4vw,34px) clamp(12px,2.6vw,40px);margin:30px 0 26px}
.ct{display:flex;flex-direction:column;align-items:center;gap:8px;width:clamp(78px,9vw,116px);text-align:center;font-weight:500;font-size:13px;line-height:1.45}
.ct i{font-style:normal;display:grid;place-items:center;width:clamp(68px,7.8vw,100px);aspect-ratio:1;border-radius:50%;font-size:clamp(30px,3.7vw,48px);line-height:1;background:radial-gradient(circle at 30% 24%,hsl(var(--h) 85% calc(var(--l1) + 5%)),hsl(var(--h) 60% var(--l2)));box-shadow:inset 0 0 0 3px var(--surface),0 0 0 1px var(--line)}
.ct small{color:var(--muted);font-weight:400;font-size:11px;margin-top:-6px}
.promos{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:6px 0 26px}
@media (max-width:900px){.promos{grid-template-columns:1fr 1fr}}
.promo{position:relative;display:flex;align-items:flex-end;overflow:hidden;border-radius:20px;aspect-ratio:16/10;padding:clamp(12px,1.4vw,20px);color:#fff;background:linear-gradient(130deg,var(--c1),var(--c2))}
.promo .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.promo.has-img::before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(to top,rgba(0,0,0,.65),rgba(0,0,0,0) 65%)}
.part{position:absolute;inset-inline-end:clamp(10px,1.4vw,22px);top:6px;font-size:clamp(52px,6.2vw,112px);line-height:1.1;filter:drop-shadow(0 8px 14px rgba(0,0,0,.25))}
.ptxt{position:relative;z-index:2}
.ptxt h3{font-family:var(--f-display);font-weight:400;font-size:clamp(18px,1.9vw,30px)}
.ptxt p{margin:2px 0 0;font-size:clamp(11px,1vw,14px);opacity:.93;line-height:1.5}
.salebox{margin:6px 0 32px;border-radius:26px;padding:16px clamp(12px,2vw,26px) 18px;background:linear-gradient(115deg,var(--sb1,#A82A17),var(--sb2,#D4551F));color:var(--sbf,#fff)}
.sbh{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}
.sbh h2{font-family:var(--f-display);font-weight:400;font-size:clamp(24px,3vw,40px)}
.sbh>a{margin-inline-start:auto;font-weight:700;background:rgba(255,255,255,.2);padding:6px 16px;border-radius:999px}
.cd{display:inline-flex;gap:4px;align-items:center;direction:ltr;font-weight:700}
.cd b{background:#fff;color:var(--sbc,#A82A17);border-radius:8px;padding:0 8px;font-size:16px;min-width:34px;text-align:center}
.sbw{position:relative}
.srow{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x proximity;padding:2px 2px 8px;scrollbar-width:thin}
.srow .card{flex:0 0 clamp(172px,16vw,230px);scroll-snap-align:start;color:var(--ink)}
.sbtn2{position:absolute;top:42%;transform:translateY(-50%);z-index:3;width:42px;height:42px;border-radius:50%;border:0;background:#fff;color:#14202d;cursor:pointer;font-size:22px;line-height:1;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.sbtn2.prev{inset-inline-start:-8px}.sbtn2.next{inset-inline-end:-8px}
@media (max-width:560px){.sbtn2{display:none}}
.brand{display:flex;align-items:center;gap:12px}
.brand .logo{order:0}
.hdr .wrap{position:relative}
@media (max-width:760px){.brand{order:1}}
@media (min-width:761px){.brand{order:0}}
.menu-btn{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px;border:1px solid var(--line);background:var(--surface);border-radius:12px;font-weight:700;cursor:pointer}
.menu-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.menu-btn[aria-expanded="true"]{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
.lbl-m{display:none}
.mega[hidden]{display:none!important}
.mega{position:absolute;z-index:50;top:calc(100% - 6px);inset-inline-start:clamp(8px,1.2vw,20px);width:min(980px,calc(100% - 24px));min-height:320px;background:var(--surface);border:1px solid var(--line);border-radius:20px;box-shadow:0 18px 50px rgba(8,20,32,.28)}
.mcol{list-style:none;margin:0;padding:8px;width:280px;max-height:min(72vh,560px);overflow-y:auto;border-inline-end:1px solid var(--line)}
.mhead{font-size:12px;color:var(--muted);padding:10px 12px 4px;font-weight:700}
.mi{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;border-radius:12px;padding:7px 10px;cursor:pointer;text-align:start;font-weight:500}
.mi i{font-style:normal;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:hsl(var(--h) 70% var(--l1));font-size:18px;flex:none}
.mi span{flex:1}
.mi em{font-style:normal;color:var(--muted)}
.mitem.on>.mi{background:var(--brand-soft);color:var(--brand);font-weight:700}
.mpane{display:none}
.mitem.on .mpane{display:block;position:absolute;top:0;bottom:0;inset-inline-start:280px;inset-inline-end:0;padding:20px 26px;overflow:auto}
.mall{display:inline-block;font-weight:700;color:var(--brand);margin-bottom:12px;font-size:16px}
.mgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:2px 20px}
.mgrid a{padding:9px 10px;border-radius:10px;border-bottom:1px solid var(--line)}
.mgrid a small{color:var(--muted);margin-inline-start:4px}
.mfoot2{padding:10px 8px 4px}
.subs{display:grid;gap:2px}
.subs a{padding:4px 8px;border-radius:8px;color:var(--muted)}
.subs a.on{background:var(--brand-soft);color:var(--brand);font-weight:700}
@media (max-width:760px){
  .mega{inset-inline-start:8px;inset-inline-end:8px;width:auto;min-height:0;border-radius:16px}
  .mcol{width:auto;border-inline-end:0;max-height:72vh}
  .mitem.on .mpane{position:static;padding:4px 12px 12px;overflow:visible}
  .mi em{display:inline-block;transform:rotate(-90deg)}
  .mitem.on .mi em{transform:rotate(90deg)}
}
@media (max-width:560px){.lbl-d{display:none}.lbl-m{display:inline}}
@media (max-width:480px){.hdr .wrap{gap:8px}.icon-btn{width:38px;height:38px}.icon-btn.hide-sm{display:none}}
.withside{display:grid;grid-template-columns:minmax(0,1fr) 212px;gap:22px;align-items:start}
.withside .wrap{padding:0;max-width:none;margin:0}
.mainc{min-width:0}
.sidebn{display:grid;gap:14px;position:sticky;top:calc(env(safe-area-inset-top,0px) + 100px);padding-top:28px}
.sbn{position:relative;display:flex;align-items:flex-end;overflow:hidden;border-radius:18px;aspect-ratio:4/5;padding:14px;color:#fff;background:linear-gradient(150deg,var(--c1),var(--c2))}
.sbn .bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.sbi{position:absolute;top:10px;inset-inline-end:10px;font-size:64px;line-height:1;filter:drop-shadow(0 6px 10px rgba(0,0,0,.25))}
.sbt{position:relative;z-index:2}
.sbt b{display:block;font-family:var(--f-display);font-weight:400;font-size:20px;line-height:1.3}
.sbt small{display:block;font-size:12px;opacity:.93;line-height:1.5}
@media (max-width:1100px){.withside{grid-template-columns:minmax(0,1fr)}.sidebn{display:none}}
.slider.sm{height:clamp(120px,15vw,220px);margin:14px 0 4px}
.slider.sm .stxt h2{font-size:clamp(20px,3vw,42px)}
.slider.sm .stxt p{margin:4px 0 12px;font-size:clamp(12px,1.2vw,16px)}
.slider.sm .sart{font-size:clamp(64px,11vw,170px)}
.slider.sm .stxt .btn.lg{padding:8px 18px;font-size:14px}
.filters small.muted{font-size:11px}
.ct{position:relative}
.ct.sp i{box-shadow:inset 0 0 0 3px var(--surface),0 0 0 3px var(--accent)}
.spb{font-style:normal;font-weight:700;font-size:10px;line-height:1;background:var(--sale);color:#fff;border-radius:999px;padding:3px 8px;display:inline-block}
.ct .spb{position:absolute;top:-6px;inset-inline-start:calc(50% + 6px)}
.mi .spb{margin-inline-start:6px}
.spsec{background:linear-gradient(120deg,var(--brand-soft),transparent 80%);border-radius:24px;padding:18px 16px 6px}
.img-only{padding:0}
.slide.img-only{padding:0;background:var(--surface2)}
.promo.img-only,.sbn.img-only{padding:0;background:var(--surface2)}
.img-only picture{display:contents}
.logo-img{display:block;width:auto;max-width:240px;object-fit:contain}
.wm{line-height:1.1}
.wm.f-vazir{font-family:var(--f-body);font-weight:700;letter-spacing:-.5px}
.wm.ul{position:relative;padding-bottom:7px}
.wm.ul::after{content:"";position:absolute;inset-inline:0;bottom:0;height:5px;border-radius:5px;background:linear-gradient(90deg,var(--brand),var(--accent))}
.enamad{margin-top:16px}
.enamad img{border-radius:10px;background:#fff;display:block}
/* محتوای صفحه‌ها (خروجی ویرایشگر وردپرس) */
.doc h2,.doc h3,.doc h4{font-family:var(--f-display);font-weight:400;line-height:1.6;margin:22px 0 10px}
.doc h2{font-size:28px}.doc h3{font-size:23px}.doc h4{font-size:19px}
.doc ul,.doc ol{margin:0 0 14px;padding-inline-start:26px;line-height:2}
.doc a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}
.doc .wp-block-button__link{text-decoration:none}
.doc img{max-width:100%;height:auto}
.doc figure{margin:16px 0}
.doc figcaption{text-align:center;color:var(--muted);font-size:13px;margin-top:6px}
.doc .aligncenter{display:block;margin-inline:auto;text-align:center}
.doc .alignleft{float:left;margin:4px 0 12px 18px}
.doc .alignright{float:right;margin:4px 18px 12px 0}
.doc::after{content:"";display:block;clear:both}
.doc blockquote{margin:16px 0;padding:10px 18px;border-inline-start:4px solid var(--brand);background:var(--surface2);border-radius:10px}
.doc table{width:100%;border-collapse:collapse;margin:14px 0;display:block;overflow-x:auto}
.doc th,.doc td{border:1px solid var(--line);padding:8px 12px;text-align:start}
.doc th{background:var(--surface2)}
.doc hr,.doc .wp-block-separator{border:0;border-top:1px solid var(--line);margin:24px 0}
.doc .has-text-align-center{text-align:center}
.doc .has-text-align-right{text-align:right}
.doc .has-text-align-left{text-align:left}
.doc .has-small-font-size{font-size:14px}
.doc .has-medium-font-size{font-size:17px}
.doc .has-large-font-size{font-size:22px}
.doc .has-x-large-font-size{font-size:29px}
.doc .has-xx-large-font-size{font-size:38px}
.doc .has-brand-color{color:var(--brand)}.doc .has-accent-color{color:var(--accent)}.doc .has-sale-color{color:var(--sale)}.doc .has-ink-color{color:var(--ink)}.doc .has-muted-color{color:var(--muted)}.doc .has-white-color{color:#fff}
.doc .has-brand-background-color{background:var(--brand)}.doc .has-accent-background-color{background:var(--accent)}.doc .has-sale-background-color{background:var(--sale)}.doc .has-ink-background-color{background:var(--ink)}.doc .has-soft-background-color{background:var(--soft)}.doc .has-white-background-color{background:#fff}
.doc p.has-background,.doc h2.has-background,.doc h3.has-background{padding:12px 16px;border-radius:10px}
.doc .wp-block-columns{display:flex;gap:20px;flex-wrap:wrap;margin:16px 0}
.doc .wp-block-column{flex:1 1 220px;min-width:0}
.doc .wp-block-buttons{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.doc .wp-block-button__link{display:inline-block;background:var(--brand);color:#fff;padding:10px 22px;border-radius:12px;font-weight:700}
.doc .wp-block-button.is-style-outline .wp-block-button__link{background:transparent;color:var(--brand);border:2px solid var(--brand)}
.doc .wp-block-group{margin:16px 0}
.doc .prose>*:first-child{margin-top:0}
/* باکس‌های مقالات و صفحهٔ مقالات */
.hubs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:6px 0 34px;align-items:start}
.hub{position:relative;display:flex;align-items:flex-end;overflow:hidden;border-radius:20px;min-height:var(--hh,220px);background:linear-gradient(135deg,var(--hb1,#0B7A75),var(--hb2,#1BA39B));color:var(--hbf,#fff);isolation:isolate;transition:transform .2s}
.hub:hover{transform:translateY(-3px)}
.hub .hmedia{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hub .hov{position:absolute;inset:0;z-index:-1;background:linear-gradient(to top,rgba(0,0,0,.68),rgba(0,0,0,.08) 72%)}
.htxt{padding:16px;width:100%}.htxt small{opacity:.85;font-size:12px}
.htxt h3{margin:2px 0 2px;font-family:var(--f-display);font-weight:400;font-size:24px;line-height:1.4}
.htxt p{margin:0 0 8px;font-size:13px;opacity:.92}
.hgo{display:inline-block;font-size:13px;font-weight:700;background:rgba(255,255,255,.22);padding:4px 12px;border-radius:999px}
.arts{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-top:14px}
.acard{display:flex;flex-direction:column;background:var(--surface);border:1px solid var(--line);border-radius:18px;overflow:hidden;transition:transform .2s}
.acard:hover{transform:translateY(-3px)}
.aimg{aspect-ratio:16/9;background:var(--soft);display:grid;place-items:center;font-size:44px;overflow:hidden}
.aimg img{width:100%;height:100%;object-fit:cover}
.abody{padding:14px;display:flex;flex-direction:column;gap:6px}
.abody h3{margin:0;font-size:17px;line-height:1.7}
.abody p{margin:0;color:var(--muted);font-size:14px;line-height:1.9}
.abody small{color:var(--muted)}
.achip{align-self:flex-start;background:var(--soft);color:var(--brand);padding:1px 10px;border-radius:999px;font-size:12px;font-weight:700}
.achips{display:flex;gap:8px;overflow-x:auto;padding:6px 0 4px}
.achips .chip{flex:none;white-space:nowrap}
.ptitle{font-family:var(--f-display);font-weight:400;font-size:34px;margin:10px 0 8px}
.ameta{color:var(--muted);margin:0 0 14px}
.acover{width:100%;max-height:420px;object-fit:cover;border-radius:18px;margin:0 0 18px}
@media (max-width:900px){.hubs{grid-template-columns:repeat(2,minmax(0,1fr))}.hub{min-height:min(var(--hh,220px),200px)}}
.pts{display:inline-block;background:var(--soft);color:var(--brand);font-size:12px;font-weight:700;padding:1px 10px;border-radius:999px;margin-top:4px}
.pts.lg{font-size:14px;margin-top:8px}
.rw{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.rwa{display:flex;gap:8px;align-items:center}
.loy h4{margin:14px 0 4px}
/* تمام‌عرض کردن بنر اصلی، نوار مرتب‌سازی، مقایسه */
.hero-full{width:100%;overflow:hidden}
.hero-full .stxt{max-width:min(780px,64%)}
.hero-full .slider{margin:0;border-radius:0;height:clamp(200px,24vw,470px)}
.hero-full .slide{padding-inline:max(clamp(22px,5vw,80px),calc((100% - 1700px)/2 + 24px))}
@media (max-width:767px){.hero-full .slider{height:max(200px,56vw)}}
.sortbar{display:flex;align-items:center;gap:20px;overflow-x:auto;white-space:nowrap;padding:12px 4px;margin:8px 0 16px;border-block:1px solid var(--line);-webkit-overflow-scrolling:touch}
.sortbar .sb-l{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--ink);flex:none}
.sortbar a{flex:none;color:var(--muted);font-size:14px;padding:2px 0;border-bottom:2px solid transparent}
.sortbar a:hover{color:var(--ink)}
.sortbar a.on{color:var(--sale);font-weight:700;border-bottom-color:var(--sale)}
.badge.dig{background:#E0F2FE;color:#0369A1}
.cmpbar{position:fixed;inset-inline:12px;bottom:12px;z-index:40;display:flex;gap:10px;align-items:center;justify-content:space-between;background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:16px;box-shadow:0 8px 28px rgba(0,0,0,.3);max-width:560px;margin-inline:auto}
.cmpwrap{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.cmpt{border-collapse:collapse;width:100%;min-width:560px}
.cmpt th,.cmpt td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top;min-width:170px}
.cmpt .cmpl{position:sticky;inset-inline-start:0;background:var(--surface2);min-width:120px;width:120px;font-weight:700;color:var(--muted);z-index:1}
.cmpt tbody tr:last-child th,.cmpt tbody tr:last-child td{border-bottom:0}
.cmpc{position:relative;display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.cmpc .cx{position:absolute;inset-inline-end:0;top:0;border:0;background:var(--surface2);width:26px;height:26px;border-radius:50%;cursor:pointer}
.cmpc .cth{width:72px;height:72px;border-radius:14px;background:var(--soft);display:grid;place-items:center;font-size:34px;overflow:hidden}
.cmpc .cth img{width:100%;height:100%;object-fit:cover}
.cmpadd{max-width:520px;margin-bottom:6px}
.cmpresbox{display:flex;flex-direction:column;gap:2px;margin-top:6px;max-height:280px;overflow:auto;border:1px solid var(--line);border-radius:12px;background:var(--surface)}
.cmpres{display:flex;gap:10px;align-items:center;text-align:start;border:0;background:transparent;padding:8px 10px;cursor:pointer;color:inherit;font:inherit}
.cmpres:hover{background:var(--surface2)}
.cmpres .th{width:36px;height:36px;border-radius:10px;background:var(--soft);display:grid;place-items:center;font-size:20px}
.cmpres small{display:block;color:var(--muted)}
.pagination{display:flex;gap:8px;justify-content:center;margin:24px 0;flex-wrap:wrap}
.pagination a,.pagination span{padding:6px 14px;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.pagination .on{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
.strip{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 0}
.strip a{display:flex;align-items:center;gap:8px;padding:9px 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface);font-weight:500}
.strip a b{font-weight:400;color:var(--muted);font-size:12px}
.perks{display:flex;flex-wrap:wrap;justify-content:center;gap:26px 12px;border-block:1px solid var(--line);margin:34px 0;padding:24px 0}
.perk{flex:1 1 140px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;font-size:14px;font-weight:500;line-height:1.6;padding:0 6px}
.perk svg{width:clamp(54px,5vw,70px);height:auto;fill:none;stroke:var(--ink);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.perk svg .a{stroke:var(--brand)}
.perk svg .b{stroke:var(--sale)}
.perk svg .f{fill:var(--sale);stroke:none}
.perk svg text{fill:var(--sale);stroke:none;font-family:var(--f-body);font-weight:700}
@media (max-width:480px){.perk{font-size:13px}}
.sec{margin:44px 0}
.sec-h{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:18px;gap:12px}
.sec-h h2{font-family:var(--f-display);font-weight:400;font-size:32px}
.sec-h a{color:var(--brand);font-weight:700}

/* products */
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:16px}
@media (max-width:560px){.grid{grid-template-columns:1fr 1fr;gap:12px}}
.card{position:relative;background:var(--surface);border:1px solid var(--line);border-radius:20px;overflow:hidden;display:flex;flex-direction:column}
.pimg{position:relative;aspect-ratio:1/0.92;display:grid;place-items:center;background:linear-gradient(135deg,hsl(var(--h,180) 60% var(--l1)),hsl(var(--h,180) 55% var(--l2)));overflow:hidden}
.pimg span{font-size:64px;line-height:1}
.pimg img{width:100%;height:100%;object-fit:cover}
.pimg .badge{position:absolute;top:8px;inset-inline-end:8px;font-size:10px;line-height:1.6;padding:0 7px}
.pimg .badge.off{background:var(--ink);color:var(--bg)}
.wish{position:absolute;top:10px;inset-inline-start:10px;width:36px;height:36px;border-radius:50%;border:0;background:var(--surface);cursor:pointer;display:grid;place-items:center;font-size:18px;color:var(--muted)}
.wish.on{color:var(--sale)}
.cbody{padding:12px 14px 14px;display:flex;flex-direction:column;gap:4px;flex:1}
.cbody .cat{font-size:12px;color:var(--muted)}
.pname{font-weight:700;line-height:1.5;min-height:3em}
.prow{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto;padding-top:8px}
.price b{font-size:16px}
.price s{display:block;color:var(--muted);font-size:12px}
.price small{font-size:12px;color:var(--muted);font-weight:400}
.stars{color:var(--accent);font-size:13px;letter-spacing:1px}

.shop{display:grid;grid-template-columns:250px 1fr;gap:28px;padding:28px 0}
.filters{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:18px;align-self:start;position:sticky;top:calc(env(safe-area-inset-top,0px) + 100px)}
.filters h4{font-size:14px;margin:14px 0 8px}
.filters h4:first-child{margin-top:0}
.filters .chk{padding:4px 0}
@media (max-width:860px){.shop{grid-template-columns:1fr}.filters{position:static}}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.empty{text-align:center;padding:56px 16px;border:1px dashed var(--line);border-radius:20px;color:var(--muted)}
.empty b{display:block;color:var(--ink);font-size:18px;margin-bottom:4px}

.pd{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:32px 0}
.pd .pimg{border-radius:28px;aspect-ratio:1}
.pd .pimg span{font-size:160px}
.pd h1{font-family:var(--f-display);font-weight:400;font-size:38px;margin:6px 0 10px}
.pd .big{font-size:28px;font-weight:700}
.pd .row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.qty button{width:38px;height:42px;border:0;background:transparent;cursor:pointer;font-size:18px}
.qty input{width:48px;text-align:center;border:0;background:transparent;height:42px;-moz-appearance:textfield}
.qty input::-webkit-outer-spin-button,.qty input::-webkit-inner-spin-button{-webkit-appearance:none}
@media (max-width:760px){.pd{grid-template-columns:1fr;gap:20px}.pd .pimg span{font-size:110px}}
.crumbs{font-size:13px;color:var(--muted);padding-top:18px}
.crumbs a:hover{color:var(--brand)}

/* drawer / modal / toast */
.ov{position:fixed;inset:0;background:rgba(10,20,30,.5);z-index:60;display:flex}
.drawer{background:var(--surface);width:min(420px,100%);height:100%;margin-inline-end:auto;display:flex;flex-direction:column;padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
@media (prefers-reduced-motion:no-preference){.drawer{animation:slide .25s ease-out}@keyframes slide{from{transform:translateX(-30px);opacity:0}}.mbox{animation:pop .2s ease-out}@keyframes pop{from{transform:scale(.97);opacity:0}}}
.drawer header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-bottom:1px solid var(--line)}
.drawer header h3{font-family:var(--f-display);font-weight:400;font-size:24px}
.dbody{flex:1;overflow:auto;padding:8px 18px}
.dfoot{padding:16px 18px;border-top:1px solid var(--line);background:var(--bg)}
.line{display:grid;grid-template-columns:64px 1fr auto;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);align-items:center}
.line .pimg{width:64px;aspect-ratio:1;border-radius:14px}
.line .pimg span{font-size:30px}
.line .qty button{width:30px;height:32px}.line .qty input{width:34px;height:32px}
.sum{display:flex;justify-content:space-between;padding:3px 0;font-size:14px}
.sum.t{font-size:18px;font-weight:700;border-top:1px solid var(--line);margin-top:6px;padding-top:10px}
.ov.center{align-items:center;justify-content:center;padding:16px;overflow:auto}
.mbox{background:var(--surface);border-radius:22px;width:min(640px,100%);max-height:calc(100% - 10px);overflow:auto;padding:22px;border:1px solid var(--line)}
.mbox.wide{width:min(860px,100%)}
.mbox h3{font-family:var(--f-display);font-weight:400;font-size:26px;margin-bottom:14px}
.mfoot{display:flex;gap:10px;justify-content:flex-start;margin-top:18px;flex-wrap:wrap}
#toasts{position:fixed;inset-inline:0;bottom:calc(16px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;gap:8px;z-index:90;pointer-events:none}
.toast{background:var(--ink);color:var(--bg);padding:10px 18px;border-radius:12px;font-size:14px;box-shadow:0 6px 24px rgba(0,0,0,.25)}
.toast.err{background:var(--sale);color:#fff}

/* checkout & tracking */
.two{display:grid;grid-template-columns:1.3fr 1fr;gap:28px;padding:28px 0;align-items:start}
@media (max-width:860px){.two{grid-template-columns:1fr}}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:20px}
.panel h3{font-size:17px;margin-bottom:14px}
.opt{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--line);border-radius:12px;cursor:pointer;margin-bottom:8px}
.opt input{margin-top:5px;accent-color:var(--brand)}
.opt:has(input:checked){border-color:var(--brand);background:var(--brand-soft)}
.tl{display:flex;gap:0;margin:20px 0;isolation:isolate}
.tl div{flex:1;text-align:center;position:relative;font-size:13px;color:var(--muted)}
.tl div::before{content:"";display:block;width:26px;height:26px;border-radius:50%;background:var(--surface2);margin:0 auto 6px;border:2px solid var(--line)}
.tl div::after{content:"";position:absolute;top:12px;inset-inline-start:-50%;width:100%;height:2px;background:var(--line);z-index:-1}
.tl div:first-child::after{display:none}
.tl div.done{color:var(--ink);font-weight:700}
.tl div.done::before{background:var(--brand);border-color:var(--brand)}
.tl div.done::after{background:var(--brand)}
.ok-ic{width:64px;height:64px;border-radius:50%;background:var(--brand);color:var(--brand-ink);display:grid;place-items:center;font-size:32px;margin-bottom:14px}

/* footer */
.ftr{background:var(--surface);border-top:1px solid var(--line);margin-top:56px;padding:34px 0 20px}
.ftr .cols{display:grid;grid-template-columns:repeat(3,1fr) 1.4fr;gap:32px}
.ftr h4{font-size:15px;font-weight:700;margin:0 0 16px}
.ftr ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.ftr li a{color:var(--muted);font-size:14px}
.ftr li a:hover{color:var(--brand)}
.soc{display:flex;flex-wrap:wrap;gap:20px;margin:0 0 28px}
.soc a{color:var(--muted);display:inline-grid;place-items:center;width:34px;height:34px}
.soc a:hover{color:var(--brand)}
.soc svg{width:32px;height:32px;fill:currentColor}
.ftr .nl{display:flex;gap:8px}
.ftr .nl input{background:var(--bg);border-color:transparent;text-align:right}
.ftr .nl .btn{background:var(--surface2);color:var(--muted)}
.ftr .nl input:valid+.btn{background:var(--brand);color:var(--brand-ink)}
.copy{margin-top:30px;padding-top:16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted);display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}
@media (max-width:900px){.ftr .cols{grid-template-columns:1fr 1fr}}
@media (max-width:520px){.ftr .cols{grid-template-columns:1fr}}
.doc{max-width:var(--docw,820px);margin:0 auto;padding:12px 0 24px}
.doc h1{font-family:var(--f-display);font-weight:400;font-size:34px;margin:10px 0 16px}
.doc p{margin:0 0 14px;line-height:2}

/* admin */
.adm{display:grid;grid-template-columns:240px 1fr;min-height:100vh}
.side{background:var(--surface);border-inline-end:1px solid var(--line);padding:18px 12px;position:sticky;top:env(safe-area-inset-top,0px);height:100vh;align-self:start;overflow:auto}
.side .logo{padding:4px 10px 16px}
.side a{display:flex;align-items:center;gap:10px;padding:9px 12px;border-radius:12px;color:var(--muted);font-weight:500}
.side a.on{background:var(--brand-soft);color:var(--brand);font-weight:700}
.side hr{border:0;border-top:1px solid var(--line);margin:12px 0}
.amain{padding:22px 24px 60px;min-width:0}
.ahead{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px;flex-wrap:wrap}
.ahead h1{font-family:var(--f-display);font-weight:400;font-size:32px}
@media (max-width:900px){
  .adm{grid-template-columns:1fr}
  .side{position:static;height:auto;display:flex;gap:4px;overflow-x:auto;padding:10px;border-inline-end:0;border-bottom:1px solid var(--line);align-items:center}
  .side .logo,.side hr{display:none}
  .side a{white-space:nowrap}
  .amain{padding:16px}
}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}
@media (max-width:900px){.kpis{grid-template-columns:1fr 1fr}}
.kpi{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:16px}
.kpi small{color:var(--muted)}
.kpi b{display:block;font-size:22px;margin-top:2px}
.kpi.hl{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
.kpi.hl small{color:inherit;opacity:.85}
.cols2{display:grid;grid-template-columns:1.6fr 1fr;gap:16px;margin-bottom:16px}
@media (max-width:900px){.cols2{grid-template-columns:1fr}}
.tw{overflow-x:auto;border:1px solid var(--line);border-radius:16px;background:var(--surface)}
.tbl{width:100%;border-collapse:collapse}
.tbl th,.tbl td{padding:10px 14px;text-align:start;border-bottom:1px solid var(--line);font-size:14px;white-space:nowrap}
.tbl th{background:var(--surface2);font-weight:700;font-size:13px;color:var(--muted)}
.tbl tr:last-child td{border-bottom:0}
.tbl tr.click{cursor:pointer}
.tbl .thumb{width:44px;height:44px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,hsl(var(--h,180) 60% var(--l1)),hsl(var(--h,180) 55% var(--l2)));overflow:hidden;font-size:22px}
.tbl .thumb img{width:100%;height:100%;object-fit:cover}
.filters-row{display:flex;gap:10px;margin-bottom:14px;flex-wrap:wrap}
.filters-row .inp{width:auto;min-width:160px}
.bar-seg{display:flex;height:12px;border-radius:6px;overflow:hidden;background:var(--surface2);margin:10px 0}
.legend{display:grid;gap:6px;font-size:14px}
.legend i{display:inline-block;width:10px;height:10px;border-radius:3px;margin-inline-end:8px}
.chart text{fill:var(--muted);font-family:var(--f-body);font-size:11px}
.login{max-width:380px;margin:12vh auto;padding:0 16px}
.mini{display:grid;gap:8px}
.mini .r{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}
.mini .r:last-child{border-bottom:0}
code,pre{font-family:ui-monospace,Menlo,Consolas,monospace;direction:ltr;text-align:left}
pre{background:var(--surface2);padding:12px;border-radius:12px;overflow:auto;font-size:12.5px;margin:8px 0}
.hint{font-size:13px;color:var(--muted)}
.swatches{display:flex;gap:10px;flex-wrap:wrap}
.sw{width:44px;height:44px;border-radius:50%;border:3px solid var(--surface);outline:2px solid var(--line);cursor:pointer}
.sw.on{outline-color:var(--ink)}
@media print{
  body *{visibility:hidden}
  .print-area,.print-area *{visibility:visible}
  .print-area{position:absolute;inset:0;padding:20px;background:#fff;color:#000}
  .no-print{display:none!important}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* ابعاد بنرها = نسبت راهنمای وردپرس تا کامل نمایش داده شوند */
.hero-full .slider{height:auto;aspect-ratio:16/5;max-height:640px}
.slider.sm{height:auto;aspect-ratio:4/1}
.hero-full .stxt h2{font-size:clamp(24px,3.6vw,64px)}
@media (max-width:767px){.hero-full .slider{aspect-ratio:16/9;max-height:none}.slider.sm{aspect-ratio:2/1}.hero-full .stxt h2{font-size:clamp(20px,6.2vw,30px)}.hero-full .stxt p{font-size:13px;margin:4px 0 8px}.hero-full .stxt .btn{padding:7px 16px;font-size:13px}}
/* بهینه‌سازی موبایل */
.shop-h1{font-family:var(--f-display);font-weight:400;font-size:30px;margin:0}
.fbtn,.mchips,.fhead,.ffoot{display:none}
body.noscroll{overflow:hidden}
@media (max-width:900px){
  .shop{grid-template-columns:1fr;gap:8px;padding:10px 0 20px}
  .toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px}
  .shop-h1{font-size:20px}
  .fbtn{display:inline-flex}
  .mchips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 6px;-webkit-overflow-scrolling:touch}
  .mchips a{flex:none;border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:5px 14px;font-size:13px;white-space:nowrap}
  .mchips a.on{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
  .filters{position:fixed;inset:0;top:0;z-index:90;border-radius:0;border:0;padding:68px 18px 96px;overflow-y:auto;background:var(--bg);transform:translateY(105%);visibility:hidden;transition:transform .25s ease,visibility .25s}
  .filters.open{transform:none;visibility:visible}
  .fhead{display:flex;position:fixed;top:0;inset-inline:0;z-index:2;align-items:center;justify-content:space-between;padding:calc(12px + env(safe-area-inset-top,0px)) 18px 12px;background:var(--surface);border-bottom:1px solid var(--line)}
  .ffoot{display:block;position:fixed;bottom:0;inset-inline:0;z-index:2;padding:12px 18px calc(12px + env(safe-area-inset-bottom,0px));background:var(--surface);border-top:1px solid var(--line)}
}
@media (max-width:767px){
  .cats{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;gap:12px;margin:12px 0;padding:4px 0 8px;-webkit-overflow-scrolling:touch}
  .cats .ct{flex:none;width:72px}
  .ct i{width:62px;font-size:28px}
  .promos{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}
  .promo{padding:10px;border-radius:14px}
  .perks{display:grid;grid-template-columns:repeat(2,1fr);gap:16px 8px;margin:18px 0;padding:14px 0}
  .perk{font-size:12.5px;gap:8px}
  .hubs{gap:10px;margin-bottom:22px}
  .hub{min-height:min(var(--hh,220px),170px);border-radius:16px}
  .htxt{padding:12px}.htxt h3{font-size:18px}.htxt p{display:none}.hgo{font-size:12px;padding:3px 10px}
  .salebox{margin-bottom:22px;border-radius:18px;padding:12px}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .grid .card{border-radius:16px}
  .grid .pname{font-size:13px;min-height:2.9em}
  .arts{grid-template-columns:1fr}
  .ptitle{font-size:26px}
}

.shop>section{min-width:0}
.mchips,.sortbar,.achips{max-width:100%}
.mchips{overflow-x:auto}
@media (max-width:767px){.hdr nav{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;-webkit-overflow-scrolling:touch}.hdr nav a{white-space:nowrap;flex:none}}
@media (max-width:767px){.htxt small{display:block;line-height:1.5;font-size:11px}.htxt h3{line-height:1.35}.sec-h h2,.sec h2{font-size:22px;line-height:1.5}.sec-h a{font-size:13px;white-space:nowrap}}
/* بنر اصلی همیشه تمام‌عرض: عرض ثابت ۱۰۰٪ تا max-height عرض را کوچک نکند (کروم روی مانیتور بزرگ) */
.hero-full{width:100%}
.hero-full .slider{width:100%;max-width:none}

/* MahyaLand product gallery and specifications */
.mland-gallery{min-width:0}.mland-gallery-thumbs{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.mland-gallery-thumb{width:76px;height:76px;border:2px solid var(--line);border-radius:12px;background:var(--surface);padding:4px;cursor:pointer;overflow:hidden}.mland-gallery-thumb[aria-current="true"]{border-color:var(--brand)}.mland-gallery-thumb img{width:100%;height:100%;object-fit:contain}.mland-specs{margin:20px 0 32px}.mland-specs h2{margin-bottom:16px}.mland-specs table{width:100%;border-collapse:collapse}.mland-specs th,.mland-specs td{padding:13px 16px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top}.mland-specs th{width:32%;font-weight:600}

/* MahyaLand product information cards — 2.1.3 */
.ml-product-section{background:#fff;border:1px solid #dbe4ee;border-radius:16px;padding:clamp(16px,2.4vw,28px);margin-block:20px;box-shadow:0 2px 12px rgba(21,43,77,.045);overflow-wrap:anywhere}
.ml-product-section>h2{padding-bottom:14px;border-bottom:1px solid #e6edf4;margin-top:0!important}
.ml-product-specs .tw{overflow-x:auto}
.ml-product-description{line-height:1.85}
.ml-product-description p,.ml-product-description li{line-height:inherit}
@media(max-width:640px){.ml-product-section{border-radius:12px;padding:16px;margin-block:14px}}

/* Product card sections — applied to JS-rendered and server-rendered pages */
.mland-description,.mland-specs,.ml-product-brand,.ml-product-section{background:#fff!important;border:1px solid #d8e2ed!important;border-radius:16px!important;padding:clamp(16px,2.5vw,28px)!important;margin-block:22px!important;box-shadow:0 4px 16px rgba(15,35,65,.06)!important;overflow:hidden}
.mland-description>h2,.mland-specs>h2,.ml-product-brand>h2,.ml-product-section>h2{border-bottom:1px solid #e3eaf2!important;padding-bottom:14px!important;margin-bottom:18px!important}
.mland-description .mland-richtext{line-height:1.85;overflow-wrap:anywhere}
.mland-description .mland-richtext p{margin:0 0 1em}
.mland-specs table{width:100%;border-collapse:collapse}
.mland-specs th,.mland-specs td{border-bottom:1px solid #edf1f5;padding:12px 10px;text-align:right}
.mland-specs tr:last-child th,.mland-specs tr:last-child td{border-bottom:0}
@media(max-width:600px){.mland-description,.mland-specs,.ml-product-brand,.ml-product-section{padding:16px!important;margin-block:16px!important;border-radius:12px!important}}

/* Quick specs beside the product gallery — v2.1.5 */
.pd .ml-quick-specs{margin:18px 0 20px;border:1px solid #dce5ef;border-radius:14px;background:#fff;overflow:hidden}
.pd .ml-quick-specs h2{font-size:16px;font-weight:700;margin:0;padding:13px 16px;background:#f7f9fc;border-bottom:1px solid #e5eaf1}
.pd .ml-quick-specs-grid{display:block}
.pd .ml-quick-spec-row{display:grid;grid-template-columns:minmax(105px,38%) minmax(0,1fr);align-items:start;gap:12px;padding:11px 16px;border-bottom:1px solid #e8edf3;font-size:13px;line-height:1.8}
.pd .ml-quick-spec-row:last-child{border-bottom:0}
.pd .ml-quick-spec-row:nth-child(even){background:#fafbfd}
.pd .ml-quick-spec-name{color:#64748b;font-weight:500}
.pd .ml-quick-spec-value{color:#172b46;font-weight:600;overflow-wrap:anywhere}
@media(max-width:640px){.pd .ml-quick-spec-row{grid-template-columns:minmax(90px,40%) minmax(0,1fr);gap:8px;padding:10px 12px}}

/* Product summary table (title, price and short description) — v2.1.6 */
.pd .ml-product-side{min-width:0;width:100%}
.pd .ml-product-summary{width:100%;min-width:0;border:1px solid #dce5ef;border-radius:15px;overflow:hidden;background:#fff;box-shadow:0 2px 12px rgba(21,43,77,.04)}
.pd .ml-summary-title,.pd .ml-summary-price,.pd .ml-summary-desc{padding:15px 19px;margin:0!important;max-width:none!important;min-width:0}
.pd .ml-summary-title{background:#f8fafc;border-bottom:1px solid #e5ebf3}
.pd .ml-summary-title h1{margin:10px 0 0;line-height:1.6;overflow-wrap:anywhere}
.pd .ml-summary-price{border-bottom:1px solid #e5ebf3}
.pd .ml-summary-desc{line-height:2;text-align:justify;text-align-last:right;direction:rtl;white-space:pre-line;overflow-wrap:anywhere;hyphens:auto}
.pd .ml-summary-desc:empty{display:none}
.pd .ml-summary-price .big{font-size:clamp(20px,2.1vw,30px)}
@media(max-width:640px){.pd .ml-summary-title,.pd .ml-summary-price,.pd .ml-summary-desc{padding:12px 14px}.pd .ml-product-summary{border-radius:12px}}

/* Product gallery, purchase block and compact description — v2.1.7 */
.pd{grid-template-columns:minmax(0,3fr) minmax(0,7fr);gap:clamp(16px,2.5vw,32px);align-items:start}
.pd>.mland-gallery{min-width:0;width:100%;position:relative}
.pd .mland-gallery>.pimg{width:100%;max-width:100%;aspect-ratio:1;border-radius:16px;overflow:hidden;cursor:zoom-in}
.pd .mland-gallery>.pimg img{width:100%;height:100%;object-fit:contain;cursor:zoom-in}
.pd .mland-gallery-thumbs{justify-content:center}
.pd .mland-gallery-thumb{width:56px;height:56px}
.pd .ml-gallery-zoom{position:absolute;top:12px;left:12px;border:1px solid #d5e1ed;border-radius:9px;padding:6px 10px;background:rgba(255,255,255,.94);font-size:12px;cursor:pointer;z-index:1}
.pd .ml-product-side{display:flex;flex-direction:column;gap:10px}
.pd .ml-product-summary{order:0}
.pd .ml-quick-specs{order:1;margin:0!important}
.pd .ml-product-side>.row,.pd .ml-product-side>.hint,.pd .ml-product-side>div:not(.ml-product-summary):not(.ml-quick-specs):not(.ml-short-description){order:2}
.pd .ml-product-side>.row{margin:5px 0!important}
.pd .ml-short-description{order:3;width:100%;box-sizing:border-box;border:1px solid #dce5ef;border-radius:13px;padding:12px 16px!important;background:#fff;line-height:1.5!important;text-align:justify;text-align-last:right;white-space:pre-line;overflow-wrap:anywhere;font-size:13px}
.pd .ml-short-description h2{font-size:15px;line-height:1.4;margin:0 0 7px;border-bottom:1px solid #e6edf4;padding-bottom:8px}
.pd .ml-short-description>div{line-height:1.5}
.ml-image-lightbox{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;background:rgba(5,13,26,.88);padding:40px 16px;cursor:zoom-out}
.ml-image-lightbox img{display:block;max-width:95vw;max-height:90vh;object-fit:contain;background:#fff;border-radius:10px;cursor:default}
.ml-image-lightbox-close{position:absolute;top:14px;right:18px;color:#fff;background:transparent;border:0;font-size:38px;line-height:1;cursor:pointer}
@media(max-width:760px){.pd{grid-template-columns:1fr;gap:16px}.pd>.mland-gallery{width:min(100%,330px);margin-inline:auto}.pd .ml-short-description{padding:12px!important}}

/* SKU alongside category above product title — v2.1.8 */
.pd .ml-product-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;min-width:0}
.pd .ml-product-sku{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border:1px solid #e2e8f0;border-radius:8px;background:#fff;color:#526174;font-size:12px;max-width:100%;overflow-wrap:anywhere}
.pd .ml-product-sku .ltr{direction:ltr;unicode-bidi:isolate;font-weight:600}

/* Responsive article hub banners 2.2.0 */
.hub .mland-hub-picture{position:absolute;inset:0;z-index:-2;display:block}
.hub .mland-hub-picture .hmedia{z-index:auto}
.hub .mland-hub-mobile-video-poster{display:none}
@media(max-width:767px){
 .hub .mland-hub-mobile-video-poster{display:block}
 .hub .mland-hub-video:has(+ .mland-hub-mobile-video-poster){display:none}
}

/* Compact logo header - 2.2.1 */
.hdr .wrap{padding-top:3px;padding-bottom:3px;row-gap:5px}
.hdr .logo-img{height:44px!important;max-height:44px;width:auto;max-width:240px}
.hdr .logo svg{width:38px;height:38px}
@media(max-width:760px){
 .hdr .wrap{padding-top:3px;padding-bottom:3px;row-gap:4px}
 .hdr .logo-img{height:36px!important;max-height:36px;max-width:190px}
 .hdr .logo svg{width:34px;height:34px}
 .hdr .menu-btn{height:36px;padding:0 10px}
}

/* =====================================
   MahyaLand - Product Description
   RTL Justified Text
   ===================================== */

.mland-description .mland-richtext,
.mland-description .mland-richtext p,
.mland-description .mland-richtext li {
    text-align: justify !important;
    text-align-last: right;
    direction: rtl;
}


/* MahyaLand customer account 2.2.11 */
.account-sections{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 22px}.account-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.account-tile{background:#f5faf9;border:1px solid #d8e6e5;border-radius:13px;padding:22px 12px;cursor:pointer;font:inherit;color:#123c3b;text-align:center}.account-tile:hover,.account-tile:focus-visible{border-color:#087f78;background:#eaf7f5}.account-header-link{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.account-header-name{font-size:12px;font-weight:700;max-width:105px;overflow:hidden;text-overflow:ellipsis}.account-welcome{margin-top:12px}@media(max-width:650px){.account-tiles{grid-template-columns:1fr 1fr}.account-header-name{max-width:58px}.account-sections .btn{font-size:12px}}

/* MahyaLand 2.2.12: customer account layout and header */
.hdr-ic .account-header-link{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:auto;min-width:44px;max-width:none;padding:0 12px;white-space:nowrap}
.hdr-ic .account-header-name{display:inline-block;max-width:180px;overflow:hidden;text-overflow:ellipsis;font-size:16px;font-weight:700;line-height:1.5;direction:rtl}
.account-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:20px;min-height:150px}
.account-heading-main h1{font-family:var(--f-display);font-weight:400;font-size:36px;margin:0 0 12px}
.account-greeting{font-family:var(--f-body,inherit);font-size:24px;font-weight:700;line-height:1.8;color:var(--brand);margin:0 0 14px}
.account-brand{display:flex;align-items:center;justify-content:center;min-width:190px;max-width:300px;padding:20px 26px;border:1px solid var(--line);background:var(--surface);border-radius:18px}
.account-brand .logo-img{display:block;width:auto;height:auto!important;max-width:230px;max-height:115px;object-fit:contain}
.account-brand svg{width:65px;height:65px;flex-shrink:0}.account-brand .wm{font-size:clamp(26px,3vw,44px)!important}
.account-top-banner{width:100%;padding-top:16px}.account-top-banner .wrap{max-width:1700px}.account-top-banner .slider{width:100%;aspect-ratio:4/1;max-height:400px;overflow:hidden}.account-top-banner .slide{height:100%}
@media(max-width:767px){.account-heading{min-height:0;gap:12px;align-items:flex-start}.account-heading-main h1{font-size:30px}.account-greeting{font-size:20px}.account-brand{min-width:90px;max-width:130px;padding:12px}.account-brand svg{width:38px;height:38px}.account-brand .wm{font-size:22px!important}.account-brand .logo-img{max-width:110px;max-height:80px}.account-top-banner .slider{aspect-ratio:16/9;max-height:none}.hdr-ic .account-header-link{padding:0 8px;gap:5px}.hdr-ic .account-header-name{max-width:75px;font-size:13px}}
@media(max-width:420px){.account-brand{max-width:95px;min-width:75px;padding:8px}.account-brand .wm{display:none}.account-greeting{font-size:18px}.hdr-ic .account-header-name{max-width:62px;font-size:12px}}

/* MahyaLand article full-width banner + responsive advertising slots */
.mland-article-page{width:100%;min-width:0}
.mland-article-wide-banner{display:block;width:100%;height:auto;aspect-ratio:6/1;overflow:hidden;background:var(--surface2)}
.mland-article-wide-banner img{display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.mland-article-grid{display:grid;grid-template-columns:minmax(130px,190px) minmax(0,1fr) minmax(130px,190px);gap:clamp(10px,1.5vw,24px);align-items:start;margin-top:20px}
.mland-article-grid>.doc{min-width:0;width:100%;max-width:none;margin:0}
.mland-article-ads{display:flex;flex-direction:column;gap:16px;min-width:0}
.mland-article-ad{overflow:hidden;border-radius:12px;background:var(--surface);border:1px solid var(--line)}
.mland-article-ad img,.mland-article-ad video{width:100%;height:auto;display:block;object-fit:contain}
@media(max-width:1000px){.mland-article-grid{grid-template-columns:minmax(100px,150px) minmax(0,1fr) minmax(100px,150px);gap:10px}}
@media(max-width:740px){
 .mland-article-wide-banner{aspect-ratio:2.6/1}
 .mland-article-grid{display:flex;flex-direction:column}
 .mland-article-grid>.doc{order:0}
 .mland-article-grid>.mland-article-ads{order:1;width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
}
@media(max-width:480px){.mland-article-wide-banner{aspect-ratio:16/9}.mland-article-grid>.mland-article-ads{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Article CTA: explicit foreground avoids inherited invisible button text. */
.mland-article-cta-wrap{margin:24px 0 8px;text-align:center}
.mland-article-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;max-width:100%;padding:12px 26px;border-radius:12px;text-decoration:none!important;font-weight:700;line-height:1.6;text-align:center;white-space:normal;overflow-wrap:anywhere}
.mland-article-cta:hover{filter:brightness(.94)}

/* MahyaLand footer brand: beneath shopping-guide links */
.ftr .footer-brand-logo{display:flex;align-items:center;justify-content:center;width:max-content;max-width:100%;margin-top:22px;text-decoration:none}
.ftr .footer-brand-logo img{display:block;width:150px;max-width:100%;height:auto;max-height:150px;object-fit:contain}
@media(max-width:520px){.ftr .footer-brand-logo{margin-top:18px}.ftr .footer-brand-logo img{width:130px}}

/* Contact page */
.mland-contact-section{max-width:760px;margin:36px auto;padding:28px;background:#fff;border:1px solid #dfe7e8;border-radius:18px;direction:rtl}.mland-contact-section h2{margin:0 0 10px}.mland-contact-form{display:grid;gap:16px;margin-top:20px}.mland-contact-form label{display:grid;gap:7px;font-weight:600}.mland-contact-form input,.mland-contact-form textarea{box-sizing:border-box;width:100%;padding:12px 14px;border:1px solid #cbd5d8;border-radius:10px;font:inherit;background:#fff;color:#172b36}.mland-contact-form textarea{resize:vertical}.mland-contact-form button{justify-self:start;min-width:150px}.mland-contact-form button:disabled{opacity:.6;cursor:wait}.mland-contact-status{min-height:1.5em}.mland-contact-trap{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}@media(max-width:600px){.mland-contact-section{padding:18px;margin:20px 0}}

/* اسلایدر دوم: تمام عرض، نصف ارتفاع اسلایدر اصلی دسکتاپ */
.hero2-full{width:100%;overflow:hidden;margin:22px 0 28px}
.hero2-full .slider{width:100%;height:auto;aspect-ratio:32/5;max-height:320px;margin:0;border-radius:0}
.hero2-full .slide{padding-inline:max(clamp(22px,5vw,80px),calc((100% - 1700px)/2 + 24px))}
.hero2-full .stxt{max-width:min(760px,65%)}
.hero2-full .stxt h2{font-size:clamp(20px,3vw,48px)}
.hero2-full .stxt p{font-size:clamp(12px,1.4vw,17px)}
@media(max-width:767px){.hero2-full .slider{aspect-ratio:16/9;max-height:none}.hero2-full .stxt{max-width:74%}.hero2-full .stxt h2{font-size:clamp(19px,5vw,28px)}}

/* rc18: mobile-only horizontal rails for homepage perks, best sellers and newest products.
   Scoped selectors prevent changes to desktop, shop/category grids and other product sections. */
@media (max-width:767px){
  .perks{
    display:flex;flex-wrap:nowrap;justify-content:flex-start;
    gap:12px;overflow-x:auto;overflow-y:hidden;
    padding:16px 2px 18px;margin:18px 0;
    scroll-snap-type:x proximity;overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;
  }
  .perks .perk{
    flex:0 0 clamp(108px,30vw,145px);min-width:0;
    scroll-snap-align:start;gap:8px;padding:2px 6px;
    font-size:12.5px;
  }
  .perks .perk svg{width:clamp(50px,14vw,65px)}
  .home-product-rail .grid{
    display:flex;flex-wrap:nowrap;justify-content:flex-start;
    gap:12px;overflow-x:auto;overflow-y:hidden;
    padding:2px 2px 16px;
    scroll-snap-type:x proximity;overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;
  }
  .home-product-rail .grid>.card{
    flex:0 0 clamp(164px,47vw,218px);width:clamp(164px,47vw,218px);
    min-width:0;scroll-snap-align:start;
  }
}

/* rc19: Mobile-only collapsible footer navigation. Desktop remains unchanged. */
.ftr .mland-footer-toggle{display:none}
@media(max-width:767px){
  .ftr .mland-footer-links{border-bottom:1px solid var(--line);padding:0}
  .ftr .mland-footer-links>h4{display:none}
  .ftr .mland-footer-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:16px 2px;border:0;background:transparent;color:inherit;font:inherit;font-size:15px;font-weight:700;text-align:right;cursor:pointer;direction:rtl}
  .ftr .mland-footer-chevron{width:9px;height:9px;flex:0 0 9px;border-left:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg);transition:transform .2s ease;margin:0 5px}
  .ftr .mland-footer-open .mland-footer-chevron{transform:rotate(135deg)}
  .ftr .mland-footer-panel{display:none;padding:0 2px 18px}
  .ftr .mland-footer-open .mland-footer-panel{display:block}
  .ftr .mland-footer-panel ul{gap:14px}
  .ftr .mland-footer-toggle:focus-visible{outline:2px solid var(--brand);outline-offset:2px;border-radius:4px}
}
@media(prefers-reduced-motion:reduce){.ftr .mland-footer-chevron{transition:none}}
