@charset "UTF-8";
/* ==========================================================================
          بخش اول: استایل‌های عمومی (Global Styles) - تم دارک (Dark Blue)
          شامل: متغیرها، هدر، فوتر، منو، پری‌لودر و ویدجت راهنما
          ========================================================================== */
/* 1. تنظیمات پایه و متغیرها */
:root {
  --theme-color: #5698c8; /* رنگ اصلی (آبی روشن) */
  --theme-hover-color: #2c75af; /* رنگ اصلی (آبی روشن) */
  --theme-second-color: #a7dafc;
  --bg-gold: #FF9900;
  /* پس‌زمینه اصلی به گرادینت تیره با رنگ درخواستی */
  --bg-body: #f7f7f7;
  --text-main: #f0f2f5; /* رنگ متن اصلی به روشن */
  --text-dark-blue: #071339;
  --text-muted: #aab2bd; /* رنگ متن‌های فرعی */
  --border-color: #ced5e5; /* رنگ بوردرها */
  --main-dark-bg: #050c26; /* متغیر رنگ پایه درخواستی */
}

html, body {
  overflow-x: hidden !important;
  width: 100%;
  max-width: 100%;
  position: relative;
  scroll-behavior: smooth;
  min-height: 100vh;
}

body {
  font-family: "IRANYekan", sans-serif;
  background: var(--bg-body); /* گرادینت اعمال شد */
  background-attachment: fixed; /* ثابت ماندن گرادینت هنگام اسکرول */
}

/* کلاس‌های کمکی */
body.overflow-hidden {
  overflow: hidden !important;
}

.custom-card {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.text-black {
  color: #fff !important; /* در تم تیره، کلاس بلک را به سفید تغییر می‌دهیم تا دیده شود */
}

.d-none-custom {
  display: none;
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

/* 2. پری‌لودر (Preloader) */
#site-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--main-dark-bg); /* استفاده از رنگ درخواستی */
  background: linear-gradient(135deg, #0a1d57 0%, #050c26 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#site-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  filter: blur(10px);
  transform: scale(1.1);
}

.preloader-content {
  text-align: center;
  position: relative;
}

.preloader-logo {
  width: 80px;
  margin-bottom: 20px;
  filter: none;
  animation: soft-pulse 2s infinite ease-in-out;
}

.loading-line-wrapper {
  width: 150px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}

.loading-line {
  width: 40%;
  height: 100%;
  background: var(--bg-gold);
  position: absolute;
  left: -50%;
  animation: line-move 1.5s infinite ease-in-out;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--theme-color);
}

@keyframes soft-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}
@keyframes line-move {
  0% {
    left: -50%;
    width: 30%;
  }
  50% {
    left: 20%;
    width: 60%;
  }
  100% {
    left: 100%;
    width: 30%;
  }
}
/* 3. نویگیشن بار (Header) */
.custom-nav {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  margin: 0 !important;
  padding: 25px 0;
  z-index: 3;
  transition: all 0.4s ease;
  /* گرادینت نرم برای هدر */
  background: linear-gradient(to bottom, rgba(4, 13, 42, 0.95) 0%, rgba(4, 13, 42, 0) 100%);
}

.custom-nav.scrolled {
  background: rgba(4, 13, 42, 0.95); /* رنگ درخواستی با کمی شفافیت */
  padding: 15px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-links {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  position: relative;
  transition: 0.3s;
  color: #fff;
}

.nav-links .nav-links a.active {
  color: var(--theme-color);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--theme-color);
  transition: 0.3s;
  transform: translateX(-50%);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.logo {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.logo img {
  height: 45px;
  filter: none !important;
  transition: 0.3s;
  position: relative;
  z-index: 0;
}

.logo::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shine-rtl 4s infinite;
  z-index: 1;
  pointer-events: none;
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-icon-header {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff !important;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-icon-header:hover {
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  transform: translateY(-3px);
  color: #fff !important;
  box-shadow: 0 5px 15px rgba(86, 152, 200, 0.3);
}

.badge-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--theme-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--main-dark-bg);
}

/* جستجو */
.search-box-wrapper {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 600px;
  max-width: 90%;
  margin-top: 20px;
  /* پس‌زمینه جستجو متناسب با رنگ جدید */
  background: rgba(4, 13, 42, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 50px;
  padding: 10px 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-20px);
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 999;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(86, 152, 200, 0.1), inset 0 0 20px rgba(4, 13, 42, 0.5);
  animation: glow-border 3s infinite alternate;
}

.search-box-wrapper.open {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@keyframes glow-border {
  0% {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(4, 13, 42, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.05);
  }
  100% {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 25px rgba(86, 152, 200, 0.2), inset 0 0 20px rgba(4, 13, 42, 0.8);
  }
}
.search-form-header {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.search-form-header input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 50px 10px 20px;
  font-size: 1.2rem;
  color: #fff;
  outline: none;
  text-align: right;
}

.search-form-header input::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
}

.search-form-header button {
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--theme-color);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 0 10px rgba(86, 152, 200, 0.4);
}

.search-form-header button:hover {
  transform: translateY(-50%) scale(1.1);
  background: #fff;
  color: var(--theme-color);
}

.btn-header-action {
  background-color: var(--theme-color) !important;
  color: #fff !important;
  border: 1px solid var(--theme-color) !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

.btn-header-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(86, 152, 200, 0.4);
}

.btn-header-action::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: shine-rtl 3s infinite;
  z-index: -1;
}

@keyframes shine-rtl {
  0% {
    right: -100%;
  }
  20% {
    right: 200%;
  }
  100% {
    right: 200%;
  }
}
/* منوی موبایل */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  /* پس‌زمینه منوی موبایل با رنگ درخواستی */
  background: rgba(4, 13, 42, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 10000;
  padding: 60px 30px 30px;
  transition: 0.4s ease;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-overlay.open {
  right: 0;
}

.mobile-overlay ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.mobile-overlay a {
  color: #fff !important;
  font-size: 1.1rem;
  text-decoration: none;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 10px;
  transition: color 0.3s;
}

.mobile-overlay img {
  width: 120px;
}

.mobile-overlay a:hover, .mobile-overlay a.active {
  color: var(--theme-color) !important;
  border-color: var(--theme-color);
}

.close-menu {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 2rem;
  color: var(--theme-color);
  cursor: pointer;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9998;
  display: none;
}

.backdrop.open {
  display: block;
}

.mobile-menu-logo {
  height: 40px;
  filter: brightness(0) invert(1);
}

/* نویگیتور عمودی (Side Nav) */
.vertical-nav {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 10px;
  /* پس‌زمینه نویگیتور */
  background: rgba(4, 13, 42, 0.4);
  backdrop-filter: blur(5px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: 0.3s;
}

.vertical-nav a {
  position: relative;
  width: 12px;
  height: 12px;
  display: block;
  cursor: pointer;
}

.vertical-nav a span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.vertical-nav a:hover span, .vertical-nav a.active span {
  width: 14px;
  height: 14px;
  background-color: var(--theme-color);
  box-shadow: 0 0 10px var(--theme-color);
}

.vertical-nav a::before {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  right: 25px;
  transform: translateY(-50%) translateX(10px);
  background-color: var(--theme-color);
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.vertical-nav a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%) translateX(10px);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--theme-color);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

/* 4. فوتر (Footer) */
.main-footer {
  /* گرادینت مورب درخواستی برای فوتر */
  background: linear-gradient(135deg, #040d2a 0%, #0a1f4d 100%);
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  border-top: 5px solid var(--bg-gold);
}

.footer-top {
  padding: 80px 0 50px;
}

.footer-logo-img {
  height: 45px;
  filter: brightness(0) invert(1);
}

.footer-widget-title {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background-color: var(--theme-color);
  border-radius: 2px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--theme-color);
  transform: translateX(-5px);
}

.footer-links a i {
  margin-left: 8px;
  font-size: 0.8rem;
  color: #666;
  transition: 0.3s;
}

.footer-links a:hover i {
  color: var(--theme-color);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: var(--text-muted);
}

.footer-contact i {
  color: var(--theme-color);
  font-size: 1.3rem;
  margin-left: 10px;
  margin-top: 2px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  transform: translateY(-3px);
  color: #fff !important;
}

.footer-bottom {
  /* لایه تیره روی گرادینت مورب برای جداسازی بخش کپی‌رایت */
  background-color: rgba(0, 0, 0, 0.3);
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-widget-title .toggle-icon {
  display: none;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.trust-symbols {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.trust-item {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.trust-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.newsletter-input {
  text-align: right;
  direction: rtl;
  padding-left: 50px;
  padding-right: 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: var(--theme-color);
  box-shadow: none;
}

.newsletter-btn {
  border-radius: 50px 0 0 50px;
}

/* بخش کپی‌رایت */
.main-footer .copyright-text {
  font-size: 0.9rem;
  color: #aab2bd; /* رنگ متن مات */
  margin: 0;
}

/* لینک توسعه‌دهنده */
.copyright-dev {
  color: #FF8C00; /* رنگ نارنجی صحیح */
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.copyright-dev:hover {
  color: #ffb347; /* نارنجی روشن‌تر هنگام موس‌اوور */
  text-shadow: 0 0 8px rgba(255, 140, 0, 0.4);
}

.footer-widget-title .toggle-icon {
  display: none;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.trust-symbols {
  display: flex;
  gap: 15px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.trust-item {
  background: #fff;
  border-radius: 12px;
  padding: 10px;
  width: 85px;
  height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.trust-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.trust-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.newsletter-input {
  text-align: right;
  direction: rtl;
  padding-left: 50px;
  padding-right: 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
}

.newsletter-input:focus {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: var(--theme-color);
  box-shadow: none;
}

.newsletter-btn {
  border-radius: 50px 0 0 50px;
}

.copyright-dev {
  color: #FF8C00;
  font-weight: bold;
}

/* 5. ویدجت راهنما (Guide Widget) */
.site-guide-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  z-index: 9990;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 2px solid #ff9801;
  animation: red-glow-shake 2s infinite ease-in-out;
  transition: transform 0.3s;
}

.site-guide-widget:hover {
  transform: scale(1.1);
}

.site-guide-widget video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.play-overlay i {
  color: #fff;
  font-size: 30px;
}

.site-guide-widget:hover .play-overlay {
  opacity: 1;
}

@keyframes red-glow-shake {
  0% {
    box-shadow: 0 0 0 0 rgba(156, 93, 0, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(255, 152, 1, 0.8);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(156, 93, 0, 0.4);
    transform: scale(1);
  }
}
/* 6. ریسپانسیو عمومی (Responsive) */
@media (min-width: 992px) {
  .vertical-nav a:hover::before, .vertical-nav a:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }
}
/* 5. ویدجت راهنما (Guide Widget) */
.site-guide-widget {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  z-index: 9990;
  cursor: pointer;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border: 2px solid #ff9801;
  animation: red-glow-shake 2s infinite ease-in-out;
  transition: transform 0.3s;
}

.site-guide-widget:hover {
  transform: scale(1.1);
}

.site-guide-widget video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.play-overlay i {
  color: #fff;
  font-size: 30px;
}

.site-guide-widget:hover .play-overlay {
  opacity: 1;
}

/* اصلاح انیمیشن لرزش و درخشش */
@keyframes red-glow-shake {
  0% {
    box-shadow: 0 0 0 0 rgba(156, 93, 0, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(255, 152, 1, 0.8);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(156, 93, 0, 0.4);
    transform: scale(1);
  }
}
/* اصلاح بخش ریسپانسیو (تبلت و موبایل) */
@media (max-width: 991px) {
  .mobile-menu-btn {
    display: block;
    order: -1;
    margin-left: 15px;
  }
  .logo {
    order: 2;
    margin-right: auto;
    margin-left: 0;
  }
  .nav-links, .btn-header-action {
    display: none;
  }
  .custom-nav {
    padding: 15px 0;
  }
  .vertical-nav {
    right: 10px;
    padding: 15px 5px;
    gap: 15px;
    background: rgba(4, 13, 42, 0.6);
  }
  .vertical-nav a {
    width: 10px;
    height: 10px;
  }
  .vertical-nav a span {
    width: 6px;
    height: 6px;
  }
  .vertical-nav a.active span {
    width: 10px;
    height: 10px;
  }
  .vertical-nav a::before, .vertical-nav a::after {
    display: none;
  }
  .footer-widget {
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
  }
  .footer-widget:last-child {
    border-bottom: none;
  }
  .footer-widget-title {
    cursor: pointer;
    margin-bottom: 15px;
  }
  .footer-widget-title .toggle-icon {
    display: block;
  }
  .footer-widget-title.active .toggle-icon {
    transform: rotate(180deg);
  }
  .footer-links-container {
    display: none;
    padding-bottom: 15px;
    margin-top: 0 !important;
  }
  .footer-links-container.open {
    display: block;
    animation: fadeIn 0.3s;
  }
  .btn-icon-header {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    margin-left: 8px !important;
  }
  .btn-header-action {
    display: none !important;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- استایل نهایی: تصویر + گرادینت تیره + گوشه‌های گرد --- */
.page-header {
  position: relative;
  width: 100%;
  height: 10vh;
  min-height: 90px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  overflow: hidden;
}

/* بازگرداندن لایه تاریک (گرادینت) روی عکس با استفاده از رنگ درخواستی */
.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* گرادینت از رنگ درخواستی غلیظ در بالا به ملایم در پایین */
  background: linear-gradient(to bottom, rgba(4, 13, 42, 0.95) 0%, rgba(4, 13, 42, 0.5) 100%);
  z-index: 1;
}

/* کانتینر محتوا (باید روی لایه تاریک باشد) */
.page-header-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* تیتر صفحه */
.page-header-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* استایل مسیر راهنما (Breadcrumb) */
.breadcrumb-wrapper {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 6px 25px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.breadcrumb-wrapper ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.breadcrumb-wrapper ul li {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-wrapper ul li a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb-wrapper ul li a:hover {
  color: var(--theme-color);
}

.breadcrumb-wrapper ul li + li::before {
  content: "/";
  margin-left: 10px;
  color: rgba(255, 255, 255, 0.4);
}

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
  .page-header {
    height: 10vh;
    min-height: 90px;
    padding-top: 60px;
  }
  .page-header-title {
    font-size: 1.5rem;
  }
}
/* ==========================================================================
   تغییر رنگ عمومی لینک‌ها
   ========================================================================== */
a {
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-links a {
  color: #fff !important;
}

.nav-links a:hover {
  color: var(--theme-color) !important;
}

.footer-links a,
.footer-contact li {
  color: var(--text-muted) !important;
}

.footer-links a:hover {
  color: var(--theme-color) !important;
  transform: translateX(-5px);
}

.breadcrumb-wrapper ul li a {
  color: #fff !important;
}

.breadcrumb-wrapper ul li a:hover {
  color: var(--theme-color) !important;
}

.page-item.active .page-link {
  background-color: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  color: #fff;
}

.page-link {
  background-color: var(--bg-card);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

/* ==========================================================================
   استایل‌های منوی دسکتاپ (Submenu Desktop)
   ========================================================================== */
/* والد منوی دارای زیرمنو */
.nav-links li.has-submenu {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* باکس اصلی زیرمنو */
.nav-links .submenu {
  position: absolute;
  top: calc(100% + 20px);
  right: 0;
  width: 240px;
  background: rgba(4, 13, 42, 0.95); /* رنگ تیره هدر */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 15px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 15px 0;
  /* مخفی کردن پیش‌فرض */
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.nav-links .submenu::before {
  content: "";
  position: absolute;
  top: -20px; /* به اندازه فاصله‌ای که دادیم به سمت بالا کشیده شود */
  left: 0;
  width: 100%;
  height: 20px; /* ارتفاع پل */
  background: transparent; /* نامرئی */
  display: block;
}

/* نمایش زیرمنو هنگام هاور روی والد */
.nav-links li.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* آیتم‌های لیست داخل زیرمنو */
.nav-links .submenu li {
  width: 100%;
  padding: 0 15px;
  list-style: none;
}

/* لینک‌های داخل زیرمنو */
.nav-links .submenu a {
  display: inline-block; /* مهم: برای اینکه عرض لینک به اندازه متن باشد */
  width: 100%; /* اشغال فضای کل برای کلیک راحت‌تر */
  padding: 10px 15px;
  color: #fff !important;
  font-size: 0.95rem;
  font-weight: 400;
  position: relative;
  transition: all 0.3s ease;
  border-radius: 8px;
}

/* غیرفعال کردن افکت خط زیرین والد برای زیرمنوها */
.nav-links .submenu a::after {
  display: none;
}

/* ایجاد خط جدید مخصوص زیرمنو که فقط زیر متن باشد */
.nav-links .submenu a span,
.nav-links .submenu a {
  position: relative;
}

/* ایندنت و افکت هنگام هاور (حرکت به چپ) */
.nav-links .submenu a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--theme-color) !important;
  /* درخواست شما: ایندنت ریز هنگام کلیک/هاور */
  transform: translateX(-8px);
  padding-right: 20px; /* جبران فضای خالی شده */
}

/* آیکون فلش کوچک کنار منوی والد */
.submenu-arrow {
  font-size: 1rem;
  margin-right: 5px;
  transition: transform 0.3s;
  vertical-align: middle;
}

.nav-links li.has-submenu:hover .submenu-arrow {
  transform: rotate(180deg);
  color: var(--theme-color);
}

/* ==========================================================================
   استایل‌های منوی موبایل (Mobile Menu & Accordion)
   ========================================================================== */
/* لیست اصلی موبایل */
.mobile-overlay ul {
  width: 100%;
}

/* هدر آیتم‌های دارای زیرمنو (شامل متن و فلش) */
.mobile-submenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  color: #fff;
  font-size: 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: 0.3s;
}

.mobile-submenu-header:hover {
  color: var(--theme-color);
}

.mobile-submenu-header i {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

/* استایل لیست زیرمنو (مخفی در حالت عادی) */
.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0 !important;
  border-radius: 8px;
  overflow: hidden;
  max-height: 0; /* برای انیمیشن باز شدن */
  opacity: 0;
  transition: all 0.4s ease-in-out;
  border-right: 2px solid transparent;
}

/* لینک‌های داخل زیرمنو موبایل */
.mobile-submenu li a {
  padding: 12px 20px 12px 10px; /* ایندنت (تورتگی) از راست */
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03) !important;
  display: flex !important;
  align-items: center;
}

/* آیکون بولت کوچک کنار آیتم‌های زیرمنو برای زیبایی */
.mobile-submenu li a::before {
  display: none;
  width: 6px;
  height: 6px;
  background-color: var(--theme-color);
  border-radius: 50%;
  margin-left: 10px;
  opacity: 0.5;
  transition: 0.3s;
}

.mobile-submenu li a:hover::before {
  opacity: 1;
  transform: scale(1.2);
}

.mobile-submenu li a:hover {
  padding-right: 25px; /* حرکت جزئی هنگام هاور */
  background: rgba(255, 255, 255, 0.05);
  color: #fff !important;
}

/* --- کلاس‌های فعال (Active Classes) --- */
/* وقتی منو باز می‌شود (کلاس open توسط جاوااسکریپت اضافه می‌شود) */
.mobile-has-submenu.open .mobile-submenu {
  max-height: 500px; /* ارتفاع حداکثری برای باز شدن */
  opacity: 1;
  margin-top: 10px;
  margin-bottom: 15px;
}

/* چرخش فلش هنگام باز شدن */
.mobile-has-submenu.open .mobile-submenu-header i {
  transform: rotate(180deg);
  color: var(--theme-color);
}

.mobile-has-submenu.open .mobile-submenu-header {
  color: var(--theme-color);
  border-bottom-color: transparent; /* حذف خط جداکننده وقتی باز است */
}

/* --- دکمه تریگر در هدر (جایگزین nav-link) --- */
.custom-menu-trigger {
  background: transparent;
  border: none;
  color: var(--text-main); /* رنگ متن اصلی */
  font-size: 16px; /* سایز فونت متناسب با هدر */
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0; /* حذف پدینگ اضافی برای تراز شدن */
  margin: 0;
  transition: color 0.3s;
  /* اگر لازم است ارتفاع خط تنظیم شود */
  line-height: inherit;
}

.custom-menu-trigger i {
  font-size: 20px; /* آیکون کمی بزرگتر */
  color: var(--theme-color); /* رنگ آبی برند */
}

.custom-menu-trigger:hover {
  color: var(--theme-color);
}

/* --- پس‌زمینه اصلی تمام صفحه (شیشه‌ای‌تر) --- */
.product-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*
     تبدیل رنگ #050c26 به RGBA:
     Red: 5, Green: 12, Blue: 38
     Opacity: 0.65 (برای شیشه‌ای‌تر بودن)
  */
  background: rgba(5, 12, 38, 0.65);
  /* بلور قوی برای افکت مات */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/* --- دکمه بستن --- */
.close-overlay-btn {
  position: absolute;
  top: 30px;
  left: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 20px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}

.close-overlay-btn:hover {
  background: var(--theme-color);
  border-color: var(--theme-color);
  color: #fff;
  box-shadow: 0 0 15px rgba(86, 152, 200, 0.4);
}

/* --- تیتر منو --- */
.menu-title {
  color: var(--text-main);
  text-align: center;
  margin-bottom: 50px;
  font-weight: 700;
  font-size: 1.8rem;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

/* --- شبکه محصولات --- */
.simple-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .simple-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .simple-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* --- آیتم تکی --- */
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 25px 15px;
  border-radius: 20px;
  /* زمینه بسیار شفاف */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* افکت درخشش هنگام هاور */
.cat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, rgba(86, 152, 200, 0.2) 0%, transparent 70%);
  opacity: 0;
  transition: 0.3s;
}

.cat-item:hover {
  border-color: var(--theme-color);
  transform: translateY(-8px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.cat-item:hover::before {
  opacity: 1;
}

/* --- باکس عکس --- */
.img-box {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1; /* بالاتر از افکت پس‌زمینه */
}

.img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px rgba(0, 0, 0, 0.5));
  transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cat-item:hover .img-box img {
  transform: scale(1.15) rotate(-5deg); /* چرخش و بزرگنمایی جذاب */
}

/* --- متن محصول --- */
.cat-item span {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  z-index: 1;
  transition: 0.3s;
}

.cat-item:hover span {
  color: var(--theme-color);
}

/* تنظیمات نگهدارنده اصلی شبکه‌های اجتماعی */
.social-links {
  display: flex;
  flex-wrap: wrap; /* جلوگیری از بیرون زدن در موبایل */
  align-items: center;
  gap: 10px; /* فاصله بین دکمه‌ها */
}

/* تنظیمات دایره‌های شبکه‌های اجتماعی */
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%; /* گرد بودن کامل */
  overflow: hidden; /* جلوگیری از بیرون زدن عکس */
  text-decoration: none;
}

/* تنظیمات خود عکس داخل دایره */
.social-links a img {
  width: 22px;
  height: 22px;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
  display: block;
}

.social-links a:hover img {
  transform: scale(1.1);
}

/* در صورت نیاز به کوچک‌تر شدن آیکون‌ها در موبایل */
@media (max-width: 768px) {
  .social-links {
    justify-content: center; /* وسط‌چین کردن دکمه‌ها در موبایل (اختیاری) */
    gap: 8px;
  }
  .social-links a {
    width: 36px;
    height: 36px;
  }
  .social-links a img {
    width: 20px;
    height: 20px;
  }
}
/*new part تنظیمات اختصاصی اسلایدر فروشندگان */
.sellers-swiper-slider {
  /* ایجاد فضای کافی در پایین برای نقاط ناوبری (Pagination) */
  padding-bottom: 45px !important;
}

/* اجبار به هم‌ارتفاع بودن تمام کارت‌های داخل اسلایدر */
.sellers-swiper-slider .swiper-slide {
  height: auto !important;
}

/* ---------------------------------------------------
   جدید: حذف گردی گوشه‌ها برای مربعی و تیز شدن لبه‌ها
--------------------------------------------------- */
.sellers-banner,
.seller-card {
  border-radius: 0 !important;
}

/* استایل پایه کارت فروشنده */
.seller-card {
  transition: all 0.3s ease-in-out;
  border: 1px solid var(--border-color);
}

/* افکت هاور روی کارت فروشنده (بدون حرکت به بالا) */
.seller-card:hover {
  /* خط transform حذف شد تا کارت به بالا حرکت نکند */
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08) !important; /* سایه نرم */
  border-color: var(--theme-color) !important; /* رنگ حاشیه در حالت هاور (رنگ primary) */
}

/* تنظیم دکمه افزودن به سبد در پایین‌ترین قسمت کارت */
.seller-card .mt-auto {
  margin-top: auto !important;
}

/* هم‌اندازه کردن ارتفاع بنر ثابت دسکتاپ با کارت‌های اسلایدر */
@media (min-width: 992px) {
  .col-lg-3 > .sellers-banner {
    /* کسر کردن فضای خالی پایین اسلایدر از ارتفاع کل بنر */
    height: calc(100% - 45px) !important;
  }
}
.sellers-row {
  --bs-gutter-x: 10px;
}

/* استایل کلی پنل و حل مشکل قرارگیری زیر چت */
#purchaseMethodDrawer {
  border-top-left-radius: 1.5rem;
  border-top-right-radius: 1.5rem;
  direction: rtl;
  z-index: 9999999 !important; /* قرارگیری روی تمام المان‌ها مثل گفتینو */
}

/* استایل تب‌های اختصاصی با رنگ سازمانی */
.brand-tabs .nav-link {
  color: var(--theme-color);
  border-radius: 50px;
  margin-left: 0.5rem;
  border: 1px solid transparent;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.brand-tabs .nav-link.active {
  background-color: var(--theme-color) !important;
  color: var(--text-main) !important;
  border-color: var(--theme-color);
}

/* --- تغییرات جدید برای دکمه‌های انتخاب اقساط --- */
/* حالت عادی دکمه‌ها (خاکستری و خنثی) */
.btn-outline-brand {
  color: #6c7583;
  border: 1px solid var(--border-color); /* حاشیه */
  background-color: transparent;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out; /* نرم شدن تغییر حالت */
}

/* افکت هاور برای حالت عادی */
.btn-outline-brand:hover {
  border-color: var(--theme-color);
  color: var(--text-muted);
}

/* حالت انتخاب‌شده (اعمال رنگ سازمانی، پس‌زمینه محو و افکت هاله) */
.btn-check:checked + .btn-outline-brand {
  color: var(--theme-color);
  border: 1px solid var(--theme-color); /* حاشیه با رنگ سازمانی */
  background-color: rgba(86, 152, 200, 0.08); /* پس‌زمینه بسیار محو با رنگ سازمانی */
  font-weight: bold;
  box-shadow: 0 0 0 3px rgba(86, 152, 200, 0.2); /* افکت هاله (Glow) */
}

/* ------------------------------------------------ */
/* دکمه اصلی افزودن به سبد خرید */
.btn-brand {
  background-color: var(--theme-color);
  color: var(--text-main);
  border-color: var(--theme-color);
  border-radius: 0.5rem;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active {
  background-color: var(--theme-hover-color); /* کمی تیره‌تر برای حالت هاور بر اساس پالت شما */
  color: var(--text-main);
}

/* استایل رنگ قیمت */
.price-brand-color {
  color: var(--bg-gold);
}

/* --- مدیریت لایه‌ها برای قرارگیری گفتینو زیر پنل Offcanvas --- */
/* محدود کردن z-index ویجت گفتینو */
iframe#goftino_w {
  z-index: 1040 !important; /* این عدد از z-index پیش‌فرض offcanvas بوت‌استرپ کمتر است */
}

/* اطمینان از اینکه پنل موبایل و پس‌زمینه تیره آن در بالاترین لایه هستند */
.offcanvas {
  z-index: 999999 !important;
}

.offcanvas-backdrop {
  z-index: 999998 !important; /* بک‌دراپ باید دقیقا یک لایه زیر خود پنل باشد */
}

.btn-link {
  color: var(--theme-color);
  font-size: 0.85rem;
}

.btn-link:hover {
  color: var(--border-color);
  text-decoration: underline !important;
}

/* ۱. تبدیل باکس اصلی به یک کانتینر انعطاف‌پذیر با حداکثر ارتفاع صفحه */
.ui-sticky-top .product-seller-info.ui-box {
  max-height: calc(100vh - 130px); /* پر کردن ارتفاع صفحه با کسر ارتفاع هدر سایت */
  display: flex;
  flex-direction: column;
  padding-bottom: 0; /* حذف پدینگ پایین تا دکمه خرید کاملا به لبه بچسبد */
  overflow: hidden; /* جلوگیری از بیرون‌زدگی محتوا */
}

/* ۲. اعمال اسکرول فقط روی محتوای داخلی (بخش بالای دکمه خرید) */
.product-seller-info .seller-info-changeable {
  flex-grow: 1; /* پر کردن تمام فضای خالی باکس */
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 15px; /* ایجاد فاصله بین آخرین محتوا و دکمه خرید */
  padding-left: 5px; /* جا باز کردن برای نوار اسکرول */
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb, #c1c1c1) transparent;
}

/* استایل مینیمال اسکرول برای کروم، سافاری و اج */
.product-seller-info .seller-info-changeable::-webkit-scrollbar {
  width: 5px;
}

.product-seller-info .seller-info-changeable::-webkit-scrollbar-track {
  background-color: transparent;
}

.product-seller-info .seller-info-changeable::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-thumb, #c1c1c1);
  border-radius: 10px;
}

.product-seller-info .seller-info-changeable::-webkit-scrollbar-thumb:hover {
  background-color: var(--main-color, #888);
}

/* ۳. ثابت کردن دکمه سبد خرید در پایین باکس */
.product-seller-info .product-seller--add-to-cart {
  position: sticky;
  bottom: 0;
  padding: 15px 0;
  margin-top: auto; /* هول دادن دکمه به پایین‌ترین نقطه باکس */
  z-index: 10;
}

/* استایل برای کادرهای مشخصات فنی */
.prd-spec-list .bg-light {
  border: 1px solid var(--border-color);
  transition: all 0.2s ease-in-out;
}

.spec-value-item:not(:last-child)::after {
  content: "، ";
  white-space: pre;
}

/* =========================================================
   Product Sidebar Custom Design
   ========================================================= */
/* استایل کلی باکس اصلی */
.product-seller-info.ui-box {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  background-color: var(--bg-body);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.seller-info-changeable {
  padding: 5px 5px 5px 5px;
}

/* استایل پایه‌ای باکس‌های انتخاب روش پرداخت */
.payment-option {
  border: 1px solid var(--border-color);
  transition: all 0.3s ease-in-out;
  background-color: var(--bg-body) !important;
  border-radius: 12px !important;
  width: 100%;
  cursor: pointer;
  display: block;
}

/* مخفی کردن کامل دایره رادیو باتن‌ها */
.payment-option input[type=radio] {
  display: none !important;
}

/* 🌟 جذاب‌ترین بخش: تغییر استایل کل باکس وقتی رادیو باتن اصلی انتخاب می‌شود 🌟 */
.payment-option:has(input[name=main_payment_type]:checked) {
  border-color: var(--theme-color) !important;
  background-color: rgba(86, 152, 200, 0.08) !important;
  box-shadow: 0 4px 12px rgba(86, 152, 200, 0.15);
}

/* تغییر رنگ متن عنوان روش پرداخت در حالت انتخاب شده */
.payment-option:has(input[name=main_payment_type]:checked) .payment-title {
  color: var(--theme-color) !important;
}

/* استایل قیمت‌ها */
.product-price-section .price {
  color: var(--bg-gold);
  font-weight: 800;
  font-size: 1.35rem;
}

.product-price-section del {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-left: 8px;
}

.product-price-section .currency {
  font-size: 0.85rem;
  color: var(--bg-gold);
  font-weight: 500;
}

/* استایل ردیف‌های اعتباری و کیف پول */
.product-seller-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px dashed var(--border-color);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.product-seller-row:first-of-type {
  border-top: none;
}

.product-seller-row-icon i {
  font-size: 1.3rem;
}

.product-seller-row-icon .text-warning {
  color: var(--bg-gold) !important;
}

/* بخش ثابت دکمه افزودن به سبد خرید در پایین */
.product-seller--add-to-cart {
  padding: 15px 20px;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

/* دکمه اصلی بر اساس رنگ برند */
.product-seller--add-to-cart .btn-primary {
  background-color: var(--theme-color) !important;
  border-color: var(--theme-color) !important;
  color: var(--text-main) !important;
  font-weight: bold;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.product-seller--add-to-cart .btn-primary:hover,
.product-seller--add-to-cart .btn-primary:focus {
  background-color: var(--theme-hover-color) !important;
  border-color: var(--theme-hover-color) !important;
  box-shadow: 0 6px 16px rgba(86, 152, 200, 0.25);
  transform: translateY(-2px);
}

.page-item.active .page-link {
  background-color: var(--theme-color);
  border-color: var(--theme-color);
  color: var(--text-main);
}

/*# sourceMappingURL=custom.css.map */
