/* فونت استعداد؛ متغیر، از وزن ۱۰۰ تا ۹۰۰ */
@font-face{font-family:"Estedad";src:url("../fonts/Estedad-VF.woff2") format("woff2-variations"),url("../fonts/Estedad-VF.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}

/* ===== رنگ‌ها و اندازه‌ها (تم ریکو) ===== */
:root{
  --red:#C80F28;          /* قرمز لوگو */
  --red-2:#E5283F;
  --red-press:#A30B20;
  --red-tint:#FDECEE;
  --black:#000;           /* مشکی لوگو */
  --text:#1E1F24;
  --muted:#6A6E77;
  --muted-2:#9A9EA6;
  --soft:#F4F4F6;
  --line:#E6E6EA;
  --f:"Estedad",Tahoma,sans-serif;
  --wrap:1320px;
  --gut:24px;
  --r-xl:32px;
  --r-lg:24px;
  --r:16px;
}

*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--f);font-size:15.5px;line-height:1.9;color:var(--text);background:#fff;-webkit-font-smoothing:antialiased;overflow-x:clip}
img,svg{display:block;max-width:100%}
img{height:auto}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer;background:none;border:0;padding:0}
h1,h2,h3,p,ul,ol,dl,dd,figure,fieldset{margin:0}
ul,ol{padding:0;list-style:none}
:focus-visible{outline:3px solid var(--red);outline-offset:3px;border-radius:8px}
.wrap{width:min(100% - 2 * var(--gut), var(--wrap));margin-inline:auto}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ltr{direction:ltr;unicode-bidi:isolate;text-align:right}
.ico{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}

/* ===== دکمه‌ها ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:50px;padding:0 24px;border-radius:12px;font-weight:700;font-size:14.5px;line-height:1.4;white-space:nowrap;transition:background-color .2s,color .2s,border-color .2s,filter .2s,transform .15s}
.btn:active{transform:translateY(1px)}
.btn .ico{width:19px;height:19px}
.btn-red{background:linear-gradient(90deg,var(--red),var(--red-2));color:#fff;box-shadow:0 10px 20px -10px rgba(200,15,40,.7)}
.btn-red:hover{filter:brightness(1.08)}
.btn-black{background:#000;color:#fff}
.btn-black:hover{background:var(--red)}
.btn-line{border:1.5px solid var(--line);background:#fff;color:var(--text)}
.btn-line:hover{border-color:#000}
.btn-white{background:#fff;color:#000}
.btn-white:hover{background:var(--red);color:#fff}
.btn-lg{height:56px;padding:0 30px;font-size:15.5px}
.btn-block{width:100%}

/* ===== هدر: ردیف اول ===== */
.topbar{background:#fff;position:relative;z-index:61}
.topbar-row{display:flex;align-items:center;gap:28px;height:92px}
.brand img{height:46px;width:auto}
.menu-btn{display:none;width:46px;height:46px;border-radius:12px;border:1px solid var(--line);place-items:center}
.search{flex:1;max-width:640px;display:flex;align-items:center;height:52px;background:var(--soft);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:border-color .2s,background-color .2s}
.search:focus-within{border-color:#000;background:#fff}
.search input{flex:1;min-width:0;height:100%;border:0;background:transparent;padding:0 18px;font-size:14.5px;outline:none}
.search input::placeholder{color:var(--muted-2)}
.search button{width:52px;height:52px;flex:none;display:grid;place-items:center;background:#000;color:#fff;transition:background-color .2s}
.search button:hover{background:var(--red)}
.top-actions{margin-inline-start:auto;display:flex;align-items:center;gap:12px}
.support{display:flex;align-items:center;gap:10px;font-size:12.5px;color:var(--muted);line-height:1.55;margin-inline-end:8px}
.support .ico{width:30px;height:30px;color:var(--red);stroke-width:1.5}
.support b{display:block;font-size:15px;font-weight:800;color:var(--text)}
.icon-count{position:relative;width:48px;height:48px;border-radius:12px;border:1px solid var(--line);display:grid;place-items:center;background:#fff;transition:border-color .2s}
.icon-count:hover{border-color:#000}
.badge{position:absolute;top:-7px;inset-inline-end:-7px;min-width:21px;height:21px;padding:0 5px;border-radius:11px;background:var(--red);color:#fff;font-size:11.5px;font-weight:700;line-height:1;display:grid;place-items:center;border:2px solid #fff;transition:transform .25s}
.badge.zero{display:none}
.badge.bump{transform:scale(1.3)}
.cart-pill{display:inline-flex;align-items:center;gap:12px;height:52px;padding-inline:6px 18px;border-radius:999px;background:#000;color:#fff;font-weight:800;font-size:14px;transition:background-color .2s}
.cart-pill:hover{background:var(--red)}
.cart-pill .bag{position:relative;width:40px;height:40px;border-radius:50%;background:#fff;color:#000;display:grid;place-items:center}
.cart-pill .bag .ico{width:20px;height:20px}
.cart-pill .badge{top:-4px;inset-inline-end:-6px;border-color:#000}
.cart-pill small{font-weight:500;font-size:12px;opacity:.75}

/* ===== هدر: ردیف منو ===== */
.navbar{position:sticky;top:0;z-index:60;background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line);transition:box-shadow .2s}
.navbar.scrolled{box-shadow:0 12px 30px -20px rgba(0,0,0,.35)}
.nav-row{display:flex;align-items:center;gap:6px;height:64px}
.cat-menu{position:relative;height:100%;display:flex;align-items:center}
.cat-btn{display:inline-flex;align-items:center;gap:10px;height:48px;min-width:220px;padding:0 16px;border-radius:12px;background:#000;color:#fff;font-weight:800;font-size:14.5px}
.cat-btn .chev{margin-inline-start:auto;width:18px;height:18px;transition:transform .2s}
.cat-menu.open .cat-btn .chev{transform:rotate(180deg)}
.mega{position:absolute;top:100%;inset-inline-start:0;width:580px;display:none;grid-template-columns:1fr 1fr;gap:4px;padding:14px;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 30px 60px -24px rgba(0,0,0,.35)}
.cat-menu.open .mega{display:grid}
.mega a{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:14px;transition:background-color .2s}
.mega a:hover{background:var(--soft)}
.mi{width:44px;height:44px;flex:none;border-radius:12px;background:var(--red-tint);color:var(--red);display:grid;place-items:center}
.mega b{display:block;font-size:14.5px;line-height:1.5}
.mega small{display:block;font-size:12.5px;color:var(--muted);line-height:1.5}
.mega .mega-promo{grid-column:1/-1;margin-top:6px;background:#000;color:#fff;justify-content:space-between}
.mega .mega-promo:hover{background:var(--red)}
.mega .mega-promo small{color:#C9CBD1}
.main-nav{display:flex;align-items:center;gap:2px;margin-inline-start:12px}
.main-nav a{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:10px;font-size:14.5px;font-weight:500;color:#3A3C42;transition:background-color .2s,color .2s}
.main-nav a .ico{width:18px;height:18px;color:var(--muted-2);transition:color .2s}
.main-nav a:hover{background:var(--soft);color:#000}
.main-nav a:hover .ico,.main-nav a[aria-current=page] .ico{color:var(--red)}
.main-nav a[aria-current=page]{color:#000;font-weight:700}
.nav-end{margin-inline-start:auto;display:flex;align-items:center;gap:10px}
.nav-end .btn{height:46px}

/* ===== نوار عنوان صفحه‌های داخلی ===== */
.page-band{position:relative;overflow:hidden;background:#000;color:#fff;text-align:center;padding:70px 0 62px}
.page-band::before{content:"";position:absolute;inset:0;background:radial-gradient(60% 120% at 50% 120%,rgba(200,15,40,.35),transparent 60%)}
.page-band .wrap{position:relative}
.page-band h1{font-size:clamp(34px,5vw,58px);font-weight:900;line-height:1.3}
.crumbs{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:12px;font-size:14px;color:#C4C6CC}
.crumbs a{color:#FF6B7E;font-weight:700}
.crumbs span[aria-hidden]{opacity:.5}
.band-deco{position:absolute;bottom:-8px;inset-inline-end:4%;width:300px;height:auto;opacity:.95;pointer-events:none}
.band-deco.alt{inset-inline-end:auto;inset-inline-start:3%;width:180px;opacity:.35;transform:scaleX(-1)}

/* ===== هیرو ===== */
.hero{padding-top:24px}
.hero-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,520px);gap:48px;align-items:center;padding:40px 48px;border-radius:var(--r-xl);background:var(--soft)}
.hero h1{font-size:clamp(32px,3.8vw,52px);font-weight:900;line-height:1.4;text-wrap:balance}
.lead{margin-top:18px;font-size:17px;line-height:2.1;color:var(--muted);max-width:34em}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}

/* ===== دموی خانه ===== */
.demo{--dwell:4.2s;background:#000;color:#fff;border-radius:26px;padding:14px;box-shadow:0 40px 80px -40px rgba(0,0,0,.6)}
.demo-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 10px 12px;font-size:14px}
.demo-app{display:flex;align-items:center;gap:10px;font-weight:700}
.live-dot{width:8px;height:8px;border-radius:50%;background:#2BD576;box-shadow:0 0 0 4px rgba(43,213,118,.18)}
.demo-meta{display:flex;align-items:center;gap:14px;color:#9AA0A8}
.demo-clock{font-variant-numeric:tabular-nums}
.stage{position:relative;border-radius:18px;overflow:hidden;background:#000}
.sky{position:absolute;inset:0;opacity:0;transition:opacity 1.1s ease}
.sky-day{background:linear-gradient(#CADDF0,#EDF2F7 78%)}
.sky-dusk{background:linear-gradient(#232246,#5B3D62 55%,#C06F5E)}
.sky-night{background:linear-gradient(#050913,#121A2F)}
.demo[data-sky=day] .sky-day,.demo[data-sky=dusk] .sky-dusk,.demo[data-sky=night] .sky-night{opacity:1}
.house{position:relative;width:100%;height:auto}
.demo[data-sky=day]{--wall:#fff;--edge:#C4CCD6;--room:#DCE2E9;--furn:#2B3038;--furn2:#59606B;--sofa:#474E59;--win:#BCD3EA;--ground:#CBD3DC;--cut:#D7E4F0;--curtain:#B7AEA2;--pillow:#fff;--leaf:#3F7D5C;--screen:#2E3440;--bulb:#9AA2AD;--door:#8A5A3C}
.demo[data-sky=dusk]{--wall:#2C2735;--edge:#3A3445;--room:#1C1823;--furn:#0B0A0F;--furn2:#26222D;--sofa:#15121A;--win:#8A6687;--ground:#1E1A26;--cut:#4B3A58;--curtain:#4A3F48;--pillow:#3A3440;--leaf:#1F2A26;--screen:#15131B;--bulb:#3A3544;--door:#2A1F1A}
.demo[data-sky=night]{--wall:#161C2A;--edge:#232B3D;--room:#0C101A;--furn:#04060B;--furn2:#1C2231;--sofa:#0A0D15;--win:#1B2644;--ground:#080C15;--cut:#10172A;--curtain:#232A3A;--pillow:#1E2433;--leaf:#0F1814;--screen:#0A0D14;--bulb:#232A3A;--door:#151212}
.house .wall{fill:var(--wall);transition:fill 1s}
.house .wall-body{stroke:var(--edge);stroke-width:2;transition:fill 1s,stroke 1s}
.house .room-bg{fill:var(--room);transition:fill 1s}
.house .room-light{opacity:0;transition:opacity .8s ease}
.house .furn{fill:var(--furn);transition:fill 1s}
.house .furn2{fill:var(--furn2);transition:fill 1s}
.house .sofa{fill:var(--sofa);transition:fill 1s}
.house .win{fill:var(--win);transition:fill 1s}
.house .frame{fill:none;stroke:var(--wall);stroke-width:3;transition:stroke 1s}
.house .curtain{transform-box:fill-box;transform-origin:50% 0;transition:transform 1s cubic-bezier(.65,0,.35,1)}
.house .curtain .c{fill:var(--curtain);transition:fill .8s}
.house .room.on .curtain .c{fill:#C98C5E}
.house .fold{fill:none;stroke:rgba(0,0,0,.18);stroke-width:1.5}
.house .pillow{fill:var(--pillow);transition:fill .8s}
.house .room.on .pillow{fill:#FFF4DA}
.house .blanket{fill:var(--red)}
.house .leaf{fill:var(--leaf);transition:fill 1s}
.house .screen{fill:var(--screen);transition:fill .8s}
.house .room.on .screen{fill:#5E8FD6}
.house .bulb{fill:var(--bulb);transition:fill .6s}
.house .room.on .bulb{fill:#FFE9A8}
.house .door{fill:var(--door);transition:fill 1s}
.house .door-panel{fill:none;stroke:rgba(0,0,0,.25);stroke-width:1.5}
.house .handle{fill:#E3C27A}
.house .tv{fill:#08090C}
.house .tv-screen,.house .tv-halo{opacity:0;transition:opacity .8s}
.demo.tv-on .tv-screen,.demo.tv-on .tv-halo{opacity:1}
.house .thermo{fill:#08090C}
.house .thermo-t{font:700 11px var(--f);fill:#fff}
.house .lock-body{fill:#7F8793;transition:fill .4s}
.house .lock-shackle{fill:none;stroke:#7F8793;stroke-width:2.2;transform:translateY(-3px);transition:transform .4s,stroke .4s}
.demo.locked .lock-body{fill:var(--red)}
.demo.locked .lock-shackle{stroke:var(--red);transform:none}
.house .key-led{fill:#2BD576;transition:fill .4s}
.demo.locked .key-led{fill:var(--red)}
.house .cam-body{fill:var(--furn2);transition:fill 1s}
.house .rec{fill:#6B717B}
.demo.alarm .rec{fill:#FF2E43;animation:blink 1.1s steps(2,start) infinite}
@keyframes blink{to{visibility:hidden}}
.house .roof{fill:none;stroke:var(--red);stroke-width:20;stroke-linejoin:miter}
.house .roof-post,.house .px{fill:var(--red)}
.house .cut{fill:var(--cut);transition:fill 1s}
.house .ground{fill:var(--ground);transition:fill 1s}
.house .sun{fill:#FFCF6B;opacity:0;transition:opacity 1s}
.house .moon{fill:#F2EEDF;opacity:0;transition:opacity 1s}
.house .stars{fill:#fff;opacity:0;transition:opacity 1s}
.demo[data-sky=day] .sun{opacity:1}
.demo[data-sky=night] .moon{opacity:1}
.demo[data-sky=night] .stars{opacity:.85}
.demo[data-sky=dusk] .stars{opacity:.35}
.house .room{cursor:pointer;outline:none}
.house .room:focus-visible .room-bg{stroke:#fff;stroke-width:3}
.demo.shuffle .px{animation:pix .9s cubic-bezier(.3,.7,.3,1)}
@keyframes pix{40%{transform:translate(var(--dx),var(--dy))}}
.demo-status{display:grid;grid-template-columns:repeat(4,1fr);margin-top:12px;border-radius:16px;background:rgba(255,255,255,.06)}
.demo-status>div{padding:10px 14px;border-inline-start:1px solid rgba(255,255,255,.08)}
.demo-status>div:first-child{border-inline-start:0}
.demo-status dt{font-size:12.5px;color:#8F96A0}
.demo-status dd{font-size:16px;font-weight:700;line-height:1.6;transition:color .3s}
.demo-status dd.hot{color:#FF5566}
.scenes{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}
.scene{position:relative;overflow:hidden;display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px 4px;border-radius:14px;background:rgba(255,255,255,.07);font-size:13px;font-weight:500;line-height:1.5;color:#D6DAE0;transition:background-color .25s,color .25s}
.scene:hover{background:rgba(255,255,255,.13)}
.scene[aria-pressed=true]{background:var(--red);color:#fff}
.scene .bar{position:absolute;inset-inline:0;bottom:0;height:3px;background:rgba(255,255,255,.6);transform:scaleX(0);transform-origin:right}
.demo.autoplay .scene[aria-pressed=true] .bar{animation:progress var(--dwell) linear forwards}
.demo.paused .scene .bar{animation-play-state:paused}
@keyframes progress{to{transform:scaleX(1)}}
.demo-hint{font-size:12.5px;color:#8F96A0;text-align:center;margin:10px 0 2px}

/* ===== ویژگی‌ها ===== */
.assure{padding-top:20px}
.assure-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.assure-item{display:flex;align-items:center;gap:14px;padding:18px;border:1px solid var(--line);border-radius:20px}
.ai{width:54px;height:54px;flex:none;border-radius:16px;background:var(--red-tint);color:var(--red);display:grid;place-items:center}
.ai .ico{width:26px;height:26px;stroke-width:1.6}
.assure-item b{display:block;font-size:15.5px;line-height:1.6}
.assure-item span{display:block;font-size:13.5px;color:var(--muted);line-height:1.7}

/* ===== بخش‌ها ===== */
.section{padding:80px 0 0}
.section:last-of-type{padding-bottom:80px}
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}
.sec-title{display:flex;align-items:center;gap:12px;font-size:clamp(22px,2.4vw,30px);font-weight:900;line-height:1.5}
.sec-title::before{content:"";width:12px;height:12px;flex:none;background:var(--red)}
.sec-sub{margin-top:4px;color:var(--muted);font-size:15px}
.more{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 14px 0 10px;border-radius:12px;background:var(--soft);font-size:13.5px;font-weight:700;white-space:nowrap;transition:background-color .2s,color .2s}
.more:hover{background:#000;color:#fff}
.more .ico{width:16px;height:16px}

/* ===== دسته‌بندی‌ها ===== */
.cats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:28px}
.cat{display:flex;flex-direction:column;align-items:center;gap:10px;padding:24px 10px 18px;border-radius:22px;background:var(--soft);border:1.5px solid transparent;text-align:center;transition:border-color .2s,background-color .2s,color .2s}
.ci{width:70px;height:70px;border-radius:50%;background:#fff;color:var(--red);display:grid;place-items:center;transition:background-color .2s,color .2s}
.ci .ico{width:30px;height:30px;stroke-width:1.6}
.cat b{font-size:15px;line-height:1.5}
.cat small{font-size:12.5px;color:var(--muted);line-height:1.3}
.cat:hover{border-color:#000}
.cat[aria-pressed=true]{background:#000;color:#fff;border-color:#000}
.cat[aria-pressed=true] .ci{background:var(--red);color:#fff}
.cat[aria-pressed=true] small{color:#B9BCC3}

/* ===== محصولات ===== */
.search-note{display:flex;align-items:center;gap:12px;margin:-10px 0 20px;font-size:15px;color:var(--muted)}
.search-note[hidden]{display:none}
.search-note button,.shop-empty button{font-weight:700;color:var(--red);border-bottom:1.5px solid currentColor;line-height:1.5}
.grid-products{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.grid-products.related{grid-template-columns:repeat(4,minmax(0,1fr))}
.product{position:relative;display:flex;flex-direction:column;padding:12px;background:#fff;border:1px solid var(--line);border-radius:22px;transition:border-color .2s,box-shadow .2s}
.product:hover{border-color:#D5D5DA;box-shadow:0 20px 40px -28px rgba(0,0,0,.4)}
.product[hidden]{display:none}
.product-media{position:relative;display:grid;place-items:center;aspect-ratio:1/1;border-radius:16px;background:#fff;overflow:hidden}
.product-media img{width:100%;height:100%;object-fit:contain;transition:transform .4s ease}
.product:hover .product-media img{transform:scale(1.04)}
.tag{position:absolute;top:12px;inset-inline-start:12px;padding:6px 11px;border-radius:999px;background:#000;color:#fff;font-size:12px;font-weight:700;line-height:1}
.tag-new{background:var(--red)}
.wish{position:absolute;top:22px;inset-inline-end:22px;z-index:1;width:40px;height:40px;border-radius:50%;background:#fff;color:var(--muted);display:grid;place-items:center;box-shadow:0 6px 14px -6px rgba(0,0,0,.25);transition:color .2s}
.wish .ico{width:19px;height:19px}
.wish:hover{color:var(--red)}
.wish[aria-pressed=true]{color:var(--red)}
.wish[aria-pressed=true] .ico{fill:currentColor}
.product-body{flex:1;display:flex;flex-direction:column;padding:14px 6px 2px}
.product-cat{font-size:12.5px;color:var(--muted-2)}
.product h3{font-size:15.5px;font-weight:800;line-height:1.75}
.product h3 a:hover{color:var(--red)}
.product-foot{margin-top:auto;padding-top:12px;display:flex;align-items:center;justify-content:space-between;gap:8px}
.price{font-weight:900;font-size:17px;line-height:1.4}
.price small{font-size:12px;font-weight:500;color:var(--muted)}
.add{width:46px;height:46px;flex:none;border-radius:14px;background:var(--red);color:#fff;display:grid;place-items:center;transition:background-color .2s}
.add:hover,.add.added{background:#000}
.shop-empty{padding:40px 0;text-align:center;color:var(--muted)}
.shop-empty[hidden]{display:none}

/* ===== راهکارها ===== */
.gray-card{background:var(--soft);border-radius:var(--r-xl);padding:44px}
.sol-top{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}
.seg{display:inline-flex;padding:5px;background:#fff;border-radius:14px;border:1px solid var(--line);flex:none}
.seg button{height:44px;padding:0 20px;border-radius:10px;font-weight:700;font-size:14.5px;color:var(--muted);transition:background-color .2s,color .2s}
.seg button[aria-selected=true]{background:#000;color:#fff}
.sol-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.sol-list[hidden]{display:none}
.sol-list li{display:grid;grid-template-columns:52px 1fr;align-content:start;gap:2px 14px;padding:20px;background:#fff;border-radius:20px}
.sol-list .ai{grid-row:span 2;width:52px;height:52px}
.sol-list h3{font-size:16.5px;line-height:1.6}
.sol-list p{font-size:14px;color:var(--muted);line-height:1.85}

/* ===== پکیج‌ها ===== */
.packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.pack{position:relative;display:flex;flex-direction:column;padding:30px 26px 26px;background:#fff;border:1px solid var(--line);border-radius:var(--r-lg)}
.pack .ai{margin-bottom:18px}
.pack h3{font-size:22px;font-weight:900;line-height:1.55}
.pack-for{margin-top:4px;color:var(--muted);font-size:14.5px}
.pack-list{display:grid;gap:11px;margin:22px 0 28px;font-size:15px;line-height:1.7}
.pack-list li{display:flex;gap:10px;align-items:flex-start}
.pack-list .ico{width:20px;height:20px;color:var(--red);stroke-width:2.2;margin-top:3px}
.pack .btn{margin-top:auto}
.pack-main{background:#000;color:#fff;border-color:#000}
.pack-main .pack-for{color:#A9ADB5}
.pack-main .ai{background:var(--red);color:#fff}
.pack-flag{position:absolute;top:26px;inset-inline-end:24px;padding:7px 12px;border-radius:999px;background:var(--red);color:#fff;font-size:12.5px;font-weight:700;line-height:1}

/* ===== مراحل ===== */
.steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.step{position:relative;padding:22px 18px 20px;border:1px solid var(--line);border-radius:20px}
.step .num{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:#000;color:#fff;font-weight:900;font-size:16px;margin-bottom:14px}
.step:first-child .num{background:var(--red)}
.step h3{font-size:16.5px;line-height:1.6}
.step p{margin-top:6px;font-size:14px;color:var(--muted);line-height:1.9}

/* ===== درباره ===== */
.about-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:44px;align-items:center;padding:44px;border-radius:var(--r-xl);background:var(--soft)}
.about-card h2{font-size:clamp(26px,3.2vw,40px);font-weight:900;line-height:1.45}
.about-card p{margin-top:16px;color:#50545C;line-height:2.15;text-align:justify}
.about-card .btn{margin-top:28px}
.about-media{border-radius:24px;overflow:hidden;background:#E9E9EC}
.about-media svg{width:100%;height:auto}
.facts{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.facts li{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:12px;background:#fff;font-size:14px;font-weight:700}
.facts .ico{width:18px;height:18px;color:var(--red)}

/* ===== گالری ===== */
.visit-text{color:var(--muted);max-width:60em;line-height:2.1;text-align:justify}
.gallery{margin-top:28px}
.g-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 32px) / 3);gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain}
.g-track::-webkit-scrollbar{display:none}
.g-item{position:relative;scroll-snap-align:start;border-radius:22px;overflow:hidden;background:#1E2026}
.g-item svg{width:100%;height:auto}
.g-item figcaption{position:absolute;bottom:14px;inset-inline-start:14px;padding:5px 14px;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font-size:13.5px;font-weight:700}
.g-dots{display:flex;justify-content:center;gap:8px;margin-top:18px}
.g-dots button{width:10px;height:10px;border-radius:5px;background:#CFCFD4;transition:width .25s,background-color .25s}
.g-dots button[aria-current=true]{width:26px;background:#000}

/* ===== مشاوره ===== */
.consult-card{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:48px;align-items:start;padding:48px;border-radius:var(--r-xl);background:#000;color:#fff}
.consult-card .sec-title{color:#fff}
.consult-card .sec-sub{color:#A9ADB5;font-size:16px;margin-top:12px}
.contact-list{display:grid;gap:12px;margin-top:30px}
.contact-list a,.contact-list div{display:flex;align-items:center;gap:14px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.06);font-size:15px}
.contact-list a:hover{background:rgba(255,255,255,.12)}
.contact-list .ci2{width:42px;height:42px;flex:none;border-radius:12px;background:var(--red);display:grid;place-items:center}
.contact-list .ci2 .ico{width:20px;height:20px}
.contact-list small{display:block;font-size:12.5px;color:#A9ADB5;line-height:1.5}
.contact-list b{display:block;font-weight:700;line-height:1.6}
.consult-form{background:#fff;color:var(--text);border-radius:var(--r-lg);padding:32px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.full{grid-column:1/-1}
.field{display:grid;gap:8px;align-content:start;min-width:0}
.field>label,.field legend{font-weight:700;font-size:14.5px;line-height:1.6;padding:0}
.opt{font-weight:400;color:var(--muted-2);font-size:13px}
.input{width:100%;height:52px;padding:0 16px;border:1.5px solid var(--line);border-radius:12px;background:var(--soft);transition:border-color .2s,background-color .2s}
textarea.input{height:auto;min-height:100px;padding:12px 16px;resize:vertical;line-height:1.8}
.input:focus{outline:none;border-color:#000;background:#fff}
.input[dir=ltr]{text-align:right}
.field.invalid .input{border-color:var(--red);background:#FFF6F7}
.err{font-size:13px;color:var(--red);line-height:1.6}
.err:empty{display:none}
fieldset.field{border:0;padding:0}
.pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.pill{position:relative}
.pill input{position:absolute;opacity:0;pointer-events:none}
.pill span{display:inline-flex;align-items:center;height:44px;padding:0 18px;border:1.5px solid var(--line);border-radius:12px;background:var(--soft);font-size:14.5px;cursor:pointer;transition:background-color .2s,color .2s,border-color .2s}
.pill input:checked+span{background:#000;border-color:#000;color:#fff}
.pill input:focus-visible+span{outline:3px solid var(--red);outline-offset:2px}
.field.invalid .pill span{border-color:var(--red)}
.form-note{margin-top:12px;font-size:13px;color:var(--muted-2);text-align:center}
.form-done{display:grid;justify-items:center;gap:10px;padding:36px 8px;text-align:center}
.form-done[hidden]{display:none}
.done-mark{width:64px;height:64px;margin-bottom:6px;border-radius:50%;background:var(--red);color:#fff;display:grid;place-items:center}
.done-mark .ico{width:30px;height:30px;stroke-width:2.4}
.form-done h3{font-size:22px;font-weight:900}
.form-done p{color:var(--muted);max-width:26em}
.form-done .btn{margin-top:12px}

/* ===== سوالات متداول ===== */
.faq{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:start}
.faq-intro{position:sticky;top:96px}
.q-mark{width:64px;height:64px;margin-bottom:16px;border-radius:50%;background:#000;color:#fff;display:grid;place-items:center;font-size:34px;font-weight:900;line-height:1}
.faq-intro h2{font-size:clamp(24px,2.6vw,32px);font-weight:900;line-height:1.5}
.faq-intro p{margin-top:10px;color:var(--muted);line-height:2.05}
.faq-intro .btn{margin-top:22px}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list details:first-child{border-top:1px solid var(--line)}
.faq-list summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 0;font-size:16px;font-weight:700;line-height:1.75;cursor:pointer}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary .n{color:var(--red);font-weight:900;margin-inline-end:4px}
.faq-list summary .ico{width:20px;height:20px;color:var(--muted-2);transition:transform .25s}
.faq-list details[open] summary .ico{transform:rotate(180deg);color:#000}
.faq-list details p{padding:0 0 22px;color:var(--muted);line-height:2.05;max-width:62ch}

/* ===== فوتر ===== */
.site-footer{margin-top:0;padding-top:56px;border-top:1px solid var(--line);background:#fff}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) minmax(0,.85fr);gap:40px}
.foot-title{display:flex;align-items:center;gap:12px;margin-bottom:16px;font-size:16.5px;font-weight:900;line-height:1.6}
.foot-title::after{content:"";flex:1;height:1px;background:var(--line)}
.foot-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px 18px}
.foot-links a{padding:4px 0;font-size:14px;color:var(--muted);transition:color .2s}
.foot-links a:hover{color:var(--red)}
.rows li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 0;font-size:14.5px}
.rows .lbl{display:flex;align-items:center;gap:8px;font-weight:700}
.rows .lbl .ico{width:18px;height:18px;color:var(--red)}
.rows .val{font-weight:700;color:var(--text)}
.rows a.val:hover{color:var(--red)}
.follow{margin-top:22px;text-align:center}
.follow b{display:block;font-size:14.5px}
.follow small{display:block;color:var(--muted-2);font-size:12.5px}
.socials{display:flex;justify-content:center;gap:10px;margin-top:12px}
.socials a{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:#fff;transition:transform .2s}
.socials a:hover{transform:translateY(-2px)}
.socials .ico{width:22px;height:22px}
.soc-insta{background:linear-gradient(45deg,#F9A13A,#E1306C 55%,#8A3AB9)}
.soc-tg{background:#27A6E5}
.soc-wa{background:#25D366}
.badges{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--line);border-radius:16px;overflow:hidden}
.badge-slot{display:grid;place-items:center;aspect-ratio:1/1.15;padding:10px;border-inline-start:1px solid var(--line);text-align:center;font-size:12px;color:var(--muted-2);line-height:1.6}
.badge-slot:first-child{border-inline-start:0}
.address{margin-top:40px}
.address-box{display:flex;align-items:center;gap:16px;padding:18px 20px;border:1px solid var(--line);border-radius:20px;background:var(--soft)}
.address-box .pin{width:50px;height:50px;flex:none;border-radius:14px;background:#fff;color:var(--red);display:grid;place-items:center}
.address-box b{display:block;font-size:15.5px}
.address-box span{display:block;font-size:14px;color:var(--muted)}
.foot-bottom{margin-top:36px;padding:20px 0 28px;border-top:1px solid var(--line);text-align:center;font-size:13.5px;color:var(--muted)}
.foot-bottom b{color:var(--text)}

/* ===== واتساپ شناور ===== */
.float-wa{position:fixed;bottom:22px;inset-inline-start:22px;z-index:80;width:58px;height:58px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;box-shadow:0 14px 28px -10px rgba(37,211,102,.7);transition:transform .2s}
.float-wa:hover{transform:scale(1.06)}
.float-wa .ico{width:28px;height:28px}

/* ===== کشوها و پیام ===== */
.scrim{position:fixed;inset:0;z-index:90;background:rgba(0,0,0,.45);opacity:0;pointer-events:none;transition:opacity .25s}
.scrim.show{opacity:1;pointer-events:auto}
.drawer{position:fixed;top:0;bottom:0;z-index:100;display:flex;flex-direction:column;width:min(420px,100%);background:#fff;visibility:hidden;transition:transform .35s cubic-bezier(.3,.8,.3,1),visibility 0s linear .35s}
.drawer.open{transform:none;visibility:visible;transition:transform .35s cubic-bezier(.3,.8,.3,1),visibility 0s}
.cart-drawer{inset-inline-end:0;transform:translateX(-100%)}
.nav-drawer{inset-inline-start:0;transform:translateX(100%);width:min(340px,88%)}
.drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:70px;padding:10px 20px;padding-inline-end:10px;border-bottom:1px solid var(--line)}
.drawer-head h2{font-size:19px;font-weight:900}
.drawer-head img{height:32px;width:auto}
.x-btn{width:46px;height:46px;border-radius:12px;display:grid;place-items:center}
.x-btn:hover{background:var(--soft)}
.drawer-body{flex:1;overflow:auto;padding:4px 20px}
.line{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:14px;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}
.line-thumb{width:72px;height:72px;border-radius:14px;background:var(--soft);display:grid;place-items:center}
.line-thumb svg{width:86%}
.line-info b{display:block;font-size:15px;line-height:1.6}
.line-info>span{font-size:14px;color:var(--muted)}
.qty{display:inline-flex;align-items:center;height:38px;margin-top:8px;border:1.5px solid var(--line);border-radius:12px}
.qty button{width:36px;height:100%;display:grid;place-items:center}
.qty button:hover{color:var(--red)}
.qty .ico{width:17px;height:17px}
.qty output{min-width:26px;text-align:center;font-weight:700;font-size:14.5px}
.qty-static{margin-top:4px;font-size:13.5px;color:var(--muted)}
.line-remove{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;color:var(--muted-2)}
.line-remove:hover{background:var(--soft);color:var(--red)}
.line-remove .ico{width:19px;height:19px}
.drawer-foot{display:grid;gap:10px;padding:18px 20px 22px;border-top:1px solid var(--line)}
.drawer-foot[hidden]{display:none}
.sum-row{display:flex;justify-content:space-between;align-items:baseline;font-size:15px}
.sum-row strong{font-size:20px;font-weight:900}
.drawer-foot .note{font-size:13px;color:var(--muted-2)}
.link-plain{justify-self:center;padding:4px;font-size:14px;font-weight:700;color:var(--muted)}
.link-plain:hover{color:#000}
.cart-empty{display:grid;justify-items:center;gap:8px;padding:72px 12px;text-align:center}
.cart-empty .ico{width:46px;height:46px;color:#C3C8CF;stroke-width:1.5}
.cart-empty b{margin-top:6px;font-size:17px}
.cart-empty p{color:var(--muted);font-size:14.5px}
.cart-empty .btn{margin-top:14px}
.drawer-nav{display:grid;padding:10px 12px}
.drawer-nav a{display:flex;align-items:center;gap:12px;padding:12px;border-radius:12px;font-size:16px;font-weight:700}
.drawer-nav a .ico{color:var(--red);width:20px;height:20px}
.drawer-nav a:hover{background:var(--soft)}
.drawer-nav .sep{height:1px;margin:8px 12px;background:var(--line)}
.drawer-extra{display:grid;gap:10px;margin-top:auto;padding:20px;border-top:1px solid var(--line)}
.toast{position:fixed;bottom:24px;left:50%;z-index:120;display:flex;align-items:center;gap:16px;max-width:calc(100% - 32px);padding:8px;padding-inline-start:22px;border-radius:16px;background:#000;color:#fff;border:1px solid rgba(255,255,255,.16);font-size:14.5px;line-height:1.6;box-shadow:0 18px 40px -14px rgba(0,0,0,.5);opacity:0;transform:translate(-50%,16px);pointer-events:none;transition:opacity .25s,transform .25s}
.toast.show{opacity:1;transform:translate(-50%,0);pointer-events:auto}
.toast button{flex:none;height:38px;padding:0 16px;border-radius:10px;background:#fff;color:#000;font-weight:700;font-size:13.5px;white-space:nowrap}
.toast button[hidden]{display:none}

/* ===== واکنش‌گرا ===== */
@media (max-width:1240px){
  .support{display:none}
  .main-nav a{padding:9px 9px}
  .main-nav a .ico{display:none}
  .grid-products{grid-template-columns:repeat(4,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:1080px){
  .grid-products{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero-card{grid-template-columns:1fr;gap:36px}
  .hero-card .demo{width:100%;max-width:620px;justify-self:center}
  .about-card,.consult-card,.faq{grid-template-columns:1fr;gap:36px}
  .faq-intro{position:static}
  .sol-list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .packs{grid-template-columns:1fr;max-width:620px}
  .assure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .g-track{grid-auto-columns:calc((100% - 16px) / 2)}
}
@media (max-width:960px){
  .navbar{display:none}
  .topbar{position:sticky;top:0;z-index:60;border-bottom:1px solid var(--line)}
  .topbar-row{flex-wrap:wrap;height:auto;gap:12px;padding:12px 0}
  .menu-btn{display:grid}
  .brand img{height:38px}
  .search{order:5;flex-basis:100%;max-width:none;height:48px}
  .search button{width:48px;height:48px}
  .top-actions{gap:8px}
  html{scroll-padding-top:140px}
}
@media (max-width:720px){
  .grid-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .sol-list{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
}
@media (max-width:640px){
  :root{--gut:14px}
  .section{padding-top:56px}
  .hero{padding-top:14px}
  .hero-card,.gray-card,.about-card,.consult-card{padding:22px 16px;border-radius:24px}
  .hero h1{font-size:clamp(28px,8vw,38px)}
  .lead{font-size:16px}
  .hero-cta .btn{flex:1 1 auto}
  .cart-pill{padding-inline:5px 14px;height:48px;gap:8px}
  .cart-pill .bag{width:38px;height:38px}
  .cart-pill .sum{display:none}
  .cart-pill{padding:5px}
  .icon-count.wish-link{display:none}
  .demo{padding:10px;border-radius:20px}
  .demo-top{padding:2px 6px 10px;font-size:13px}
  .stage{border-radius:14px}
  .demo-status{grid-template-columns:1fr 1fr}
  .demo-status>div:nth-child(3){border-inline-start:0}
  .demo-status>div:nth-child(n+3){border-top:1px solid rgba(255,255,255,.08)}
  .scenes{gap:6px}
  .scene{font-size:11px;padding:10px 2px;gap:4px;border-radius:12px}
  .scene .ico{width:20px;height:20px}
  .assure-grid{grid-template-columns:1fr 1fr;gap:10px}
  .assure-item{flex-direction:column;align-items:flex-start;gap:10px;padding:14px}
  .ai{width:46px;height:46px;border-radius:14px}
  .assure-item b{font-size:14.5px}
  .assure-item span{font-size:12.5px}
  .sec-head{flex-wrap:wrap;align-items:center}
  .cats{gap:10px}
  .cat{padding:16px 6px 14px;border-radius:18px}
  .ci{width:56px;height:56px}
  .ci .ico{width:26px;height:26px}
  .cat b{font-size:13.5px}
  .product{padding:8px;border-radius:18px}
  .product-media{border-radius:12px}
  .wish{top:14px;inset-inline-end:14px;width:34px;height:34px}
  .tag{top:8px;inset-inline-start:8px;font-size:11px;padding:5px 8px}
  .product-body{padding:10px 4px 2px}
  .product h3{font-size:14px}
  .price{font-size:14.5px}
  .price small{font-size:11px}
  .add{width:38px;height:38px;border-radius:11px}
  .sol-top{flex-direction:column;align-items:flex-start}
  .steps{grid-template-columns:1fr}
  .pack{padding:26px 20px 22px}
  .consult-form{padding:22px 16px}
  .form-grid{grid-template-columns:1fr}
  .about-card p{text-align:start}
  .g-track{grid-auto-columns:86%}
  .foot-grid{grid-template-columns:1fr;gap:32px}
  .foot-links{grid-template-columns:repeat(2,minmax(0,1fr))}
  .badges{max-width:260px;margin-inline:auto}
  .page-band{padding:48px 0 44px}
  .band-deco{width:180px}
  .float-wa{width:52px;height:52px;bottom:16px;inset-inline-start:16px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}

/* =========================================================
   صفحه‌های وبلاگ، مقاله و حساب کاربری
   ========================================================= */
.acct-link{display:inline-flex;align-items:center;gap:8px;height:48px;padding:0 14px;border:1px solid var(--line);border-radius:12px;font-size:14px;font-weight:700;white-space:nowrap;transition:border-color .2s}
.acct-link:hover,.acct-link[aria-current=page]{border-color:#000}
.acct-link .ico{width:20px;height:20px}

/* نوار عنوان مقاله */
.page-band.sm{padding:52px 0 46px}
.page-band.sm h1{max-width:24em;margin-inline:auto;font-size:clamp(26px,3.4vw,40px);text-wrap:balance}
.band-meta{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;margin-top:14px;font-size:14px;color:#C4C6CC}
.band-meta span{display:inline-flex;align-items:center;gap:6px}
.band-meta .ico{width:17px;height:17px;color:#FF6B7E}

/* کاور مطالب (روی وردپرس = تصویر شاخص) */
.cover{--px:var(--red);position:relative;overflow:hidden;display:grid;place-items:center;aspect-ratio:16/10;border-radius:16px;background:var(--soft);color:#000}
.cover .big{position:relative;z-index:1;width:30%;height:auto;stroke-width:1.2}
.cover::before{content:"";position:absolute;top:20%;inset-inline-end:17%;width:14px;height:14px;background:var(--px);box-shadow:22px -16px 0 -3px var(--px),40px 6px 0 -5px var(--px),14px 22px 0 -4px var(--px)}
.cover::after{content:"";position:absolute;bottom:-58%;inset-inline-start:-14%;width:72%;aspect-ratio:1;border:16px solid currentColor;opacity:.07;transform:rotate(45deg)}
.c-black{background:#000;color:#fff}
.c-red{--px:#fff;background:linear-gradient(135deg,var(--red),#8E0A1C);color:#fff}
.c-dark{background:#1E2026;color:#fff}
.c-soft{background:#ECECEF}
.cover .play{position:absolute;z-index:2;width:60px;height:60px;border-radius:50%;background:#fff;color:var(--red);display:grid;place-items:center;box-shadow:0 12px 24px -10px rgba(0,0,0,.5);transition:transform .2s}
.cover .play .ico{width:26px;height:26px;margin-inline-end:-3px}
.cover.has-play .big{opacity:.3}
.dur{position:absolute;z-index:2;bottom:10px;inset-inline-start:10px;padding:3px 10px;border-radius:999px;background:rgba(0,0,0,.72);color:#fff;font-size:12px;font-weight:700}

/* ابزار وبلاگ */
.blog-tools{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:24px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{height:42px;padding:0 16px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font-size:14px;font-weight:700;color:var(--muted);white-space:nowrap;transition:border-color .2s,background-color .2s,color .2s}
.chip:hover{border-color:#000;color:#000}
.chip[aria-pressed=true]{background:#000;border-color:#000;color:#fff}
.mini-search{display:flex;align-items:center;gap:8px;width:min(300px,100%);height:44px;padding-inline:14px 8px;border:1.5px solid var(--line);border-radius:12px;background:var(--soft);transition:border-color .2s,background-color .2s}
.mini-search:focus-within{border-color:#000;background:#fff}
.mini-search input{flex:1;min-width:0;height:100%;border:0;background:transparent;outline:none;font-size:14px}
.mini-search .ico{width:19px;height:19px;color:var(--muted-2)}

/* آموزش‌های ویدیویی */
.edu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.edu-card{display:block;padding:10px;border:1px solid var(--line);border-radius:20px;background:#fff;transition:border-color .2s,box-shadow .2s}
.edu-card:hover{border-color:#D5D5DA;box-shadow:0 20px 40px -28px rgba(0,0,0,.4)}
.edu-card:hover .play{transform:scale(1.08)}
.edu-card h3{margin:12px 6px 6px;font-size:15.5px;line-height:1.7}
.edu-meta{display:flex;align-items:center;gap:10px;margin:0 6px 4px;font-size:12.5px;color:var(--muted)}
.lvl{padding:2px 10px;border-radius:999px;background:var(--red-tint);color:var(--red);font-weight:800}

/* مقاله‌ی ویژه و فهرست */
.ptag{display:inline-flex;align-items:center;height:28px;margin-bottom:8px;padding:0 12px;border-radius:999px;background:var(--red-tint);color:var(--red);font-size:12.5px;font-weight:800}
.featured{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:30px;align-items:center;margin-bottom:22px;padding:14px;border:1px solid var(--line);border-radius:26px}
.featured[hidden]{display:none}
.featured .cover{border-radius:18px}
.featured h3{font-size:clamp(20px,2.2vw,28px);font-weight:900;line-height:1.55}
.featured h3 a:hover{color:var(--red)}
.featured p{margin-top:10px;color:var(--muted);line-height:2.05}
.featured .btn{margin-top:18px}
.blog-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:32px;align-items:start}
.posts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.post-card{display:flex;flex-direction:column;padding:10px;border:1px solid var(--line);border-radius:22px;background:#fff;transition:border-color .2s,box-shadow .2s}
.post-card[hidden]{display:none}
.post-card:hover{border-color:#D5D5DA;box-shadow:0 20px 40px -28px rgba(0,0,0,.4)}
.post-body{flex:1;display:flex;flex-direction:column;padding:14px 8px 6px}
.post-card h3{font-size:17px;font-weight:800;line-height:1.7}
.post-card h3 a:hover{color:var(--red)}
.post-card p{margin-top:6px;font-size:14px;color:var(--muted);line-height:1.95}
.meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:auto;padding-top:14px;font-size:12.5px;color:var(--muted-2)}
.meta span{display:inline-flex;align-items:center;gap:5px}
.meta .ico{width:15px;height:15px}
.load-more{display:flex;justify-content:center;margin-top:26px}
.load-more[hidden]{display:none}
.empty-note{padding:48px 16px;border:1.5px dashed var(--line);border-radius:22px;text-align:center;color:var(--muted)}
.empty-note[hidden]{display:none}
.empty-note button{font-weight:700;color:var(--red);border-bottom:1.5px solid currentColor}

/* سایدبار */
.sidebar{position:sticky;top:88px;display:grid;gap:18px}
.side-box{padding:20px;border:1px solid var(--line);border-radius:22px}
.side-box>h3{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:16px;font-weight:900}
.side-box>h3::before{content:"";width:9px;height:9px;background:var(--red)}
.side-cats button{display:flex;justify-content:space-between;align-items:center;width:100%;padding:10px 4px;border-bottom:1px dashed var(--line);font-size:14.5px;text-align:start;transition:color .2s}
.side-cats li:last-child button{border-bottom:0}
.side-cats button:hover,.side-cats button[aria-pressed=true]{color:var(--red);font-weight:700}
.side-cats small{display:grid;place-items:center;min-width:28px;height:24px;border-radius:8px;background:var(--soft);font-size:12px;color:var(--muted)}
.side-latest a{display:grid;grid-template-columns:64px 1fr;gap:12px;align-items:center;padding:8px 0}
.side-latest .cover{aspect-ratio:1;border-radius:12px}
.side-latest .cover .big{width:46%}
.side-latest .cover::before,.side-latest .cover::after{display:none}
.side-latest b{display:block;font-size:14px;line-height:1.7}
.side-latest a:hover b{color:var(--red)}
.side-latest small{font-size:12px;color:var(--muted-2)}
.promo{display:grid;gap:10px;padding:24px;border-radius:22px;background:#000;color:#fff}
.promo b{font-size:18px;font-weight:900;line-height:1.6}
.promo p{font-size:14px;color:#A9ADB5;line-height:1.95}

/* مقاله */
.article-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:40px;align-items:start}
.article{min-width:0}
.cover.hero-cover{aspect-ratio:21/9;margin-bottom:28px;border-radius:24px}
.cover.hero-cover .big{width:16%}
.article .lede{font-size:18px;line-height:2.15;color:#34363C}
.article h2{display:flex;align-items:center;gap:10px;margin:40px 0 10px;font-size:23px;font-weight:900;line-height:1.6;scroll-margin-top:96px}
.article h2::before{content:"";flex:none;width:10px;height:10px;background:var(--red)}
.article p{margin:12px 0;line-height:2.15;color:#34363C;text-align:justify}
.article .bul{display:grid;gap:8px;margin:12px 0}
.article .bul li{display:flex;gap:12px;line-height:2}
.article .bul li::before{content:"";flex:none;width:7px;height:7px;margin-top:.85em;background:var(--red)}
.article .num{counter-reset:n;display:grid;gap:12px;margin:14px 0}
.article .num li{counter-increment:n;display:grid;grid-template-columns:32px 1fr;gap:12px;line-height:2}
.article .num li::before{content:counter(n,persian);display:grid;place-items:center;width:32px;height:32px;margin-top:2px;border-radius:9px;background:#000;color:#fff;font-weight:800;font-size:14px}
.tbl-wrap{overflow-x:auto;margin:18px 0}
.cmp{width:100%;min-width:480px;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:18px;overflow:hidden;font-size:14.5px}
.cmp th,.cmp td{padding:12px 16px;text-align:start;border-top:1px solid var(--line);line-height:1.8}
.cmp thead th{border-top:0;background:#000;color:#fff;font-weight:800}
.cmp tbody th{background:var(--soft);font-weight:700;width:28%}
.callout{display:grid;grid-template-columns:40px 1fr;gap:14px;margin:22px 0;padding:18px 20px;border-radius:18px;background:var(--red-tint)}
.callout>.ico{width:28px;height:28px;color:var(--red)}
.callout b{display:block;margin-bottom:2px}
.callout p{margin:0;text-align:start}
.cta-box{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:32px 0;padding:24px 26px;border-radius:22px;background:#000;color:#fff}
.cta-box b{font-size:18px}
.cta-box p{margin:4px 0 0;color:#A9ADB5;text-align:start}
.toc-mobile{display:none;margin-bottom:22px;border:1px solid var(--line);border-radius:18px;padding:4px 16px}
.toc-mobile summary{padding:12px 0;font-weight:800;cursor:pointer}
.article-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-top:32px;padding:18px 0;border-block:1px solid var(--line)}
.tags{display:flex;flex-wrap:wrap;gap:8px}
.tags a{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:10px;background:var(--soft);font-size:13px}
.tags a:hover{background:#000;color:#fff}
.tags .ico{width:15px;height:15px}
.share{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--muted)}
.share a,.share button{width:40px;height:40px;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;color:var(--text);transition:border-color .2s,color .2s}
.share a:hover,.share button:hover{border-color:#000;color:var(--red)}
.share .ico{width:18px;height:18px}
.author{display:flex;align-items:center;gap:16px;margin-top:24px;padding:20px;border-radius:20px;background:var(--soft)}
.author .av{flex:none;width:60px;height:60px;border-radius:50%;background:#000;display:grid;place-items:center}
.author b{display:block;font-size:16px}
.author p{margin:2px 0 0;font-size:14px;color:var(--muted);text-align:start}
.comments{margin-top:36px}
.comments h2::before{display:none}
.comments .note{font-size:13.5px;color:var(--muted);margin:-4px 0 16px}
.comment-done{display:flex;align-items:center;gap:12px;padding:18px;border-radius:18px;background:#E3F7EA;color:#16813E;font-weight:700}
.comment-done[hidden]{display:none}
.toc ol{display:grid;gap:2px}
.toc a{display:block;padding:7px 12px;border-inline-start:2px solid transparent;border-radius:10px;font-size:14px;line-height:1.7;color:var(--muted);transition:background-color .2s,color .2s}
.toc a:hover{color:#000}
.toc a.active{background:var(--soft);border-color:var(--red);color:#000;font-weight:700}
.product-lite{display:grid;grid-template-columns:68px 1fr;gap:12px;align-items:center;padding:10px 0;border-bottom:1px dashed var(--line)}
.product-lite:last-child{border-bottom:0}
.product-lite .thumb{display:grid;place-items:center;width:68px;height:68px;border-radius:14px;background:var(--soft)}
.product-lite .thumb svg{width:84%}
.product-lite b{display:block;font-size:14px;line-height:1.6}
.product-lite .row{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:4px}
.product-lite .price{font-size:14px}
.product-lite .add{width:36px;height:36px;border-radius:10px}
.product-lite .add .ico{width:18px;height:18px}
.related-posts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}

/* حساب کاربری */
.demo-note{display:flex;align-items:center;gap:10px;margin-bottom:18px;padding:10px 14px;border-radius:12px;background:#FFF6DC;color:#6B5200;font-size:13.5px;line-height:1.8}
.demo-note[hidden]{display:none}
.demo-note .ico{width:18px;height:18px}
.auth{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:24px;align-items:stretch}
.auth[hidden],.dash[hidden],.auth-pane[hidden],.otp-step[hidden],.track-result[hidden]{display:none}
.auth-card{padding:32px;border:1px solid var(--line);border-radius:28px}
.auth-tabs{display:flex;gap:6px;margin-bottom:26px;padding:5px;border-radius:14px;background:var(--soft)}
.auth-tabs button{flex:1;height:46px;border-radius:10px;font-weight:800;font-size:14.5px;color:var(--muted);transition:background-color .2s,color .2s}
.auth-tabs button[aria-selected=true]{background:#fff;color:#000;box-shadow:0 4px 12px -6px rgba(0,0,0,.25)}
.auth-card h2{font-size:22px;font-weight:900;line-height:1.5}
.auth-card .hint{margin:4px 0 20px;color:var(--muted);font-size:14.5px}
.stack{display:grid;gap:16px}
.pw{position:relative}
.pw .input{padding-inline-end:50px}
.pw button{position:absolute;top:6px;inset-inline-end:6px;width:40px;height:40px;border-radius:10px;display:grid;place-items:center;color:var(--muted)}
.pw button:hover{color:#000}
.pw button .ico{width:20px;height:20px}
.row-between{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-size:14px}
.check{display:inline-flex;align-items:center;gap:8px;font-size:14px;cursor:pointer}
.check input{width:18px;height:18px;accent-color:var(--red)}
.field.invalid .check{color:var(--red)}
.link-red{color:var(--red);font-weight:700}
.link-red:hover{text-decoration:underline;text-underline-offset:5px}
.or{display:flex;align-items:center;gap:12px;color:var(--muted-2);font-size:13px}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--line)}
.otp{display:flex;justify-content:center;gap:10px;direction:ltr}
.otp input{width:56px;height:62px;border:1.5px solid var(--line);border-radius:14px;background:var(--soft);text-align:center;font-size:22px;font-weight:800;transition:border-color .2s,background-color .2s}
.otp input:focus{outline:none;border-color:#000;background:#fff}
.field.invalid .otp input{border-color:var(--red)}
.timer{font-size:14px;color:var(--muted);text-align:center}
.timer button{font-weight:800;color:var(--red)}
.strength{height:6px;overflow:hidden;border-radius:3px;background:var(--soft)}
.strength i{display:block;width:0;height:100%;background:var(--red);transition:width .3s,background-color .3s}
.strength-label{font-size:12.5px;color:var(--muted)}
.perks{display:flex;flex-direction:column;gap:14px;padding:32px;border-radius:28px;background:#000;color:#fff}
.perks h2{font-size:24px;font-weight:900;line-height:1.5}
.perks>p{color:#A9ADB5;line-height:2}
.perk{display:flex;align-items:center;gap:14px;padding:14px;border-radius:16px;background:rgba(255,255,255,.06)}
.perk .ai{width:46px;height:46px;background:var(--red);color:#fff}
.perk b{display:block;font-size:15px}
.perk span{display:block;font-size:13px;color:#A9ADB5;line-height:1.7}
.perks .support-line{margin-top:auto;padding-top:10px;font-size:14px;color:#A9ADB5}
.perks .support-line a{color:#fff;font-weight:800}
.track-result{margin-top:22px;padding:20px;border:1px solid var(--line);border-radius:20px}
.dash{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px;align-items:start}
.dash-side{position:sticky;top:88px;padding:14px;border:1px solid var(--line);border-radius:24px}
.me{display:flex;align-items:center;gap:12px;margin-bottom:8px;padding:8px 8px 16px;border-bottom:1px solid var(--line)}
.me .av{flex:none;width:52px;height:52px;border-radius:50%;background:#000;color:#fff;display:grid;place-items:center;font-size:20px;font-weight:900}
.me b{display:block;line-height:1.6}
.me small{font-size:13px;color:var(--muted)}
.dash-nav{display:grid;gap:2px}
.dash-nav a,.dash-nav button{display:flex;align-items:center;gap:12px;width:100%;padding:11px 12px;border-radius:12px;font-weight:700;font-size:14.5px;color:#3A3C42;text-align:start;transition:background-color .2s,color .2s}
.dash-nav a:hover,.dash-nav button:hover{background:var(--soft)}
.dash-nav a[aria-current=page]{background:#000;color:#fff}
.dash-nav .ico{width:20px;height:20px;color:var(--muted-2)}
.dash-nav a[aria-current=page] .ico{color:#FF6B7E}
.dash-nav .count{margin-inline-start:auto;min-width:24px;height:22px;padding:0 6px;border-radius:8px;background:var(--soft);color:var(--muted);font-size:12px;display:grid;place-items:center}
.dash-nav a[aria-current=page] .count{background:var(--red);color:#fff}
.dash-nav .logout{color:var(--red)}
.dash-nav .logout .ico{color:var(--red)}
.panel[hidden]{display:none}
.panel-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.panel-head h2{font-size:22px;font-weight:900;line-height:1.5}
.panel-head p{color:var(--muted);font-size:14.5px}
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:26px}
.stat{display:flex;align-items:center;gap:14px;padding:18px;border-radius:20px;background:var(--soft)}
.stat .ai{background:#fff}
.stat b{display:block;font-size:24px;font-weight:900;line-height:1.3}
.stat span{font-size:13px;color:var(--muted)}
.tbl{width:100%;border:1px solid var(--line);border-collapse:separate;border-spacing:0;border-radius:18px;overflow:hidden;font-size:14.5px}
.tbl th{padding:12px 16px;background:var(--soft);font-size:13.5px;font-weight:800;color:var(--muted);text-align:start}
.tbl td{padding:14px 16px;border-top:1px solid var(--line)}
.status{display:inline-flex;align-items:center;gap:6px;height:28px;padding:0 10px;border-radius:999px;font-size:12.5px;font-weight:800;white-space:nowrap}
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor}
.st-processing{background:#FFF4DB;color:#9A6400}
.st-shipped{background:#E6F0FF;color:#1D5BD6}
.st-delivered{background:#E3F7EA;color:#16813E}
.st-cancelled{background:#F1F1F3;color:#6A6E77}
.view-btn{display:inline-flex;align-items:center;gap:4px;font-weight:800;color:var(--red)}
.view-btn .ico{width:16px;height:16px}
.tracker{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:10px 0 24px}
.tracker li{position:relative;padding-top:46px;text-align:center;font-size:13.5px;font-weight:700;color:var(--muted-2)}
.tracker li::before{content:"";position:absolute;top:19px;inset-inline:0;height:3px;background:var(--line)}
.tracker li:first-child::before{inset-inline-start:50%}
.tracker li:last-child::before{inset-inline-end:50%}
.tracker .dot{position:absolute;top:6px;left:50%;z-index:1;width:29px;height:29px;transform:translateX(-50%);border:3px solid var(--line);border-radius:50%;background:#fff;display:grid;place-items:center}
.tracker .dot .ico{width:14px;height:14px;stroke-width:3}
.tracker li.done{color:#000}
.tracker li.done::before{background:var(--red)}
.tracker li.done .dot{border-color:var(--red);background:var(--red);color:#fff}
.tracker li.now .dot{box-shadow:0 0 0 6px var(--red-tint)}
.tracker.cancelled li.done::before,.tracker.cancelled li.done .dot{background:#9A9EA6;border-color:#9A9EA6}
.order-box{padding:22px;border:1px solid var(--line);border-radius:22px}
.order-items li{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 0;border-bottom:1px dashed var(--line)}
.order-items .thumb{display:grid;place-items:center;width:64px;height:64px;border-radius:14px;background:var(--soft)}
.order-items .thumb svg{width:84%}
.order-items b{display:block;font-size:14.5px;line-height:1.6}
.order-items small{color:var(--muted);font-size:13px}
.order-total{display:flex;justify-content:space-between;align-items:baseline;padding-top:14px;font-size:15px}
.order-total strong{font-size:20px;font-weight:900}
.kv{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:18px}
.kv div{padding:14px;border-radius:16px;background:var(--soft)}
.kv small{display:block;font-size:12.5px;color:var(--muted)}
.kv b{font-size:14.5px;line-height:1.8}
.back-link{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 12px;border-radius:10px;background:var(--soft);font-weight:700;font-size:14px}
.back-link:hover{background:#000;color:#fff}
.back-link .ico{width:18px;height:18px;transform:scaleX(-1)}
.addr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.addr{display:grid;gap:6px;padding:18px;border:1px solid var(--line);border-radius:20px}
.addr .top{display:flex;justify-content:space-between;align-items:center;gap:10px}
.addr b{font-size:15.5px}
.addr p{font-size:14px;color:var(--muted);line-height:1.9}
.def{padding:2px 10px;border-radius:999px;background:var(--red-tint);color:var(--red);font-size:12px;font-weight:800}
.addr-actions{display:flex;gap:8px;margin-top:6px}
.btn-sm{height:38px;padding:0 14px;border-radius:10px;font-size:13.5px}
.addr-form{margin-top:16px;padding:20px;border:1.5px dashed var(--line);border-radius:20px}
.addr-form[hidden]{display:none}
.wish-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.w-item{display:grid;gap:10px;padding:10px;border:1px solid var(--line);border-radius:20px}
.w-item .thumb{display:grid;place-items:center;aspect-ratio:1;border-radius:14px;background:var(--soft)}
.w-item .thumb svg{width:72%}
.w-item b{padding:0 4px;font-size:14.5px;line-height:1.6}
.w-item .row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:0 4px 4px}
.w-item .acts{display:flex;gap:6px}
.w-item .rm{width:40px;height:40px;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;color:var(--muted)}
.w-item .rm:hover{color:var(--red);border-color:var(--red)}
.w-item .rm .ico,.w-item .add .ico{width:18px;height:18px}
.w-item .add{width:40px;height:40px;border-radius:12px}
.empty-state{padding:48px 16px;border:1.5px dashed var(--line);border-radius:22px;text-align:center;color:var(--muted)}
.empty-state .ico{width:44px;height:44px;margin:0 auto 10px;color:#C3C8CF;stroke-width:1.5}
.empty-state .btn{margin-top:14px}

@media (max-width:1180px){
  .nav-opt{display:none}
}
@media (max-width:1080px){
  .blog-layout,.article-layout{grid-template-columns:1fr}
  .sidebar{position:static}
  .article-layout .sidebar .toc{display:none}
  .toc-mobile{display:block}
  .edu{grid-template-columns:repeat(2,minmax(0,1fr))}
  .featured{grid-template-columns:1fr}
  .auth,.dash{grid-template-columns:1fr}
  .dash-side{position:static}
  .dash-nav{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
  .dash-nav::-webkit-scrollbar{display:none}
  .dash-nav a,.dash-nav button{flex:none;width:auto;white-space:nowrap}
  .related-posts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .wish-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .posts,.related-posts{grid-template-columns:1fr}
  .stats{grid-template-columns:1fr}
  .kv{grid-template-columns:1fr}
  .addr-grid{grid-template-columns:1fr}
  .tbl,.tbl tbody,.tbl tr,.tbl td{display:block;width:100%}
  .tbl{border:0;border-radius:0}
  .tbl thead{display:none}
  .tbl tr{margin-bottom:12px;padding:4px 14px;border:1px solid var(--line);border-radius:18px}
  .tbl td{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-top:1px dashed var(--line)}
  .tbl td:first-child{border-top:0}
  .tbl td::before{content:attr(data-label);font-size:13px;color:var(--muted)}
}
@media (max-width:640px){
  .edu{gap:10px}
  .edu-card{padding:8px;border-radius:18px}
  .edu-card h3{font-size:14px;margin:10px 4px 4px}
  .edu-meta{margin:0 4px 2px;font-size:11.5px;gap:6px}
  .cover .play{width:46px;height:46px}
  .blog-tools{flex-direction:column;flex-wrap:nowrap;align-items:stretch}
  .mini-search{width:100%}
  .chips{flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1 * var(--gut));padding-inline:var(--gut);scrollbar-width:none}
  .chips::-webkit-scrollbar{display:none}
  .chip{flex:none}
  .featured{padding:10px;gap:14px}
  .featured>div:last-child{padding:0 6px 8px}
  .cover.hero-cover{aspect-ratio:16/10}
  .cover.hero-cover .big{width:24%}
  .article .lede{font-size:16.5px}
  .article h2{font-size:20px}
  .article p{text-align:start}
  .cta-box{flex-direction:column;align-items:flex-start}
  .auth-card,.perks{padding:22px 16px;border-radius:22px}
  .auth-tabs button{font-size:13.5px}
  .otp{gap:8px}
  .otp input{width:48px;height:56px}
  .tracker li{font-size:11.5px}
  .order-box{padding:16px}
  .wish-list{grid-template-columns:1fr 1fr;gap:10px}
}
.post-body .ptag,.featured .ptag{align-self:flex-start}
.band-sub{max-width:36em;margin:10px auto 0;color:#C4C6CC;font-size:16px;line-height:2}
.page-band.sm .crumbs{margin:0 0 14px}
.center{justify-self:center}
.tc{text-align:center}
.m0{margin:0!important}
.h-sm{font-size:18px!important}
.btn-row{display:flex;flex-wrap:wrap;gap:10px}
.otp-field .err{text-align:center}
.track-result .tracker{margin-bottom:10px}
.track-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:6px}
.track-head b{font-size:17px}
.track-sum{font-size:14px;color:var(--muted)}
.cancel-note{padding:12px 14px;border-radius:12px;background:#F1F1F3;color:var(--muted);font-size:14px;margin-bottom:14px}
.detail-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:10px}
.detail-head h2{font-size:22px;font-weight:900}
.detail-head small{display:block;color:var(--muted);font-size:13.5px}
.dash-side,.dash-main,.auth>*{min-width:0}
.span-all{grid-column:1/-1}

/* =========================================================
   نسخه‌ی فروشگاه ایستا: محصولات واقعی، پرداخت کارت به کارت
   ========================================================= */
/* قیمت و دکمه‌ها */
.price-wrap{display:flex;flex-direction:column;line-height:1.35;min-width:0}
/* خط قیمت قبلی نازک است تا صفرهای فارسی زیر خط گم نشوند */
s{text-decoration-line:line-through;text-decoration-thickness:1px;text-decoration-color:rgba(200,15,40,.7)}
.price-wrap s{font-size:13px;color:var(--muted-2)}
.ask-price{font-weight:800;font-size:14.5px;color:var(--muted)}
.add.ask{background:#25D366}
.add.ask:hover{background:#1DA851}
.product h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.5em}
.product .tag{z-index:1}
.line-thumb{overflow:hidden}
.line-thumb img{width:100%;height:100%;object-fit:contain;background:#fff}
.line-info a:hover b{color:var(--red)}
.save-row{color:#16813E}
.save-row b{font-weight:800}

/* دسته‌ها با عکس محصول */
.ci-img{overflow:hidden;padding:6px}
.ci-img img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.cat-sale .ci{background:var(--red);color:#fff}
.cat[aria-pressed=true] .ci-img{background:#fff}
.mi-img{background:#fff;border:1px solid var(--line);overflow:hidden;padding:3px}
.mi-img img{width:100%;height:100%;object-fit:contain}

/* پیشنهادهای ویژه */
#offers{padding-top:56px}
.offers{position:relative;display:grid;grid-template-columns:minmax(0,300px) minmax(0,1fr);gap:28px;align-items:center;padding:30px;border-radius:var(--r-xl);background:linear-gradient(120deg,#C80F28,#8E0A1C);color:#fff;overflow:hidden}
.offers::before{content:"";position:absolute;inset:auto auto -120px -80px;width:360px;height:360px;border:34px solid rgba(255,255,255,.08);transform:rotate(45deg)}
.offers-intro{position:relative;z-index:1;display:grid;gap:10px;justify-items:start;padding-inline-start:6px}
.offers-kicker{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.16);font-size:13px;font-weight:700}
.offers-kicker .ico{width:16px;height:16px}
.offers h2{font-size:clamp(26px,3vw,36px);font-weight:900;line-height:1.4}
.offers-intro p{color:rgba(255,255,255,.85);font-size:15px}
.offers-intro .btn{margin-top:6px}
.offers-art{width:200px;height:auto;margin-top:6px;filter:drop-shadow(0 24px 24px rgba(0,0,0,.35))}
.offers-track{position:relative;z-index:1;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(200px,1fr);gap:14px;overflow-x:auto;scrollbar-width:none;padding-bottom:2px}
.offers-track::-webkit-scrollbar{display:none}
.offer-card{display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:20px;background:#fff;color:var(--text);min-width:0}
.oc-img{position:relative;display:block;aspect-ratio:1;border-radius:14px;overflow:hidden;background:#fff}
.oc-img img{width:100%;height:100%;object-fit:contain;transition:transform .4s}
.offer-card:hover .oc-img img{transform:scale(1.05)}
.oc-off{position:absolute;top:8px;inset-inline-start:8px;z-index:1;padding:5px 9px;border-radius:999px;background:var(--red);color:#fff;font-size:12.5px;font-weight:900;line-height:1}
.oc-name{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:3.4em;padding:0 4px;font-size:14.5px;font-weight:800;line-height:1.7}
.oc-name:hover{color:var(--red)}
.oc-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding:0 4px 2px}
.oc-foot .price{font-size:15.5px;font-weight:900}
.oc-foot .add{width:40px;height:40px;border-radius:12px}

/* کاور مطالب با عکس محصول */
.cover img{position:relative;z-index:1}
.cover img.cut{width:56%;height:auto;filter:drop-shadow(0 18px 22px rgba(0,0,0,.35))}
.cover img.tile{width:42%;height:auto;aspect-ratio:1;object-fit:contain;padding:4%;border-radius:18px;background:#fff;box-shadow:0 18px 34px -16px rgba(0,0,0,.45)}
.cover.hero-cover img.tile{width:22%}
.cover.hero-cover img.cut-2{position:absolute;width:20%;inset-inline-start:22%;bottom:12%;transform:rotate(-6deg)}
.side-latest .cover img.tile{width:70%;border-radius:10px;padding:6%}
.side-latest .cover img.cut{width:80%}
.edu-card .cover.has-play img{opacity:.55}

/* گالری محصولات (درباره ما) */
.showcase{display:flex;flex-direction:column;gap:16px;min-height:100%;padding:18px;border-radius:22px;margin:0}
.showcase figcaption{position:static;display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:0;background:none;color:inherit;font-size:inherit}
.showcase figcaption b{font-size:17px;font-weight:900}
.showcase figcaption span{font-size:13px;opacity:.7}
.sc-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.sc-p{display:flex;flex-direction:column;gap:6px;padding:8px;border-radius:16px;background:#fff;color:var(--text);transition:transform .2s}
.sc-p:hover{transform:translateY(-3px)}
.sc-p img{width:100%;aspect-ratio:1;object-fit:contain}
.sc-p span{font-size:12.5px;font-weight:700;line-height:1.6;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sc-black{background:#000;color:#fff}
.sc-red{background:linear-gradient(135deg,var(--red),#8E0A1C);color:#fff}
.sc-dark{background:#1E2026;color:#fff}
.sc-soft{background:#fff;border:1px solid var(--line)}
.g-item.showcase{background-clip:padding-box}

/* نوار مسیر و صفحه‌ی محصول */
.crumb-bar{background:var(--soft);border-bottom:1px solid var(--line);padding:12px 0}
.crumb-bar .crumbs{justify-content:flex-start;margin:0;color:var(--muted);flex-wrap:wrap}
.crumb-bar .crumbs a{color:var(--red)}
.pdp-sec{padding-top:36px}
.pdp{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:44px;align-items:start}
.pdp-media{position:sticky;top:90px}
.pdp-img{position:relative;aspect-ratio:1;border:1px solid var(--line);border-radius:28px;background:#fff;overflow:hidden}
.pdp-img img{width:100%;height:100%;object-fit:contain}
.pdp-img .tag{top:18px;inset-inline-start:18px;font-size:13px;padding:8px 13px}
.wish.big{top:18px;inset-inline-end:18px;width:46px;height:46px}
.pdp-info{display:grid;gap:14px;align-content:start}
.pdp-info .ptag{justify-self:start;margin:0}
.pdp-info h1{font-size:clamp(24px,2.8vw,34px);font-weight:900;line-height:1.5}
.pdp-short{font-size:17px;color:var(--muted)}
.pdp-feats{display:grid;gap:8px;padding:16px 18px;border-radius:18px;background:var(--soft)}
.pdp-feats li{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.8}
.pdp-feats .ico{width:20px;height:20px;color:var(--red);stroke-width:2.4;margin-top:3px}
.hub-note{display:flex;align-items:center;gap:10px;padding:10px 14px;border-radius:14px;background:#FFF6DC;color:#6B5200;font-size:14.5px}
.hub-note .ico{width:20px;height:20px}
.hub-note a{font-weight:800;text-decoration:underline;text-underline-offset:4px}
.buy-box{display:grid;gap:10px;padding:22px;border:1.5px solid var(--line);border-radius:22px}
.pb-old{display:flex;align-items:center;gap:10px}
.pb-old s{color:var(--muted-2);font-size:15px}
.off{padding:4px 10px;border-radius:999px;background:var(--red);color:#fff;font-size:13px;font-weight:900;line-height:1.4}
.pb-price{font-size:30px;font-weight:900;line-height:1.3}
.pb-price small{font-size:15px;font-weight:500;color:var(--muted)}
.pb-price.ask{font-size:21px}
.pb-save{font-size:14px;color:#16813E;font-weight:700}
.buy-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:6px}
.buy-row .btn{flex:1 1 150px}
.qty-stepper{display:inline-flex;align-items:center;height:56px;border:1.5px solid var(--line);border-radius:14px;background:#fff}
.qty-stepper button{width:44px;height:100%;display:grid;place-items:center}
.qty-stepper button:hover{color:var(--red)}
.qty-stepper .ico{width:18px;height:18px}
.qty-stepper input{width:44px;height:100%;border:0;text-align:center;font-weight:800;font-size:17px;background:transparent}
.qty-stepper input:focus{outline:none}
.pdp-ask{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:14.5px;color:var(--muted)}
.pdp-ask .ico{width:20px;height:20px;color:var(--red)}
.pdp-trust{display:flex;flex-wrap:wrap;gap:8px}
.pdp-trust li{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:12px;background:var(--soft);font-size:13.5px;font-weight:700}
.pdp-trust .ico{width:18px;height:18px;color:var(--red)}
.pdp-desc{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;align-items:start}
.desc-card,.how-card{padding:28px;border:1px solid var(--line);border-radius:24px}
.desc-card p{margin-top:12px;line-height:2.15;color:#3A3C42;text-align:justify}
.desc-card .callout{margin-bottom:0}
.how{counter-reset:h;display:grid;gap:14px;margin-top:14px}
.how li{counter-increment:h;display:grid;grid-template-columns:34px 1fr;gap:12px;font-size:15px;line-height:1.9;color:#3A3C42}
.how li::before{content:counter(h,persian);display:grid;place-items:center;width:32px;height:32px;margin-top:2px;border-radius:10px;background:#000;color:#fff;font-weight:900;font-size:14px}
.how li b{color:var(--text)}

/* پیام‌رسان‌ها */
.send-row{display:flex;flex-wrap:wrap;gap:8px}
.send-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:46px;padding:0 16px;border-radius:12px;color:#fff;font-weight:800;font-size:14px;flex:1 1 120px;transition:filter .2s,transform .15s}
.send-btn:hover{filter:brightness(1.08)}
.send-btn:active{transform:translateY(1px)}
.send-btn .ico{width:20px;height:20px}
.s-wa{background:#25D366}
.s-tg{background:#27A6E5}
.s-bale{background:#0F9D8A}
.send-row.big .send-btn{height:56px;font-size:15.5px}
.soc-bale{background:#0F9D8A;color:#fff;width:48px;height:48px;border-radius:14px;display:grid;place-items:center}
.msg-preview{margin:0;padding:14px 16px;max-height:230px;overflow:auto;border-radius:14px;background:var(--soft);font:500 13.5px/1.9 var(--f);white-space:pre-wrap;text-align:start;color:#3A3C42}
.form-done .msg-preview{width:100%;max-height:170px}
.form-done .send-row{width:100%}
.ask-box{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;margin-top:28px;padding:22px;border-radius:22px;background:var(--soft)}
.ask-box b{display:block;font-size:17px}
.ask-box p{margin:2px 0 0;color:var(--muted);text-align:start}
.ask-box .send-row{flex:0 1 420px}

/* فوتر */
.rows button.val{font-weight:700;color:var(--text)}
.rows button.val:hover,.rows a.val:hover{color:var(--red)}
.foot-bottom{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;text-align:start}
.credit{font-weight:700;color:var(--text)}
.nw{white-space:nowrap;unicode-bidi:isolate}
.address-box a{color:var(--red);font-weight:700}

/* تکمیل خرید */
.checkout{padding-top:36px}
.stepper{display:flex;align-items:center;margin-bottom:28px;padding:14px 22px;border:1px solid var(--line);border-radius:22px;scroll-margin-top:96px}
.stepper li{position:relative;display:flex;align-items:center;gap:10px;flex:0 0 auto;font-size:14.5px;font-weight:700;color:var(--muted-2);white-space:nowrap}
.stepper li+li{flex:1 1 0;min-width:0}
.stepper li+li::before{content:"";flex:1 1 auto;min-width:16px;height:2px;margin-inline:12px 4px;border-radius:2px;background:var(--line)}
.stepper .sn{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;border:2px solid var(--line);background:#fff;font-weight:900}
.stepper li.current{color:#000}
.stepper li.current .sn{border-color:var(--red);background:var(--red);color:#fff;box-shadow:0 0 0 5px var(--red-tint)}
.stepper li.done{color:#000}
.stepper li.done .sn{border-color:#000;background:#000;color:#fff}
.stepper li.done::before,.stepper li.current::before{background:#000}
.co-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}
.co-main{min-width:0}
.co-step{padding:26px;border:1px solid var(--line);border-radius:26px}
.co-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-bottom:18px}
.co-head h2{font-size:21px;font-weight:900}
.co-actions{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin-top:22px}
.co-items li{display:grid;grid-template-columns:84px minmax(0,1fr) auto auto auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px dashed var(--line)}
.co-items li:first-child{padding-top:0}
.co-items .thumb{width:84px;height:84px;border:1px solid var(--line);border-radius:16px;background:#fff;overflow:hidden}
.co-items .thumb img{width:100%;height:100%;object-fit:contain}
.ci-info b{display:block;font-size:15px;line-height:1.7}
.ci-info a:hover b{color:var(--red)}
.ci-price{font-size:13.5px;color:var(--muted)}
.ci-price s{color:var(--muted-2)}
.ci-total{font-size:15px;white-space:nowrap}
.order-chip{padding:7px 14px;border-radius:999px;background:var(--soft);font-size:14px}
.amount-box{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:14px;padding:20px 22px;border-radius:20px;background:#000;color:#fff}
.amount-box small{display:block;color:#A9ADB5;font-size:13px}
.amount-box strong{display:block;font-size:30px;font-weight:900;line-height:1.4}
.amount-box span{color:#C9CBD1;font-size:13.5px}
.amount-copy{display:flex;flex-wrap:wrap;gap:8px}
.amount-box .chip-btn{background:rgba(255,255,255,.12);color:#fff;border-color:transparent}
.amount-box .chip-btn:hover{background:var(--red)}
.chip-btn{display:inline-flex;align-items:center;gap:6px;height:38px;padding:0 14px;border:1.5px solid var(--line);border-radius:10px;font-size:13.5px;font-weight:700;background:#fff;transition:background-color .2s,color .2s}
.chip-btn:hover{background:#000;color:#fff}
.chip-btn .ico{width:17px;height:17px}
.pay-grid{display:grid;grid-template-columns:minmax(0,380px) minmax(0,1fr);gap:20px;align-items:center;margin-top:20px}
.bank-card{container-type:inline-size;position:relative;display:flex;flex-direction:column;justify-content:space-between;aspect-ratio:1.586;padding:22px 24px;border-radius:22px;color:#fff;overflow:hidden;background:radial-gradient(120% 140% at 100% 0%,#3A0A12 0%,#120407 45%,#000 100%);box-shadow:0 26px 50px -24px rgba(200,15,40,.55),inset 0 0 0 1px rgba(255,255,255,.08)}
.bank-card::before{content:"";position:absolute;width:260px;height:260px;inset-inline-start:-90px;bottom:-150px;border:30px solid rgba(200,15,40,.55);transform:rotate(45deg)}
.bank-card::after{content:"";position:absolute;inset:0;background:linear-gradient(115deg,transparent 40%,rgba(255,255,255,.07) 50%,transparent 60%)}
.bc-top{position:relative;display:flex;justify-content:space-between;align-items:center}
.bc-top img{height:28px;width:auto}
.bc-bank{display:inline-flex;align-items:center;gap:6px;font-size:14px;font-weight:700;color:#E8E9EC}
.bc-bank .ico{width:18px;height:18px}
.bc-chip{position:relative;width:44px;height:32px;border-radius:7px;background:linear-gradient(135deg,#E7C982,#B8913E);box-shadow:inset 0 0 0 1px rgba(0,0,0,.2)}
.bc-number{position:relative;font-size:20px;font-size:clamp(14px,6.1cqi,24px);font-weight:800;letter-spacing:.06em;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:center;direction:ltr}
.bc-bottom{position:relative;display:flex;justify-content:space-between;align-items:flex-end}
.bc-bottom small{display:block;font-size:11.5px;color:#A9ADB5}
.bc-bottom b{font-size:16px}
.bc-px{display:flex;gap:4px;align-items:flex-end}
.bc-px i{display:block;width:9px;height:9px;background:var(--red)}
.bc-px i:nth-child(2){width:7px;height:7px;opacity:.8}
.bc-px i:nth-child(3){width:5px;height:5px;opacity:.6}
.pay-rows{display:grid;gap:10px}
.pay-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 14px;border:1px solid var(--line);border-radius:16px;min-width:0}
.pay-row small{display:block;font-size:12.5px;color:var(--muted)}
.pay-row b{font-size:15.5px;line-height:1.7;overflow-wrap:anywhere}
.copy-btn{display:inline-flex;align-items:center;gap:6px;flex:none;height:38px;padding:0 12px;border-radius:10px;background:var(--red-tint);color:var(--red);font-size:13.5px;font-weight:800;transition:background-color .2s,color .2s}
.copy-btn:hover{background:var(--red);color:#fff}
.copy-btn .ico{width:17px;height:17px}
#payForm{margin-top:22px}
.co-step .how{margin-top:22px;padding:18px;border-radius:18px;background:var(--soft)}
.done-hero{display:grid;justify-items:center;gap:8px;text-align:center;padding:8px 0 22px}
.done-hero h2{font-size:24px;font-weight:900}
.done-hero p{font-size:16px}
.send-card{display:grid;gap:14px;padding:22px;border-radius:22px;background:var(--soft)}
.send-card h3{font-size:19px;font-weight:900}
.send-card>p{color:var(--muted);line-height:2}
.msg-details summary{cursor:pointer;font-weight:700;font-size:14.5px;padding:4px 0}
.msg-details .msg-preview{margin:10px 0;background:#fff}
.sent-row{display:flex;flex-wrap:wrap;gap:10px}
.sent-row .btn:disabled{background:#16813E;cursor:default}
.co-side{position:sticky;top:90px;display:grid;gap:14px}
.summary{padding:22px;border:1px solid var(--line);border-radius:24px}
.summary h2{font-size:18px;font-weight:900;margin-bottom:12px}
.sum-items{display:grid;gap:10px;max-height:320px;overflow:auto;padding-bottom:12px;border-bottom:1px dashed var(--line)}
.sum-items li{display:grid;grid-template-columns:52px minmax(0,1fr);gap:10px;align-items:center}
.sum-items .thumb{width:52px;height:52px;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}
.sum-items img{width:100%;height:100%;object-fit:contain}
.sum-items .nm{font-size:13.5px;font-weight:700;line-height:1.6}
.sum-items small{display:block;font-weight:500;color:var(--muted)}
.sum-items .muted{color:var(--muted);font-size:14px}
.sum-line{display:flex;justify-content:space-between;align-items:baseline;padding-top:10px;font-size:14.5px}
.sum-line.save{color:#16813E}
.sum-line.total{margin-top:6px;padding-top:12px;border-top:1px solid var(--line)}
.sum-line.total strong{font-size:21px;font-weight:900}
.sum-note{margin-top:10px;font-size:12.5px;color:var(--muted-2);line-height:1.9}
.help-box{display:flex;align-items:center;gap:12px;padding:16px 18px;border-radius:20px;background:var(--soft)}
.help-box .ico{width:30px;height:30px;color:var(--red)}
.help-box b{display:block;font-size:14px}
.help-box a{font-weight:800}

/* حساب من */
.device-note{display:flex;align-items:flex-start;gap:10px;margin-bottom:20px;padding:12px 16px;border-radius:14px;background:var(--soft);color:var(--muted);font-size:14px;line-height:1.9}
.device-note .ico{width:20px;height:20px;color:#16813E;margin-top:3px}
.profile-cta{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-bottom:20px;padding:16px 18px;border:1.5px dashed var(--line);border-radius:20px}
.profile-cta div{flex:1;min-width:200px}
.profile-cta b{display:block}
.profile-cta span{font-size:14px;color:var(--muted)}
.me .av .ico{width:26px;height:26px}
.pay-mini{display:grid;gap:10px;margin:0 0 18px;padding:18px;border-radius:20px;background:var(--red-tint)}
.pay-mini.ok{background:#E9F7EE}
.pm-head{display:flex;align-items:center;gap:10px;font-size:16px}
.pm-head .ico{width:22px;height:22px;color:var(--red)}
.pay-mini.ok .pm-head .ico{color:#16813E}
.pay-mini .pay-row{background:#fff;border-color:transparent}
.pm-note{font-size:14px;color:#50545C}
.pay-mini .btn-sm{justify-self:start}
.order-items .thumb{overflow:hidden;border:1px solid var(--line);background:#fff}
.order-items .thumb img{width:100%;height:100%;object-fit:contain}
.w-item .thumb{overflow:hidden;background:#fff;border:1px solid var(--line)}
.w-item .thumb img{width:100%;height:100%;object-fit:contain}
.w-item a:hover b{color:var(--red)}
.track-result .send-row{margin-top:12px}
.dash-nav .logout.armed{background:var(--red);color:#fff}
.dash-nav .logout.armed .ico{color:#fff}

/* درباره‌ی ریکو */
.about2{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:56px;align-items:center}
.eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:14px;font-weight:800;color:var(--red)}
.eyebrow::before{content:"";width:10px;height:10px;background:var(--red)}
.about2-text h2{margin-top:10px;font-size:clamp(28px,3.3vw,44px);font-weight:900;line-height:1.4;text-wrap:balance}
.about2-text p{margin-top:16px;color:#50545C;line-height:2.1}
.about2-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:26px}
.about2-list li{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--line);border-radius:18px;background:#fff;transition:border-color .2s,transform .2s}
.about2-list li:hover{border-color:var(--red);transform:translateY(-2px)}
.about2-list .ai{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:var(--red-tint);color:var(--red)}
.about2-list .ai .ico{width:21px;height:21px}
.about2-list b{display:block;font-size:15px;line-height:1.6}
.about2-list small{display:block;margin-top:2px;font-size:13px;line-height:1.7;color:var(--muted)}
.about2-cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
.about2-art{position:relative;aspect-ratio:1/.96;border-radius:32px;overflow:hidden;background:radial-gradient(120% 90% at 75% 0%,#43101A 0%,#14060A 48%,#060405 100%);box-shadow:0 40px 80px -50px rgba(200,15,40,.55)}
.about2-art::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.09) 1px,transparent 1.5px) 0 0/22px 22px;pointer-events:none}
.a2-roof{position:absolute;top:5%;left:9%;width:82%;height:auto;z-index:1}
.a2-grid{position:absolute;z-index:2;top:35%;bottom:13%;left:17%;right:17%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:12px}
.a2-tile{display:grid;grid-template-rows:minmax(0,1fr) auto;gap:4px;margin:0;padding:10px 10px 8px;border-radius:18px;background:#fff;box-shadow:0 18px 30px -18px rgba(0,0,0,.7);transition:transform .3s}
.a2-tile:nth-child(2){transform:translateY(-8px)}
.a2-tile:nth-child(3){transform:translateY(8px)}
.about2-art:hover .a2-tile{transform:none}
.a2-tile img{width:100%;height:100%;min-height:0;object-fit:contain}
.a2-tile figcaption{display:flex;align-items:center;justify-content:center;gap:6px;font-size:12.5px;font-weight:800;color:var(--text);white-space:nowrap}
.a2-tile figcaption .ico{width:15px;height:15px;color:var(--red);flex:none}
.a2-chip{position:absolute;z-index:3;display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);color:#fff;font-size:12.5px;font-weight:700;white-space:nowrap}
.a2-chip .ico{width:15px;height:15px;color:#FF6B7D}
.a2-c1{bottom:4%;right:6%}
.a2-c2{top:5%;left:6%}
.a2-dot{width:8px;height:8px;border-radius:50%;background:#22C55E;box-shadow:0 0 0 3px rgba(34,197,94,.25)}
@media (max-width:1080px){
  .about2{grid-template-columns:1fr;gap:36px}
  .about2-art{max-width:560px;width:100%;justify-self:center}
}
@media (max-width:640px){
  .about2-list{grid-template-columns:1fr}
  .about2-art{border-radius:26px;aspect-ratio:1/1.05}
  .a2-grid{left:9%;right:9%;top:31%;bottom:17%;gap:9px}
  .a2-tile:nth-child(n){transform:none}
  .a2-tile{border-radius:14px;padding:8px 8px 6px}
  .a2-tile figcaption{font-size:11.5px}
  .a2-chip{font-size:11.5px;padding:6px 11px}
  .about2-cta .btn{flex:1 1 auto}
}

/* تجهیزات ریکو از نزدیک (صفحه‌ی درباره ما) */
.ex-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.85fr);gap:32px;align-items:end;margin-bottom:26px}
.ex-head h2{margin-top:10px;font-size:clamp(24px,2.7vw,36px);font-weight:900;line-height:1.45;text-wrap:balance}
.ex-head p{color:var(--muted);line-height:2.1}
.ex-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px}
.ex-tabs [role=tab]{display:flex;align-items:center;gap:12px;min-width:0;padding:12px 14px;border-radius:18px;background:#fff;border:1.5px solid transparent;text-align:start;transition:background-color .2s,border-color .2s,color .2s}
.ex-tabs [role=tab]:hover{border-color:#D9D9DE}
.ex-tabs [aria-selected=true]{background:#0E0B0C;color:#fff;border-color:#0E0B0C}
.ex-ti{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:12px;background:var(--red-tint);color:var(--red);transition:background-color .2s,color .2s}
.ex-ti .ico{width:21px;height:21px}
.ex-tabs [aria-selected=true] .ex-ti{background:var(--red);color:#fff}
.ex-tt{min-width:0}
.ex-tt b{display:block;font-size:14.5px;line-height:1.5}
.ex-tt small{font-size:12.5px;color:var(--muted)}
.ex-tabs [aria-selected=true] .ex-tt small{color:#B9B3B6}
.ex-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);grid-template-areas:"text img" "text thumbs";gap:16px 44px;align-items:center;padding:34px;border-radius:28px;overflow:hidden;color:#fff;background:radial-gradient(110% 90% at 12% 0%,#43101A 0%,#14060A 50%,#060405 100%)}
.ex-stage::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 1px 1px,rgba(255,255,255,.08) 1px,transparent 1.5px) 0 0/22px 22px;pointer-events:none}
.ex-stage::after{content:"";position:absolute;width:300px;height:300px;inset-inline-end:-120px;bottom:-170px;border:34px solid rgba(200,15,40,.5);transform:rotate(45deg);pointer-events:none}
.ex-item{display:contents}
.ex-img{grid-area:img;position:relative;z-index:1;display:grid;place-items:center;aspect-ratio:1/.8;border-radius:24px;background:#fff;overflow:hidden;box-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
.ex-img img{width:76%;height:76%;object-fit:contain;animation:exIn .45s ease}
.ex-img .tag{position:absolute;top:16px;inset-inline-start:16px;z-index:1;font-size:13px;padding:8px 13px}
.ex-text{grid-area:text;position:relative;z-index:1;display:grid;gap:12px;align-content:center;animation:exIn .45s ease}
.ex-kicker{display:inline-flex;align-items:center;gap:8px;font-size:13.5px;font-weight:800;color:#FF6B7D}
.ex-kicker::before{content:"";width:8px;height:8px;background:var(--red)}
.ex-text h3{font-size:clamp(21px,2.2vw,30px);font-weight:900;line-height:1.45}
.ex-text>p{color:#C9C3C6;line-height:2}
.ex-feats{display:grid;gap:8px;margin:2px 0 4px}
.ex-feats li{display:flex;gap:9px;align-items:flex-start;font-size:14.5px;line-height:1.8;color:#E9E5E7}
.ex-feats .ico{width:18px;height:18px;margin-top:4px;color:#FF6B7D;stroke-width:2.4}
.ex-buy{min-height:44px;padding-top:12px;border-top:1px solid rgba(255,255,255,.12)}
.ex-buy .price{font-size:24px;color:#fff}
.ex-buy .price small{color:#B9B3B6}
.ex-buy .price-wrap s{color:#8E878B;font-size:14px}
.ex-buy .price-alt{color:#B9B3B6;font-size:13px}
.ex-buy .ask-price{color:#E9E5E7;font-size:17px}
.ex-buy .ask-price.soldout{color:#FF8A98}
.ex-buy .skel{background:linear-gradient(90deg,#2A2427 25%,#3A3236 50%,#2A2427 75%);background-size:200% 100%}
.ex-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.ex-actions .btn .ico{width:18px;height:18px}
.ex-actions .add{width:50px;height:50px;border-radius:14px}
.ex-thumbs{grid-area:thumbs;position:relative;z-index:1;display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
.ex-thumbs button{width:74px;height:74px;padding:6px;border-radius:16px;background:#fff;border:2px solid transparent;opacity:.62;transition:opacity .2s,border-color .2s,box-shadow .2s,transform .2s}
.ex-thumbs button:hover{opacity:1;transform:translateY(-2px)}
.ex-thumbs button[aria-pressed=true]{opacity:1;border-color:var(--red);box-shadow:0 0 0 4px rgba(200,15,40,.3)}
.ex-thumbs img{width:100%;height:100%;object-fit:contain}
.ex-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px;margin-top:16px;padding-inline:6px}
.ex-foot p{font-size:14px;color:var(--muted)}
@keyframes exIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media (max-width:1080px){
  .ex-head{grid-template-columns:1fr;gap:12px}
  .ex-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ex-stage{grid-template-columns:minmax(0,1fr);grid-template-areas:"img" "thumbs" "text";gap:16px;padding:22px}
  .ex-img{aspect-ratio:1/.72;max-width:560px;width:100%;justify-self:center}
}
@media (max-width:640px){
  .ex-tabs{display:flex;overflow-x:auto;scrollbar-width:none;margin-inline:-16px;padding-inline:16px;scroll-snap-type:x proximity}
  .ex-tabs::-webkit-scrollbar{display:none}
  .ex-tabs [role=tab]{flex:0 0 auto;scroll-snap-align:start;padding:10px 12px}
  .ex-ti{width:36px;height:36px;border-radius:10px}
  .ex-stage{padding:14px 14px 20px;border-radius:22px}
  .ex-img{aspect-ratio:1/.86;border-radius:18px}
  .ex-thumbs{gap:8px}
  .ex-thumbs button{width:58px;height:58px;padding:4px;border-radius:13px}
  .ex-text{padding-inline:4px}
  .ex-actions .btn{flex:1 1 auto}
}
@media (prefers-reduced-motion:reduce){.ex-img img,.ex-text{animation:none}}

/* قیمت‌های روز */
.skel{display:inline-block;width:96px;height:18px;border-radius:7px;vertical-align:middle;background:linear-gradient(90deg,#EDEDF0 25%,#F8F8FA 50%,#EDEDF0 75%);background-size:200% 100%;animation:skel 1.15s linear infinite}
.skel-lg{width:210px;height:36px;border-radius:10px}
@keyframes skel{to{background-position:-200% 0}}
.price-slot{min-width:0}
.price-alt{font-size:12px;font-weight:600;color:var(--muted);line-height:1.5}
.ask-price.soldout{color:var(--red)}
.buy-box .bb-avail,.buy-box .bb-ask,.buy-box .bb-soldout{display:none;gap:10px}
.buy-box[data-state="available"] .bb-avail,.buy-box[data-state="loading"] .bb-avail{display:grid}
.buy-box[data-state="inquiry"] .bb-ask,.buy-box[data-state="soldout"] .bb-soldout{display:grid}
.pb-usd{font-size:14.5px;font-weight:700;color:var(--muted)}
.pb-rate{display:flex;align-items:center;gap:8px;margin-top:2px;font-size:12.5px;color:var(--muted)}
.pb-rate .dot,.fx-live{width:7px;height:7px;border-radius:50%;background:#22C55E;flex:none;box-shadow:0 0 0 0 rgba(34,197,94,.5);animation:livePulse 2.2s ease-out infinite}
@keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(34,197,94,.55)}70%,100%{box-shadow:0 0 0 7px rgba(34,197,94,0)}}
.cart-blocked,.co-warn{display:flex;gap:8px;align-items:flex-start;padding:10px 12px;border-radius:12px;background:#FFF4E0;color:#6B4400;font-size:13px;line-height:1.8}
.co-warn{margin-top:14px}
.co-warn .ico{width:18px;height:18px;color:#A86200;margin-top:3px}
.line-info span.na{color:var(--red);font-weight:700;font-size:12.5px}
.co-items li.blocked .thumb{opacity:.55}
.co-items li.blocked .ci-price{color:var(--red);font-weight:700}
#toShipping.disabled{opacity:.5;cursor:not-allowed}
.pay-rate{display:block;margin-top:4px;font-size:12.5px;color:#A9ADB5}

/* نشانگر نرخ دلار */
.fx{position:fixed;left:14px;top:var(--fx-top,14px);z-index:58;opacity:0;transform:translateY(-8px) scale(.9);transform-origin:left top;transition:opacity .35s ease,transform .5s cubic-bezier(.2,1.5,.4,1),top .18s ease}
.fx.in{opacity:1;transform:none}
.fx-pill{display:flex;align-items:center;gap:8px;height:40px;padding-inline:5px 13px;border-radius:999px;background:#0E0B0C;color:#fff;box-shadow:0 14px 30px -14px rgba(14,11,12,.65),inset 0 0 0 1px rgba(255,255,255,.08);transition:background-color .3s}
.fx-pill:hover{background:#1C1719}
.fx-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--red);font-weight:900;font-size:15px;line-height:1}
.fx-txt{display:flex;align-items:baseline;gap:6px;white-space:nowrap}
.fx-lbl{font-size:12px;color:#B9B3B6;font-weight:600}
.fx-val{font-size:15px;font-weight:900}
.fx-chg{font-size:11.5px;font-weight:800;white-space:nowrap}
.fx-chg:empty{display:none}
.fx-chg.up,.fx-d-chg.up{color:#4ADE80}
.fx-chg.down,.fx-d-chg.down{color:#FF7A8A}
.fx-pill .fx-live{margin-inline-start:2px}
.fx.stale .fx-live{background:#F5A524;animation:none}
.fx.mini .fx-txt,.fx.mini .fx-chg,.fx.mini .fx-pill>.fx-live{display:none}
.fx.mini .fx-pill{padding:5px}
.fx.flash-up .fx-pill{animation:fxUp 1.6s ease}
.fx.flash-down .fx-pill{animation:fxDown 1.6s ease}
@keyframes fxUp{0%,40%{background:#14532D}100%{background:#0E0B0C}}
@keyframes fxDown{0%,40%{background:#7F1D1D}100%{background:#0E0B0C}}
.fx-pop{position:absolute;top:calc(100% + 10px);left:0;width:264px;padding:16px;border-radius:20px;background:#fff;color:var(--text);box-shadow:0 26px 60px -24px rgba(14,11,12,.45),0 0 0 1px rgba(14,11,12,.06);animation:fxPop .28s cubic-bezier(.2,1.3,.4,1)}
.fx-pop::before{content:"";position:absolute;top:-6px;left:22px;width:12px;height:12px;background:#fff;transform:rotate(45deg);box-shadow:-1px -1px 0 rgba(14,11,12,.06)}
@keyframes fxPop{from{opacity:0;transform:translateY(-6px) scale(.96)}to{opacity:1;transform:none}}
.fx-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.fx-src{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:var(--muted)}
.fx-x{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;color:var(--muted)}
.fx-x:hover{background:var(--soft);color:var(--text)}
.fx-x .ico{width:16px;height:16px}
.fx-big{display:flex;align-items:baseline;gap:6px;margin:4px 0 10px}
.fx-big b{font-size:30px;font-weight:900;line-height:1.3}
.fx-big small{font-size:13px;color:var(--muted)}
.fx-rows{display:grid;gap:6px;margin:0;padding:10px 0;border-block:1px dashed var(--line)}
.fx-rows div{display:flex;justify-content:space-between;gap:10px;font-size:13px}
.fx-rows dt{color:var(--muted)}
.fx-rows dd{margin:0;font-weight:800;white-space:nowrap}
.fx-note{margin-top:10px;font-size:12.5px;line-height:1.8;color:var(--muted)}
.fx-min{margin-top:8px;font-size:12.5px;font-weight:700;color:var(--muted);text-decoration:underline;text-underline-offset:4px}
.fx-min:hover{color:var(--red)}
@media (max-width:640px){
  .fx{left:10px}
  .fx-pill{height:36px;gap:6px;padding-inline:4px 11px}
  .fx-ic{width:28px;height:28px;font-size:14px}
  .fx-lbl{display:none}
  .fx-val{font-size:14px}
  .fx-pop{width:min(264px,calc(100vw - 20px))}
}
@media (prefers-reduced-motion:reduce){
  .fx,.fx-pop{transition:none;animation:none}
  .pb-rate .dot,.fx-live,.skel{animation:none}
}

/* واکنش‌گرا */
@media (max-width:1080px){
  .grid-products.related{grid-template-columns:repeat(3,minmax(0,1fr))}
  .offers{grid-template-columns:1fr}
  .offers-art{display:none}
  .pdp{grid-template-columns:1fr;gap:28px}
  .pdp-media{position:static;max-width:560px;width:100%;justify-self:center}
  .pdp-desc{grid-template-columns:1fr}
  .co-layout{grid-template-columns:1fr}
  .co-side{position:static}
  .pay-grid{grid-template-columns:1fr}
  .bank-card{max-width:420px;width:100%;justify-self:center}
}
@media (max-width:720px){
  .grid-products.related{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cats{display:flex;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--gut));padding-inline:var(--gut)}
  .cats::-webkit-scrollbar{display:none}
  .cat{flex:0 0 132px}
  .stepper{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;padding:10px 6px}
  .stepper .st-x{display:none}
  .pay-row{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"l c" "n n";row-gap:2px;align-items:center}
  .pay-row>span{display:contents}
  .pay-row small{grid-area:l}
  .pay-row b{grid-area:n;font-size:15px}
  .pay-row .copy-btn{grid-area:c;height:32px;padding:0 10px;font-size:13px}
  body:has(.checkout) .float-wa{display:none}
  .stepper li,.stepper li+li{flex-direction:column;justify-content:flex-start;gap:6px;font-size:11.5px;text-align:center;white-space:normal}
  .stepper li+li::before{position:absolute;margin:0;min-width:0;top:17px;inset-inline-end:calc(50% + 24px);inset-inline-start:calc(-50% + 24px)}
  .co-items li{grid-template-columns:64px minmax(0,1fr) auto auto;grid-template-areas:"t i i x" "t q s s";row-gap:8px;column-gap:12px}
  .co-items .thumb{grid-area:t;width:64px;height:64px}
  .ci-info{grid-area:i}
  .co-items .qty{grid-area:q;justify-self:start}
  .ci-total{grid-area:s;justify-self:end}
  .co-items .line-remove{grid-area:x}
}
@media (max-width:640px){
  #offers{padding-top:40px}
  .offers{padding:20px 14px;border-radius:24px;gap:18px}
  .offers-track{grid-auto-columns:minmax(170px,62%);margin-inline:-14px;padding-inline:14px}
  .product h3{min-height:5.1em;-webkit-line-clamp:3;font-size:13.5px}
  .oc-name{-webkit-line-clamp:3;min-height:5.1em;font-size:13.5px}
  .price-wrap s{font-size:11px}
  .pdp-sec{padding-top:20px}
  .pdp-img{border-radius:22px}
  .pb-price{font-size:26px}
  .buy-row .btn{flex:1 1 100%}
  .qty-stepper{width:100%;justify-content:space-between}
  .desc-card,.how-card{padding:20px 16px}
  .co-step{padding:18px 14px;border-radius:22px}
  .co-actions{flex-direction:column-reverse;align-items:stretch}
  .co-actions .btn{width:100%}
  .amount-box{padding:16px}
  .amount-box strong{font-size:24px}
  .bank-card{padding:18px}
  .pay-row b{font-size:14px}
  .send-btn{flex:1 1 100%}
  .ask-box .send-row{flex-basis:100%}
  .showcase{padding:14px}
  .foot-bottom{flex-direction:column;align-items:center;text-align:center}
}
