@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Vazirmatn:wght@400;500;600;700;800&display=swap');

/* =========================================================================
   IRAN EYNAK — Visual Identity (سرمه‌ای + طلایی)
   مرجع: design.md  |  این فایل بدون شرط در master لود می‌شود
   ========================================================================= */
:root{
  --navy-900:#0C1626;--navy-800:#0F1E33;--navy-700:#1B2E47;--navy-600:#2A3F5C;
  --gold-600:#A8853A;--gold-500:#BE9E4A;--gold-400:#D2B665;--gold-300:#E6D29A;
  --ink-900:#14181F;--ink-700:#3A424E;--ink-500:#6B7682;
  --line:#E6E8EC;--bg:#F7F8FA;--surface:#FFFFFF;
  --ie-success:#2E9E6B;--ie-danger:#E1564B;
  --font-fa:iransans,"IRANSans","Vazirmatn","yekanBakh",Tahoma,sans-serif;
  --font-en:"Montserrat","Poppins",system-ui,sans-serif;
  --radius-md:14px;--radius-lg:20px;--radius-pill:999px;
  --shadow-sm:0 1px 2px rgba(15,30,51,.06);
  --shadow-md:0 8px 24px rgba(15,30,51,.08);
  --shadow-lg:0 18px 48px rgba(15,30,51,.12);
  --shadow-gold:0 10px 30px rgba(190,158,74,.35);
  --primary-color:#BE9E4A;
}

/* ---------- پایه ---------- */
html{overflow-x:hidden}            /* جلوگیری از اسکرول افقی در موبایل (سازگار با sticky) */
body{font-family:var(--font-fa);color:var(--ink-700);background:var(--surface);max-width:100%;overflow-x:hidden}
.ie-home{background:var(--surface);clear:both}   /* clear برای float هدر (.dt-sl) — بدون آن سکشن‌های دارای overflow:hidden مثل اسلایدر کنار float له می‌شوند */
.ie-home *{box-sizing:border-box}
.ie-home img{max-width:100%}
.ie-home .ie-container{max-width:1280px;margin-inline:auto;padding-inline:24px}
.ie-home h1,.ie-home h2,.ie-home h3,.ie-home h4,.ie-home h5{color:var(--ink-900);line-height:1.25;font-weight:700;margin:0}
.ie-home a{text-decoration:none}
.ie-en{font-family:var(--font-en)}
.ie-section{padding-block:84px}
.ie-section.tight{padding-block:0}

/* ---------- دکمه‌ها ---------- */
.ie-btn{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-fa);font-weight:600;font-size:15px;
  padding:13px 26px;border-radius:var(--radius-pill);border:1.5px solid transparent;cursor:pointer;line-height:1;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,color .2s ease}
.ie-btn i{font-size:18px}
.ie-btn-primary{background:var(--gold-500);color:var(--navy-900)}
.ie-btn-primary:hover{background:var(--gold-600);color:var(--navy-900);transform:translateY(-2px);box-shadow:var(--shadow-gold)}
.ie-btn-dark{background:var(--navy-800);color:#fff}
.ie-btn-dark:hover{background:var(--navy-700);color:#fff;transform:translateY(-2px);box-shadow:var(--shadow-md)}
.ie-btn-ondark{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.ie-btn-ondark:hover{background:#fff;color:var(--navy-900);border-color:#fff}

/* ---------- تیتر بخش ---------- */
.ie-sec-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:36px;flex-wrap:wrap}
.ie-sec-head .ie-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--gold-600);font-weight:700;font-size:14px;margin-bottom:10px}
.ie-sec-head .ie-eyebrow::before{content:"";width:26px;height:2px;background:var(--gold-500);border-radius:2px}
.ie-sec-head h2{font-size:30px}
.ie-sec-head .ie-more{color:var(--navy-800);font-weight:600;font-size:15px;display:inline-flex;align-items:center;gap:6px}
.ie-sec-head .ie-more:hover{color:var(--gold-600)}
.ie-sec-head .ie-more i{font-size:20px}

/* ---------- هیرو ---------- */
.ie-hero{background:linear-gradient(135deg,#0F1E33 0%,#16294a 55%,#1B2E47 100%);color:#fff;overflow:hidden;position:relative}
.ie-hero::after{content:"";position:absolute;inset-inline-start:-120px;top:-120px;width:340px;height:340px;
  border:48px solid rgba(190,158,74,.08);border-radius:50%}
.ie-hero .ie-container{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:40px;min-height:540px;padding-block:56px;position:relative;z-index:1}
.ie-hero .ie-pill{display:inline-flex;align-items:center;gap:9px;background:rgba(190,158,74,.14);border:1px solid rgba(190,158,74,.4);
  color:var(--gold-300);padding:8px 16px;border-radius:var(--radius-pill);font-size:13.5px;font-weight:600;margin-bottom:24px}
.ie-hero h1{color:#fff;font-size:54px;line-height:1.12;font-weight:800;margin-bottom:18px}
.ie-hero h1 .g{color:var(--gold-400)}
.ie-hero p{color:#c2cbd8;font-size:18px;max-width:480px;margin-bottom:32px;line-height:1.9}
.ie-hero .ie-cta{display:flex;gap:14px;flex-wrap:wrap}
.ie-hero .ie-stats{display:flex;gap:36px;margin-top:44px}
.ie-hero .ie-stats .n{font-family:var(--font-en);font-weight:800;font-size:30px;color:var(--gold-400)}
.ie-hero .ie-stats .t{font-size:13.5px;color:#9fabbd}
.ie-hero-visual{position:relative;justify-self:center}
.ie-hero-visual .ph{width:420px;height:470px;max-width:100%;border-radius:230px 230px 28px 28px;overflow:hidden;
  background:linear-gradient(160deg,#2A3F5C,#16294a);box-shadow:var(--shadow-lg);border:1px solid rgba(255,255,255,.08)}
.ie-hero-visual .ph img{width:100%;height:100%;object-fit:cover}
.ie-hero-visual .float{position:absolute;background:#fff;color:var(--ink-900);border-radius:16px;padding:13px 16px;
  box-shadow:var(--shadow-lg);display:flex;align-items:center;gap:11px}
.ie-hero-visual .float i{font-size:22px;color:var(--gold-600);background:var(--gold-300);padding:8px;border-radius:10px}
.ie-hero-visual .float .t{font-size:12px;color:var(--ink-500);line-height:1.5}
.ie-hero-visual .float .t b{display:block;font-size:14px;color:var(--ink-900)}
.ie-hero-visual .f1{top:34px;inset-inline-start:-26px}
.ie-hero-visual .f2{bottom:48px;inset-inline-end:-26px}

/* ---------- اسلایدر اصلی (جایگزین هیرو — تصاویر از پنل مدیریت) ---------- */
.ie-hero-slider{background:#fff;position:relative;overflow:hidden;padding-block:30px}
.ie-hero-slider::after{content:"";position:absolute;inset-inline-start:-120px;top:-120px;width:340px;height:340px;
  border:48px solid rgba(190,158,74,.08);border-radius:50%}
.ie-hero-slider .ie-container{position:relative;z-index:1}
.ie-hero-slider .ie-hs{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);background:var(--navy-700)}
.ie-hero-slider .ie-hs-slide{display:block}
.ie-hero-slider .ie-hs-slide img{display:block;width:100%;height:auto}
/* دکمه‌های قبلی/بعدی */
.ie-hero-slider .ie-hs-nav{width:46px;height:46px;top:50%;transform:translateY(-50%);bottom:auto;margin-inline:18px;
  background:rgba(12,22,38,.55);border:1px solid rgba(255,255,255,.3);border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:#fff;font-size:26px;opacity:0;
  transition:opacity .25s ease,background .25s ease,color .25s ease}
.ie-hero-slider .ie-hs:hover .ie-hs-nav{opacity:1}
.ie-hero-slider .ie-hs-nav:hover{background:var(--gold-500);border-color:var(--gold-500);color:var(--navy-900)}
/* نقطه‌های پایین اسلایدر */
.ie-hero-slider .ie-hs-dots{margin-bottom:14px}
.ie-hero-slider .ie-hs-dots li{width:9px;height:9px;border-radius:50%;border:0;background:rgba(255,255,255,.45);
  margin:0 4px;transition:width .25s ease,background .25s ease}
.ie-hero-slider .ie-hs-dots li.active{width:26px;border-radius:var(--radius-pill);background:var(--gold-400)}
/* تفکیک دسکتاپ/موبایل وقتی هر دو گروه اسلایدر تعریف شده باشند */
@media (max-width:767px){
  .ie-hero-slider{padding-block:14px}
  .ie-hero-slider .ie-hs-nav{opacity:1;width:36px;height:36px;font-size:20px;margin-inline:10px}
  .ie-hs-desktop{display:none}
}
@media (min-width:768px){
  .ie-hs-mobile{display:none}
}

/* ---------- نوار اعتماد ---------- */
.ie-trust{background:#fff;border-bottom:1px solid var(--line)}
.ie-trust .ie-container{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding-block:28px}
.ie-trust .it{display:flex;align-items:center;gap:14px}
.ie-trust .ic{width:50px;height:50px;border-radius:14px;background:var(--bg);display:grid;place-items:center;flex-shrink:0}
.ie-trust .ic i{font-size:26px;color:var(--gold-600)}
.ie-trust .it b{display:block;color:var(--ink-900);font-size:15.5px}
.ie-trust .it span{font-size:12.5px;color:var(--ink-500)}

/* ---------- دسته‌بندی‌ها (رندرهای شفاف public/brand/category روی هاله‌ی طلایی) ---------- */
.ie-cats{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.ie-cat{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;overflow:hidden;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);padding:26px 18px 22px;
  transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.ie-cat .halo{position:absolute;top:-70px;left:50%;width:250px;height:250px;margin-left:-125px;border-radius:50%;
  background:radial-gradient(closest-side,rgba(190,158,74,.20),rgba(190,158,74,0) 72%);pointer-events:none}
.ie-cat::after{content:"";position:absolute;top:0;left:0;right:0;height:3px;opacity:0;transition:opacity .3s ease;
  background:linear-gradient(90deg,transparent,var(--gold-500),transparent)}
.ie-cat .ph{position:relative;z-index:1;height:150px;width:100%;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.ie-cat .ph img{max-height:100%;max-width:80%;object-fit:contain;transition:transform .45s ease;
  filter:drop-shadow(0 20px 18px rgba(12,22,38,.20))}
.ie-cat h4{position:relative;z-index:1;font-size:17px;color:var(--navy-800);margin-bottom:6px}
.ie-cat .hint{position:relative;z-index:1;display:inline-flex;align-items:center;gap:5px;font-size:13px;color:var(--ink-500);
  transition:color .3s ease}
.ie-cat .hint i{font-size:15px;opacity:0;transform:translateX(6px);transition:transform .3s ease,opacity .3s ease}
.ie-cat:hover{transform:translateY(-5px);border-color:rgba(190,158,74,.55);box-shadow:0 22px 44px -20px rgba(12,22,38,.28)}
.ie-cat:hover::after{opacity:1}
.ie-cat:hover .ph img{transform:translateY(-6px) scale(1.05)}
.ie-cat:hover .hint{color:var(--gold-600)}
.ie-cat:hover .hint i{opacity:1;transform:translateX(0)}
/* کارت هشتم: همه محصولات (سرمه‌ای با دکمه‌ی طلایی، هم‌خانواده‌ی هیرو) */
.ie-cat-all{background:linear-gradient(150deg,var(--navy-800),var(--navy-700));border-color:transparent}
.ie-cat-all .halo{background:radial-gradient(closest-side,rgba(190,158,74,.30),rgba(190,158,74,0) 72%)}
.ie-cat-all .deco{position:absolute;top:-48px;inset-inline-end:-48px;width:150px;height:150px;border-radius:50%;
  border:1.5px solid rgba(190,158,74,.4);pointer-events:none}
.ie-cat-all .ph i{width:86px;height:86px;border-radius:50%;display:grid;place-items:center;font-size:42px;color:var(--navy-900);
  background:linear-gradient(135deg,var(--gold-300),var(--gold-500));box-shadow:var(--shadow-gold);transition:transform .45s ease}
.ie-cat-all:hover .ph i{transform:translateY(-6px) scale(1.05)}
.ie-cat-all h4{color:#fff}
.ie-cat-all .hint{color:#cdd5e0}
.ie-cat-all:hover{border-color:rgba(190,158,74,.5)}
.ie-cat-all:hover .hint{color:var(--gold-300)}

/* =========================================================================
   کارت محصول — نسخه‌ی پریمیوم (Soft Glass Depth × Quiet Luxe)
   حاصلِ پنل طراحی + اصلاحات داوران: بدون ریتینگِ جعلی، بدون multiply،
   هاله‌ی شعاعیِ پایدار به‌جای سایه‌ی شکننده، object-fit:contain. اسکوپ .ie-home
   ========================================================================= */
.ie-home .ie-products{
  --pc-radius:20px;--pc-pad:16px;--pc-img-pad:18px;--pc-ease:cubic-bezier(.22,.61,.36,1);
  display:grid;grid-template-columns:repeat(4,1fr);gap:26px 24px}
.ie-home .ie-products .item{width:auto;margin:0;padding:0;display:flex}

/* پنل کارت: هم‌ارتفاع، سایه‌ی لایه‌ای، گردیِ نرم */
.ie-home .product-card{position:relative;display:flex;flex-direction:column;width:100%;height:100%;
  background:var(--surface);border:1px solid var(--line);border-radius:var(--pc-radius);overflow:hidden;padding:0;
  box-shadow:0 1px 2px rgba(15,30,51,.04),0 6px 16px rgba(15,30,51,.05);
  transition:transform .35s var(--pc-ease),box-shadow .35s var(--pc-ease),border-color .35s var(--pc-ease)}
.ie-home .product-card:hover{transform:translateY(-8px);border-color:var(--gold-300);
  box-shadow:0 2px 4px rgba(15,30,51,.05),0 14px 28px rgba(15,30,51,.10),0 26px 56px rgba(15,30,51,.12),0 18px 40px rgba(168,133,58,.10)}
.ie-home .product-card:focus-within{box-shadow:0 0 0 3px rgba(190,158,74,.45),0 18px 48px rgba(15,30,51,.12)}
/* هیرلاینِ طلاییِ امضا (هنگام hover باز می‌شود) */
.ie-home .product-card::before{content:"";position:absolute;inset-block-start:0;inset-inline:0;height:2px;z-index:4;pointer-events:none;
  background:linear-gradient(90deg,transparent,var(--gold-400) 28%,var(--gold-500) 50%,var(--gold-400) 72%,transparent);
  transform:scaleX(0);transform-origin:center;transition:transform .45s var(--pc-ease)}
.ie-home .product-card:hover::before,.ie-home .product-card:focus-within::before{transform:scaleX(1)}

/* ویترینِ تصویر: سکوی نرم + هاله‌ی شعاعیِ پایدار زیر فریم */
.ie-home .product-thumb{position:relative;display:block;aspect-ratio:1/1;margin:0;overflow:hidden;
  background:radial-gradient(120% 92% at 50% 90%,rgba(190,158,74,.10),transparent 58%),linear-gradient(180deg,#FBFCFD,var(--bg))}
.ie-home .product-thumb img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal;padding:var(--pc-img-pad);
  transition:transform .5s var(--pc-ease)}
.ie-home .product-card:hover .product-thumb img{transform:scale(1.06) translateY(-2px)}
/* اورلیِ شیشه‌ای «مشاهده محصول» (خودِ .product-thumb یک <a> است) */
.ie-home .product-thumb::after{content:"مشاهده محصول";position:absolute;inset-inline:0;inset-block-end:0;z-index:3;
  display:flex;align-items:center;justify-content:center;padding:13px 12px;
  font-family:var(--font-fa);font-size:13px;font-weight:700;color:var(--navy-900);
  background:linear-gradient(180deg,rgba(255,255,255,0),rgba(255,255,255,.94));border-block-start:1px solid var(--gold-300);
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
  opacity:0;transform:translateY(100%);transition:opacity .35s var(--pc-ease),transform .35s var(--pc-ease);pointer-events:none}
.ie-home .product-card:hover .product-thumb::after,.ie-home .product-thumb:focus-visible::after{opacity:1;transform:translateY(0)}
.ie-home .product-thumb:focus-visible{outline:none;box-shadow:inset 0 0 0 3px rgba(190,158,74,.6)}

/* هدِ شناور روی تصویر: لیبل و تخفیف در گوشه‌ها (بدون ستاره‌ی جعلی) */
.ie-home .product-head{position:absolute;inset-block-start:0;inset-inline:0;z-index:4;
  display:flex;align-items:flex-start;gap:6px;padding:12px;pointer-events:none}
.ie-home .product-head > *{pointer-events:auto}
.ie-home .product-head .rating-stars{display:none}
.ie-home .product-head .row{order:1;margin:0}
.ie-home .product-head .btn-group{display:inline-flex;flex-wrap:wrap;gap:5px}
.ie-home .product-head .fild_products{background:none!important;padding:0!important;border-radius:0!important;margin:0!important;color:inherit!important}
.ie-home .fild_products span{display:inline-block;background:rgba(255,255,255,.9);
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--gold-600);font-size:11px;font-weight:800;line-height:1;
  padding:6px 11px;border-radius:var(--radius-pill);border:1px solid rgba(210,182,101,.5);box-shadow:0 2px 8px rgba(15,30,51,.08);margin-inline-end:5px}
.ie-home .product-head .discount{order:2;margin-inline-start:auto}
.ie-home .product-head .discount span{display:inline-flex;align-items:center;background:linear-gradient(135deg,#E1564B,#C73B30);
  color:#fff;font-size:12px;font-weight:800;line-height:1;padding:6px 11px;border-radius:var(--radius-pill);box-shadow:0 6px 14px rgba(225,86,75,.32)}

/* بدنه‌ی کارت */
.ie-home .product-card-body{display:flex;flex-direction:column;flex:1 1 auto;padding:15px var(--pc-pad) 16px;text-align:start}
.ie-home .product-title{font-size:15px;font-weight:700;line-height:1.6;margin:0 0 6px;min-height:calc(1.6em * 2)}
.ie-home .product-title a{display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  color:var(--ink-900);transition:color .2s var(--pc-ease)}
.ie-home .product-title a:hover{color:var(--gold-600)}
.ie-home .product-meta{display:inline-flex;align-items:center;gap:7px;width:fit-content;font-size:12px;font-weight:600;color:var(--ink-500);
  margin:0 0 14px;transition:color .2s var(--pc-ease)}
.ie-home .product-meta::before{content:"";width:14px;height:1.5px;border-radius:2px;background:var(--gold-400);flex:none}
.ie-home .product-meta:hover{color:var(--gold-600)}
/* قیمت: کفِ بدنه با جداکننده‌ی مویی */
.ie-home .price-index-h{margin-top:auto;padding-top:13px;border-top:1px solid var(--line);margin-bottom:13px}
.ie-home .product-prices-div{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px}
.ie-home .product-price{font-size:18px;font-weight:800;color:var(--navy-800);letter-spacing:-.2px}
.ie-home .product-price-del{font-size:13px;font-weight:600;color:var(--ink-500);text-decoration:line-through;text-decoration-color:rgba(225,86,75,.65)}

/* CTA افزودن به سبد: ته کارت، navy→gold با درخشش عبوری
   (بازنشانیِ تبِ کشوییِ پیش‌فرضِ تم به دکمه‌ی تمام‌عرضِ درون‌جریان) */
.ie-home .product-card-body .cart{position:static!important;inset:auto!important;left:auto!important;right:auto!important;
  bottom:auto!important;width:auto!important;display:block;margin:0!important;background:transparent!important;
  border-radius:0!important;font-size:inherit!important}
.ie-home .product-card-body .cart:hover{position:static!important;left:auto!important;background:transparent!important}
.ie-home .product-card-body .cart a span{font-size:14px}
.ie-home .product-card-body .cart a{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:6px;
  width:100%;min-height:46px;background:linear-gradient(135deg,var(--navy-800),var(--navy-700));color:#fff;border-radius:13px;padding:12px 16px;
  font-size:14px;font-weight:700;box-shadow:0 6px 16px rgba(15,30,51,.16);
  transition:background .25s var(--pc-ease),color .25s var(--pc-ease),transform .2s var(--pc-ease),box-shadow .25s var(--pc-ease)}
.ie-home .product-card-body .cart a .mdi{font-size:18px;padding:0!important;margin:0}
.ie-home .product-card-body .cart a::after{content:"";position:absolute;inset-block:0;inset-inline-start:-60%;width:45%;
  background:linear-gradient(100deg,rgba(255,255,255,0),rgba(255,255,255,.35),rgba(255,255,255,0));transform:skewX(-18deg);
  transition:inset-inline-start .6s var(--pc-ease)}
.ie-home .product-card-body .cart a:hover{background:linear-gradient(135deg,var(--gold-500),var(--gold-400));color:var(--navy-900);
  transform:translateY(-2px);box-shadow:var(--shadow-gold)}
.ie-home .product-card-body .cart a:hover::after{inset-inline-start:160%}
.ie-home .product-card-body .cart a:active{transform:translateY(0)}
.ie-home .product-card-body .cart a:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(190,158,74,.55),0 6px 16px rgba(15,30,51,.16)}
.ie-home .product-title a:focus-visible,.ie-home .product-meta:focus-visible{outline:2px solid var(--gold-500);outline-offset:2px;border-radius:4px}

/* ریسپانسیو کارت محصول */
@media(max-width:1024px){.ie-home .ie-products{grid-template-columns:repeat(2,1fr);gap:20px 18px}}
@media(max-width:560px){
  .ie-home .ie-products{grid-template-columns:1fr 1fr;gap:14px}
  .ie-home .product-card{--pc-radius:16px;--pc-pad:12px;--pc-img-pad:14px}
  .ie-home .product-title{font-size:13.5px;min-height:calc(1.55em * 2)}
  .ie-home .product-price{font-size:15.5px}
  .ie-home .fild_products span{font-size:10px;padding:5px 9px}
  .ie-home .product-thumb::after{display:none}
  .ie-home .product-card:hover{transform:none}
  .ie-home .product-card-body .cart a{min-height:48px}
}
@media(max-width:360px){.ie-home .ie-products{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){
  .ie-home .product-card,.ie-home .product-thumb img,.ie-home .product-thumb::after,.ie-home .product-card::before,
  .ie-home .product-card-body .cart a,.ie-home .product-card-body .cart a::after{transition-duration:.01ms!important}
  .ie-home .product-card:hover{transform:none}
  .ie-home .product-card:hover .product-thumb img{transform:none}
}

/* ---------- بنرهای تبلیغاتی ---------- */
.ie-promo{display:grid;grid-template-columns:1.6fr 1fr;gap:24px}
.ie-promo .b{border-radius:var(--radius-lg);padding:44px;position:relative;overflow:hidden;min-height:230px;
  display:flex;flex-direction:column;justify-content:center}
.ie-promo .b1{background:linear-gradient(120deg,#0F1E33,#1B2E47);color:#fff}
.ie-promo .b2{background:linear-gradient(120deg,#BE9E4A,#D2B665);color:var(--navy-900)}
.ie-promo .b .small{font-size:14px;font-weight:600;opacity:.85;margin-bottom:8px}
.ie-promo .b h3{font-size:26px;margin-bottom:8px;line-height:1.4}
.ie-promo .b1 h3{color:#fff}
.ie-promo .b p{font-size:14.5px;opacity:.85;margin-bottom:20px;max-width:320px;line-height:1.8}
.ie-promo .b .ie-btn{align-self:flex-start}
.ie-promo .b .deco{position:absolute;inset-inline-end:-30px;bottom:-30px;width:170px;height:170px;border-radius:50%}
.ie-promo .b1 .deco{border:30px solid rgba(190,158,74,.18)}
.ie-promo .b2 .deco{border:30px solid rgba(15,30,51,.12)}

/* ---------- برندها ---------- */
.ie-bg-soft{background:var(--bg)}
.ie-brands{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.ie-brand{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);height:92px;display:grid;place-items:center;
  padding:14px;transition:.25s;color:var(--ink-500);font-family:var(--font-en);font-weight:700;font-size:18px;text-align:center}
.ie-brand img{max-height:54px;width:auto;object-fit:contain;filter:grayscale(1);opacity:.7;transition:.25s}
.ie-brand:hover{box-shadow:var(--shadow-md);transform:translateY(-3px);color:var(--navy-800)}
.ie-brand:hover img{filter:grayscale(0);opacity:1}

/* ---------- چرا ایران‌عینک ---------- */
.ie-why{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.ie-why .ph{border-radius:var(--radius-lg);overflow:hidden;height:430px;background:linear-gradient(160deg,#27384f,#16294a);box-shadow:var(--shadow-lg)}
.ie-why .ph img{width:100%;height:100%;object-fit:cover}
.ie-why h2{font-size:30px;margin-bottom:14px}
.ie-why .lead{color:var(--ink-500);font-size:15.5px;margin-bottom:6px;line-height:1.9}
.ie-why .feat{display:flex;gap:16px;margin-top:24px}
.ie-why .feat .ic{width:52px;height:52px;border-radius:14px;flex-shrink:0;display:grid;place-items:center;background:var(--gold-300);color:var(--gold-600)}
.ie-why .feat .ic i{font-size:26px}
.ie-why .feat h4{font-size:17px;margin-bottom:4px}
.ie-why .feat p{font-size:14px;color:var(--ink-500);margin:0;line-height:1.8}

/* ---------- بلاگ ---------- */
.ie-blog{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ie-post{background:#fff;border:1px solid var(--line);border-radius:var(--radius-md);overflow:hidden;transition:.25s;display:block}
.ie-post:hover{box-shadow:var(--shadow-lg);transform:translateY(-5px)}
.ie-post .ph{height:200px;overflow:hidden;background:var(--bg)}
.ie-post .ph img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ie-post:hover .ph img{transform:scale(1.06)}
.ie-post .body{padding:22px}
.ie-post .meta{display:flex;align-items:center;gap:12px;font-size:12.5px;color:var(--ink-500);margin-bottom:10px}
.ie-post .meta .cat{color:var(--gold-600);font-weight:700}
.ie-post h4{font-size:17px;line-height:1.6;margin-bottom:10px;color:var(--ink-900)}
.ie-post:hover h4{color:var(--navy-800)}
.ie-post .rl{font-size:13.5px;color:var(--gold-600);font-weight:600;display:inline-flex;align-items:center;gap:6px}

/* ---------- خبرنامه ---------- */
.ie-news{background:linear-gradient(120deg,#0C1626,#1B2E47);border-radius:var(--radius-lg);padding:54px;display:grid;
  grid-template-columns:1fr 1fr;gap:40px;align-items:center;position:relative;overflow:hidden}
.ie-news .deco{position:absolute;inset-inline-start:-40px;top:-40px;width:200px;height:200px;border:34px solid rgba(190,158,74,.12);border-radius:50%}
.ie-news h2{color:#fff;font-size:28px;margin-bottom:10px}
.ie-news p{color:#aeb8c7;font-size:15px;margin:0;line-height:1.9}
.ie-news form{display:flex;gap:12px;background:#fff;padding:7px;border-radius:var(--radius-pill)}
.ie-news input{flex:1;border:none;outline:none;background:transparent;padding-inline:20px;font-family:var(--font-fa);font-size:15px;color:var(--ink-900)}
.ie-news .ie-btn{flex-shrink:0}

/* =========================================================================
   هدر سه‌طبقه (نوار خدمات / نوار اصلی / نوار دسته‌بندی)
   ========================================================================= */
header.main-header.ie-header{position:sticky;top:0;z-index:1000;background:#fff;border:none;box-shadow:0 4px 24px rgba(15,30,51,.06)}
header.main-header.ie-header .container,header.main-header.ie-header .main-container,
.main-footer.ie-footer .container,.main-footer.ie-footer .main-container{max-width:1280px!important;margin-inline:auto!important;float:none!important}

/* --- نوار خدمات --- */
.ie-header .ie-utilitybar{background:var(--navy-900);color:#aab4c2;font-size:13px;overflow:hidden}
.ie-header .ie-util-inner{display:flex;align-items:center;justify-content:space-between;height:40px}
.ie-header .ie-util-right,.ie-header .ie-util-left{display:flex;align-items:center;gap:20px}
.ie-header .ie-utilitybar a,.ie-header .ie-util-item{color:#aab4c2;display:inline-flex;align-items:center;gap:6px;transition:color .2s}
.ie-header .ie-utilitybar a:hover{color:var(--gold-400)}
.ie-header .ie-utilitybar .mdi{font-size:16px;color:var(--gold-400)}
.ie-header .ie-util-lang{margin:0;padding:0;list-style:none;display:flex}
.ie-header .ie-util-lang .dropdown-toggle{color:#aab4c2}

/* --- نوار اصلی --- */
.ie-header .ie-mainbar{background:#fff}
.ie-header .ie-mainbar-inner{display:flex;align-items:center;gap:28px;height:88px}
.ie-header .ie-logo{flex-shrink:0;display:flex;align-items:center}
.ie-header .ie-logo img{max-height:54px;width:auto}
.ie-header .ie-search{flex:1;max-width:600px;margin:0;padding:0}
.ie-header .ie-search form.search{position:relative;margin:0;width:100%}
.ie-header .ie-search #search-input{width:100%;height:52px;border:1.5px solid var(--line);background:var(--bg);
  border-radius:var(--radius-pill);padding:0 54px 0 46px;font-family:var(--font-fa);font-size:15px;color:var(--ink-900);transition:border .2s,background .2s}
.ie-header .ie-search #search-input:focus{outline:none;border-color:var(--gold-500);background:#fff;box-shadow:0 0 0 4px rgba(190,158,74,.12)}
.ie-header .ie-search form.search > button[type=submit]{position:absolute;inset-inline-start:6px;top:6px;width:40px;height:40px;
  border:none;background:var(--navy-800);color:#fff;border-radius:50%;display:grid;place-items:center;cursor:pointer;transition:.2s}
.ie-header .ie-search form.search > button[type=submit]:hover{background:var(--gold-500);color:var(--navy-900)}
.ie-header .ie-search form.search > button[type=submit] .mdi{font-size:21px}
.ie-header .ie-search .close-search-result{position:absolute;inset-inline-end:14px;top:14px;background:none;border:none;color:var(--ink-500);display:none}
.ie-header .ie-search #search-result{position:absolute;top:60px;inset-inline:0;background:#fff;border:1px solid var(--line);
  border-radius:14px;box-shadow:var(--shadow-lg);z-index:60;overflow:hidden}
.ie-header .ie-search #search-result ul{margin:0;padding:0;list-style:none}

/* --- خوشه‌ی اکشن‌ها (علاقه‌مندی/حساب/سبد) --- */
.ie-header .ie-actions{display:flex;align-items:center;gap:4px;margin-inline-start:auto;flex-shrink:0}
.ie-header .ie-actions .nav,.ie-header .ie-action-account,.ie-header .ie-action-cart{float:none!important;margin:0;padding:0;
  list-style:none;display:flex;border:none!important;background:none!important;box-shadow:none!important}
.ie-header .ie-action{position:relative;list-style:none}
.ie-header .ie-action > a,.ie-header .ie-action .nav-link{display:flex;align-items:center;gap:9px;padding:9px 12px;border-radius:12px;
  color:var(--ink-700)!important;font-size:13.5px;font-weight:600;transition:background .2s,color .2s;cursor:pointer}
.ie-header .ie-action > a:hover,.ie-header .ie-action .nav-link:hover{background:var(--bg)!important;color:var(--navy-800)!important}
.ie-header .ie-action .mdi{font-size:25px;color:var(--navy-700)!important}
.ie-header .ie-action .label-dropdown,.ie-header .ie-action .ie-action-lbl{font-size:13.5px;font-weight:600;line-height:1.3;color:var(--ink-700)!important}
.ie-header .ie-action-cart .nav-link .count{background:var(--gold-500);color:var(--navy-900);font-weight:800;font-size:11px;
  min-width:20px;height:20px;border-radius:999px;display:inline-grid;place-items:center;padding:0 5px;margin-inline-start:2px}
/* دراپ‌داون حساب/سبد */
.ie-header .ie-action .dropdown-menu{border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow-lg);padding:8px;margin-top:10px}
.ie-header .ie-action .dropdown-item{border-radius:9px;font-size:14px;color:var(--ink-700);padding:9px 12px}
.ie-header .ie-action .dropdown-item:hover{background:var(--bg);color:var(--navy-800)}
.ie-header .ie-action .dropdown-item .mdi{font-size:19px;color:var(--gold-600)}
.ie-header .ie-action .dropdown.cart .btn-success{background:var(--navy-800);border:none}
.ie-header .ie-action .dropdown .btn-primary{background:var(--gold-500);border:none;color:var(--navy-900)}

/* --- نوار دسته‌بندی --- */
.ie-header .ie-navbar{background:var(--navy-800);border:none;overflow:hidden}
.ie-header .ie-navbar .main-menu{display:flex;align-items:center;gap:8px;min-height:54px;position:relative}
.ie-header .ie-allcats{display:inline-flex;align-items:center;gap:8px;background:var(--gold-500);color:var(--navy-900)!important;
  font-weight:700;font-size:14.5px;padding:10px 18px;border-radius:10px;flex-shrink:0;transition:background .2s}
.ie-header .ie-allcats:hover{background:var(--gold-400)}
.ie-header .ie-allcats .mdi{font-size:19px}
.ie-header .ie-navbar .main-menu .list{display:flex;align-items:center;gap:2px;float:none!important;margin:0;padding:0;list-style:none}
.ie-header .ie-navbar .main-menu .list > .list-item > a,
.ie-header .ie-navbar .main-menu .list > .list-item > a.nav-link{color:#dbe2ec!important;font-size:14.5px;font-weight:500;
  padding:9px 14px!important;border-radius:8px;transition:color .2s,background .2s;display:inline-flex;align-items:center;gap:6px}
.ie-header .ie-navbar .main-menu .list > .list-item > a:hover,
.ie-header .ie-navbar .main-menu .list > .list-item:hover > a{color:#fff!important;background:rgba(255,255,255,.08)}
.ie-header .ie-navbar .main-menu .list > .list-item > a::before{display:none!important}
.ie-header .ie-nav-support{margin-inline-start:auto;color:#9fabbd;font-size:13px;display:inline-flex;align-items:center;gap:7px;flex-shrink:0}
.ie-header .ie-nav-support .mdi{font-size:18px;color:var(--gold-400)}
/* زیرمنو */
.ie-header .ie-navbar .main-menu .list .sub-menu{background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:var(--shadow-lg);padding:10px;min-width:230px}
.ie-header .ie-navbar .main-menu .list .sub-menu a{color:var(--ink-700)!important;border-radius:8px;padding:8px 12px;font-size:14px}
.ie-header .ie-navbar .main-menu .list .sub-menu a:hover{background:var(--bg);color:var(--navy-800)!important}
/* همبرگر موبایل */
.ie-header .ie-navbar .btn-menu{display:none}

/* =========================================================================
   فوتر سرمه‌ای مدرن
   ========================================================================= */
.main-footer.ie-footer{background:var(--navy-900)!important;color:#9aa5b4;padding-top:0;overflow-x:hidden}
.ie-footer .ie-foot-top{display:grid;grid-template-columns:1.7fr 1fr 1fr 1.1fr;gap:40px;padding:64px 0 48px;
  border-bottom:1px solid rgba(255,255,255,.08)}
.ie-footer .ie-foot-top > *{min-width:0}
.ie-footer .ie-foot-logo img{max-height:52px;width:auto;margin-bottom:18px}
.ie-footer .ie-foot-about{font-size:14px;line-height:2;color:#9aa5b4;max-width:330px;margin:0 0 18px}
.ie-footer .ie-foot-contact{list-style:none;margin:0 0 18px;padding:0}
.ie-footer .ie-foot-contact li{display:flex;align-items:flex-start;gap:10px;font-size:14px;margin-bottom:11px;color:#c2cbd8}
.ie-footer .ie-foot-contact li .mdi{font-size:19px;color:var(--gold-400);flex-shrink:0}
.ie-footer .ie-foot-contact a{color:#c2cbd8!important}
.ie-footer .ie-foot-contact a:hover{color:var(--gold-400)!important}
.ie-footer .ie-foot-social{display:flex;gap:10px}
.ie-footer .ie-foot-social a{width:40px;height:40px;border-radius:11px;background:rgba(255,255,255,.06);
  display:inline-flex;align-items:center;justify-content:center;color:#cfd6e0!important;transition:.2s}
.ie-footer .ie-foot-social a:hover{background:var(--gold-500);color:var(--navy-900)!important;transform:translateY(-2px)}
.ie-footer .ie-foot-social .mdi{font-size:21px}
.ie-footer .ie-foot-col h5{color:#fff;font-size:16px;font-weight:700;margin:0 0 18px}
.ie-footer .ie-foot-col .footer-menu{list-style:none;margin:0;padding:0}
.ie-footer .ie-foot-col .footer-menu li{margin-bottom:12px}
.ie-footer .ie-foot-col .footer-menu a{color:#9aa5b4!important;font-size:14px;transition:.2s;display:inline-block}
.ie-footer .ie-foot-col .footer-menu a:hover{color:var(--gold-400)!important;padding-inline-start:5px}
.ie-footer .ie-foot-seals .ie-seals{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ie-footer .ie-foot-seals .ie-seals img{max-width:84px;height:auto;background:#fff;border-radius:10px;padding:6px}
.ie-footer .ie-foot-bottom{background:rgba(0,0,0,.22)!important;margin:0}
.ie-footer .ie-foot-bottom .main-container{display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:12px;padding-block:18px}
.ie-footer .ie-foot-bottom p{color:#8b96a8!important;margin:0;font-size:13px}
.ie-footer .ie-pays{display:flex;gap:8px}
.ie-footer .ie-pays span{background:rgba(255,255,255,.06);border-radius:8px;padding:6px 12px;font-size:12px;color:#cfd6e0;
  display:inline-flex;align-items:center;gap:5px}
.ie-footer .ie-pays .mdi{color:var(--gold-400)}
/* flatten any stray borders on account/cart controls */
.ie-header .ie-action .nav-item,.ie-header .ie-action .account,.ie-header .ie-action .dropdown{border:none!important;background:none!important;box-shadow:none!important}
/* back-to-top as a compact pill */
.ie-footer .back-to-top a{display:inline-flex;align-items:center;gap:8px;background:var(--gold-500);color:var(--navy-900)!important;
  padding:9px 18px;border-radius:var(--radius-pill);font-weight:700;font-size:13px;box-shadow:var(--shadow-md)}
.ie-footer .back-to-top a:hover{background:var(--gold-400);color:var(--navy-900)!important}
.ie-footer .back-to-top a .icon{display:inline-grid;place-items:center}
.ie-footer .back-to-top a .icon .mdi{font-size:18px}

/* =========================================================================
   ریسپانسیو هدر/فوتر
   ========================================================================= */
@media(max-width:991px){
  .ie-header .ie-mainbar-inner{flex-wrap:wrap;height:auto;padding-block:14px;gap:14px}
  .ie-header .ie-mainbar-inner > *{min-width:0}
  .ie-header .ie-search{order:3;flex-basis:100%;max-width:100%}
  .ie-header .ie-action .label-dropdown,.ie-header .ie-action .ie-action-lbl{display:none}
  .ie-header .ie-util-hide-sm{display:none!important}
  .ie-header .ie-util-right,.ie-header .ie-util-left{gap:14px}
  /* below 991: switch the category bar to the hamburger to avoid the wide unwrapped menu overflowing */
  .ie-header .ie-allcats,.ie-header .ie-navbar .main-menu .list,.ie-header .ie-nav-support{display:none!important}
  .ie-header .ie-navbar .main-menu{min-height:0;justify-content:flex-start;padding-block:8px}
  .ie-header .ie-navbar .btn-menu{display:inline-flex}
  .ie-footer .ie-foot-top{grid-template-columns:1fr 1fr;gap:32px;padding-top:48px}
  .ie-footer .ie-foot-about,.ie-footer .ie-foot-contact li{word-break:break-word}
}
@media(max-width:560px){
  .ie-header .ie-utilitybar{display:none}
  .ie-header .ie-action-hide-sm{display:none}
  .ie-header .ie-logo img{max-height:42px}
  .ie-footer .ie-foot-top{grid-template-columns:1fr;gap:28px}
  .ie-footer .ie-foot-bottom .main-container{justify-content:center;text-align:center}
}

/* ---------- ریسپانسیو ---------- */
@media(max-width:1024px){
  .ie-hero .ie-container{grid-template-columns:1fr;text-align:center}
  .ie-hero p{margin-inline:auto}.ie-hero .ie-cta,.ie-hero .ie-stats{justify-content:center}
  .ie-hero-visual{margin-top:30px}
  .ie-cats,.ie-products{grid-template-columns:repeat(2,1fr)}
  .ie-trust .ie-container{grid-template-columns:repeat(2,1fr)}
  .ie-why,.ie-promo,.ie-news{grid-template-columns:1fr}
  .ie-brands{grid-template-columns:repeat(3,1fr)}
  .ie-blog{grid-template-columns:1fr}
}
@media(max-width:560px){
  .ie-section{padding-block:52px}
  .ie-hero h1{font-size:33px}.ie-hero .ie-stats{gap:20px}
  .ie-cats,.ie-products,.ie-brands{grid-template-columns:1fr 1fr}
  .ie-cats{gap:14px}
  .ie-cat{padding:18px 12px 16px}
  .ie-cat .ph{height:110px;margin-bottom:12px}
  .ie-cat h4{font-size:15px}
  .ie-cat-all .ph i{width:68px;height:68px;font-size:32px}
  .ie-hero-visual .ph{width:280px;height:340px}
  .ie-sec-head h2,.ie-why h2,.ie-news h2{font-size:23px}
  .ie-news,.ie-promo .b{padding:30px}
  .ie-products{grid-template-columns:1fr 1fr}
}
