/* ═══════════════════════════════════════════════════════════
   ارتباط آی تی — ری‌دیزاین صفحه اصلی (نسخه ۲)
   هدر دو لایه + هیرو اسلایدر + Iconsax + باتم نویگیشن موبایل
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #F7F7FC;
  --surface: #FFFFFF;
  --ink: #16142B;
  --muted: #63617E;
  --line: #E9E6F6;
  --line-strong: #DDD9F0;

  --purple-700: #6D28D9;
  --purple-600: #7C3AED;
  --purple-500: #8B5CF6;
  --purple-400: #A78BFA;
  --purple-100: #EDE7FE;
  --purple-50:  #F5F0FF;

  --blue-700: #1D4ED8;
  --blue-600: #2563EB;
  --blue-500: #3B82F6;
  --blue-100: #DBEAFE;
  --blue-50:  #EFF5FF;

  --orange-700: #C2410C;
  --orange-600: #EA580C;
  --orange-500: #F97316;
  --orange-400: #FB923C;
  --orange-100: #FFEDD5;
  --orange-50:  #FFF6EE;

  --grad-main: linear-gradient(120deg, var(--purple-600), var(--blue-600));
  --grad-orange: linear-gradient(120deg, var(--orange-500), var(--orange-600));
  --grad-text: linear-gradient(100deg, var(--purple-600) 10%, var(--blue-600) 90%);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 2px 10px -2px rgba(67, 40, 150, .10);
  --shadow-md: 0 14px 34px -14px rgba(67, 40, 150, .22);
  --shadow-lg: 0 28px 60px -24px rgba(67, 40, 150, .30);
  --ring: 0 0 0 4px rgba(124, 58, 237, .14);

  --header-top-h: 76px;
  --header-nav-h: 58px;
  --bnav-h: 68px;
}

/* ─────────── پایه ─────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: "Vazirmatn", -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }

::selection { background: var(--purple-600); color: #fff; }
:focus-visible { outline: 3px solid rgba(124, 58, 237, .45); outline-offset: 2px; border-radius: 6px; }

.container { max-width: 1240px; margin-inline: auto; padding-inline: 20px; }

/* آیکون‌های Iconsax */
i.isax { display: inline-flex; line-height: 1; font-size: 18px; font-style: normal; }

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.section { padding-block: 46px; }

/* رنگ‌آمیزی آیکن‌باکس‌ها */
.ico--blue { background: var(--blue-50) !important; color: var(--blue-600) !important; }
.ico--orange { background: var(--orange-50) !important; color: var(--orange-600) !important; }

/* ─────────── دکمه‌ها ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn i.isax { font-size: 18px; }

.btn--primary {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(109, 40, 217, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(109, 40, 217, .6); }

.btn--orange {
  background: var(--grad-orange);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(234, 88, 12, .55);
}
.btn--orange:hover { transform: translateY(-2px); }

.btn--ghost {
  background: rgba(255, 255, 255, .75);
  color: var(--purple-700);
  box-shadow: inset 0 0 0 1.5px rgba(124, 58, 237, .35);
}
.btn--ghost:hover { background: var(--purple-50); box-shadow: inset 0 0 0 1.5px var(--purple-600); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--ink); box-shadow: var(--shadow-md); }
.btn--light:hover { transform: translateY(-2px); }
.btn--light i.isax { color: var(--orange-600); }

.btn--lg { padding: 14px 28px; font-size: 16px; border-radius: 16px; }
.btn--mini { padding: 8px 16px; font-size: 13.5px; border-radius: 10px; }
.btn--block { width: 100%; }

.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.icon-btn i.isax { font-size: 20px; }
.icon-btn:hover { color: var(--purple-600); border-color: var(--purple-400); background: var(--purple-50); transform: translateY(-1px); }

/* ═══════════════ نوار اطلاعیه ═══════════════ */
.topbar {
  background: var(--grad-main);
  color: #EDE9FE;
  font-size: 13px;
  overflow: hidden;
  position: relative;
  z-index: 60;
}
.topbar-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.topbar:hover .topbar-track { animation-play-state: paused; }
.topbar-group { display: flex; align-items: center; gap: 56px; height: 40px; padding-inline: 28px; }
.topbar-item { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--purple-400); }
.dot--orange { background: var(--orange-400); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════════ هدر دو لایه ═══════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }

/* لایه اول */
.header-top-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-top-h);
}

.menu-toggle { display: none; flex-shrink: 0; }

.brand-logo { flex-shrink: 0; display: inline-flex; }
.brand-logo img {
  width: 52px; height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(109, 40, 217, .18));
  transition: transform .3s;
}
.brand-logo:hover img { transform: scale(1.06); }

.header-search {
  flex: 1;
  min-width: 0;
  max-width: 580px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 5px 5px 5px 18px;
  padding-inline-start: 18px;
  height: 54px;
  transition: border-color .25s, box-shadow .25s;
}
.header-search:focus-within { border-color: var(--purple-400); box-shadow: var(--ring); }
.header-search .search-ico { font-size: 19px; color: var(--muted); flex-shrink: 0; }
.header-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
  min-width: 0;
}
.header-search input::placeholder { color: #A9A6C2; }
.search-submit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--grad-main);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 20px;
  height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  transition: transform .2s, box-shadow .2s;
}
.search-submit i.isax { font-size: 16px; }
.search-submit:hover { transform: translateY(-1px); box-shadow: 0 6px 14px -6px rgba(109, 40, 217, .6); }

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

.auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  height: 48px;
  border-radius: 14px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--purple-700);
  font-size: 13.5px;
  font-weight: 800;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.auth-btn i.isax { font-size: 18px; }
.auth-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); background: var(--purple-100); }

.cart-btn {
  position: relative;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  transition: color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.cart-btn i.isax { font-size: 21px; }
.cart-btn:hover { color: var(--purple-600); border-color: var(--purple-400); transform: translateY(-1px); }
.cart-badge {
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  width: 21px; height: 21px;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 4px 10px -3px rgba(234, 88, 12, .6);
}

/* لایه دوم: منو */
.header-nav { border-top: 1px solid var(--line); }
.header-nav .container { height: var(--header-nav-h); }

.main-nav { height: 100%; }
.main-nav > ul { display: flex; align-items: center; gap: 4px; height: 100%; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s, background .2s, box-shadow .25s;
  position: relative;
  height: 42px;
}
.nav-link i.isax { font-size: 17px; opacity: .85; }
.nav-link:hover { color: var(--purple-700); background: var(--purple-50); }

/* حالت فعال: قرص گرادیانتی */
.nav-link.is-active {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(109, 40, 217, .55);
}
.nav-link.is-active i.isax { opacity: 1; }
.nav-link.is-active:hover { color: #fff; background: var(--grad-main); }

.nav-link .chev { font-size: 15px; transition: transform .25s; }

/* مگا منوی تب‌دار */
.has-mega { position: relative; }

.mega {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-start: -30px;
  width: min(900px, calc(100vw - 48px));
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 40;
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr) 218px;
  gap: 18px;
}
.mega::before { content: ""; position: absolute; top: -14px; inset-inline-start: 0; width: 100%; height: 14px; }
.has-mega:hover .mega,
.has-mega:focus-within .mega,
.has-mega.is-open .mega { opacity: 1; visibility: visible; transform: translateY(0); }
.has-mega:hover .chev { transform: rotate(180deg); }

/* لایه ۱: تب‌های دسته‌بندی */
.mega-tabs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-inline-end: 16px;
  border-inline-end: 1px solid var(--line);
}
.mega-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: start;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  transition: background .25s, border-color .25s;
}
.mega-tab .mt-ico {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--purple-50);
  color: var(--purple-600);
  flex-shrink: 0;
  transition: background .25s, color .25s;
}
.mega-tab .mt-ico i.isax { font-size: 19px; }
.mega-tab .mt-ico--blue { background: var(--blue-50); color: var(--blue-600); }
.mega-tab .mt-ico--orange { background: var(--orange-50); color: var(--orange-600); }
.mega-tab .mt-txt { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 800; color: var(--ink); line-height: 1.6; }
.mega-tab .mt-txt small { display: block; font-size: 11px; font-weight: 500; color: var(--muted); }
.mega-tab .mt-chev { font-size: 15px; color: #B0ADC9; opacity: 0; transform: translateX(-5px); transition: opacity .25s, transform .25s; }
.mega-tab:hover, .mega-tab.is-active { background: var(--purple-50); border-color: var(--purple-100); }
.mega-tab.is-active .mt-ico { background: var(--grad-main); color: #fff; }
.mega-tab.is-active .mt-chev { opacity: 1; transform: translateX(0); color: var(--purple-500); }
.mega-tab.is-active::before {
  content: "";
  position: absolute;
  inset-inline-end: -19px;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 62%;
  border-radius: 6px;
  background: var(--grad-main);
}
.mega-tab--soon { opacity: .62; }
.mega-tab--soon .mt-ico { background: var(--bg); color: var(--muted); }
.mt-soon {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}

/* لایه ۲ و ۳: پنل زیرمنوها */
.mega-panels { position: relative; min-width: 0; }
.mega-panel { display: none; }
.mega-panel.is-active { display: block; animation: panelIn .3s ease; }
.mp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
}
.mp-head h4 { font-size: 14px; font-weight: 800; }
.mp-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-600);
}
.mp-all i.isax { font-size: 13px; }

.mega-links { display: grid; gap: 5px; }
.mega-item { min-width: 0; }
.mega-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  transition: background .2s, color .2s;
}
.mega-link > i.isax { font-size: 17px; color: var(--purple-400); width: 20px; flex-shrink: 0; }
.mega-link .ml-txt { flex: 1; min-width: 0; line-height: 1.7; }
.mega-link .ml-txt small { display: block; font-size: 11px; font-weight: 500; color: #A9A6C2; }
.mega-link .ml-go { font-size: 13px; opacity: 0; transform: translateX(-5px); transition: opacity .2s, transform .2s; color: var(--purple-500); }
.mega-item:hover .mega-link { background: var(--purple-50); color: var(--purple-700); }
.mega-item:hover .mega-link > i.isax { color: var(--purple-600); }
.mega-item:hover .ml-go { opacity: 1; transform: translateX(0); }

/* لایه ۳: زیرشاخه‌ها */
.mega-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding-inline-start: 31px;
  transition: max-height .3s ease, opacity .3s ease, margin .3s ease;
}
.mega-item:hover .mega-chips, .mega-item:focus-within .mega-chips { max-height: 84px; opacity: 1; margin: 4px 0 2px; }
.mega-chips a {
  font-size: 11px;
  font-weight: 700;
  color: var(--purple-700);
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-radius: 999px;
  padding: 3px 11px;
  transition: background .2s, color .2s;
}
.mega-chips a:hover { background: var(--purple-600); border-color: var(--purple-600); color: #fff; }

/* کارت پیشنهاد ویژه با عکس محصول */
.mega-featured {
  background: linear-gradient(150deg, var(--purple-50), var(--blue-50));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-self: start;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mega-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124, 58, 237, .10) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  -webkit-mask-image: radial-gradient(200px 160px at 85% 100%, #000, transparent 70%);
  mask-image: radial-gradient(200px 160px at 85% 100%, #000, transparent 70%);
}
.mf-img {
  height: 92px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: 2px auto 12px;
  filter: drop-shadow(0 14px 18px rgba(67, 40, 150, .22));
  transition: transform .35s;
  position: relative;
}
.mega-featured:hover .mf-img { transform: scale(1.07) rotate(-2deg); }
.mega-featured-kicker { font-size: 11.5px; font-weight: 800; color: var(--orange-600); position: relative; }
.mega-featured h5 { font-size: 15px; font-weight: 800; margin-top: 4px; position: relative; }
.mega-featured p { font-size: 12px; color: var(--muted); line-height: 2; margin-top: 6px; position: relative; }
.mega-featured .btn { align-self: center; margin-top: 12px; position: relative; }



/* ═══════════════ دیدگاه‌ها ═══════════════ */
.article-comments { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.article-comments .comments-title, .comment-reply-title { font-size: 17px; font-weight: 800; }
.comment-list { list-style: none; display: grid; gap: 14px; margin: 20px 0; padding: 0; }
.comment-list .comment { background: #FAFAFE; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; list-style: none; }
.comment-list .children { list-style: none; display: grid; gap: 12px; margin: 14px 0 0; padding-inline-start: 24px; }
.comment-list .children .comment { background: #fff; }
.comment-body { display: flex; flex-direction: column; gap: 6px; }
.comment-meta { display: flex; align-items: center; gap: 12px; }
.comment-meta .avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--purple-100); }
.comment-author { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.comment-metadata { font-size: 11.5px; color: #A9A6C2; }
.comment-metadata a { color: #A9A6C2; }
.comment-content p { font-size: 13.5px; line-height: 2.1; color: var(--muted); margin: 0; }
.comment-content { font-size: 13.5px; }
.reply a, .comment-reply-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--purple-50); color: var(--purple-700);
  border: 1px solid var(--purple-100); border-radius: 999px;
  font-size: 12px; font-weight: 700; padding: 5px 14px;
  transition: background .2s, color .2s;
}
.reply a:hover, .comment-reply-link:hover { background: var(--purple-600); color: #fff; }
.comment-respond { background: #FAFAFE; border: 1px solid var(--line); border-radius: 16px; padding: 20px; margin-top: 18px; }
.comment-form { display: grid; gap: 12px; }
.comment-form p { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.comment-form label { font-size: 13px; font-weight: 700; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
  width: 100%; height: 48px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; padding: 0 14px; font-family: inherit; font-size: 14px; outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.comment-form textarea { height: auto; min-height: 100px; padding: 14px; line-height: 2; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--purple-400); box-shadow: var(--ring); }
.comment-form .submit, .comment-form input[type="submit"] {
  width: 100%; background: var(--grad-orange); color: #fff; border: 0;
  border-radius: 14px; padding: 13px 22px; font-family: inherit; font-size: 15px;
  font-weight: 700; cursor: pointer; transition: transform .25s, box-shadow .25s;
}
.comment-form .submit:hover, .comment-form input[type="submit"]:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(234, 88, 12, .55); }
.comment-notes, .logged-in-as { font-size: 12px; color: var(--muted); margin: 0; }
.comment-form-cookies-consent { flex-direction: row !important; align-items: center; }
.comment-form-cookies-consent input { width: 16px; height: 16px; accent-color: var(--purple-600); }
.comment-form-cookies-consent label { font-size: 12px; font-weight: 600; color: var(--muted); }
.comment-form .form-submit { margin: 0; }
.bypostauthor > .comment-body .comment-author::after { content: "نویسنده"; background: var(--purple-50); color: var(--purple-700); font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: 999px; margin-inline-start: 8px; }

@media (max-width: 1240px) {
  .mega { grid-template-columns: 220px minmax(0, 1fr); }
  .mega-featured { display: none; }
}

/* ═══════════════ منوی موبایل (درای‌داون) ═══════════════ */
.drawer-wrap { position: fixed; inset: 0; z-index: 100; }
.drawer-wrap[hidden] { display: none; }

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 13, 44, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s;
}
.drawer {
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-start: 0;
  width: min(330px, 86vw);
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  box-shadow: var(--shadow-lg);
}
.drawer-wrap.open .drawer-backdrop { opacity: 1; }
.drawer-wrap.open .drawer { transform: translateX(0); }

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.drawer-logo { width: 44px; height: 44px; object-fit: contain; }

.drawer-views { flex: 1; display: flex; min-height: 0; }
.d-view { display: none; width: 100%; flex-direction: column; }
.d-view.is-active { display: flex; animation: viewFwd .35s ease; }
.d-view.is-active.anim-back { animation: viewBack .35s ease; }

@keyframes viewFwd {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes viewBack {
  from { opacity: 0; transform: translateX(28px); }
  to   { opacity: 1; transform: translateX(0); }
}

.d-view nav { display: grid; gap: 4px; align-content: start; }

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  transition: background .2s, color .2s;
  width: 100%;
  text-align: start;
}
.drawer-link i.isax { font-size: 19px; color: var(--purple-500); }
.drawer-link:hover, .drawer-link.is-active { background: var(--purple-50); color: var(--purple-700); }
.drawer-chev { margin-inline-start: auto; font-size: 16px; color: #B0ADC9; }
.drawer-call { margin-top: auto; }

/* اجزای مشترک درای‌داون و شیت */
.drill-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--purple-700);
  font-size: 13.5px;
  font-weight: 800;
  padding: 9px 6px;
  margin-bottom: 10px;
  transition: gap .2s;
}
.drill-back i.isax { font-size: 17px; }
.drill-back:hover { gap: 12px; }

.drill-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 14px;
}
.drill-title .ico {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--purple-50);
  color: var(--purple-600);
}
.drill-title .ico i.isax { font-size: 18px; }

.drill-group {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  transition: border-color .2s, background .2s, transform .2s;
  text-align: start;
}
.drill-group .ico {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--purple-50);
  color: var(--purple-600);
  flex-shrink: 0;
}
.drill-group .ico i.isax { font-size: 19px; }
.drill-group:hover { border-color: var(--purple-400); background: var(--purple-50); transform: translateX(-2px); }
.drill-group .drawer-chev { margin-inline-start: auto; }

.drill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: #FAFAFE;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: color .2s, border-color .2s, background .2s;
}
.drill-item i.isax { font-size: 15px; color: var(--purple-400); }
.drill-item:hover { color: var(--purple-700); border-color: var(--purple-100); background: var(--purple-50); }

/* ═══════════════ هیرو اسلایدر ═══════════════ */
.hero { padding-top: 24px; }

.hero-slider-wrap { position: relative; }

.hero-slide {
  position: relative;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 500px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  padding: 46px 56px;
}

/* تم‌های اسلاید */
.theme--purple {
  background:
    radial-gradient(760px 420px at 86% -12%, rgba(139, 92, 246, .20), transparent 62%),
    radial-gradient(600px 380px at 4% 112%, rgba(37, 99, 235, .14), transparent 62%),
    linear-gradient(180deg, #FDFCFF, #F7F4FF);
}
.theme--blue {
  background:
    radial-gradient(760px 420px at 86% -12%, rgba(59, 130, 246, .22), transparent 62%),
    radial-gradient(600px 380px at 4% 112%, rgba(124, 58, 237, .13), transparent 62%),
    linear-gradient(180deg, #FDFEFF, #F4F8FF);
}
.theme--orange {
  background:
    radial-gradient(760px 420px at 86% -12%, rgba(249, 115, 22, .18), transparent 62%),
    radial-gradient(600px 380px at 4% 112%, rgba(139, 92, 246, .13), transparent 62%),
    linear-gradient(180deg, #FFFEFC, #FFF7F0);
}

.slide-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); }
.theme--purple .orb--a { width: 360px; height: 360px; background: var(--purple-500); opacity: .28; top: -130px; inset-inline-start: -100px; animation: orbFloat 13s ease-in-out infinite alternate; }
.theme--purple .orb--b { width: 300px; height: 300px; background: var(--blue-500); opacity: .24; bottom: -110px; inset-inline-end: 26%; animation: orbFloat 15s ease-in-out infinite alternate-reverse; }
.theme--blue .orb--a { width: 360px; height: 360px; background: var(--blue-500); opacity: .26; top: -130px; inset-inline-start: -100px; animation: orbFloat 13s ease-in-out infinite alternate; }
.theme--blue .orb--b { width: 300px; height: 300px; background: var(--purple-500); opacity: .22; bottom: -110px; inset-inline-end: 26%; animation: orbFloat 15s ease-in-out infinite alternate-reverse; }
.theme--orange .orb--a { width: 360px; height: 360px; background: var(--orange-400); opacity: .28; top: -130px; inset-inline-start: -100px; animation: orbFloat 13s ease-in-out infinite alternate; }
.theme--orange .orb--b { width: 300px; height: 300px; background: var(--purple-400); opacity: .22; bottom: -110px; inset-inline-end: 26%; animation: orbFloat 15s ease-in-out infinite alternate-reverse; }

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(24px, -26px) scale(1.06); }
}

.slide-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124, 58, 237, .12) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(560px 380px at 84% 20%, #000, transparent 72%);
  mask-image: radial-gradient(560px 380px at 84% 20%, #000, transparent 72%);
}

.slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
  background: rgba(255, 255, 255, .8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--purple-700);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.slide-kicker i.isax { font-size: 15px; color: var(--orange-500); }
.theme--blue .slide-kicker { color: var(--blue-700); }
.theme--orange .slide-kicker { color: var(--orange-600); }

.slide-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  line-height: 1.55;
  margin-top: 18px;
}

.slide-sub {
  color: var(--muted);
  font-size: 15px;
  line-height: 2.1;
  max-width: 52ch;
  margin-top: 12px;
}

.slide-cta { display: flex; align-items: center; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ویژوال اسلاید */
.slide-visual { position: relative; z-index: 1; }

.slide-num {
  position: absolute;
  bottom: -26px;
  inset-inline-start: 0;
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
  color: rgba(109, 40, 217, .07);
  user-select: none;
  pointer-events: none;
}
.theme--blue .slide-num { color: rgba(37, 99, 235, .08); }
.theme--orange .slide-num { color: rgba(234, 88, 12, .08); }

.product-main {
  position: absolute;
  top: 8%;
  inset-inline-end: 8%;
  width: min(350px, 90%);
  z-index: 2;
}
.product-main::before {
  content: "";
  position: absolute;
  inset: -10% -12%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .22), transparent 72%);
  border-radius: 50%;
  z-index: -1;
}
.theme--blue .product-main::before { background: radial-gradient(closest-side, rgba(59, 130, 246, .25), transparent 72%); }
.theme--orange .product-main::before { background: radial-gradient(closest-side, rgba(249, 115, 22, .22), transparent 72%); }
.product-main img {
  height: 296px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 34px rgba(67, 40, 150, .25));
}

.product-chip {
  position: absolute;
  z-index: 3;
  backdrop-filter: blur(8px);
}
.chip-price {
  bottom: -8px;
  inset-inline-start: -6px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 16px;
  box-shadow: var(--shadow-md);
}
.chip-price del { font-size: 11.5px; color: #A9A6C2; }
.chip-price strong { font-size: 16.5px; font-weight: 800; color: var(--orange-600); white-space: nowrap; }
.chip-price strong small { font-size: 11px; font-weight: 600; color: var(--muted); }
.chip-call { font-size: 14px; font-weight: 800; color: var(--purple-700); white-space: nowrap; }
.chip-off {
  top: -6px;
  inset-inline-end: 8px;
  background: var(--grad-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(234, 88, 12, .6);
}

.product-mini {
  position: absolute;
  width: 148px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: 12px 12px 9px;
  text-align: center;
  z-index: 1;
}
.product-mini img { height: 76px; width: auto; max-width: 100%; margin-inline: auto; object-fit: contain; }
.product-mini figcaption { font-size: 11px; font-weight: 600; color: var(--muted); margin-top: 6px; }
.mini--a { bottom: 6%; inset-inline-start: 4%; transform: rotate(-4deg); }
.mini--b { top: -2%; inset-inline-end: 0; transform: rotate(3deg); }

/* کنترل‌های اسلایدر */
.hero-ui { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.hero-arrow {
  position: absolute;
  top: 50%;
  margin-top: -24px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--purple-600);
  pointer-events: auto;
  transition: background .2s, color .2s, transform .2s;
  backdrop-filter: blur(6px);
}
.hero-arrow i.isax { font-size: 19px; }
.hero-arrow:hover { background: var(--purple-600); color: #fff; transform: scale(1.06); }
.hero-next { inset-inline-start: 20px; }
.hero-prev { inset-inline-end: 20px; }

.hero-pagination {
  position: absolute;
  bottom: 18px;
  inset-inline: 0;
  display: flex;
  justify-content: center;
  gap: 7px;
  pointer-events: auto;
}
.hero-pagination .swiper-pagination-bullet {
  width: 9px; height: 9px;
  border-radius: 999px;
  background: #CBC3E8;
  opacity: 1;
  margin: 0 !important;
  transition: width .3s, background .3s;
}
.hero-pagination .swiper-pagination-bullet-active {
  width: 30px;
  background: var(--grad-main);
}

/* آمار هیرو */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 16px 24px 18px;
  margin-top: 16px;
}
.stat { text-align: center; display: flex; flex-direction: column-reverse; gap: 2px; }
.stat strong {
  font-size: 28px;
  font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.stat small { font-size: 13px; color: var(--muted); font-weight: 600; }
.stat-sep { width: 1px; height: 38px; background: var(--line-strong); }

/* ═══════════════ آیکن‌باکس‌های مشترک ═══════════════ */
.why-ico, .cf-ico {
  width: 54px; height: 54px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 16px;
  flex-shrink: 0;
  background: var(--purple-50);
  color: var(--purple-600);
  transition: transform .3s;
}
.why-ico i.isax { font-size: 25px; }
.why-item:hover .why-ico { transform: scale(1.08) rotate(-4deg); }

/* ═══════════════ برندها ═══════════════ */
.brands { padding-block: 34px 0; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 20px; padding-inline: 10px; }
.marquee-group img {
  height: 52px;
  width: auto;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 7px 16px;
  opacity: .55;
  filter: saturate(.2);
  transition: opacity .3s, filter .3s;
}
.marquee-group img:hover { opacity: 1; filter: saturate(1); }

/* ═══════════════ سرتیتر سکشن‌ها ═══════════════ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 15px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-kicker--orange { background: var(--orange-50); border-color: var(--orange-100); color: var(--orange-600); }

.section-head h2 { font-size: clamp(24px, 3vw, 33px); font-weight: 800; line-height: 1.6; }

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--purple-700);
  padding: 9px 16px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.see-all i.isax { font-size: 16px; transition: transform .25s; }
.see-all:hover { background: var(--purple-50); border-color: var(--purple-100); }
.see-all:hover i.isax { transform: translateX(-4px); }

/* ═══════════════ دسته‌بندی‌ها (کارت + کروسل) ═══════════════ */
#catsSwiper { padding: 6px 6px 46px; }

.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px 16px 16px;
  height: 100%;
  text-align: center;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--purple-400); }

.cat-thumb {
  width: 100%;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #FBFAFF, #F5F3FC);
  border-radius: 16px;
  overflow: hidden;
}
.cat-thumb img {
  height: 104px;
  width: auto;
  max-width: 82%;
  object-fit: contain;
  transition: transform .35s;
}
.cat-card:hover .cat-thumb img { transform: scale(1.08) rotate(-2deg); }

.cat-card h3 { font-size: 14.5px; font-weight: 800; }

.cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--purple-600);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .3s, transform .3s;
}
.cat-link i.isax { font-size: 13px; }
.cat-card:hover .cat-link { opacity: 1; transform: translateY(0); }

/* ═══════════════ پیشنهادهای ویژه ═══════════════ */
.offers-panel {
  background:
    radial-gradient(640px 300px at 88% 0%, rgba(249, 115, 22, .09), transparent 65%),
    var(--surface);
  border: 1px solid #FFE7D3;
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.offers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.offers-head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.offers-note { font-size: 13px; color: var(--muted); margin-top: 8px; }
.offers-note i.isax { font-size: 14px; color: var(--orange-500); margin-inline-end: 4px; vertical-align: -2px; }

.countdown { display: flex; align-items: center; gap: 9px; }
.cd-box {
  width: 62px;
  background: #fff;
  border: 1px solid #FFDFC4;
  border-radius: 14px;
  padding: 7px 4px 5px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.cd-box strong { display: block; font-size: 23px; font-weight: 800; color: var(--orange-600); line-height: 1.4; }
.cd-box small { font-size: 10.5px; color: var(--muted); font-weight: 600; }
.cd-sep { color: var(--orange-400); font-weight: 800; font-size: 20px; }

/* ═══════════════ کارت محصول ═══════════════ */
.p-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.p-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--purple-400); }

.p-media { position: relative; background: linear-gradient(180deg, #FBFAFF, #F5F3FC); padding: 18px; }
.p-media img { height: 168px; width: 100%; object-fit: contain; }

.p-badge {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--grad-orange);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 14px -6px rgba(234, 88, 12, .55);
}

.p-hover-actions {
  position: absolute;
  bottom: 14px;
  inset-inline-end: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.p-act {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .25s, transform .25s, color .2s, background .2s;
}
.p-act i.isax { font-size: 17px; }
.p-card:hover .p-act { opacity: 1; transform: translateX(0); }
.p-act:nth-child(2) { transition-delay: .05s; }
.p-act:hover { background: var(--purple-600); border-color: var(--purple-600); color: #fff; }

.p-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.p-cat { font-size: 12px; font-weight: 700; color: var(--blue-600); }
.p-title { margin-top: 6px; font-size: 14px; font-weight: 700; line-height: 2; }
.p-title a {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .2s;
}
.p-title a:hover { color: var(--purple-600); }

.p-price { margin-top: auto; padding-top: 12px; display: flex; flex-direction: column; gap: 3px; }
.p-price del { font-size: 12.5px; color: #A9A6C2; }
.p-price strong { font-size: 18.5px; font-weight: 800; color: var(--orange-600); }
.p-price strong small { font-size: 12px; font-weight: 600; color: var(--muted); margin-inline-start: 4px; }

.call-price {
  display: inline-flex;
  align-self: flex-start;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--purple-700);
  font-size: 13.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

/* ═══════════════ تب‌ها و اسلایدرها ═══════════════ */
.tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); padding: 6px; border-radius: 16px; }
.tab {
  padding: 9px 18px;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: color .25s, background .25s, box-shadow .25s;
  white-space: nowrap;
}
.tab:hover { color: var(--purple-700); }
.tab.is-active {
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 8px 18px -8px rgba(109, 40, 217, .55);
}

.tab-panels { margin-top: 26px; }
.tab-panel[hidden] { display: none; }
.tab-panel.is-active { animation: panelIn .45s ease; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.swiper { padding: 16px 6px 46px; }
#heroSwiper { padding: 0; }
.swiper-slide { height: auto; }

.swiper-button-next, .swiper-button-prev {
  width: 44px; height: 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  color: var(--purple-600);
  transition: transform .2s, background .2s, color .2s;
  margin-top: calc(0px - (44px / 2) + 2px);
}
.swiper-button-next:hover, .swiper-button-prev:hover { background: var(--purple-600); color: #fff; }
.swiper-button-next::after, .swiper-button-prev::after { font-size: 15px; font-weight: 800; }
.swiper-button-next { left: -4px; right: auto; }
.swiper-button-prev { right: -4px; left: auto; }
.swiper-button-next::after { transform: rotate(180deg); }
.swiper-button-prev::after { transform: rotate(180deg); }

.swiper-pagination { bottom: 6px !important; }
.swiper-pagination-bullet { background: var(--purple-500); opacity: .25; transition: all .25s; }
.swiper-pagination-bullet-active { opacity: 1; width: 22px; border-radius: 6px; background: var(--purple-600); }

/* ═══════════════ مشاوره تخصصی ═══════════════ */
.consult-panel {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(130deg, #5B21B6, #4F46E5 48%, var(--blue-700));
  color: #fff;
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  box-shadow: var(--shadow-lg);
}
.consult-bg { position: absolute; inset: 0; pointer-events: none; }
.consult-bg .orb { filter: blur(90px); }
.consult-bg .orb--a { width: 360px; height: 360px; background: #C4B5FD; opacity: .35; top: -130px; inset-inline-start: 28%; animation: orbFloat 14s ease-in-out infinite alternate; }
.consult-bg .orb--b { width: 320px; height: 320px; background: #93C5FD; opacity: .3; bottom: -150px; inset-inline-end: 6%; animation: orbFloat 16s ease-in-out infinite alternate-reverse; }
.consult-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, .14) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(520px 360px at 12% 88%, #000, transparent 72%);
  mask-image: radial-gradient(520px 360px at 12% 88%, #000, transparent 72%);
}

.consult-copy { position: relative; z-index: 1; }
.consult-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.consult-kicker i.isax { font-size: 16px; color: var(--orange-400); }

.consult-copy h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; line-height: 1.7; margin-top: 18px; }
.consult-copy h2 span { color: var(--orange-400); }
.consult-copy > p { color: #DCD7F5; font-size: 14.5px; line-height: 2.1; max-width: 50ch; margin-top: 10px; }

.consult-features { display: grid; gap: 12px; margin-top: 26px; }
.consult-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 18px;
  padding: 13px 16px;
  backdrop-filter: blur(6px);
  transition: background .25s, transform .25s;
}
.consult-features li:hover { background: rgba(255, 255, 255, .15); transform: translateX(-4px); }
.consult-features strong { display: block; font-size: 14.5px; font-weight: 800; }
.consult-features small { display: block; font-size: 12px; color: #C9C3EC; line-height: 1.8; }

.cf-ico { width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; }
.cf-ico i.isax { font-size: 20px; }
.cf-ico--b { background: rgba(147, 197, 253, .25); color: #BFDBFE; }
.cf-ico--o { background: rgba(251, 146, 60, .25); color: #FED7AA; }

.consult-cta { display: flex; align-items: center; gap: 18px; margin-top: 26px; flex-wrap: wrap; }
.consult-cta .btn i.isax { font-size: 19px; }
.consult-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, .9);
  font-size: 14.5px;
  font-weight: 700;
  transition: color .2s;
}
.consult-link i.isax { font-size: 16px; transition: transform .25s; }
.consult-link:hover { color: #fff; }
.consult-link:hover i.isax { transform: translateX(-4px); }

.consult-form {
  position: relative;
  z-index: 1;
  background: #fff;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-lg);
  align-self: center;
}
.form-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.form-head-ico {
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--orange-50);
  color: var(--orange-600);
  flex-shrink: 0;
}
.form-head-ico i.isax { font-size: 21px; }
.form-head h3 { font-size: 17px; font-weight: 800; }
.form-head small { display: block; font-size: 12px; color: var(--muted); }

.field { display: block; margin-bottom: 14px; }
.field > span:first-child { display: block; font-size: 13px; font-weight: 700; margin-bottom: 7px; }
.field-box { position: relative; display: block; }
.field-box i.isax {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #A9A6C2;
  pointer-events: none;
}
.consult-form input, .consult-form select {
  width: 100%;
  height: 50px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #FBFAFE;
  padding-inline: 42px 16px;
  font-size: 14px;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.consult-form input::placeholder { color: #B0ADC9; }
.consult-form input:focus, .consult-form select:focus { border-color: var(--purple-400); box-shadow: var(--ring); }
.consult-form .btn { margin-top: 8px; }
.consult-form .btn i.isax { font-size: 17px; }
.form-hours {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.9;
}
.form-hours i.isax { font-size: 15px; color: var(--orange-500); flex-shrink: 0; }

/* ═══════════════ چرا ارتباط آی تی ═══════════════ */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-item {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.why-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--purple-400); }

.why-num {
  position: absolute;
  top: 14px;
  inset-inline-end: 20px;
  font-size: 42px;
  font-weight: 800;
  color: var(--purple-50);
  -webkit-text-stroke: 1px var(--purple-100);
  line-height: 1;
  transition: color .3s;
}
.why-item:hover .why-num { color: var(--purple-100); }

.why-item h3 { font-size: 16.5px; font-weight: 800; margin-top: 18px; }
.why-item p { font-size: 13.5px; color: var(--muted); line-height: 2.1; margin-top: 8px; }

/* ═══════════════ مجله ═══════════════ */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.blog-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--purple-400); }

.blog-cover { position: relative; height: 190px; overflow: hidden; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.blog-card:hover .blog-cover img { transform: scale(1.06); }
.blog-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 20, 43, .45), transparent 55%);
}

.blog-tag {
  position: absolute;
  bottom: 12px;
  inset-inline-start: 14px;
  z-index: 1;
  background: rgba(255, 255, 255, .2);
  border: 1px solid rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.blog-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.blog-body time { font-size: 12.5px; color: #A9A6C2; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.blog-body time i.isax { font-size: 14px; }
.blog-body h3 { font-size: 16px; font-weight: 800; line-height: 1.9; margin-top: 8px; }
.blog-body > p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 2;
  margin-top: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-more {
  margin-top: auto;
  padding-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--purple-600);
}
.blog-more i.isax { font-size: 15px; transition: transform .25s; }
.blog-card:hover .blog-more i.isax { transform: translateX(-4px); }

/* ═══════════════ فوتر ═══════════════ */
.footer { position: relative; margin-top: 90px; background: #14102B; color: #B7B0D8; overflow: hidden; }
.footer-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(680px 320px at 88% 0%, rgba(124, 58, 237, .28), transparent 65%),
    radial-gradient(560px 300px at 6% 10%, rgba(37, 99, 235, .22), transparent 65%);
}
.footer .container { position: relative; z-index: 1; }

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr .75fr 1.25fr 1.15fr;
  gap: 42px;
  padding-block: 60px 44px;
}

.footer-slogan { font-size: 20px; font-weight: 800; color: #fff; }
.footer-slogan span {
  background: linear-gradient(100deg, var(--purple-400), var(--orange-400));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.footer-desc { font-size: 13.5px; line-height: 2.2; margin-top: 14px; }

.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  color: #CBC5EA;
  transition: background .25s, color .25s, transform .25s;
}
.footer-social a i.isax { font-size: 19px; }
.footer-social a:hover { background: var(--grad-main); color: #fff; transform: translateY(-3px); }

.footer-col h4 { color: #fff; font-size: 16px; font-weight: 800; margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col ul a { font-size: 13.5px; transition: color .2s, padding .2s; display: inline-block; }
.footer-col ul a:hover { color: #fff; padding-inline-start: 6px; }

.footer-contact li { display: flex; gap: 10px; font-size: 13px; line-height: 1.9; align-items: flex-start; }
.footer-contact i.isax { font-size: 17px; color: var(--purple-400); flex-shrink: 0; margin-top: 5px; }

/* نشان‌های اعتماد: ستون پهن‌تر، کنار هم */
.footer-badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; align-content: flex-start; }
.footer-badges img {
  background: #fff;
  border-radius: 14px;
  padding: 8px 12px;
  height: 62px;
  width: auto;
  max-width: 148px;
  object-fit: contain;
}
.badge-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .13);
  color: #CBC5EA;
  font-size: 12px;
  font-weight: 700;
  padding: 16px 18px;
  border-radius: 14px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 12.5px; }
.footer-guarantees { display: flex; gap: 22px; flex-wrap: wrap; font-size: 12.5px; color: #8F88B8; }
.footer-guarantees li { display: inline-flex; align-items: center; gap: 7px; }
.footer-guarantees li::before { content: "✓"; color: var(--orange-400); font-weight: 800; }

/* ═══════════════ باتم نویگیشن (فقط موبایل) ═══════════════ */
.bottom-nav { display: none; }

/* ═══════════════ باتم شیت ═══════════════ */
.sheet { position: fixed; inset: 0; z-index: 120; }
.sheet[hidden] { display: none; }
.sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 13, 44, .55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s;
}
.sheet-panel {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  background: var(--surface);
  border-radius: 24px 24px 0 0;
  padding: 12px 20px calc(22px + env(safe-area-inset-bottom, 0px));
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  box-shadow: 0 -18px 50px -18px rgba(67, 40, 150, .4);
}
.sheet.open .sheet-backdrop { opacity: 1; }
.sheet.open .sheet-panel { transform: translateY(0); }

.sheet-handle { width: 44px; height: 4px; border-radius: 999px; background: var(--line-strong); margin: 0 auto 14px; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sheet-head strong { font-size: 16.5px; font-weight: 800; }
.sheet-views { display: flex; min-height: 0; }

.s-view { display: none; width: 100%; }
.s-view.is-active { display: block; animation: viewFwd .35s ease; }
.s-view.is-active.anim-back { animation: viewBack .35s ease; }

/* ═══════════════ دکمه‌های شناور ═══════════════ */
.fab {
  position: fixed;
  bottom: 26px;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform .25s, box-shadow .25s, opacity .3s;
}
.fab--phone {
  inset-inline-start: 26px;
  width: 58px; height: 58px;
  background: var(--grad-orange);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(234, 88, 12, .65);
}
.fab--phone i.isax { font-size: 24px; }
.fab--phone::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(249, 115, 22, .5);
  animation: pulse 2.2s ease-out infinite;
}
.fab--phone:hover { transform: scale(1.08); }

@keyframes pulse {
  0% { transform: scale(.85); opacity: 1; }
  70%, 100% { transform: scale(1.35); opacity: 0; }
}

.fab--top {
  inset-inline-end: 26px;
  width: 46px; height: 46px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--purple-600);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}
.fab--top i.isax { font-size: 18px; }
.fab--top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.fab--top:hover { background: var(--purple-600); color: #fff; }

/* ═══════════════ ری‌ویل (JS) ═══════════════ */
html.js [data-reveal], html.js [data-sanim] { will-change: transform, opacity; }
html.no-anim [data-reveal], html.no-anim [data-sanim] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  .topbar-track, .marquee-track, .orb, .fab--phone::before { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ═══════════════ ریسپانسیو ═══════════════ */
@media (max-width: 1280px) {
  .header-search { max-width: 420px; }
  .search-submit span { display: none; }
  .search-submit { padding-inline: 14px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slide { padding: 40px 44px; }
  .product-main img { height: 250px; }
  .footer-top { grid-template-columns: 1.3fr .75fr 1.2fr 1.1fr; gap: 32px; }
}

@media (max-width: 1120px) {
  .brand-logo img { width: 46px; height: 46px; }
  .auth-btn span { font-size: 12.5px; padding-inline: 0; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .slide-num { font-size: 110px; }
}

@media (max-width: 1024px) {
  .header-nav { display: none; }
  .menu-toggle { display: inline-flex; }

  .hero-slide { grid-template-columns: 1fr; min-height: 0; padding: 36px 34px; }
  .slide-visual { order: 1; }
  .slide-content { order: 2; }
  .slide-visual { min-height: 270px; margin-top: 0; }
  .product-main { top: 10px; inset-inline-end: 10%; }
  .product-main img { height: 230px; }
  .mini--a { bottom: -4px; }
  .mini--b { display: none; }
  .slide-num { font-size: 90px; bottom: -10px; }
  .hero-arrow { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding-block: 34px; }

  .header-top-inner { gap: 10px; }
  .auth-btn { padding: 0 14px; }
  .auth-btn span { display: none; }
  .auth-btn i.isax { font-size: 20px; }
  /* جستجو از هدر موبایل حذف شد — دکمهٔ جستجو در باتم‌نو + شیپ جستجو */
  .header-search { display: none; }

  .hero { padding-top: 16px; }
  .hero-slide { border-radius: 24px; padding: 26px 20px; gap: 8px; }
  .slide-title { font-size: clamp(24px, 6.4vw, 30px); }
  .slide-title br { display: none; }
  .slide-cta { flex-direction: row; gap: 10px; margin-top: 18px; }
  .slide-cta .btn { flex: 1; padding: 11px 8px; font-size: 13.5px; border-radius: 12px; }
  .slide-visual { min-height: 225px; }
  .product-main { position: static; width: 78%; margin-inline: auto; }
  .product-main img { height: 185px; }
  .chip-price { bottom: 0; inset-inline-start: 0; }
  .chip-off { top: -4px; }
  .mini--a { display: none; }
  .slide-num { font-size: 64px; bottom: 0; }
  .hero-pagination { bottom: 10px; }

  .hero-stats { flex-wrap: wrap; gap: 12px; padding: 14px 12px 16px; }
  .stat { flex: 1 1 40%; }
  .stat-sep { display: none; }

  .offers-panel { padding: 24px 18px; border-radius: 24px; }
  .cd-box { width: 54px; }
  .cd-box strong { font-size: 19px; }

  .section-head { flex-direction: column; align-items: flex-start; }
  .tabs { overflow-x: auto; max-width: 100%; }

  .consult-panel { grid-template-columns: 1fr; padding: 30px 20px; gap: 26px; border-radius: 26px; }

  .why-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }

  .footer-top { grid-template-columns: 1fr; gap: 34px; padding-block: 44px 34px; }
  .footer-badges img { height: 56px; max-width: 132px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  /* باتم نویگیشن شیشه‌ای شناور با دکمه مرکزی */
  .bottom-nav {
    position: fixed;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    inset-inline: 14px;
    margin-inline: auto;
    max-width: 432px;
    height: 68px;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4px;
    padding: 5px 6px;
    background: rgba(255, 255, 255, .66);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 28px;
    box-shadow:
      0 14px 40px -14px rgba(67, 40, 150, .45),
      0 2px 10px -4px rgba(67, 40, 150, .18),
      inset 0 1px 0 rgba(255, 255, 255, .7);
  }
  .bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: #7B7896;
    padding: 0;
    transition: color .2s, transform .2s;
    position: relative;
  }
  .bnav-ico {
    width: 46px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 999px;
    transition: background .25s, transform .25s;
  }
  .bnav-ico i.isax { font-size: 21px; }
  .bnav-item small { font-size: 10.5px; font-weight: 700; }
  .bnav-item:active { transform: scale(.94); }
  .bnav-item.is-active { color: var(--purple-700); }
  .bnav-item.is-active .bnav-ico { background: var(--purple-50); }

  /* دکمه مرکزی صفحه اصلی — برجسته با حلقه تفکیک */
  .bnav-home { margin-top: -30px; flex: 1.1; }
  .bnav-home-btn {
    width: 58px; height: 58px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--grad-main);
    color: #fff;
    position: relative;
    box-shadow:
      0 12px 26px -10px rgba(109, 40, 217, .7),
      0 0 0 4px rgba(255, 255, 255, .95),
      0 0 0 5.5px rgba(124, 58, 237, .28);
    transition: transform .25s, box-shadow .25s;
  }
  .bnav-home-btn i.isax { font-size: 24px; }
  .bnav-home:hover .bnav-home-btn,
  .bnav-home:active .bnav-home-btn { transform: translateY(-3px) scale(1.05); }
  .bnav-home small { color: var(--purple-700); }

  body { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); }

  .fab--phone { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); inset-inline-start: 16px; width: 52px; height: 52px; }
  .fab--phone i.isax { font-size: 21px; }
  .fab--top { display: none; }

  .footer { margin-top: 60px; }
}


/* فالبک باتم‌نو برای مرورگرهای بدون پشتیبانی شیشه‌ای */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bottom-nav { background: rgba(255, 255, 255, .95); }
}

@media (max-width: 480px) {
  .container { padding-inline: 14px; }
  .header-top-inner { gap: 8px; }
  .header-search { padding-inline-start: 12px; }
  .header-search .search-ico { display: none; }
  .header-search input { font-size: 13px; }
  .brand-logo img { width: 42px; height: 42px; }
  .menu-toggle { width: 40px; height: 40px; }
  .cart-btn { width: 44px; height: 44px; }
  .auth-btn { padding: 0 12px; }
  .cd-box { width: 47px; }
  .cd-box strong { font-size: 17px; }
  .cd-sep { font-size: 16px; }
  .footer-badges img { height: 52px; max-width: 118px; }
}

/* ═══════════════ صفحات داخلی (محصول / دسته‌بندی) ═══════════════ */
/* ── سربرگ صفحات داخلی (breadcrumb + عنوان) ── */
.page-head {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(560px 240px at 90% -30%, rgba(139, 92, 246, .13), transparent 65%),
    radial-gradient(480px 220px at 4% 130%, rgba(37, 99, 235, .11), transparent 65%),
    var(--surface);
  padding-block: 16px 22px;
  margin-bottom: 4px;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124, 58, 237, .10) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(520px 260px at 88% 30%, #000, transparent 72%);
  mask-image: radial-gradient(520px 260px at 88% 30%, #000, transparent 72%);
}
.page-head > .container { position: relative; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px 10px;
  box-shadow: var(--shadow-sm);
}
.breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 9px;
  transition: color .2s, background .2s;
}
.breadcrumb a:hover { color: var(--purple-700); background: var(--purple-50); }
.breadcrumb > i.isax { font-size: 13px; color: #C6C1E2; }
.breadcrumb .current {
  display: inline-flex;
  align-items: center;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--purple-700);
  font-size: 12.5px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  max-width: 340px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.page-title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.4;
}
.pt-ico {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: var(--grad-main);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(109, 40, 217, .55);
  flex-shrink: 0;
}
.pt-ico i.isax { font-size: 24px; }

/* بنر دسته‌بندی */
.cat-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background:
    radial-gradient(520px 260px at 92% -20%, rgba(139, 92, 246, .16), transparent 62%),
    radial-gradient(420px 240px at 4% 120%, rgba(37, 99, 235, .13), transparent 62%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 30px;
  margin-top: 14px;
}
.cat-hero h1 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; line-height: 1.6; }
.cat-hero p { font-size: 13.5px; color: var(--muted); line-height: 2; max-width: 62ch; margin-top: 8px; }
.cat-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--purple-700);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-top: 14px;
}
.cat-hero-chip i.isax { font-size: 14px; }
.cat-hero-img { height: 130px; width: auto; max-width: 240px; object-fit: contain; flex-shrink: 0; }

/* نوار ابزار */
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 18px;
  margin-block: 18px 0;
}
.toolbar .count-text { font-size: 13px; color: var(--muted); }
.toolbar .count-text strong { color: var(--ink); }
.sort-box { display: flex; align-items: center; gap: 10px; }
.sort-box label { font-size: 13px; color: var(--muted); font-weight: 600; }
.sort-box select {
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding-inline: 14px;
  font-size: 13.5px;
  font-weight: 700;
  outline: 0;
  cursor: pointer;
}

/* چیدمان با فیلتر */
.cat-layout { display: grid; grid-template-columns: 262px 1fr; gap: 22px; align-items: start; margin-top: 18px; }

.filters {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  position: sticky;
  top: calc(var(--header-top-h) + var(--header-nav-h) + 16px);
}
.filter-group { border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; }
.filter-group:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.filter-title { font-size: 14px; font-weight: 800; margin-bottom: 12px; }

.filter-search { position: relative; }
.filter-search input {
  width: 100%;
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #FBFAFE;
  padding-inline: 36px 12px;
  font-size: 13px;
  outline: 0;
}
.filter-search input:focus { border-color: var(--purple-400); }
.filter-search i.isax {
  position: absolute;
  inset-inline-start: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #A9A6C2;
}

.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 13.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 0; height: 0; }
.check .box {
  width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong);
  border-radius: 5px;
  background: #fff;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}
.check .box::after { content: "✓"; font-size: 11px; font-weight: 800; color: #fff; opacity: 0; transition: opacity .2s; }
.check input:checked ~ .box { background: var(--grad-main); border-color: transparent; }
.check input:checked ~ .box::after { opacity: 1; }
.check small { color: var(--muted); font-weight: 500; }

.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range input {
  height: 42px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #FBFAFE;
  padding-inline: 12px;
  font-size: 13px;
  outline: 0;
  text-align: center;
}
.price-range input:focus { border-color: var(--purple-400); }
.filters .btn { margin-top: 12px; }

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; font-weight: 600; }
.switch { position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--line-strong); transition: background .25s; flex-shrink: 0; cursor: pointer; }
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s;
}
.check input:checked ~ .switch { background: var(--purple-600); }
.check input:checked ~ .switch::after { transform: translateX(-18px); }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  padding-inline: 12px;
  transition: border-color .2s, color .2s, background .2s;
}
.pagination a:hover { border-color: var(--purple-400); color: var(--purple-700); }
.pagination .is-current { background: var(--grad-main); color: #fff; border-color: transparent; }
.pagination .dots { border: 0; background: transparent; }

/* ─── صفحه محصول ─── */
.product-top {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 32px;
  margin-top: 14px;
}

.p-gallery { display: flex; flex-direction: column; gap: 14px; }
.p-gallery-main {
  position: relative;
  background: linear-gradient(180deg, #FBFAFF, #F5F3FC);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.p-gallery-main img { height: 300px; width: auto; max-width: 100%; object-fit: contain; }
.p-gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.p-thumb {
  background: #FAFAFE;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.p-thumb img { height: 64px; width: 100%; object-fit: contain; }
.p-thumb:hover { border-color: var(--purple-400); }
.p-thumb.is-active { border-color: var(--purple-600); background: var(--purple-50); }

.p-summary { display: flex; flex-direction: column; }
.p-cat-chip {
  align-self: flex-start;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 12.5px;
  font-weight: 700;
}
.p-summary h1 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 800; line-height: 1.7; margin-top: 12px; }
.p-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: 13px; color: var(--muted); }
.p-meta strong { color: var(--ink); }

.p-price-box {
  margin-top: 20px;
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  border-radius: 18px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pp-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.pp-old { font-size: 14px; color: #A9A6C2; }
.pp-current { font-size: 26px; font-weight: 800; color: var(--orange-600); line-height: 1.4; }
.pp-current small { font-size: 13px; font-weight: 600; color: var(--muted); margin-inline-start: 5px; }

.p-timer {
  margin-top: 14px;
  background: #fff;
  border: 1.5px dashed var(--orange-400);
  border-radius: 16px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.pt-label { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 700; color: var(--orange-700); }
.pt-label i.isax { font-size: 18px; color: var(--orange-500); }
.p-timer .countdown { gap: 6px; }
.p-timer .cd-box { width: 48px; padding: 4px 2px 3px; }
.p-timer .cd-box strong { font-size: 17px; }
.p-timer .cd-sep { font-size: 15px; }

.p-stock { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; font-weight: 700; color: #15803D; }
.p-stock i.isax { font-size: 16px; }

.p-qty-row { display: flex; align-items: stretch; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; height: 50px; flex-shrink: 0; }
.qty button { width: 44px; height: 100%; font-size: 19px; font-weight: 800; color: var(--ink); background: #FAFAFE; transition: background .2s, color .2s; }
.qty button:hover { background: var(--purple-50); color: var(--purple-600); }
.qty input { width: 52px; text-align: center; border: 0; outline: 0; font-size: 15px; font-weight: 800; background: #fff; }
.p-qty-row .btn { flex: 1; min-width: 190px; }

.p-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.p-feat {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #FAFAFE;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.p-feat i.isax { font-size: 17px; color: var(--purple-500); flex-shrink: 0; }

.p-sections { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.p-sections .tab-panels { margin-top: 20px; }
.desc-text p { font-size: 14px; line-height: 2.3; color: var(--ink); margin-bottom: 12px; }

.specs-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.specs-table tr { border-bottom: 1px solid var(--line); }
.specs-table tr:last-child { border-bottom: 0; }
.specs-table td { padding: 13px 8px; }
.specs-table td:first-child { color: var(--muted); font-weight: 600; width: 230px; }
.specs-table td:last-child { font-weight: 700; }

.reviews { display: grid; gap: 14px; }
.review { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: #FAFAFE; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.review-head strong { font-size: 14px; }
.review-head time { font-size: 12px; color: #A9A6C2; }
.review-stars { color: var(--orange-500); font-size: 13px; letter-spacing: 2px; }
.review p { font-size: 13.5px; line-height: 2.1; color: var(--muted); }

.related { margin-top: 44px; }

/* ریسپانسیو صفحات داخلی */
@media (max-width: 1024px) {
  .cat-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .product-top { grid-template-columns: 1fr; padding: 22px; gap: 24px; }
  .p-gallery-main { min-height: 260px; }
  .p-gallery-main img { height: 230px; }
  .cat-hero-img { height: 100px; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .p-media img { height: 130px; }
  .p-title { font-size: 12.5px; }
  .p-price strong { font-size: 15px; }
  .p-price del { font-size: 11px; }
  .p-body { padding: 12px 12px 14px; }
  .p-act { width: 34px; height: 34px; }
  .p-act i.isax { font-size: 15px; }

  .cat-hero { flex-direction: column; align-items: flex-start; padding: 22px; }
  .cat-hero-img { height: 84px; align-self: center; }
  .toolbar { padding: 12px 14px; }
  .filters { padding: 16px; }

  .product-top { padding: 18px; border-radius: 22px; }
  .p-gallery-main { min-height: 220px; padding: 16px; }
  .p-gallery-main img { height: 190px; }
  .p-gallery-thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .p-thumb img { height: 46px; }
  .p-price-box { padding: 14px 16px; }
  .pp-current { font-size: 22px; }
  .p-feats { grid-template-columns: 1fr 1fr; }
  .p-qty-row .btn { min-width: 150px; }
  .p-sections { padding: 18px; border-radius: 20px; }
  .specs-table td:first-child { width: 150px; }
  .specs-table { font-size: 12.5px; }
  .p-timer { padding: 12px; }
}

/* ═══════════════ بار اکشن محصول (فقط موبایل) ═══════════════ */
.pbar {
  display: none;
}
@media (max-width: 767px) {
  .pbar {
    position: fixed;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    inset-inline: 12px;
    margin-inline: auto;
    max-width: 432px;
    height: 64px;
    z-index: 80;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 7px;
    background: rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 24px;
    box-shadow:
      0 14px 40px -14px rgba(67, 40, 150, .45),
      inset 0 1px 0 rgba(255, 255, 255, .7);
  }
  body:has(.pbar) { padding-bottom: 92px; }
  .pbar-back {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #F1EEFA;
    color: var(--ink);
    flex-shrink: 0;
    transition: background .2s, color .2s;
  }
  .pbar-back i.isax { font-size: 18px; }
  .pbar-back:active { background: var(--purple-600); color: #fff; }
  .pbar-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
  .pbar-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pbar-price { font-size: 15px; font-weight: 800; color: var(--orange-600); line-height: 1.4; }
  .pbar-price small { font-size: 10px; font-weight: 600; color: var(--muted); }
  .pbar-call {
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--purple-100);
    color: var(--purple-600);
    flex-shrink: 0;
  }
  .pbar-call i.isax { font-size: 18px; }
  .pbar-buy {
    height: 46px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 13.5px;
    flex-shrink: 0;
  }
  .fab--phone { display: none; }
  .fab--top { display: none; }
}

/* ═══════════════ سبد خرید (سایدبار دسکتاپ + شیپ موبایل) ═══════════════ */
.cart-side { position: fixed; inset: 0; z-index: 110; }
.cart-side[hidden] { display: none; }
.flyout-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 13, 44, .5);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .35s;
}
.cart-panel {
  position: absolute;
  top: 0; bottom: 0;
  inset-inline-end: 0;
  width: min(430px, 94vw);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transform: translateX(-110%);
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
  box-shadow: -30px 0 60px -30px rgba(67, 40, 150, .4);
}
.cart-side.open .flyout-backdrop { opacity: 1; }
.cart-side.open .cart-panel { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.cart-head strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16.5px;
  font-weight: 800;
}
.cart-head strong i.isax { font-size: 20px; color: var(--purple-600); }
.cart-count-chip {
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--purple-700);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
}

.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 12px; }

.cart-item {
  display: flex;
  gap: 12px;
  background: #FAFAFE;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  position: relative;
  animation: panelIn .35s ease;
}
.cart-item-img {
  width: 76px; height: 76px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}
.cart-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.cart-item-name {
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.9;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding-inline-end: 26px;
}
.cart-item-price { font-size: 14px; font-weight: 800; color: var(--orange-600); }
.cart-item-price small { font-size: 11px; font-weight: 600; color: var(--muted); }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  height: 32px;
}
.cart-item-qty button {
  width: 28px; height: 100%;
  font-size: 15px;
  font-weight: 800;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.cart-item-qty button:hover { background: var(--purple-50); color: var(--purple-600); }
.cart-item-qty span { min-width: 26px; text-align: center; font-size: 13px; font-weight: 800; }
.cart-item-sum { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.cart-del {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  color: #B0ADC9;
  transition: color .2s, background .2s;
}
.cart-del i.isax { font-size: 16px; }
.cart-del:hover { color: #DC2626; background: #FEF2F2; }

/* حالت خالی سبد */
.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 30px 24px;
}
.cart-empty-ico {
  position: relative;
  width: 96px; height: 96px;
  margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
}
.cart-empty-ico::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 92, 246, .16), transparent);
}
.cart-empty-ico::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1.5px dashed var(--purple-200, #DDD9F0);
  animation: spin 24s linear infinite;
}
.cart-empty-ico i.isax { font-size: 42px; color: var(--purple-400); position: relative; }
@keyframes spin { to { transform: rotate(360deg); } }
.cart-empty h4 { font-size: 17px; font-weight: 800; color: var(--ink); }
.cart-empty p { font-size: 13px; color: var(--muted); line-height: 2.1; max-width: 34ch; }
.cart-empty .btn { margin-top: 14px; }

.cart-foot { padding: 16px 20px calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: #fff; }
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
}
.cart-total strong { font-size: 19px; font-weight: 800; color: var(--orange-600); }
.cart-total strong small { font-size: 12px; font-weight: 600; color: var(--muted); }
.cart-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 11px;
  font-size: 11.5px;
  color: var(--muted);
}
.cart-note i.isax { font-size: 14px; color: #15803D; }

/* شیپ موبایل سبد */
.cart-sheet .sheet-panel { padding-bottom: 0; }
.cart-sheet .cart-items { padding: 14px 18px; max-height: 46vh; }
.cart-sheet .cart-foot { padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px)); }

@media (max-width: 767px) {
  .cart-side { display: none; }
}
@media (min-width: 768px) {
  .cart-sheet { display: none !important; }
}

/* ═══════════════ مجله: مقاله و آرشیو ═══════════════ */
.article-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  margin-top: 14px;
}
.article-head { max-width: 820px; }
.article-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.article-cats a {
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--purple-700);
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  transition: background .2s;
}
.article-cats a:hover { background: var(--purple-100); }
.article-wrap h1 {
  font-size: clamp(21px, 2.6vw, 30px);
  font-weight: 800;
  line-height: 1.75;
  margin-top: 16px;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 12.5px;
  color: var(--muted);
}
.article-meta span { display: inline-flex; align-items: center; gap: 7px; }
.article-meta i.isax { font-size: 15px; color: var(--purple-400); }

.article-cover {
  margin-top: 24px;
  border-radius: 20px;
  overflow: hidden;
}
.article-cover img { width: 100%; height: auto; object-fit: cover; }

.article-body { max-width: 820px; margin-top: 26px; }
.article-body p { font-size: 14.5px; line-height: 2.3; color: #33314D; margin-bottom: 16px; }
.article-body h2 { font-size: 19px; font-weight: 800; margin: 26px 0 12px; }
.article-body h3 { font-size: 16.5px; font-weight: 800; margin: 22px 0 10px; }
.article-body ul { margin: 0 0 16px; padding-inline-start: 0; display: grid; gap: 8px; }
.article-body ul li {
  position: relative;
  padding-inline-start: 26px;
  font-size: 14px;
  line-height: 2.1;
  color: #33314D;
}
.article-body ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  top: 13px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-main);
}
.article-figure {
  margin: 22px 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.article-figure img { width: 100%; display: block; }
.article-figure figcaption {
  padding: 10px 16px;
  font-size: 12px;
  color: var(--muted);
  background: #FAFAFE;
  border-top: 1px solid var(--line);
}
.article-quote {
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-inline-start: 4px solid var(--purple-500);
  border-radius: 16px;
  padding: 18px 22px;
  margin: 22px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 2.2;
  color: var(--purple-700);
}

.article-foot {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.article-tags a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  transition: color .2s, border-color .2s;
}
.article-tags a i.isax { font-size: 13px; }
.article-tags a:hover { color: var(--purple-700); border-color: var(--purple-300, #C4B5FD); }
.article-share { display: flex; align-items: center; gap: 8px; }
.article-share span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.article-share a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--muted);
  transition: background .2s, color .2s;
}
.article-share a i.isax { font-size: 16px; }
.article-share a:hover { background: var(--grad-main); color: #fff; border-color: transparent; }

/* آرشیو مجله */
.post-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.post-cats a {
  padding: 8px 18px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--muted);
  transition: all .25s;
}
.post-cats a:hover { color: var(--purple-700); border-color: var(--purple-300, #C4B5FD); }
.post-cats a.is-active {
  background: var(--grad-main);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 18px -8px rgba(109, 40, 217, .55);
}
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ═══════════════ درباره ما / تماس با ما ═══════════════ */
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: stretch; }
.about-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.about-card .about-badge {
  position: absolute;
  top: -16px;
  inset-inline-end: 24px;
  width: 88px; height: 88px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  font-weight: 800;
  box-shadow: 0 14px 30px -12px rgba(109, 40, 217, .55);
}
.about-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.about-card p { font-size: 13.5px; color: var(--muted); line-height: 2.2; }

.about-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
  min-height: 260px;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(22, 20, 43, .35), transparent 60%);
}
.about-photo figcaption {
  position: absolute;
  bottom: 14px;
  inset-inline-start: 16px;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}

.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.mission-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.mission-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--purple-400); }
.mission-card h3 { font-size: 16px; font-weight: 800; margin-top: 16px; }
.mission-card p { font-size: 13px; color: var(--muted); line-height: 2.1; margin-top: 8px; }

.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-400); }
.contact-card .cc-ico {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--purple-50);
  color: var(--purple-600);
  margin-bottom: 14px;
}
.contact-card .cc-ico i.isax { font-size: 23px; }
.contact-card h3 { font-size: 15.5px; font-weight: 800; }
.contact-card p, .contact-card address {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  line-height: 2.1;
  margin-top: 8px;
}
.contact-card a.cc-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-600);
}
.contact-card a.cc-link i.isax { font-size: 15px; }

.contact-layout { display: grid; grid-template-columns: 1fr 1.05fr; gap: 26px; margin-top: 26px; align-items: start; }
.contact-side { display: grid; gap: 16px; }
.contact-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
}
.contact-panel .consult-form { padding: 0; box-shadow: none; }
.contact-panel .consult-form h3 { margin-top: 0; }
.contact-panel textarea {
  width: 100%;
  min-height: 120px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #FBFAFE;
  padding: 14px 16px;
  font-size: 14px;
  outline: 0;
  resize: vertical;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.contact-panel textarea:focus { border-color: var(--purple-400); box-shadow: var(--ring); }
.contact-map {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(420px 220px at 80% 10%, rgba(139, 92, 246, .16), transparent 65%),
    radial-gradient(380px 220px at 8% 90%, rgba(37, 99, 235, .14), transparent 65%),
    var(--surface);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(124, 58, 237, .12) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  pointer-events: none;
}
.contact-map h4 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 800;
}
.contact-map h4 i.isax { font-size: 19px; color: var(--orange-500); }
.contact-map address {
  position: relative;
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
  line-height: 2.2;
  display: grid;
  gap: 10px;
}
.contact-map address li { display: flex; gap: 9px; align-items: flex-start; }
.contact-map address li i.isax { font-size: 16px; color: var(--purple-400); margin-top: 5px; flex-shrink: 0; }

@media (max-width: 1024px) {
  .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .mission-grid, .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .article-wrap { padding: 22px 18px; border-radius: 22px; }
  .blog-grid { grid-template-columns: 1fr; }
  .mission-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-card .about-badge { width: 68px; height: 68px; font-size: 26px; top: -12px; }
}

/* ═══════════════ مقاله: چیدمان سایدباری ═══════════════ */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
  margin-top: 14px;
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-top-h) + var(--header-nav-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.side-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.side-box > h4 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 800;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px dashed var(--line-strong);
}
.side-box > h4 i.isax { font-size: 18px; color: var(--purple-600); }

/* فهرست مطالب */
.toc-box ul { display: grid; gap: 2px; counter-reset: toc; }
.toc-box ul a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.9;
  transition: color .2s, background .2s;
}
.toc-box ul a::before {
  counter-increment: toc;
  content: counter(toc);
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 7px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 800;
  color: var(--purple-500);
  flex-shrink: 0;
  transition: background .2s, color .2s, border-color .2s;
}
.toc-box ul a:hover { color: var(--purple-700); background: var(--purple-50); }
.toc-box ul a.is-active { color: #fff; background: var(--grad-main); border-radius: 10px; }
.toc-box ul a.is-active::before { background: rgba(255,255,255,.2); color: #fff; border-color: transparent; }

/* مینی‌کارت محصول در سایدبار */
.side-products { display: grid; gap: 10px; }
.side-product {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FAFAFE;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  transition: border-color .2s, transform .2s;
}
.side-product:hover { border-color: var(--purple-400); transform: translateX(-3px); }
.side-product img { width: 58px; height: 58px; object-fit: contain; flex-shrink: 0; }
.side-product h5 {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.8;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.side-product strong { display: block; font-size: 13px; font-weight: 800; color: var(--orange-600); margin-top: 3px; }
.side-product strong small { font-size: 10px; font-weight: 600; color: var(--muted); }

/* مینی‌لیست مقالات سایدبار */
.side-posts { display: grid; gap: 12px; }
.side-post { display: flex; gap: 12px; align-items: center; }
.side-post img {
  width: 76px; height: 58px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  border: 1px solid var(--line);
}
.side-post h5 { font-size: 12.5px; font-weight: 700; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.side-post:hover h5 { color: var(--purple-600); }
.side-post time { display: block; font-size: 11px; color: #A9A6C2; margin-top: 3px; }

/* CTA سایدبار */
.side-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-700), var(--blue-700));
  border-radius: var(--r-lg);
  padding: 24px 20px;
  color: #fff;
  text-align: center;
}
.side-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.14) 1.3px, transparent 1.3px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(240px 180px at 80% 0%, #000, transparent 70%);
  mask-image: radial-gradient(240px 180px at 80% 0%, #000, transparent 70%);
}
.side-cta .sc-ico {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  position: relative;
}
.side-cta .sc-ico i.isax { font-size: 24px; color: var(--orange-400); }
.side-cta h4 { position: relative; font-size: 16px; font-weight: 800; }
.side-cta p { position: relative; font-size: 12px; color: #DCD7F5; line-height: 2; margin-top: 8px; }
.side-cta .btn { position: relative; width: 100%; margin-top: 16px; }

/* نوار پیشرفت مطالعه */
.reading-progress {
  position: fixed;
  top: 0;
  inset-inline: 0;
  height: 3.5px;
  z-index: 90;
  background: transparent;
  pointer-events: none;
}
.reading-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-main);
  border-radius: 0 999px 999px 0;
  transition: width .15s linear;
}

/* تیترهای مقاله با نشانگر گرادیانتی */
.article-body h2 {
  position: relative;
  padding-inline-start: 20px;
  scroll-margin-top: calc(var(--header-top-h) + var(--header-nav-h) + 20px);
}
.article-body h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 26px;
  border-radius: 6px;
  background: var(--grad-main);
}

@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .side-products, .side-posts { display: none; }
  .article-sidebar { grid-row: auto; }
  .article-sidebar .side-cta { order: 2; }
}

/* ═══════════════ صفحه سبد خرید ═══════════════ */

.cart-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-top: 22px; }

.cart-list-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 10px;
}
.cart-list-panel .cart-items { padding: 6px; max-height: none; overflow: visible; }
.cart-list-panel .cart-item { padding: 14px; }
.cart-list-panel .cart-item-img { width: 92px; height: 92px; }
.cart-list-panel .cart-item-name { font-size: 13.5px; padding-inline-end: 0; }
.cart-list-panel .cart-del { position: static; margin-inline-start: auto; }

.cart-side-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-top-h) + var(--header-nav-h) + 16px);
}
.cart-side-panel h3 { font-size: 16.5px; font-weight: 800; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px dashed var(--line-strong); }
.cart-row-line { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--muted); padding: 7px 0; }
.cart-row-line strong { color: var(--ink); font-weight: 700; }
.cart-row-line.free strong { color: #15803D; }
.cart-row-line.total { border-top: 1px dashed var(--line-strong); margin-top: 8px; padding-top: 14px; font-size: 15px; font-weight: 800; color: var(--ink); }
.cart-row-line.total strong { color: var(--orange-600); font-size: 20px; font-weight: 800; }
.cart-row-line.total strong small { font-size: 12px; color: var(--muted); font-weight: 600; }

.coupon-box { display: flex; gap: 8px; margin-block: 16px; }
.coupon-box input {
  flex: 1;
  height: 46px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: #FBFAFE;
  padding-inline: 14px;
  font-size: 13px;
  outline: 0;
}
.coupon-box input:focus { border-color: var(--purple-400); }
.coupon-box .btn { padding: 10px 16px; }

.cart-continue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-600);
  transition: color .2s;
}
.cart-continue i.isax { font-size: 15px; transition: transform .2s; }
.cart-continue:hover { color: var(--purple-700); }
.cart-continue:hover i.isax { transform: translateX(-4px); }

/* ═══════════════ صفحه پرداخت ═══════════════ */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; margin-top: 22px; }

.checkout-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.checkout-panel h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.checkout-panel h2 i.isax { font-size: 21px; color: var(--purple-600); }
.checkout-panel h3.sec {
  font-size: 15px;
  font-weight: 800;
  margin: 24px 0 14px;
  padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkout-panel h3.sec i.isax { font-size: 17px; color: var(--orange-500); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.pay-methods { display: grid; gap: 12px; }
.pay-method { position: relative; display: block; cursor: pointer; }
.pay-method input { position: absolute; opacity: 0; }
.pay-method .pm-box {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  background: #FAFAFE;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.pay-method .pm-ico {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--purple-50);
  color: var(--purple-600);
  flex-shrink: 0;
}
.pay-method .pm-ico i.isax { font-size: 21px; }
.pay-method .pm-txt strong { display: block; font-size: 14px; font-weight: 800; }
.pay-method .pm-txt small { display: block; font-size: 12px; color: var(--muted); line-height: 1.8; }
.pay-method .pm-radio {
  margin-inline-start: auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
  flex-shrink: 0;
  transition: border-color .2s, box-shadow .2s;
}
.pay-method input:checked ~ .pm-box {
  border-color: var(--purple-500);
  background: var(--purple-50);
  box-shadow: var(--ring);
}
.pay-method input:checked ~ .pm-box .pm-radio { border-color: var(--purple-600); box-shadow: inset 0 0 0 5px var(--purple-600); }

.order-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  position: sticky;
  top: calc(var(--header-top-h) + var(--header-nav-h) + 16px);
}
.order-summary h3 { font-size: 16px; font-weight: 800; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px dashed var(--line-strong); }
.order-summary .cart-items { padding: 0; max-height: none; overflow: visible; gap: 10px; }
.order-summary .cart-item { padding: 10px; gap: 10px; }
.order-summary .cart-item-img { width: 60px; height: 60px; }

/* ═══════════════ رسید سفارش ═══════════════ */
.thanks-panel {
  max-width: 680px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 46px 40px;
  text-align: center;
  margin-top: 26px;
  position: relative;
  overflow: hidden;
}
.thanks-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 220px at 88% -10%, rgba(139, 92, 246, .12), transparent 65%),
    radial-gradient(380px 220px at 6% 110%, rgba(37, 99, 235, .1), transparent 65%);
}
.thanks-check {
  width: 92px; height: 92px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 20px 44px -16px rgba(109, 40, 217, .6);
  animation: popIn .6s cubic-bezier(.34, 1.56, .64, 1) both;
}
.thanks-check i.isax { font-size: 44px; color: #fff; }
.thanks-check::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px dashed rgba(124, 58, 237, .35);
  animation: spin 20s linear infinite;
}
@keyframes popIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.thanks-panel h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; position: relative; }
.thanks-panel > p { position: relative; font-size: 14px; color: var(--muted); line-height: 2.2; margin-top: 10px; max-width: 46ch; margin-inline: auto; }
.thanks-order-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  color: var(--purple-700);
  font-size: 14px;
  font-weight: 800;
  padding: 9px 20px;
  border-radius: 999px;
  margin-top: 18px;
  position: relative;
}
.thanks-order-chip i.isax { font-size: 16px; }
.thanks-info {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}
.thanks-info .ti {
  background: #FAFAFE;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px;
}
.thanks-info .ti small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; }
.thanks-info .ti strong { display: block; font-size: 14px; font-weight: 800; margin-top: 5px; }
.thanks-actions { position: relative; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ═══════════════ ناحیه کاربری ═══════════════ */
.account-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 22px; }

.account-nav {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 14px;
  position: sticky;
  top: calc(var(--header-top-h) + var(--header-nav-h) + 16px);
}
.account-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  transition: background .2s, color .2s;
}
.account-nav a i.isax { font-size: 19px; color: var(--purple-500); }
.account-nav a:hover { background: var(--purple-50); color: var(--purple-700); }
.account-nav a.is-active { background: var(--grad-main); color: #fff; box-shadow: 0 8px 18px -8px rgba(109, 40, 217, .55); }
.account-nav a.is-active i.isax { color: #fff; }
.account-nav .an-exit { margin-top: 10px; border-top: 1px dashed var(--line-strong); padding-top: 14px; }
.account-nav .an-exit i.isax { color: #DC2626; }

.account-greet {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.account-greet .ag-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--grad-main);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 10px 24px -10px rgba(109, 40, 217, .55);
}
.account-greet h2 { font-size: 19px; font-weight: 800; }
.account-greet p { font-size: 13px; color: var(--muted); margin-top: 4px; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--purple-400); }
.stat-card .st-ico {
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: var(--purple-50);
  color: var(--purple-600);
  flex-shrink: 0;
}
.stat-card .st-ico i.isax { font-size: 21px; }
.stat-card strong { display: block; font-size: 21px; font-weight: 800; }
.stat-card small { font-size: 12px; color: var(--muted); font-weight: 600; }

.orders-table-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px;
  margin-top: 20px;
  overflow-x: auto;
}
.orders-table-wrap h3 { font-size: 16px; font-weight: 800; margin-bottom: 16px; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 13.5px; min-width: 520px; }
.orders-table th {
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  padding: 10px 12px;
  background: #FAFAFE;
  border-bottom: 1px solid var(--line);
}
.orders-table th:first-child { border-start-start-radius: 10px; border-end-start-radius: 10px; }
.orders-table th:last-child { border-start-end-radius: 10px; border-end-end-radius: 10px; }
.orders-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); font-weight: 600; }
.orders-table tr:last-child td { border-bottom: 0; }
.orders-table .order-num { color: var(--purple-600); font-weight: 800; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}
.status-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-done { background: #ECFDF3; color: #15803D; }
.status-process { background: var(--orange-50); color: var(--orange-600); }
.status-shipped { background: var(--blue-50); color: var(--blue-600); }

.orders-table .view-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--purple-600);
  font-size: 12.5px;
  font-weight: 700;
}
.orders-table .view-link i.isax { font-size: 14px; }

.addr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.addr-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
.addr-card h4 { display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 800; }
.addr-card h4 i.isax { font-size: 17px; color: var(--purple-500); }
.addr-card p { font-size: 13px; color: var(--muted); line-height: 2.1; margin-top: 8px; }
.addr-card .edit-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--purple-600); }
.addr-card .edit-link i.isax { font-size: 14px; }

/* ═══════════════ پیگیری سفارش ═══════════════ */
.track-panel {
  max-width: 720px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 36px;
  margin-top: 26px;
}
.track-panel h1 { font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; text-align: center; }
.track-panel > p { font-size: 13.5px; color: var(--muted); text-align: center; line-height: 2.1; margin-top: 8px; }
.track-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.track-form .btn { grid-column: 1 / -1; }

.track-result { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--line-strong); }
.track-result h3 { font-size: 15.5px; font-weight: 800; margin-bottom: 20px; text-align: center; }
.track-steps { display: flex; justify-content: space-between; position: relative; padding-inline: 20px; }
.track-steps::before {
  content: "";
  position: absolute;
  top: 22px;
  inset-inline: 44px;
  height: 3px;
  border-radius: 999px;
  background: var(--line);
}
.track-steps::after {
  content: "";
  position: absolute;
  top: 22px;
  inset-inline: 44px;
  height: 3px;
  border-radius: 999px;
  background: var(--grad-main);
  width: 38%;
  inset-inline-start: 44px;
  inset-inline-end: auto;
}
.track-step { position: relative; text-align: center; z-index: 1; flex: 1; }
.track-step .ts-dot {
  width: 44px; height: 44px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border: 2px solid var(--line-strong);
  color: var(--muted);
  font-size: 18px;
}
.track-step small { font-size: 11.5px; font-weight: 700; color: var(--muted); display: block; }
.track-step.is-done .ts-dot { background: var(--grad-main); border-color: transparent; color: #fff; }
.track-step.is-done small { color: var(--purple-700); }
.track-step.is-current .ts-dot { border-color: var(--purple-600); color: var(--purple-600); box-shadow: var(--ring); }
.track-step.is-current small { color: var(--orange-600); }

@media (max-width: 1024px) {
  .cart-page, .checkout-grid { grid-template-columns: 1fr; }
  .cart-side-panel, .order-summary { position: static; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .account-nav a { white-space: nowrap; }
  .account-nav .an-exit { margin-top: 0; border-top: 0; padding-top: 0; border-inline-start: 1px dashed var(--line-strong); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .orders-table { min-width: 480px; }
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .checkout-panel { padding: 20px 16px; }
  .cart-side-panel { padding: 18px; }
  .thanks-panel { padding: 32px 20px; }
  .thanks-info { grid-template-columns: 1fr; }
  .track-form { grid-template-columns: 1fr; }
  .track-panel { padding: 26px 18px; }
  .track-steps { padding-inline: 6px; }
  .track-steps::before, .track-steps::after { inset-inline: 30px; }
  .track-step .ts-dot { width: 38px; height: 38px; font-size: 15px; }
  .addr-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 10px; }
  .account-greet { flex-direction: column; text-align: center; }
}

/* ═══════════════ فیلترهای موبایل دسته‌بندی ═══════════════ */
@media (max-width: 767px) {
  .cat-layout > .filters { display: none; }
}

/* شیپ فیلترها */
.filter-sheet .sheet-panel {
  display: flex;
  flex-direction: column;
  max-height: 84vh;
  overflow: hidden;
}
.filter-mount {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 2px 18px 12px;
}
.filter-mount .filters {
  position: static;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.filter-mount .filters .price-range input { background: #FBFAFE; }
.filter-sheet-foot {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 10px;
  padding: 14px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}
.filter-sheet .sheet-head strong { display: inline-flex; align-items: center; gap: 8px; }
.filter-sheet .sheet-head strong i.isax { font-size: 18px; color: var(--purple-600); }

/* چیپ‌های فیلتر فعال بالای باتم‌نو */
.active-filters {
  position: fixed;
  bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  inset-inline: 14px;
  z-index: 79;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.active-filters::-webkit-scrollbar { display: none; }
.active-filters[hidden] { display: none; }

.af-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--purple-100);
  color: var(--purple-700);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 8px 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: border-color .2s, transform .2s;
}
.af-chip:active { transform: scale(.96); }
.af-x {
  width: 19px; height: 19px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--orange-50);
  color: var(--orange-600);
  flex-shrink: 0;
}
.af-x i.isax { font-size: 12px; }

@media (min-width: 768px) {
  .active-filters, #filterSheet { display: none !important; }
}

/* بازطراحی فیلتر محدوده قیمت (دسکتاپ) */
.price-range {
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  align-items: center;
  gap: 8px;
}
.pr-field {
  position: relative;
  display: block;
  min-width: 0;
}
.pr-field input {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #FBFAFE;
  padding-inline: 12px 40px;
  font-size: 12.5px;
  font-weight: 700;
  outline: 0;
  text-align: center;
  transition: border-color .2s, box-shadow .2s;
}
.pr-field input:focus { border-color: var(--purple-400); box-shadow: var(--ring); }
.pr-field input::placeholder { color: #B0ADC9; font-weight: 600; }
.pr-field > span {
  position: absolute;
  inset-inline-end: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  background: var(--purple-50);
  border: 1px solid var(--purple-100);
  border-radius: 6px;
  padding: 2px 6px;
  pointer-events: none;
}
.pr-sep {
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--line-strong);
  justify-self: center;
}
.filters .btn--mini { height: 44px; }

/* ═══════════════ دراور: برند (لوگو + نام سایت + شعار) ═══════════════ */
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.drawer-logo { display: inline-flex; flex-shrink: 0; }
.drawer-logo img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(109, 40, 217, .18));
}
.drawer-logo-text {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: #fff;
  border-radius: 14px;
  font-size: 22px;
  font-weight: 900;
}
.drawer-brand-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.drawer-brand-text strong {
  font-size: 15.5px;
  font-weight: 900;
  color: var(--ink, #1E1B33);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.drawer-brand-text small {
  font-size: 11.5px;
  color: var(--muted, #8B87A8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ═══════════════ شیپ جستجو (موبایل) ═══════════════ */
.search-sheet-panel {
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom, 0px));
}
.search-sheet-form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #F6F5FB;
  border: 1.5px solid var(--line, #E9E6F6);
  border-radius: 16px;
  padding: 6px 14px;
  height: 54px;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.search-sheet-form:focus-within {
  border-color: var(--purple-400, #A78BFA);
  background: #fff;
  box-shadow: var(--ring, 0 0 0 4px rgba(124, 58, 237, .12));
}
.search-sheet-form > i.isax { font-size: 20px; color: var(--muted, #8B87A8); flex-shrink: 0; }
.search-sheet-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 14.5px;
  color: var(--ink, #1E1B33);
}
.search-sheet-form input::placeholder { color: #A9A6C2; }
.search-sheet-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, #7C3AED, #2563EB);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: 12px;
  transition: transform .2s, filter .2s;
}
.search-sheet-submit:hover { filter: brightness(1.06); }
.search-sheet-submit i.isax { font-size: 15px; }
.search-sheet-results {
  margin-top: 14px;
  max-height: 44vh;
  overflow-y: auto;
  border-radius: 16px;
}
.search-sheet-results .sr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  text-decoration: none;
  transition: background .2s;
}
.search-sheet-results .sr-item:hover { background: #F6F5FB; }
.search-sheet-results .sr-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line, #E9E6F6);
  border-radius: 12px;
  padding: 4px;
  flex-shrink: 0;
}
.search-sheet-results .sr-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.search-sheet-results .sr-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink, #1E1B33);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.search-sheet-results .sr-price { font-size: 12.5px; color: var(--orange, #F97316); font-weight: 800; }
.search-sheet-results .sr-price del { color: #A9A6C2; font-weight: 400; margin-left: 6px; }
.search-sheet-results .sr-price .woocommerce-Price-currencySymbol { font-size: 10.5px; }
.search-sheet-results .sr-empty,
.search-sheet-results .sr-hint {
  padding: 22px 10px;
  text-align: center;
  color: var(--muted, #8B87A8);
  font-size: 13px;
  line-height: 2;
}
.search-sheet-results .sr-hint i { font-size: 30px; display: block; margin-bottom: 8px; color: var(--purple-300, #C4B5FD); }
.search-sheet-results .sr-loading { padding: 18px; text-align: center; color: var(--muted, #8B87A8); font-size: 12.5px; }
