/* ===================================================================
   فروشگاه حجاب ژیوا — قالب صفحه اول و هدر/فوتر
=================================================================== */

:root {
  --blue:       #1f6b4a;
  --blue-dark:  #0f3d2e;
  --blue-light: #3d9b6e;
  --blue-pale:  #eef7f1;
  --blue-bar:   #1f6b4a;
  --gold:       #c9a227;
  --gold-soft:  #e8d48b;
  --gold-dark:  #9a7b1a;
  --accent-green: #1f6b4a;
  --ink:        #1c2a24;
  --ink-soft:   #5a6b62;
  --bg:         #ffffff;
  --bg-soft:    #f4f8f5;
  --card:       #ffffff;
  --border:     #dce8e0;
  --footer-bg:  #0f3d2e;
  --shadow-sm:  0 4px 14px -4px rgba(15,61,46,.12);
  --shadow-md:  0 12px 32px -8px rgba(15,61,46,.16);
  --radius:     14px;
  --container:  1240px;
  --font: 'IRANYekan', sans-serif;
  --site-top-height: 148px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font); font-weight: 800; margin: 0 0 .5em; color: var(--blue-dark); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img, video, iframe, svg { max-width: 100%; height: auto; }
img { display: block; }
button { font-family: var(--font); cursor: pointer; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
main#main {
  max-width: 100%;
  overflow-x: clip;
}

.dir-ltr, .phone-ltr {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: left;
  display: inline-block;
  white-space: nowrap;
}
.phone-display {
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.top-bar-phones .phone-display { font-size: .95rem; }
.mobile-nav-phones .phone-display { font-size: 1.08rem; }
.footer-contact-item .phone-display { font-size: .95rem; }
.contact-card .phone-display { font-size: 1.15rem; }

/* ===================== TOP BAR ===================== */
.top-bar-slot {
  height: 50px;
  overflow: hidden;
  flex-shrink: 0;
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.top-bar {
  background: linear-gradient(90deg, #0f3d2e 0%, #1f6b4a 55%, #0f3d2e 100%);
  border-bottom: 1px solid rgba(201,162,39,.35);
  font-size: .82rem;
  color: #fff;
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 38px; padding-block: 6px;
}
.top-bar-social { display: flex; align-items: center; gap: 10px; }
.top-bar-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-soft); font-size: 1.2rem;
  transition: color .2s, background .2s;
}
.top-bar-social a:hover { color: #fff; background: rgba(201,162,39,.25); }
.top-bar-social__eitaa {
  width: auto !important;
  padding: 0 12px;
  gap: 6px;
  border-radius: 999px !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, .55);
  font-size: .82rem !important;
  font-weight: 800;
  color: #1f2937 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
}
.top-bar-social__eitaa span { letter-spacing: .02em; color: #1f2937 !important; }
.top-bar-social__eitaa:hover {
  background: #fff7ed !important;
  color: #9a3412 !important;
  border-color: #fdba74;
}
.top-bar-phones { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.top-bar-phones a {
  display: inline-flex; align-items: center; gap: 6px;
  color: #fff; font-weight: 600; font-size: .84rem;
}
.top-bar-phones a i { color: var(--gold); }
.top-bar-promo {
  color: var(--gold-soft);
  font-weight: 700;
  font-size: .86rem;
  letter-spacing: .01em;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.6em; border-radius: 999px; font-weight: 700; font-size: .92rem;
  border: 1.5px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn-service {
  padding: .62em 1.35em; font-size: .86rem; border-radius: 999px;
  color: #fff; box-shadow: 0 4px 12px rgba(15,61,46,.2);
}
.btn-service:hover { color: #fff; transform: translateY(-2px); }
.about-buttons .btn-service:nth-child(1) { background: #1f6b4a; }
.about-buttons .btn-service:nth-child(2) { background: #0f3d2e; }
.about-buttons .btn-service:nth-child(3) { background: #c9a227; color: #0f3d2e; }
.about-buttons .btn-service:nth-child(4) { background: #3d9b6e; }

/* ===================== HEADER ===================== */
.site-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
  transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
main#main {
  padding-top: var(--site-top-height);
  transition: padding-top 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.site-header {
  position: relative;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid transparent;
  overflow: visible;
}

/* ردیف ۱: فقط دو لوگو */
.header-brand-bar {
  border-bottom: 1px solid rgba(15, 61, 46, .08);
  background: #fff;
}
.header-brand-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
  min-height: 76px;
}
.header-brand-bar .header-search-trigger {
  display: none;
}
.header-nav-bar {
  background: #fff;
  border-bottom: 1px solid rgba(15, 61, 46, .1);
  position: relative;
  z-index: 80;
  overflow: visible;
}
.header-nav-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 0;
  min-height: 48px;
  overflow: visible;
}

/* سازگاری با کلاس قدیمی */
.header-inner {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  padding-block: 8px;
  position: relative;
}

.main-nav,
.desktop-nav {
  flex: 1 1 auto;
  display: flex;
  gap: 0;
  align-items: stretch;
  flex-wrap: nowrap;
  justify-content: flex-start;
  min-width: 0;
  overflow: visible;
}
.desktop-nav .nav-item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: stretch;
}
.desktop-nav .nav-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .84rem; font-weight: 700; color: var(--ink);
  padding: 14px 13px; white-space: nowrap; border-radius: 0;
  transition: color .2s, background .2s, box-shadow .2s;
  height: 100%;
  box-sizing: border-box;
}
.desktop-nav .nav-link:hover {
  color: var(--blue);
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--gold);
}
.submenu-caret { font-size: .6rem; color: var(--ink-soft); }

/* زیرمنو — absolute چسبیده به آیتم (بدون fixed؛ backdrop-filter فاصله می‌سازد) */
.header-nav-bar,
.header-nav-bar__inner,
.desktop-nav,
.site-header,
.site-top {
  overflow: visible !important;
}
.desktop-nav .nav-item,
.desktop-nav .has-submenu {
  position: relative;
}
.desktop-nav .submenu {
  position: absolute;
  top: 100%;
  right: 0;
  left: auto;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 18px 44px rgba(15, 61, 46, .16);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  margin: 0;
  margin-top: 0;
  transition: opacity .12s ease, visibility .12s;
  z-index: 200;
  box-sizing: border-box;
}
.desktop-nav .submenu--mega {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 2px 8px;
  width: min(720px, calc(100vw - 32px));
  max-width: min(720px, calc(100vw - 32px));
  padding: 14px 16px;
  /* JS فقط left را برای ماندن در صفحه تنظیم می‌کند */
}
.desktop-nav .submenu--mega a {
  padding: 10px 12px;
  border-radius: 10px;
  line-height: 1.45;
  white-space: normal;
}
.desktop-nav .has-submenu::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: 2px;
  z-index: 201;
}
.desktop-nav .submenu a {
  font-size: .86rem; font-weight: 600; color: var(--ink);
  padding: 10px 12px; border-radius: 8px; display: block;
}
.desktop-nav .submenu a:hover { background: var(--blue-pale); color: var(--blue-dark); }
.desktop-nav .has-submenu:hover > .submenu,
.desktop-nav .has-submenu:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* منوی موبایل — خارج از header */
.mobile-nav-layer {
  display: none;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand--main { flex-shrink: 0; }
.brand-logo {
  height: 60px;
  width: auto;
  max-height: 60px;
  object-fit: contain;
  transition: height 0.35s ease, max-height 0.35s ease;
}
.brand-slogan {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
}
.brand-slogan__img {
  height: 54px;
  width: auto;
  max-width: min(420px, 48vw);
  object-fit: contain;
  object-position: left center;
}
.brand-mark {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 1rem;
}
.brand-text strong { font-size: 1.15rem; color: var(--blue-dark); }
.brand-text em { font-style: normal; font-size: .82rem; color: var(--ink-soft); }

/* ---- جستجو / اکشن‌ها در ردیف منو (سمت چپ) ---- */
.header-end {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  margin-inline-start: auto;
  max-width: none;
  position: relative;
  z-index: 90;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s, color .2s;
}

.header-action:hover,
.header-action:focus-visible {
  background: rgba(184, 61, 94, .08);
  color: var(--accent, #b83d5e);
}

.header-cart-badge {
  position: absolute;
  top: 2px;
  left: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--accent, #b83d5e);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.header-cart-badge.is-empty {
  display: none;
}

.header-cart-wrap {
  position: relative;
  flex-shrink: 0;
}

.header-action--cart {
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.header-action--cart[aria-expanded="true"] {
  background: rgba(184, 61, 94, .1);
  color: var(--accent, #b83d5e);
}

button.mobile-nav__link--cart {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
  font: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
}

.header-search--desktop {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 420px;
}
.header-search__form {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  background: var(--blue-pale, #E3F2FD);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 6px 0 4px;
  transition: background .2s, border-color .2s, box-shadow .2s, width .25s;
  width: 100%;
}
.header-search__form:focus-within {
  background: #fff;
  border-color: var(--blue, #1565C0);
  box-shadow: 0 0 0 3px rgba(21, 101, 192, .12);
  width: 220px;
}
.header-search__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  color: var(--ink-soft, #64748b);
  font-size: .85rem;
  flex-shrink: 0;
  pointer-events: none;
}
.header-search__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 2px;
  outline: none;
}
.header-search__input::placeholder {
  color: var(--ink-soft, #94a3b8);
  font-weight: 500;
}
.header-search__input::-webkit-search-decoration,
.header-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}
.header-search__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: var(--blue, #1565C0);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.header-search__submit:hover {
  background: var(--blue-dark, #0D47A1);
}
.header-search__submit:active {
  transform: scale(.96);
}
.header-search-trigger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--blue-dark, #0D47A1);
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}
.header-search-trigger:hover,
.header-search-trigger:focus-visible {
  background: var(--blue-pale, #E3F2FD);
  color: var(--blue, #1565C0);
  outline: none;
}

.header-mobile-tools {
  display: none;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.header-action--cart-mobile {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(184, 61, 94, .12);
  color: var(--accent, #b83d5e);
  border: 1px solid rgba(184, 61, 94, .28);
}

.header-action--cart-mobile .header-cart-badge {
  top: -3px;
  left: -3px;
  min-width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 12px;
  box-shadow: 0 2px 8px rgba(184, 61, 94, .4);
}

.eitaa-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  object-fit: contain;
  vertical-align: middle;
  flex-shrink: 0;
  background: #fff;
  border-radius: 6px;
  padding: 2px;
  box-sizing: content-box;
}
.eitaa-icon--top { width: 16px; height: 16px; padding: 0; background: transparent; }
.eitaa-icon--store { width: 20px; height: 20px; padding: 0; background: transparent; }
.eitaa-icon--footer {
  width: 18px;
  height: 18px;
  margin-top: 0;
  padding: 5px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .18);
}
.eitaa-icon--float { width: 28px; height: 28px; padding: 0; background: transparent; }
.eitaa-icon--share { width: 18px; height: 18px; padding: 0; background: transparent; }

/* شیت جستجوی موبایل */
.search-mobile-sheet {
  display: none;
}
.search-mobile-sheet[hidden] {
  display: none !important;
}

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; padding: 8px; flex-shrink: 0;
  width: 44px; height: 44px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--blue-dark); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- هدر فشرده هنگام اسکرول (بدون لرزش layout) ---- */
body.is-scrolled .site-top {
  box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
}
body.is-scrolled .top-bar-slot {
  height: 0;
}
body.is-scrolled .top-bar {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}
body.is-scrolled .header-brand-bar__inner {
  padding-block: 6px;
  min-height: 58px;
  gap: 12px 16px;
}
body.is-scrolled .header-inner {
  padding-block: 4px;
  gap: 8px 12px;
}
body.is-scrolled .brand-logo {
  height: 44px;
  max-height: 44px;
}
body.is-scrolled .brand-slogan__img {
  height: 40px;
}
body.is-scrolled .brand-mark {
  width: 44px;
  height: 44px;
  font-size: .88rem;
}
body.is-scrolled .header-nav-bar__inner {
  min-height: 40px;
}
body.is-scrolled .desktop-nav .nav-link {
  padding-block: 9px;
  font-size: .8rem;
}

/* ===================== HERO ===================== */
.hero-banner { position: relative; overflow: hidden; background: var(--bg-soft); }
.hero-banner__slider { position: relative; width: 100%; }
.hero-banner__slide {
  position: absolute; inset: 0; opacity: 0;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .8s ease; pointer-events: none;
  background: var(--bg-soft);
}
.hero-banner__slide.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-banner__slide picture,
.hero-banner__slide img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
.hero-banner__fallback-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(201,162,39,.18), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(31,107,74,.22), transparent 45%),
    linear-gradient(135deg, #eef7f1 0%, #f4f8f5 45%, #fff 100%);
}
.hero-banner--fallback .hero-banner__slide {
  position: relative;
  min-height: clamp(220px, 28vw, 320px);
}
.hero-banner__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(270deg, rgba(255,255,255,.05) 30%, rgba(21,101,192,.08) 100%);
  display: flex; align-items: center; justify-content: flex-end;
}
.hero-banner__content {
  width: min(100%, 520px); margin-inline-start: auto; padding: 32px 48px 32px 24px;
  text-align: right;
}
.hero-banner__content h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: var(--blue-dark); line-height: 1.35; margin-bottom: 10px;
}
.hero-banner__content h1 .text-accent { color: var(--blue); }
.hero-banner__content p {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: var(--ink-soft); margin: 0; line-height: 1.8;
}
.hero-banner__dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5;
}
.hero-banner__dot {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: rgba(21,101,192,.35); cursor: pointer;
}
.hero-banner__dot.is-active { background: var(--blue); transform: scale(1.15); }

/* ===================== ABOUT ===================== */
.about-section {
  padding-block: 56px;
  background:
    repeating-linear-gradient(45deg, rgba(21,101,192,.03) 0 1px, transparent 1px 20px),
    repeating-linear-gradient(-45deg, rgba(21,101,192,.03) 0 1px, transparent 1px 20px),
    var(--bg-soft);
}
.about-inner {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 40px; align-items: center;
}
.about-copy h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); margin-bottom: 14px; color: var(--ink); }
.about-copy .about-text { color: var(--ink-soft); font-size: .94rem; line-height: 1.95; text-align: justify; }
.about-buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.about-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-media__placeholder {
  aspect-ratio: 1.1/1; border-radius: var(--radius);
  background: linear-gradient(145deg, var(--blue-pale), #fff);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 4rem; box-shadow: var(--shadow-md);
}

/* ===================== PARTNERS ===================== */
.partners-section { padding-block: 28px; background: #fff; border-block: 1px solid var(--border); }
.partners-shell { position: relative; display: flex; align-items: center; gap: 8px; }
.partners-swiper { flex: 1; overflow: hidden; }
.partners-swiper .swiper-slide {
  display: flex; align-items: center; justify-content: center; height: 100px;
}
.partners-swiper img {
  max-height: 80px; max-width: 180px; object-fit: contain;
  filter: grayscale(.4); opacity: .8; transition: filter .2s, opacity .2s;
}
.partners-swiper .swiper-slide:hover img { filter: none; opacity: 1; }
.partner-placeholder {
  font-size: .8rem; font-weight: 700; color: var(--ink-soft);
  padding: 10px 16px; border: 1px dashed var(--border); border-radius: 8px;
}
.partners-nav {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border); background: #fff; color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.partners-nav:hover { background: var(--blue); color: #fff; }

/* ===================== SERVICE BANNERS ===================== */
.service-banners { padding-block: 40px; background: #fff; }
.service-banners-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  display: block; background: var(--bg-soft);
  box-shadow: var(--shadow-md);
  transition: transform .25s, box-shadow .25s;
}
.service-banner:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -10px rgba(15,61,46,.28); }
.service-banner img {
  display: block; width: 100%; height: auto;
  max-width: 100%; object-fit: contain; object-position: center;
}
.service-banner--gradient {
  background: linear-gradient(135deg, #1f6b4a 0%, #0f3d2e 45%, #c9a227 160%);
  min-height: 160px;
}
.service-banner--dark {
  background: linear-gradient(135deg, #0f3d2e 0%, #1f6b4a 100%);
  min-height: 160px;
}
.service-banner__fallback {
  display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center;
  min-height: 160px; padding: 24px;
  color: #fff; font-size: 1.2rem; font-weight: 800; text-align: center;
}
.service-banner__fallback small { font-size: .9rem; font-weight: 500; color: var(--gold-soft); }

/* ===================== ARTICLES (HOME) ===================== */
.about-section { background: var(--bg-soft); }
.about-kicker {
  display: inline-block; margin: 0 0 8px;
  color: var(--gold-dark); font-weight: 800; font-size: .85rem;
  letter-spacing: .04em;
}
.products-section { padding-block: 48px 56px; background: #fff; }
.products-section--featured { background: linear-gradient(180deg, #eef7f1 0%, #fff 70%); }
.products-section--more { background: #fff; }
.products-section .section-line span { background: transparent; }
.section-head--products {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-bottom: 28px; flex-wrap: wrap;
}
.section-more {
  color: var(--blue); font-weight: 700; font-size: .9rem;
  border-bottom: 1px solid var(--gold);
}
.section-more:hover { color: var(--gold-dark); }
.children-grid--home {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 992px) {
  .children-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .children-grid--home { grid-template-columns: 1fr; }
}
.articles-section { padding-block: 56px 64px; background: #fff; }
.section-head--articles { position: relative; margin-bottom: 36px; text-align: center; }
.section-head--articles::before {
  content: ""; position: absolute; top: 50%; right: 0; left: 0;
  border-top: 2px dashed #d0d7de; transform: translateY(-50%); z-index: 0;
}
.section-head--articles .section-line span {
  position: relative; z-index: 1; display: inline-block;
  background: #fff; padding: 0 28px;
  font-size: 1.45rem; font-weight: 800; color: var(--blue-dark);
}
.articles-grid--home {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.article-card--home {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s;
}
.article-card--home:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.article-card--home .article-card__media {
  display: block; aspect-ratio: 16/10; background: var(--blue-pale); overflow: hidden;
}
.article-card--home .article-card__media img { width: 100%; height: 100%; object-fit: cover; }
.article-card--home .article-card__placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%; color: var(--blue); font-size: 2rem;
}
.article-card--home .article-card__body {
  padding: 14px 16px 18px; text-align: center; border-top: 1px solid var(--border);
}
.article-card--home .article-card__title {
  font-size: .88rem; font-weight: 700; line-height: 1.65; margin: 0;
}
.article-card--home .article-card__title a { color: var(--ink); }
.article-card--home .article-card__title a:hover { color: var(--blue); }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s; }
[data-reveal].is-visible { opacity: 1; transform: none; }
.text-accent { color: var(--blue); }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--footer-bg); color: rgba(255,255,255,.88); padding-block: 44px 0; }
.site-footer, .site-footer p, .site-footer span, .site-footer a, .site-footer h4 {
  color: rgba(255,255,255,.88) !important;
}
.site-footer a:hover { color: var(--blue-light) !important; }
.footer-grid--3 {
  display: grid; grid-template-columns: 1.2fr 1fr .7fr;
  gap: 32px; padding-bottom: 32px; align-items: start;
}
.footer-col h4 { color: #fff !important; font-size: .95rem; margin-bottom: 16px; font-weight: 800; }
.footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.footer-col a, .footer-col span { font-size: .84rem; line-height: 1.75; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.footer-contact-item i { color: var(--blue-light); margin-top: 3px; }
.footer-col--brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.footer-enamad {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}
.footer-enamad__link {
  display: inline-block;
  line-height: 0;
}
.footer-enamad__img {
  width: 112px;
  height: 120px;
  max-width: 112px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.footer-brand-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.footer-brand-link:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.3);
}
.footer-brand-logo {
  max-height: 88px; width: auto; max-width: 200px;
  object-fit: contain;
  border-radius: 14px;
  filter: brightness(1.08);
}
.brand-mark--footer { width: 72px; height: 72px; font-size: 1rem; }
.footer-bar { background: var(--blue-bar); padding: 12px 24px; text-align: center; }
.footer-bar p { margin: 0; font-size: .8rem; color: rgba(255,255,255,.92) !important; }
.footer-bar a { color: #fff !important; font-weight: 600; }

/* ===================== FLOATING ===================== */
.float-actions {
  position: fixed; bottom: 22px; left: 22px; z-index: 60;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.35rem;
  box-shadow: 0 8px 22px -4px rgba(0,0,0,.35);
}
.float-btn--phone { background: var(--blue); }
.float-btn--whatsapp { background: #25D366; }
.float-btn--eitaa {
  background: #fff;
  width: 56px;
  min-width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(15, 23, 42, .1);
  box-shadow: 0 8px 22px -4px rgba(0, 0, 0, .2);
}
.float-btn--eitaa:hover {
  background: #fff7ed;
  border-color: #fdba74;
}
.float-btn__label { line-height: 1; }
.to-top {
  position: fixed; bottom: 22px; right: 22px; z-index: 60;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.to-top.visible { opacity: 1; pointer-events: auto; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .desktop-nav .nav-link { font-size: .78rem; padding: 11px 10px; }
  .brand-slogan__img { max-width: min(300px, 30vw); height: 44px; }
  .articles-grid--home { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-header { backdrop-filter: none; }
  .header-nav-bar { display: none !important; }
  .header-brand-bar__inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) minmax(0, 1.05fr) auto;
    align-items: center;
    gap: 6px;
    min-height: 58px;
    padding-block: 6px;
  }
  .header-mobile-tools {
    display: inline-flex;
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
  }
  .header-brand-bar .header-search-trigger {
    display: flex;
  }
  .nav-toggle {
    display: flex;
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .brand--main {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin: 0;
    min-width: 0;
  }
  .brand-slogan {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin: 0;
    max-width: 100%;
  }
  .brand-slogan__img {
    height: 34px;
    max-width: 100%;
  }
  .brand-logo {
    height: 42px;
    max-height: 42px;
    transition: height .3s ease, max-height .3s ease;
  }
  body.is-scrolled .brand-logo {
    height: 36px;
    max-height: 36px;
  }
  body.is-scrolled .brand-slogan__img { height: 28px; }
  body.is-scrolled .header-brand-bar__inner,
  body.is-scrolled .header-inner { padding-block: 4px; }

  /* شیت جستجو — تمام‌عرض، یک ردیف ورودی + بستن */
  .search-mobile-sheet {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 600;
    pointer-events: none;
    visibility: hidden;
  }
  .search-mobile-sheet.is-open {
    pointer-events: auto;
    visibility: visible;
  }
  .search-mobile-sheet[hidden] {
    display: none !important;
  }
  .search-mobile-sheet.is-open[hidden] {
    display: block !important;
  }
  .search-mobile-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    opacity: 0;
    transition: opacity .25s ease;
  }
  .search-mobile-sheet.is-open .search-mobile-sheet__backdrop {
    opacity: 1;
  }
  .search-mobile-sheet__panel {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    padding: max(10px, env(safe-area-inset-top, 0px)) 12px 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
    transform: translateY(-10px);
    opacity: 0;
    transition: transform .28s cubic-bezier(.32, .72, 0, 1), opacity .22s ease;
  }
  .search-mobile-sheet.is-open .search-mobile-sheet__panel {
    transform: translateY(0);
    opacity: 1;
  }
  .search-mobile-sheet__bar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .search-mobile-sheet__form {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    background: #f1f5f9;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 4px 10px 4px 4px;
    transition: background .2s, border-color .2s, box-shadow .2s;
  }
  .search-mobile-sheet__form:focus-within {
    background: #fff;
    border-color: var(--blue, #1565C0);
    box-shadow: 0 0 0 3px rgba(21, 101, 192, .15);
  }
  .search-mobile-sheet__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    flex-shrink: 0;
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
  }
  .search-mobile-sheet__input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 16px; /* جلوگیری از زوم iOS */
    font-weight: 600;
    color: var(--ink, #0f172a);
    padding: 12px 4px;
    outline: none;
  }
  .search-mobile-sheet__input::placeholder {
    color: #94a3b8;
    font-weight: 500;
  }
  .search-mobile-sheet__input::-webkit-search-decoration,
  .search-mobile-sheet__input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
  }
  .search-mobile-sheet__go {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 0;
    border-radius: 12px;
    background: var(--blue, #1565C0);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
  }
  .search-mobile-sheet__go:active {
    transform: scale(.97);
  }
  .search-mobile-sheet__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border: 0;
    border-radius: 12px;
    background: #e2e8f0;
    color: #334155;
    font-size: 1.15rem;
    cursor: pointer;
  }
  .search-mobile-sheet__close:active {
    background: #cbd5e1;
  }
  .search-mobile-sheet__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: 100%;
    max-height: min(60vh, 440px);
    z-index: 2;
  }

  /* ---- کشوی موبایل — جدا از header ---- */
  .mobile-nav-layer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 500;
    pointer-events: none;
    visibility: hidden;
  }
  .mobile-nav-layer.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .52);
    opacity: 0;
    transition: opacity .28s ease;
  }
  .mobile-nav-layer.is-open .mobile-nav-backdrop { opacity: 1; }

  .mobile-nav-drawer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.32, .72, 0, 1);
  }
  .mobile-nav-layer.is-open .mobile-nav-drawer { transform: translateX(0); }

  .mobile-nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-soft);
    flex-shrink: 0;
  }
  .mobile-nav-drawer__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--blue-dark);
  }
  .mobile-nav-drawer__close {
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
  }

  .mobile-nav-drawer__body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 0;
  }

  .mobile-nav__item {
    border-bottom: 1px solid var(--border);
  }
  .mobile-nav__item.has-submenu {
    display: grid;
    grid-template-columns: 1fr 48px;
    grid-template-rows: auto auto;
  }
  .mobile-nav__link {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    font-size: .94rem;
    font-weight: 600;
    color: var(--ink);
    grid-column: 1;
  }
  .mobile-nav__item:not(.has-submenu) .mobile-nav__link {
    grid-column: 1 / -1;
  }
  .mobile-nav__subtoggle {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    min-height: 52px;
    border: 0;
    border-inline-start: 1px solid var(--border);
    background: var(--bg-soft);
    color: var(--blue);
    font-size: .8rem;
    transition: transform .2s;
  }
  .mobile-nav__item.is-open > .mobile-nav__subtoggle {
    transform: rotate(180deg);
  }
  .mobile-nav__sub {
    grid-column: 1 / -1;
    display: none;
    flex-direction: column;
    background: var(--bg-soft);
    padding: 4px 0 10px;
  }
  .mobile-nav__item.is-open > .mobile-nav__sub { display: flex; }
  .mobile-nav__sublink {
    display: block;
    padding: 12px 18px 12px 28px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--ink-soft);
    border-bottom: 1px solid rgba(0, 0, 0, .04);
  }
  .mobile-nav__sublink:last-child { border-bottom: 0; }
  .mobile-nav__sublink:hover { color: var(--blue); background: rgba(21, 101, 192, .06); }

  .mobile-nav-drawer__foot {
    flex-shrink: 0;
    padding: 14px 18px 20px;
    border-top: 1px solid var(--border);
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .mobile-nav-drawer__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-weight: 700;
    color: var(--ink);
  }
  .mobile-nav-drawer__phone i { color: var(--blue); width: 20px; text-align: center; }

  .about-inner { grid-template-columns: 1fr; }
  .about-media { order: -1; max-width: 360px; margin: 0 auto; }
  .service-banners-grid { grid-template-columns: 1fr; }
  .footer-grid--3 { grid-template-columns: 1fr 1fr; }
  .footer-col--brand { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 600px) {
  .top-bar-phones a .phone-display { font-size: .88rem; }
  .articles-grid--home { grid-template-columns: 1fr; }
  .footer-grid--3, .footer-links-grid { grid-template-columns: 1fr; }
  .about-buttons { flex-direction: column; }
  .about-buttons .btn-service { width: 100%; justify-content: center; }
  .hero-banner__content { padding: 24px; }
  .partners-nav { display: none; }
}
body.nav-open { overflow: hidden; }

/* ===================== STORY RAIL (سبک اینستا — سبک‌وزن) ===================== */
.story-rail {
  padding: 22px 0 6px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.story-rail__track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 2px 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.story-item {
  flex: 0 0 auto;
  width: 86px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-align: center;
  scroll-snap-align: start;
  transition: transform .2s;
}
.story-item:hover { transform: translateY(-2px); }
.story-item__ring {
  display: block;
  width: 76px; height: 76px;
  margin: 0 auto 8px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a227, #1f6b4a 55%, #c9a227);
}
.story-item__img {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: #f3f6f4;
  border: 2px solid #fff;
}
.story-item__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  content-visibility: auto;
}
.story-item__img i { color: var(--blue); font-size: 1.25rem; }
.story-item__label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  max-height: 2.7em;
  overflow: hidden;
}

.story-viewer {
  position: fixed; inset: 0; z-index: 900;
  display: flex; align-items: center; justify-content: center;
}
.story-viewer[hidden] { display: none !important; }
.story-viewer__backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 20, 16, .88);
}
.story-viewer__shell {
  position: relative;
  width: min(420px, 100vw);
  height: min(780px, 100vh);
  background: #0b1f18;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}
.story-viewer__progress {
  position: absolute; top: 10px; left: 10px; right: 10px; z-index: 3;
  display: flex; gap: 4px;
}
.story-viewer__progress i {
  flex: 1; height: 3px; border-radius: 99px;
  background: rgba(255,255,255,.25); overflow: hidden;
}
.story-viewer__progress i em {
  display: block; height: 100%; width: 0;
  background: #fff; border-radius: inherit;
}
.story-viewer__progress i.is-done em { width: 100%; }
.story-viewer__progress i.is-active em { animation: storyFill linear forwards; }
@keyframes storyFill { from { width: 0 } to { width: 100% } }
.story-viewer__close {
  position: absolute; top: 22px; left: 12px; z-index: 4;
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: rgba(0,0,0,.35); color: #fff; cursor: pointer;
}
.story-viewer__nav {
  position: absolute; top: 0; bottom: 0; width: 42%; z-index: 2;
  border: 0; background: transparent; cursor: pointer;
}
.story-viewer__nav--prev { right: 0; }
.story-viewer__nav--next { left: 0; }
.story-viewer__media {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: #0b1f18;
}
.story-viewer__media img,
.story-viewer__media video {
  width: 100%; height: 100%;
  object-fit: contain;
  background: #0b1f18;
}
.story-viewer__foot {
  position: absolute; right: 0; left: 0; bottom: 0; z-index: 3;
  padding: 18px 16px 22px;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.story-viewer__foot strong { font-size: .95rem; }
.story-viewer__cta {
  flex-shrink: 0;
  background: var(--gold);
  color: #0f3d2e;
  font-weight: 800;
  font-size: .82rem;
  padding: .55em 1em;
  border-radius: 999px;
}
.story-viewer__cta[hidden] { display: none !important; }
body.story-open { overflow: hidden; }

/* ===================== SMS CTA ===================== */
.sms-cta {
  padding: 56px 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(201,162,39,.12), transparent 45%),
    linear-gradient(180deg, #f4f8f6 0%, #eaf3ee 100%);
}
.sms-cta__card {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(15, 61, 46, .1);
  box-shadow: 0 18px 40px rgba(15, 61, 46, .08);
  position: relative;
  overflow: hidden;
}
.sms-cta__card::before {
  content: '';
  position: absolute;
  inset-inline-end: -40px;
  inset-block-start: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,39,.2), transparent 70%);
  pointer-events: none;
}
.sms-cta__copy {
  position: relative;
  z-index: 1;
}
.sms-cta__copy h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  margin: 0 0 12px;
  line-height: 1.45;
  color: #0f3d2e;
  font-weight: 800;
}
.sms-cta__copy p {
  margin: 0;
  color: #35584a;
  line-height: 1.85;
  font-size: 1.02rem;
  max-width: 36em;
}
.sms-cta__form { position: relative; z-index: 1; }
.sms-cta__fields {
  display: flex;
  gap: 8px;
  background: #f3f7f5;
  border: 1px solid rgba(15, 61, 46, .12);
  border-radius: 999px;
  padding: 6px;
  box-shadow: inset 0 1px 2px rgba(15,61,46,.04);
}
.sms-cta__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #0f3d2e;
  padding: 14px 18px;
  font-size: 1.05rem;
  font-weight: 700;
  direction: ltr;
  text-align: left;
  unicode-bidi: isolate;
}
.sms-cta__input::placeholder { color: #7a9589; font-weight: 600; }
.sms-cta__btn {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f6b4a, #0f3d2e);
  color: #fff;
  font-weight: 800;
  padding: 0 26px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(15,61,46,.2);
}
.sms-cta__btn:hover { filter: brightness(1.06); }
.sms-cta__hint {
  min-height: 1.4em;
  margin: 12px 8px 0;
  font-size: .9rem;
  color: #1f6b4a;
  font-weight: 700;
}
@media (max-width: 800px) {
  .sms-cta__card { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
  .sms-cta__fields { flex-direction: column; border-radius: 18px; }
  .sms-cta__btn { height: 50px; }
  .story-viewer__shell { width: 100vw; height: 100vh; border-radius: 0; }
}

/* ===================== STORE INFO (قبل از فوتر) ===================== */
.store-info {
  padding: 48px 0 8px;
  background: linear-gradient(180deg, #f7faf8, #eef5f1);
}
.store-info__card {
  background: #fff;
  border: 1px solid rgba(15,61,46,.1);
  border-radius: 22px;
  padding: 28px 32px;
  box-shadow: 0 14px 34px rgba(15,61,46,.06);
}
.store-info__head h2 {
  margin: 0 0 16px;
  color: #0f3d2e;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 800;
}
.store-info__body {
  color: #2d4f42;
  line-height: 2;
  font-size: .98rem;
  white-space: normal;
}
.store-info__actions {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.store-info__eitaa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #9a3412 !important;
  font-weight: 800;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid #fdba74;
  box-shadow: 0 8px 18px rgba(154, 52, 18, .1);
}
.store-info__eitaa:hover {
  background: #fff7ed;
}
.store-info__eitaa span {
  opacity: .92;
  font-size: .85rem;
  font-weight: 700;
  color: #7c2d12;
}
@media (max-width: 700px) {
  .store-info__card { padding: 22px 18px; }
  .desktop-nav .submenu--mega {
    width: min(100vw - 24px, 920px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ===================== CATEGORY CIRCLES (legacy) ===================== */
.cat-circles {
  padding: 28px 0 8px;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.cat-circles__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 8px 4px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.cat-circle {
  flex: 0 0 auto;
  width: 92px;
  text-align: center;
  scroll-snap-align: start;
  transition: transform .2s;
}
.cat-circle:hover { transform: translateY(-3px); }
.cat-circle__img {
  width: 78px; height: 78px; margin: 0 auto 10px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--blue-pale);
  border: 2px solid var(--gold-soft);
  box-shadow: 0 6px 16px rgba(15,61,46,.08);
}
.cat-circle__img img {
  width: 100%; height: 100%; object-fit: cover;
}
.cat-circle__img i { color: var(--blue); font-size: 1.4rem; }
.cat-circle__label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}

/* ===================== CATEGORY BANNERS ===================== */
.cat-banners { padding: 48px 0; background: var(--bg-soft); }
.cat-banners__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cat-banner {
  position: relative;
  display: block;
  min-height: 210px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--blue-dark);
  box-shadow: var(--shadow-sm);
}
.cat-banner img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.cat-banner:hover img { transform: scale(1.05); }
.cat-banner__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  gap: 4px; padding: 18px;
  background: linear-gradient(180deg, transparent 30%, rgba(15,61,46,.82) 100%);
  color: #fff;
}
.cat-banner__overlay strong { font-size: 1.05rem; }
.cat-banner__overlay em {
  font-style: normal; font-size: .8rem;
  color: var(--gold-soft); font-weight: 600;
}
.cat-banner--0 { background: linear-gradient(145deg, #0f3d2e, #1f6b4a); }
.cat-banner--1 { background: linear-gradient(145deg, #1f6b4a, #3d9b6e); }
.cat-banner--2 { background: linear-gradient(145deg, #0f3d2e, #c9a227); }
.cat-banner--3 { background: linear-gradient(145deg, #145c40, #0f3d2e); }

/* ===================== OFFERS / FLASH SALE ===================== */
.offers-section {
  padding: 48px 0 56px;
  background:
    radial-gradient(circle at 10% 20%, rgba(201,162,39,.22), transparent 40%),
    linear-gradient(135deg, #0f3d2e 0%, #1f6b4a 55%, #145c40 100%);
  color: #fff;
}
.offers-head { margin-bottom: 28px; }
.offers-head__badge {
  display: inline-block;
  background: var(--gold);
  color: #0f3d2e;
  font-size: .78rem; font-weight: 800;
  padding: .35em .9em; border-radius: 999px;
  margin-bottom: 10px;
}
.offers-head h2 {
  color: #fff; font-size: 1.6rem; margin: 0 0 6px;
}
.offers-head p { margin: 0; color: rgba(255,255,255,.82); }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.offer-card {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .25s;
}
.offer-card:hover { transform: translateY(-4px); }
.offer-card__discount {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  background: var(--gold);
  color: #0f3d2e;
  font-weight: 800; font-size: .8rem;
  padding: .3em .55em; border-radius: 8px;
}
.offer-card__img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--blue-pale);
}
.offer-card__body { padding: 12px 14px 16px; }
.offer-card__title {
  font-size: .9rem; font-weight: 700; margin: 0 0 8px;
  line-height: 1.5; color: var(--ink);
}
.offer-card__price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
}
.offer-card__price del {
  color: var(--ink-soft); font-size: .8rem;
}
.offer-card__price strong {
  color: var(--blue-dark); font-size: .95rem;
}
.offer-card__days {
  display: inline-block; margin-top: 8px;
  font-size: .78rem; font-weight: 700;
  color: var(--gold-dark);
}

.hero-brand {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: .95rem;
  margin: 0 0 8px !important;
}
.site-footer a:hover { color: var(--gold) !important; }
.site-footer h4 { color: var(--gold-soft); }

@media (max-width: 992px) {
  .cat-banners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .top-bar-promo { display: none; }
}
@media (max-width: 600px) {
  .cat-banners__grid,
  .offers-grid { grid-template-columns: 1fr; }
  .cat-circle { width: 78px; }
  .cat-circle__img { width: 66px; height: 66px; }
}
