/*
Theme Name: Baziti Theme RTL v8.0
RTL Stylesheet — Persian layout optimized + Clean Header/Menu structure
*/
/* =============================================
   🔤 فونت فارسی Vazirmatn - Local Load Fix (بازیتی v8.9)
   این بخش را در ابتدای فایل style-rtl.css قرار دهید
   تا فونت در موبایل و دسکتاپ به صورت تضمینی فعال شود
============================================= */

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Vazirmatn';
  src: url('../fonts/vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* اطمینان از استفاده سراسری فونت */
body, button, input, textarea, select {
  font-family: 'Vazirmatn', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif !important;
}

/* --------------------------------------------
   🎨 پالت رنگ و متغیرها
-------------------------------------------- */
:root {
  --baziti-primary: #0077b6;
  --baziti-secondary: #0096c7;
  --baziti-accent: #00b4d8;
  --baziti-highlight: #caf0f8;
  --baziti-bg: #f5f7fa;
  --baziti-card: #ffffff;
  --baziti-text: #1a1a1a;
  --baziti-muted: #6c757d;
  --divider: #e6e9ef;
  --error: #e63946;
}

/* --------------------------------------------
   ⚙️ تنظیمات پایه
-------------------------------------------- */
html { direction: rtl; scroll-behavior: smooth; }
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--baziti-bg);
  color: var(--baziti-text);
  font-family: 'Vazirmatn', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}
a { color: var(--baziti-primary); text-decoration: none; transition: color 0.2s ease; }
a:hover { color: var(--baziti-secondary); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
.section { padding: 26px 0; }
.section-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 20px; font-weight: 800; margin: 0 0 14px; color: #0b1220;
}

/* --------------------------------------------
   🧭 Header / Navbar (دسکتاپ)
-------------------------------------------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--divider);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo .placeholder {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--baziti-primary);
  display: inline-block;
}
.nav-menu {
  display: flex;
  gap: 16px;
  align-items: center;
}
.nav-menu a {
  color: #0b1220;
  font-weight: 600;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 10px;
  border: 1px solid var(--divider);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #0b1220;
  transition: all 0.3s ease;
}
.icon-btn:hover {
  background: var(--baziti-primary);
  color: #fff;
}

/* --------------------------------------------
   📱 منوی موبایل و آیکون‌ها
-------------------------------------------- */
@media (max-width: 768px) {
  .navbar {
    padding: 8px 10px;
  }

  /* چینش آیکون‌ها: دارک‌مود → حساب → سبد خرید → همبرگر */
  .nav-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    order: 2;
    margin-right: auto;
  }

  .nav-actions .btn-theme     { order: 1; }
  .nav-actions .btn-account,
  .nav-actions .btn-login     { order: 2; }
  .nav-actions .btn-cart      { order: 3; }
  .nav-actions .btn-hamburger { order: 4; }

  .nav-actions .icon-btn {
    background: #eaf3fb;
    border: 1px solid #cbd7e4;
    color: #0077b6;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-actions .icon-btn:hover {
    background: #0077b6;
    color: #fff;
  }

  /* نمایش اجباری منوی همبرگری */
  .bz-mobile-toggle { display: inline-flex !important; }

  /* استایل منوی موبایل بازشو */
  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 70px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
  }
  .nav-menu.open { transform: translateX(0); }

  /* حالت شب برای آیکون‌ها */
  body.dark-mode .nav-actions .icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #5cc9ff;
  }
  body.dark-mode .nav-actions .icon-btn:hover {
    background: #5cc9ff;
    color: #101827;
  }
}
/* --------------------------------------------
   🖼️ Hero Slider (اسلایدر اصلی)
-------------------------------------------- */
.hero-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #dfe6f7;
}
.hero-slide {
  position: relative;
  display: none;
}
.hero-slide.active {
  display: block;
  animation: fadeIn .8s ease both;
}
.hero-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1800/818;
  object-fit: cover;
}
.hero-slide .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(180deg,rgba(255,255,255,0) 0%, rgba(0,0,0,.35) 100%);
  color: #fff;
}
.hero-slide .caption h2 {
  margin: 0 0 6px;
  font-size: 22px;
}
.hero-slide .caption p {
  margin: 0;
  font-size: 14px;
  opacity: .96;
}
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* --------------------------------------------
   💎 آیکون سرویس‌ها
-------------------------------------------- */
.bz-grid-icons {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
@media (max-width:800px){
  .bz-grid-icons {
    grid-template-columns: repeat(4,1fr);
  }
}
.icon-card {
  background: var(--baziti-card);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(12,15,22,.04);
}
.icon-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}
.icon-card h4 {
  font-size: 14px;
  margin: 0 0 6px;
}
.icon-card p {
  font-size: 12px;
  color: var(--baziti-muted);
  margin: 0;
}

/* --------------------------------------------
   🏷️ دسته‌بندی‌ها / Category Marquee
-------------------------------------------- */
.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  direction: ltr !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  will-change: transform;
  transition: transform 0.1s linear;
}
.category-card {
  flex: 0 0 150px;
  background: var(--baziti-card);
  border: 1px solid var(--divider);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(12,15,22,.04);
  transition: transform 0.3s ease;
}
.category-card:hover { transform: translateY(-4px); }

/* تصاویر مربع دسته‌بندی‌ها */
.category-card .thumb {
  width: 100%;
  aspect-ratio: 180px / 150px;
  background: #f1f5ff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.category-card h4 {
  font-size: 13px;
  margin: 8px 10px;
  color: #0b1220;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: rtl;
  text-align: right;
}
.carousel-viewport::-webkit-scrollbar { display: none; }
.carousel-viewport { -ms-overflow-style: none; scrollbar-width: none; }

/* --------------------------------------------
   💬 بخش نظرات کاربران (Testimonials)
-------------------------------------------- */
.testimonials {
  background: #ffffff;
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 2px 10px rgba(12,15,22,.04);
  overflow: hidden;
  position: relative;
}
.testi-track {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  will-change: transform;
  direction: ltr;
  position: relative;
  z-index: 1;
}
.testi-card {
  flex: 0 0 260px;
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  white-space: normal;
}
.testi-name {
  font-weight: 700;
  margin: 0 0 6px;
  color: #0b1220;
}
.testi-text {
  font-size: 13px;
  line-height: 1.6;
  color: #0b1220;
}
.stars {
  color: #f59e0b;
  font-size: 14px;
  margin-top: 6px;
}
/* --------------------------------------------
   ⚙️ Footer (فوتر سایت)
-------------------------------------------- */
.site-footer {
  background: #0d2a61;
  color: #fff;
  margin-top: 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
  padding: 26px 0;
}
.footer-grid h4 {
  margin: 0 0 10px;
}
.site-footer a {
  color: #e9eefc;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 12px 0;
  opacity: .85;
  font-size: 13px;
  text-align: center;
}

/* --------------------------------------------
   🧾 فرم نظرات و نقد محصولات ووکامرس
-------------------------------------------- */
#reviews {
  background: #fff;
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(12,15,22,.05);
}
#review_form_wrapper { margin-top: 20px; }
.comment-form-rating label,
.comment-form-comment label {
  font-weight: 600;
  color: var(--baziti-primary);
}
#review_form input[type=text],
#review_form textarea,
#review_form select {
  width: 100%;
  border: 1px solid #d5d7e0;
  border-radius: 10px;
  padding: 10px;
  background: #fafbff;
  font-family: inherit;
}
#review_form .submit {
  background: var(--baziti-primary);
  color: #0b1220;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
#review_form .submit:hover { opacity: 0.9; }
#reviews .stars a { color: #f59e0b; }

/* --------------------------------------------
   🌙 حالت شب (Dark Mode)
-------------------------------------------- */
body.dark-mode {
  background: #0b1220;
  color: #e9eefc;
}
body.dark-mode .site-header {
  background: #101827;
  border-bottom: 1px solid #1f2937;
}
body.dark-mode a { color: #5cc9ff; }
body.dark-mode a:hover { color: #00b4d8; }
body.dark-mode .section-title { color: #e9eefc; }

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
  color: #5cc9ff;
}

/* کارت‌ها در حالت شب */
body.dark-mode .icon-card,
body.dark-mode .category-card,
body.dark-mode .testi-card,
body.dark-mode .woocommerce ul.products li.product,
body.dark-mode .woocommerce div.product {
  background: #1f2937;
  border-color: #2c3647;
  color: #e9eefc;
}
body.dark-mode .icon-card h4,
body.dark-mode .category-card h4,
body.dark-mode .testi-name {
  color: #ffffff;
}

/* دکمه‌ها در حالت شب */
body.dark-mode button,
body.dark-mode input[type=submit],
body.dark-mode .button,
body.dark-mode .woocommerce a.button {
  background: var(--baziti-secondary);
  color: #fff;
}
body.dark-mode button:hover,
body.dark-mode input[type=submit]:hover,
body.dark-mode .button:hover,
body.dark-mode .woocommerce a.button:hover {
  background: var(--baziti-accent);
}

/* فوتر در حالت شب */
body.dark-mode .site-footer {
  background: #101827;
  color: #e9eefc;
  border-top: 1px solid #1f2937;
}
body.dark-mode .site-footer a {
  color: #5cc9ff;
}
body.dark-mode .site-footer a:hover {
  color: #00b4d8;
}

/* آیکون‌های هدر در حالت شب */
body.dark-mode .nav-actions .icon-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #5cc9ff;
}
body.dark-mode .nav-actions .icon-btn:hover {
  background: #5cc9ff;
  color: #101827;
}

/* --------------------------------------------
   📱 ریسپانسیو عمومی
-------------------------------------------- */
@media (max-width: 600px) {
  .section-title { font-size: 18px; }
  .icon-card img { width: 40px; height: 40px; }
  .category-card { flex: 0 0 130px; }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-grid div { margin-bottom: 20px; }
}
/* --------------------------------------------
   🍔 منوی پاپ‌آپ موبایل (بازیتی v8)
-------------------------------------------- */
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.35s ease, opacity 0.3s ease;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}
.nav-menu.open {
  transform: translateX(0);
  opacity: 1;
}

/* دکمه بستن مدرن (بالا گوشه راست) */
.bz-close-menu {
  position: absolute;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  z-index: 1100;
}
.bz-close-menu svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
  transition: all 0.3s ease;
}
.bz-close-menu:hover svg {
  stroke: #0077b6;
  transform: rotate(90deg);
}

/* پوشش تار پس‌زمینه */
.bz-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
}
.bz-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* حالت شب برای منو و دکمه بستن */
body.dark-mode .nav-menu {
  background: #101827;
  box-shadow: -2px 0 10px rgba(255,255,255,0.05);
}
body.dark-mode .bz-close-menu svg {
  stroke: #5cc9ff;
}
body.dark-mode .bz-close-menu:hover svg {
  stroke: #00b4d8;
}

/* فوتر در موبایل */
@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }
  .footer-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .footer-grid li {
    margin: 6px 0;
  }
  .footer-grid h4 {
    margin-bottom: 10px;
  }
}
/* =========================================
   ⚙️ تنظیم نهایی هدر موبایل (بازیتی v8.2)
========================================= */

/* 📱 ترتیب و اندازه آیکون‌ها در موبایل */
@media (max-width: 768px) {
  .nav-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    order: 2;
    margin-right: auto;
  }

  /* ترتیب از راست به چپ */
  .nav-actions .btn-theme     { order: 1; } /* 🌙 دارک‌مود */
  .nav-actions .btn-account,
  .nav-actions .btn-login     { order: 2; } /* 👤 حساب */
  .nav-actions .btn-cart      { order: 3; } /* 🛒 سبد */
  .nav-actions .btn-hamburger { order: 4; } /* ☰ منو */

  /* یکسان‌سازی ظاهر و اندازه */
  .nav-actions .icon-btn {
    background: #eaf3fb;
    border: 1px solid #cbd7e4;
    color: #0077b6;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }

  .nav-actions .icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .nav-actions .icon-btn:hover {
    background: #0077b6;
    color: #fff;
  }

  /* نمایش اجباری همبرگر در موبایل */
  .bz-mobile-toggle {
    display: inline-flex !important;
  }

  /* هماهنگی در حالت شب */
  body.dark-mode .nav-actions .icon-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #5cc9ff;
  }
  body.dark-mode .nav-actions .icon-btn:hover {
    background: #5cc9ff;
    color: #101827;
  }
}

/* 📱 منوی پاپ‌آپ */
.nav-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.35s ease, opacity 0.3s ease;
  padding: 80px 20px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  opacity: 0;
  z-index: 1000;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}
.nav-menu.open {
  transform: translateX(0);
  opacity: 1;
}

/* دکمه بستن مدرن */
.bz-close-menu {
  position: absolute;
  top: 20px;
  left: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  z-index: 1100;
}
.bz-close-menu svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.4;
  transition: all 0.3s ease;
}
.bz-close-menu:hover svg {
  stroke: #0077b6;
  transform: rotate(90deg);
}

/* پس‌زمینه تار هنگام باز بودن منو */
.bz-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 900;
}
.bz-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* حالت شب */
body.dark-mode .nav-menu {
  background: #101827;
}
body.dark-mode .bz-close-menu svg {
  stroke: #5cc9ff;
}
body.dark-mode .bz-close-menu:hover svg {
  stroke: #00b4d8;
}
/* =========================================
   ⚙️ هدر و منوی پاپ‌آپ مرکزی (بازیتی v8.5)
========================================= */

/* 📱 ترتیب آیکون‌ها در موبایل (چپ به راست) */
@media (max-width: 768px) {
  .nav-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-end; /* چینش از چپ به راست */
    gap: 6px;
    order: 2;
    margin-left: auto;
  }

  /* ترتیب چپ → راست */
  .nav-actions .btn-theme     { order: 1; } /* دارک مود */
  .nav-actions .btn-account,
  .nav-actions .btn-login     { order: 2; } /* حساب */
  .nav-actions .btn-cart      { order: 3; } /* سبد */
  .nav-actions .btn-hamburger { order: 4; } /* منو */

  /* اندازه هماهنگ */
  .nav-actions .icon-btn {
    background: #eaf3fb;
    border: 1px solid #cbd7e4;
    color: #0077b6;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  .nav-actions .icon-btn svg {
    width: 18px;
    height: 18px;
  }
  .nav-actions .icon-btn:hover {
    background: #0077b6;
    color: #fff;
  }

  /* نمایش همبرگر */
  .bz-mobile-toggle { display: inline-flex !important; }
}

/* =========================================
   🍔 پاپ‌آپ منو (۸۰٪ عرض، ۶۰٪ ارتفاع)
========================================= */
.nav-menu {
  position: fixed;
  top: 20%;
  right: 10%;
  width: 80%;
  height: 60%;
  background: #fff;
  border-radius: 20px;
  transform: scale(0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
  padding: 60px 20px 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2000;
}
.nav-menu.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* 🌙 حالت شب برای پاپ‌آپ */
body.dark-mode .nav-menu {
  background: #101827;
  color: #e9eefc;
  box-shadow: 0 8px 25px rgba(255,255,255,0.1);
}

/* ✖ دکمه بستن */
.bz-close-menu {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
  z-index: 1100;
}
.bz-close-menu svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.4;
  transition: all 0.3s ease;
}
.bz-close-menu:hover svg {
  stroke: #0077b6;
  transform: rotate(90deg);
}
body.dark-mode .bz-close-menu svg { stroke: #5cc9ff; }
body.dark-mode .bz-close-menu:hover svg { stroke: #00b4d8; }

/* ✨ پس‌زمینه تار در پشت منو */
.bz-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1500;
}
.bz-overlay.active {
  opacity: 1;
  visibility: visible;
}
/* ======================================
   🛍️ اسلایدر محصولات - اصلاح نهایی بازیتی
====================================== */
.carousel-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 5px 0;
}
.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  transition: transform 0.3s ease;
  will-change: transform;
}

/* کارت محصول */
.category-card {
  flex: 0 0 130px; /* عرض بزرگ‌تر */
  background: var(--baziti-card);
  border: 1px solid var(--divider);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(12,15,22,.05);
  transition: transform 0.3s ease;
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-6px);
}

/* بخش تصویر */
.category-card .thumb {
  width: 100%;
  height: 130px; /* ارتفاع بیشتر برای نمایش کامل‌تر */
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #f1f5ff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.category-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* عنوان محصول */
.category-card h4 {
  font-size: 14px;
  margin: 10px;
  text-align: center;
  color: #0b1220;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* رفع باگ کلیک در دسکتاپ */
.category-card,
.category-card * {
  pointer-events: auto !important;
  z-index: 2;
}

/* ======================================================
   🧭 اصلاح نهایی هدر بازیتی v8.8 (منو + ریسپانسیو)
====================================================== */

/* 🎯 در دسکتاپ منو افقی و وسط‌چین باشد */
@media (min-width: 769px) {

  /* ساختار کلی منو */
  .nav-menu {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: static !important;
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    padding: 0 !important;
  }

  /* خود لیست اصلی وردپرس */
  .nav-menu ul {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  /* هر آیتم منو */
  .nav-menu li {
    display: inline-block;
  }

  /* لینک‌ها */
  .nav-menu a {
    position: relative;
    display: inline-block;
    font-weight: 700;
    color: #0b1220;
    font-size: 15px;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 4px;
  }

  /* افکت خط زیر لینک */
  .nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0077b6;
    transition: width 0.3s ease;
  }
  .nav-menu a:hover::after {
    width: 100%;
  }

  .nav-menu a:hover {
    color: #0077b6;
  }

  /* لینک فعال */
  .nav-menu .current-menu-item > a,
  .nav-menu a.active {
    color: #0077b6;
  }
  .nav-menu .current-menu-item > a::after,
  .nav-menu a.active::after {
    width: 100%;
  }

  /* ❌ پنهان کردن المان‌های مخصوص موبایل در دسکتاپ */
  .bz-mobile-toggle,
  .bz-close-menu,
  .bz-overlay {
    display: none !important;
  }
}

/* ======================================
   📱 موبایل - حالت پاپ‌آپ منو
====================================== */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 20%;
    right: 10%;
    width: 80%;
    height: 60%;
    background: #fff;
    border-radius: 20px;
    transform: scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
    padding: 60px 20px 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 2000;
  }
  .nav-menu.open {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  /* دکمه بستن */
  .bz-close-menu {
    position: absolute;
    top: 15px;
    left: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    z-index: 1100;
  }
  .bz-close-menu svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.4;
    transition: all 0.3s ease;
  }
  .bz-close-menu:hover svg {
    stroke: #0077b6;
    transform: rotate(90deg);
  }

  /* پس‌زمینه تار هنگام باز شدن */
  .bz-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1500;
  }
  .bz-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}
/* 💥 اجبار منوی هدر به افقی شدن در دسکتاپ */
@media (min-width: 769px) {
  .nav-menu,
  .menu {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 30px !important;
    list-style: none !important;
  }

  .menu li,
  .nav-menu li {
    display: inline-block !important;
  }

  .menu a {
    font-weight: 700;
    color: #0b1220;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  .menu a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #0077b6;
    transition: width 0.3s ease;
  }
  .menu a:hover::after {
    width: 100%;
  }
}
/* 📱 فیکس فاصله‌ی زیاد سمت چپ هدر در موبایل (RTL) */
@media (max-width: 768px) {
  /* پدینگ ظرف هدر فقط برای موبایل کمتر شود */
  html[dir="rtl"] .site-header .container.navbar {
    padding-inline: 12px 8px !important; /* start=end(right)=12, end=left=8 */
    gap: 6px !important;
  }

  /* هر اتو-مارجینی که قبلاً آیکن‌ها را دور می‌کرد خنثی شود */
  .site-header .nav-actions {
    margin: 0 !important;
    margin-inline: 0 !important;
    justify-content: flex-start !important; /* آیکن‌ها نزدیک لبه چپ */
    gap: 6px !important;
  }

  /* اندازه‌ی آیکن‌ها کمی جمع‌وجورتر */
  .site-header .nav-actions .icon-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }

  /* لوگو کمی کوچک‌تر تا ردیف فشرده‌تر شود */
  .site-header .logo img {
    max-height: 28px;
    width: auto;
  }
}

/* 🧯 اگر قبلاً جایی این باعث فاصله شده بود، بی‌اثر کن */
@media (max-width: 768px) {
  .site-header .nav-actions { 
    margin-left: 7 !important; 
    margin-right: 7 !important; 
  }
}
/* 📱 اصلاح فاصله افقی محتوا در صفحات داخلی (برای موبایل) */
@media (max-width: 768px) {
  body.page,
  body.woocommerce-page,
  body.single,
  body.archive {
    padding-left: 0x !important;
    padding-right: 0x !important;
  }

  .container,
  .site-main,
  main,
  .woocommerce {
    padding-left: 8x !important;
    padding-right: 8x !important;
    box-sizing: border-box;
  }

  /* اطمینان از اینکه محتوای داخلی به لبه نمی‌چسبد */
  .entry-content,
  .woocommerce-notices-wrapper,
  .woocommerce-cart-form,
  .woocommerce-account,
  .woocommerce-checkout,
  .woocommerce-product-category,
  .woocommerce-order,
  .woocommerce-cart {
    padding-inline: 7px !important;
  }
}
/* 🎯 بهینه‌سازی فاصله بین بخش‌ها در کل سایت */
.section {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

@media (max-width: 768px) {
  .section {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
  }
}

/* ✨ کاهش فاصله بین بنرها، محصولات، آیکون‌ها و اسلایدرها */
.hero-slider,
.bz-grid-icons,
.carousel-viewport,
.testimonials {
  margin-top: 12px !important;
  margin-bottom: 12px !important;
}

/* 📱 کاهش فاصله بین تیترها و محتوا در موبایل */
.section-title {
  margin-bottom: 5px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
}

/* 🚫 حذف عنوان بخش "آیکون سرویس‌ها" */
.bz-grid-icons + .section-title,
.section-title:has(+ .bz-grid-icons),
.section-title:has(.bz-grid-icons) {
  display: none !important;
}

/* 📦 اطمینان از هم‌تراز بودن آیکون‌ها در موبایل */
.bz-grid-icons {
  gap: 10px !important;
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 600px) {
  .bz-grid-icons {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
  }
}
/* 🎯 آیکون‌های سرویس بازیتی */
.bz-grid-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  justify-items: center;
  align-items: center;
  margin: 20px auto;
  width: 100%;
  text-align: center;
}

.icon-card {
  background: #fff;
  border: 1px solid #e3e8ef;
  border-radius: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 150px;
  padding: 16px 10px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon-card:hover {
  border-color: #0077b6;
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,119,182,0.15);
}

.icon-card svg {
  width: 60px;
  height: 60px;
  stroke: #0077b6;
  margin-bottom: 6px;
  transition: transform 0.3s ease, stroke 0.3s ease;
}

.icon-card:hover svg {
  stroke: #0096c7;
  transform: scale(1.1);
}

.icon-title {
  font-size: 13px;
  font-weight: 600;
  color: #0b1220;
}

/* 🌙 دارک مود */
body.dark-mode .icon-card {
  background: #111827;
  border-color: #1e293b;
}
body.dark-mode .icon-card svg { stroke: #5cc9ff; }
body.dark-mode .icon-card:hover svg { stroke: #00b4d8; }
body.dark-mode .icon-title { color: #e0e7ff; }

/* 📱 موبایل */
@media (max-width: 768px) {
  .bz-grid-icons {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0 10px;
  }
  .icon-card {
    max-width: none;
    padding: 10px 6px;
  }
  .icon-card svg {
    width: 28px;
    height: 28px;
  }
  .icon-title {
    font-size: 13px;
    min-height: 3.4em; /* همه متن‌ها ارتفاع یکسان می‌گیرن */
  }
}

/* 🎨 بازگردانی رنگ آیکون‌های هدر */
header.site-header .nav-actions .icon-btn svg {
  stroke: #0077b6 !important;
  fill: none;
  transition: all 0.3s ease;
}

header.site-header .nav-actions .icon-btn:hover svg {
  stroke: #0096c7 !important;
}

body.dark-mode header.site-header .nav-actions .icon-btn svg {
  stroke: #5cc9ff !important;
}

body.dark-mode header.site-header .nav-actions .icon-btn:hover svg {
  stroke: #00b4d8 !important;
}
/* ✅ هماهنگ‌سازی سکشن نظرات با پالت اصلی بازیتی */
.testimonials {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.testimonials .testi-card {
  background: transparent !important;
  border: 1px solid var(--divider) !important; /* کادر ظریف */
  border-radius: 14px !important;
  padding: 12px !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.testimonials .testi-card:hover {
  border-color: var(--baziti-primary) !important;
  box-shadow: 0 3px 8px rgba(0,119,182,0.15);
}

.testimonials .testi-name,
.testimonials .testi-text {
  color: var(--baziti-text) !important; /* متن سیاه در حالت روشن */
}

/* 🌙 دارک‌مد */
body.dark-mode .testimonials .testi-card {
  background: rgba(31, 41, 55, 0.6) !important; /* خاکستری تیره نیمه‌شفاف */
  border: 1px solid #2c3647 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

body.dark-mode .testimonials .testi-name,
body.dark-mode .testimonials .testi-text {
  color: #ffffff !important; /* متن سفید */
}
/* 🌟 سایه‌های بهینه‌شده بازیتی (باریک + سایه داخلی برای بنرها) */

/* 🎞️ بنر اصلی (Hero Slider) */
.hero-slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 4px 15px rgba(0, 119, 182, 0.18),      /* سایه بیرونی باریک‌تر */
    inset 0 0 18px rgba(0, 119, 182, 0.12); /* سایه داخلی ملایم */
  transition: box-shadow 0.3s ease;
}
.hero-slider:hover {
  box-shadow:
    0 6px 22px rgba(0, 119, 182, 0.25),
    inset 0 0 22px rgba(0, 119, 182, 0.18);
}

/* 💎 دو بنر وسط */
.duo-banners img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow:
    0 3px 12px rgba(0, 119, 182, 0.18),
    inset 0 0 14px rgba(0, 119, 182, 0.10);
  transition: box-shadow 0.3s ease;
}
.duo-banners img:hover {
  box-shadow:
    0 5px 18px rgba(0, 119, 182, 0.26),
    inset 0 0 20px rgba(0, 119, 182, 0.16);
}

/* 🛍️ کارت محصولات و دسته‌ها */
.category-card {
  box-shadow: 0 1px 6px rgba(0, 119, 182, 0.12);
  border-radius: 16px;
  transition: box-shadow 0.3s ease;
}
.category-card:hover {
  box-shadow: 0 2px 10px rgba(0, 119, 182, 0.20);
}

/* 💬 کارت نظرات کاربران */
.testimonials .testi-card {
  box-shadow: 0 1px 6px rgba(0, 119, 182, 0.10);
  border-radius: 14px;
  transition: box-shadow 0.3s ease;
}
.testimonials .testi-card:hover {
  box-shadow: 0 3px 10px rgba(0, 119, 182, 0.18);
}

/* ✨ آیکون سرویس‌ها */
.icon-card {
  box-shadow: 0 1px 6px rgba(0, 119, 182, 0.10);
  transition: box-shadow 0.3s ease;
}
.icon-card:hover {
  box-shadow: 0 2px 8px rgba(0, 119, 182, 0.18);
}

/* 🌙 دارک مود */
body.dark-mode .hero-slider {
  box-shadow:
    0 3px 14px rgba(92, 201, 255, 0.22),
    inset 0 0 18px rgba(92, 201, 255, 0.12);
}
body.dark-mode .duo-banners img {
  box-shadow:
    0 2px 10px rgba(92, 201, 255, 0.20),
    inset 0 0 14px rgba(92, 201, 255, 0.10);
}
body.dark-mode .category-card {
  box-shadow: 0 1px 8px rgba(92, 201, 255, 0.16);
}
body.dark-mode .testimonials .testi-card {
  box-shadow: 0 2px 8px rgba(92, 201, 255, 0.18);
}
body.dark-mode .icon-card {
  box-shadow: 0 2px 6px rgba(92, 201, 255, 0.14);
}
/* 💎 نسخه نهایی بدون هیچ خط سفید */
.duo-banners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0;
}

.duo-banners a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: #0b1220;
  box-shadow: 0 4px 16px rgba(0, 119, 182, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 📸 این خط جادویی، برش پیکسل واقعی بدون آنتی‌الیاس */
.duo-banners a img {
  display: block;
  width: 100%;
  height: auto;
  clip-path: path("M0,0 h100% v100% h-100% z");
  -webkit-clip-path: path("M0,0 h100% v100% h-100% z");
  border-radius: 0; /* اجازه نده مرورگر خودش گرد کنه */
  mask-image: none !important;
}

/* ✨ برای زیبایی */
.duo-banners a:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 22px rgba(0, 119, 182, 0.35);
}

/* 🌙 دارک مود */
body.dark-mode .duo-banners a {
  background: #0b1220;
  box-shadow: 0 4px 16px rgba(92, 201, 255, 0.22);
}
body.dark-mode .duo-banners a:hover {
  box-shadow: 0 6px 26px rgba(92, 201, 255, 0.28);
}

/* 📱 واکنش‌گرا */
@media (max-width: 768px) {
  .duo-banners {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* 🌀 Smooth Scroll - Baziti Theme */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; /* برای نرمی اسکرول در iOS */
}

/* بهبود حس لمسی در اسکرول موبایل */
body, html {
  overscroll-behavior-y: none; /* جلوگیری از پرش بالا/پایین در موبایل */
  scroll-padding-top: 70px; /* در صورت وجود هدر ثابت */
}

/* برای زمان‌هایی که در مود دارک هستی */
body.dark-mode {
  scroll-behavior: smooth;
}
/* ⚡ Section Title - Baziti Premium Style */
.section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--baziti-text);
  text-align: center;
  margin: 2.8rem auto 2rem;
  letter-spacing: -0.3px;
  text-transform: none;
}
/* ⚡ Baziti Dynamic Section Title */
.section-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--baziti-text);
  text-align: center;
  margin: 2.8rem auto 2rem;
  letter-spacing: -0.3px;
  transition: all 0.4s ease;
}

/* 🔹 خطوط دوطرفه */
.section-title::before,
.section-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--baziti-primary));
  margin: 0 1rem;
  border-radius: 2px;
  opacity: 0.5;
  transition: all 0.4s ease;
}
.section-title::after {
  background: linear-gradient(90deg, var(--baziti-primary), transparent);
}

/* ✨ رنگ متن گرادیانی */
.section-title span {
  background: linear-gradient(90deg, var(--baziti-primary), var(--baziti-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 🌈 افکت هاور */
.section-title:hover::before,
.section-title:hover::after {
  opacity: 0.9;
  height: 3px;
  filter: drop-shadow(0 0 5px var(--baziti-primary));
}

/* 🌙 حالت تاریک */
body.dark-mode .section-title {
  color: var(--baziti-highlight);
}

body.dark-mode .section-title::before,
body.dark-mode .section-title::after {
  background: linear-gradient(90deg, transparent, var(--baziti-accent));
  opacity: 0.7;
  filter: drop-shadow(0 0 4px var(--baziti-accent));
}

body.dark-mode .section-title::after {
  background: linear-gradient(90deg, var(--baziti-accent), transparent);
}

body.dark-mode .section-title span {
  background: linear-gradient(90deg, var(--baziti-accent), var(--baziti-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.dark-mode .section-title:hover::before,
body.dark-mode .section-title:hover::after {
  opacity: 1;
  filter: drop-shadow(0 0 8px var(--baziti-accent));
}

/* 📱 ریسپانسیو */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.15rem;
    margin: 2rem 0 1.3rem;
  }
  .section-title::before,
  .section-title::after {
    margin: 0 0.6rem;
  }
}
/* 🎬 Animation: Fade-Up on Scroll */
.section-title {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

/* وقتی وارد دید می‌شود */
.section-title.visible {
  opacity: 1;
  transform: translateY(0);
}
/* 🌌 Baziti Particle Background - Fixed RTL/Mobile */
.bz-particles {
  position: fixed;
  top: 0;
  left: 0; /* ← این خط باعث میشه در موبایل سمت راست نره */
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background: radial-gradient(ellipse at center, var(--baziti-bg) 0%, #e6e9ef 100%);
  direction: ltr; /* مهم برای جلوگیری از جابجایی در حالت RTL */
}

/* ذرات */
.bz-particles::before,
.bz-particles::after {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background-image: radial-gradient(var(--baziti-primary) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.25;
  animation: bzMoveParticles 60s linear infinite;
  transform: translateZ(0);
  pointer-events: none;
}

.bz-particles::after {
  opacity: 0.35;
  background-size: 60px 60px;
  animation-duration: 90s;
  animation-direction: reverse;
}

@keyframes bzMoveParticles {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-200px, -200px, 0);
  }
}

/* 💫 حالت دارک مود */
body.dark-mode .bz-particles {
  background: radial-gradient(circle at center, rgb(11, 18, 32) 0%, rgb(5, 10, 20) 100%);
}
body.dark-mode .bz-particles::before,
body.dark-mode .bz-particles::after {
  background-image: radial-gradient(var(--baziti-accent) 1px, transparent 1px);
  opacity: 0.15;
}

/* 📱 تنظیم خاص برای موبایل */
@media (max-width: 768px) {
  .bz-particles {
    background-position: center center !important;
    background-attachment: fixed;
    transform: none !important;
  }
}
/* 🌌 Baziti Footer - Semi Dark with Particles */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, #e9eef3 0%, #dce3eb 100%);
  color: var(--baziti-text);
  border-top: 1px solid var(--divider);
  padding: 3rem 0 2rem;
  text-align: center;
  overflow: hidden;
}

/* بخش پارتیکل‌ها داخل فوتر */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--baziti-primary) 1px, transparent 1px),
                    radial-gradient(var(--baziti-accent) 1px, transparent 1px);
  background-size: 50px 50px, 80px 80px;
  animation: footerParticles 60s linear infinite;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

@keyframes footerParticles {
  from { background-position: 0 0, 0 0; }
  to { background-position: -200px -200px, 200px 200px; }
}

/* محتوای فوتر روی پارتیکل‌ها */
.site-footer > * {
  position: relative;
  z-index: 1;
}

/* لینک‌ها */
.site-footer a {
  color: var(--baziti-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}
.site-footer a:hover {
  color: var(--baziti-secondary);
}

/* فوتر پایینی */
.site-footer .footer-bottom {
  font-size: 0.85rem;
  color: var(--baziti-muted);
  border-top: 1px solid var(--divider);
  margin-top: 1.5rem;
  padding-top: 1rem;
}

/* 🌙 حالت دارک مود */
body.dark-mode .site-footer {
  background: linear-gradient(180deg, rgb(11,18,32) 0%, rgb(5,10,20) 100%);
  color: #dce4f0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

body.dark-mode .site-footer::before {
  background-image: radial-gradient(var(--baziti-accent) 1px, transparent 1px),
                    radial-gradient(var(--baziti-secondary) 1px, transparent 1px);
  opacity: 0.1;
}

body.dark-mode .site-footer a {
  color: var(--baziti-accent);
}
body.dark-mode .site-footer a:hover {
  color: #90e0ef;
}
/* 🚫 حذف نقطه‌ها از فوتر */
.site-footer ul {
  list-style: none; /* حذف دایره‌ها */
  margin: 0;
  padding: 0;
}

.site-footer li {
  position: relative;
  margin: 0.3rem 0;
  padding: 0;
}

/* اگه بعضی تم‌ها با pseudo-element نقطه می‌سازن */
.site-footer li::before {
  content: none !important;
}
/* 🌌 پاپ‌آپ ورود بازیتی */
.bz-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999999;
}
.bz-popup-box {
  background: var(--baziti-card);
  color: var(--baziti-text);
  border-radius: 16px;
  padding: 24px;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}
.bz-popup-close {
  position: absolute;
  top: 8px;
  left: 12px;
  font-size: 22px;
  color: var(--baziti-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}
.bz-popup-close:hover { color: var(--baziti-primary); }

body.dark-mode .bz-popup-box {
  background: rgb(20, 27, 40);
  color: rgb(233, 238, 252);
}

/* ورودی‌ها و دکمه‌ها داخل فرم دیجیتس */
#bz-popup-login input,
#bz-popup-login button {
  font-family: "Vazirmatn", sans-serif !important;
  border-radius: 8px !important;
}
