@charset "UTF-8";
/* ===================================================================
   1. CORE & VARIABLES
   =================================================================== */
/* متغیرهای SASS (برای کامپایلر) */
:root {
  --c-primary: #BE7241; /* آجری */
  --c-gold: #C99E33; /* طلایی */
  --c-dark-blue: #0A244F; /* سرمه‌ای تیره */
  --c-beige: #EAE3D3; /* کرم روشن */
  --c-light: #FDF9EE; /* پس‌زمینه */
  --header-height: 80px;
}

body {
  background-color: var(--c-light) !important;
  font-family: "iranyekan", sans-serif;
  overflow-x: hidden;
  color: #444;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

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

/* ===================================================================
   2. UTILITIES (جایگزین استایل‌های خطی)
   =================================================================== */
.text-gold {
  color: var(--c-gold) !important;
}

.text-dark-blue {
  color: var(--c-dark-blue) !important;
}

.text-primary {
  color: var(--c-primary) !important;
}

.text-white {
  color: #fff !important;
}

.bg-white {
  background-color: #fff !important;
}

.bg-light {
  background-color: #f8f9fa !important;
}

.logo-h-40 {
  height: 40px;
  width: auto;
}

.logo-h-50 {
  height: 50px;
  width: auto;
}

.icon-white-filter {
  filter: brightness(0) invert(1);
}

.separator-line {
  width: 60px;
  height: 3px;
  background: var(--c-gold);
  margin: 15px auto;
}

.max-w-700 {
  max-width: 700px;
  margin: 0 auto;
}

.lh-lg-custom {
  line-height: 1.8;
}

.offset-up-row {
  margin-top: -40px;
  position: relative;
  z-index: 3;
}

/* ===================================================================
   3. ANIMATIONS (SCROLL REVEAL)
   =================================================================== */
.reveal-on-scroll, .reveal-single, .reveal-row {
  opacity: 0;
  transition: all 1s ease-out;
  visibility: hidden;
}

/* اصلاح شده: اضافه شدن .reveal-row.active برای نمایش کانتینر اصلی */
.reveal-on-scroll.active,
.reveal-single.active,
.reveal-row.active {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0);
}

.reveal-row .reveal-item {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.reveal-row.active .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  transform: translateY(50px);
}

.fade-left {
  transform: translateX(50px);
}

.fade-right {
  transform: translateX(-50px);
}

/* ===================================================================
   4. GLOBAL COMPONENTS (Buttons, Products, etc.)
   =================================================================== */
/* Buttons */
.btn-primary, .btn-story, .btn-action {
  background-color: var(--c-dark-blue) !important;
  border-color: var(--c-dark-blue) !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}

.btn-gold {
  background-color: var(--c-gold) !important;
  border-color: var(--c-gold) !important;
  color: #fff !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: transform 0.3s ease;
}

.btn-primary:hover, .btn-story:hover, .btn-action:hover, .btn-gold:hover {
  transform: translateY(-2px);
}

.btn-primary::after, .btn-story::after, .btn-action::after, .btn-gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: skewX(-20deg);
  transition: all 0.5s;
  z-index: 2;
}

.btn-primary:hover::after, .btn-story:hover::after, .btn-action:hover::after, .btn-gold:hover::after {
  left: 150%;
  transition: all 0.7s;
}

.btn-story {
  padding: 15px 50px;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(10, 36, 79, 0.2);
}

.btn-view-all {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  transition: 0.3s;
}

.btn-view-all:hover {
  background: #fff;
  color: var(--c-primary);
}

/* Product Cards */
.pro-product {
  background: #fff;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.pro-product:hover {
  border-color: var(--c-beige);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-5px);
}

.pro-product img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: 0.5s;
}

.pro-product:hover img {
  transform: scale(1.05);
}

.pro-product-info {
  padding: 20px;
  text-align: center;
}

.price-standard {
  color: var(--c-dark-blue) !important;
  font-weight: 900;
  font-size: 1.1rem;
}

.price-offer {
  color: var(--c-primary) !important;
  font-weight: 900;
  font-size: 1.1rem;
}

.price-old {
  color: #999;
  font-size: 0.9rem;
  text-decoration: line-through;
  margin-left: 8px;
}

/* ===================================================================
   5. GLOBAL LAYOUT (HEADER & FOOTER)
   =================================================================== */
/* Header */
.pro-header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(10, 36, 79, 0.1);
  display: flex;
  align-items: center;
}

.desktop-menu {
  display: flex;
  gap: 30px;
  height: 100%;
  align-items: center;
}

.menu-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu-link {
  color: var(--c-dark-blue);
  font-weight: 600;
  font-size: 15px;
  padding: 0 10px;
  cursor: pointer;
}

.menu-link:hover, .menu-item:hover .menu-link {
  color: var(--c-primary);
}

/* Search Overlay */
.search-trigger {
  font-size: 22px;
  color: var(--c-dark-blue);
  cursor: pointer;
  margin-left: 20px;
}

.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 36, 79, 0.98);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-box-container {
  width: 60%;
  text-align: center;
}

.search-input-lg {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--c-gold);
  color: #fff;
  font-size: 30px;
  padding: 20px;
  text-align: center;
}

.search-input-lg:focus {
  outline: none;
}

.close-search {
  position: absolute;
  top: 40px;
  left: 40px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* Mobile Menu */
.mobile-toggle {
  font-size: 24px;
  color: var(--c-dark-blue);
  cursor: pointer;
  display: none;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1001;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  transition: 0.4s ease;
  padding: 20px;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

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

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.backdrop.open {
  display: block;
}

.mobile-nav-item {
  border-bottom: 1px solid #eee;
}

.mobile-nav-link {
  display: block;
  padding: 15px 0;
  color: var(--c-dark-blue);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

.mobile-submenu-list {
  padding-right: 15px;
}

.mobile-submenu-list li {
  border-bottom: 1px solid rgba(10, 36, 79, 0.08);
  padding: 0;
}

.mobile-submenu-list li:last-child {
  border-bottom: none;
}

.mobile-submenu-list a {
  padding: 12px 5px !important;
  font-size: 14px;
  color: #666;
  display: block;
  text-decoration: none;
}

.mobile-submenu-list a:hover {
  color: var(--c-primary);
  padding-right: 8px !important;
}

/* Footer */
.pro-footer {
  background-color: var(--c-dark-blue);
  color: #ccc;
  padding-top: 70px;
  border-top: 5px solid var(--c-gold);
}

.footer-col h4 {
  color: var(--c-gold);
  margin-bottom: 25px;
  font-size: 18px;
  font-weight: bold;
}

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

.footer-links a {
  color: #ccc;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--c-primary);
  padding-right: 8px;
}

/* -------------------------------------------
   NEWSLETTER & TRUST SYMBOLS (New Changes)
   ------------------------------------------- */
/* تنظیم جهت اینپوت گروپ برای نمایش صحیح دکمه و فیلد (چپ به راست) */
.footer-col .input-group.dir-ltr {
  direction: ltr;
}

/* استایل اینپوت خبرنامه: راست‌چین کردن متن */
.newsletter-input {
  text-align: right !important; /* اجبار به راست‌چین */
  direction: rtl; /* جهت نوشتاری فارسی */
}

/* راست‌چین کردن متن راهنما (placeholder) */
.newsletter-input::placeholder {
  text-align: right;
  color: #bbb;
}

/* استایل لینک‌های نماد اعتماد و فاصله ۲ پیکسلی */
.trust-symbol-link {
  display: inline-block;
  transition: transform 0.3s ease;
  margin: 0 2px; /* فاصله 2 پیکسلی بین نمادها */
}

.trust-symbol-link:hover {
  transform: translateY(-5px); /* حرکت نماد به بالا هنگام هاور */
}

/* استایل تصاویر نماد */
.trust-img {
  height: 60px;
  width: auto;
  background-color: #fff;
  padding: 5px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* آیکون آپارات در فوتر */
.aparat-icon {
  width: 24px !important;
  height: 24px !important;
  fill: currentColor;
  display: inline-block;
  vertical-align: middle;
  margin-top: -5px;
  transition: all 0.3s ease;
}

.aparat-btn:hover .aparat-icon {
  fill: #EA1D5D;
  transform: scale(1.1);
}

.social-icon i {
  vertical-align: middle;
}

/* Preloader */
.haftgel-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #EAE3D3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.3s ease-out;
}

.haftgel-preloader.haftgel-fade-out {
  opacity: 0;
  pointer-events: none;
}

.haftgel-loading-text {
  color: #0A244F; /* استفاده از آبی تیره */
  font-size: 1.1rem;
  font-weight: bold;
  font-family: sans-serif;
  margin-top: 30px;
  animation: haftgel-pulse 1.5s ease-in-out infinite;
}

.haftgel-pottery-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  perspective: 800px;
}

/* ----- پایه ثابت (تنظیم شده با رنگ‌های جدید) ----- */
.haftgel-wheel-base {
  width: 110px;
  height: 30px;
  /* گرادینت بر اساس رنگ خاکستری روشن شما */
  background: linear-gradient(to right, rgb(177.7741935484, 190.6451612903, 199.2258064516), #EDF0F2, rgb(177.7741935484, 190.6451612903, 199.2258064516));
  position: absolute;
  bottom: 20px; /* کمی بالاتر آمد چون چرخ حذف شد */
  border-radius: 50% 50% 10px 10px/100% 100% 20% 20%; /* حالت بیضی شکل */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  z-index: 1;
  /* یک دایره روی پایه برای زیبایی بیشتر */
}

.haftgel-wheel-base::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 70%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ----- کوزه (با رنگ‌های اصلی سایت) ----- */
.haftgel-pot-3d {
  width: 90px;
  height: 110px;
  position: absolute;
  bottom: 40px;
  z-index: 10;
  border-radius: 30% 30% 50% 50%/15% 15% 85% 85%;
  background: linear-gradient(to right, #633b22 5%, var(--c-primary) 25%, var(--c-gold) 50%, var(--c-primary) 75%, #633b22 95%);
  background-size: 200% 100%;
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.3), 0 10px 15px rgba(0, 0, 0, 0.2);
  animation: haftgel-wobble-shape 2s ease-in-out infinite alternate, haftgel-revolve-pot-texture 0.6s linear infinite;
}

.haftgel-pot-3d::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 18px;
  border-radius: 50%;
  /* ارور قبلی اینجا بود. حالا از رنگ ثابت استفاده می‌کنیم */
  background: radial-gradient(circle at 50% 50%, #633b22 40%, var(--c-primary) 90%);
  border: 3px solid var(--c-gold);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 11;
}

/* =========================================
   Products Modal Trigger Button Style
   ========================================= */
.products-modal-trigger {
  /* 1. استفاده از Flexbox برای هم‌راستا کردن آیکون و متن */
  display: inline-flex;
  align-items: center; /* تراز عمودی در مرکز */
  /* 2. ایجاد فاصله بین آیکون و متن */
  gap: 8px; /* این بهترین روش برای فاصله است */
  /* 3. ظاهر بهتر برای دکمه */
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid transparent; /* برای جلوگیری از پرش در هاور */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 4. افکت هاور برای جلب توجه کاربر */
.products-modal-trigger:hover {
  background-color: rgba(190, 114, 65, 0.08); /* پس‌زمینه طلایی بسیار کم‌رنگ */
  border-color: rgba(190, 114, 65, 0.2);
  color: var(--c-primary) !important; /* رنگ متن را تغییر می‌دهد */
}

/* 5. تنظیم اندازه آیکون */
.products-modal-trigger i {
  font-size: 1.3rem; /* کمی بزرگتر کردن آیکون برای وضوح بیشتر */
  line-height: 1; /* برای جلوگیری از افزایش ارتفاع ناخواسته */
}

/* استایل اختصاصی برای منوی دسکتاپ (اگر نیاز بود) */
.desktop-menu .products-modal-trigger {
  font-weight: 500; /* یا هر وزن فونتی که با بقیه منو هماهنگ است */
}

/* استایل اختصاصی برای منوی موبایل (اگر نیاز بود) */
.mobile-nav-item .products-modal-trigger {
  width: 100%; /* برای اینکه کل سطح آیتم قابل کلیک باشد */
  justify-content: flex-start; /* آیتم‌ها از راست شروع شوند */
}

/* کارت هر محصول/دسته‌بندی */
.pottery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

/* قاب تصویر (دایره‌ای شبیه دهانه کوزه) */
.pottery-img-box {
  width: 90px;
  height: 90px;
  border-radius: 50%; /* دایره کامل */
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  transition: all 0.4s ease;
  background-color: #f8f8f8;
  position: relative;
}

/* تصویر */
.pottery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* عنوان */
.pottery-title {
  font-size: 13px;
  color: var(--c-dark-blue);
  font-weight: 600;
  transition: 0.3s;
}

/* --- Hover Effects --- */
.pottery-card:hover .pottery-img-box {
  border-color: var(--c-gold);
  transform: translateY(-5px) rotate(3deg); /* کمی چرخش هنری */
  box-shadow: 0 10px 25px rgba(190, 114, 65, 0.2);
}

.pottery-card:hover .pottery-img-box img {
  transform: scale(1.1);
}

.pottery-card:hover .pottery-title {
  color: var(--c-primary);
  font-weight: 700;
}

/* دکمه مشاهده همه ساده */
.btn-view-all-simple {
  font-size: 12px;
  color: #888;
  border-bottom: 1px dashed #ccc;
  transition: 0.3s;
}

.btn-view-all-simple:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
}

/* -------------------------------------------
   3. MOBILE MENU UPDATES
   ------------------------------------------- */
.mobile-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px !important;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  color: var(--c-dark-blue) !important;
  font-size: 14px;
  font-weight: 500;
}

.mobile-menu-thumb {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  object-fit: cover;
  margin-left: 10px;
  border: 1px solid #eee;
}

.mobile-cat-link:hover {
  background-color: var(--c-light);
  color: var(--c-primary) !important;
  padding-right: 10px !important;
}

/* Responsive adjustment for Mega Menu */
@media (max-width: 1200px) {
  .mega-menu-wrapper {
    width: 750px;
    right: -100px;
  }
}
/* کارت هر محصول/دسته‌بندی */
.pottery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  width: 100%;
}

/* قاب تصویر (دایره‌ای شبیه دهانه کوزه) */
.pottery-img-box {
  width: 90px;
  height: 90px;
  border-radius: 50%; /* دایره کامل */
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 10px;
  transition: all 0.4s ease;
  background-color: #f8f8f8;
  position: relative;
}

/* تصویر */
.pottery-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* عنوان */
.pottery-title {
  font-size: 13px;
  color: var(--c-dark-blue);
  font-weight: 600;
  transition: 0.3s;
}

/* --- Hover Effects --- */
.pottery-card:hover .pottery-img-box {
  border-color: var(--c-gold);
  transform: translateY(-5px) rotate(3deg); /* کمی چرخش هنری */
  box-shadow: 0 10px 25px rgba(190, 114, 65, 0.2);
}

.pottery-card:hover .pottery-img-box img {
  transform: scale(1.1);
}

.pottery-card:hover .pottery-title {
  color: var(--c-primary);
  font-weight: 700;
}

/* دکمه مشاهده همه ساده */
.btn-view-all-simple {
  font-size: 12px;
  color: #888;
  border-bottom: 1px dashed #ccc;
  transition: 0.3s;
}

.btn-view-all-simple:hover {
  color: var(--c-primary);
  border-color: var(--c-primary);
}

/* -------------------------------------------
   3. MOBILE MENU UPDATES
   ------------------------------------------- */
.mobile-cat-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 5px !important;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
  color: var(--c-dark-blue) !important;
  font-size: 14px;
  font-weight: 500;
}

.mobile-menu-thumb {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  object-fit: cover;
  margin-left: 10px;
  border: 1px solid #eee;
}

.mobile-cat-link:hover {
  background-color: var(--c-light);
  color: var(--c-primary) !important;
  padding-right: 10px !important;
}

/* Responsive adjustment for Mega Menu */
@media (max-width: 1200px) {
  .mega-menu-wrapper {
    width: 750px;
    right: -100px;
  }
}
/* ----- انیمیشن‌ها ----- */
@keyframes haftgel-revolve-pot-texture {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -200% 0;
  }
}
@keyframes haftgel-wobble-shape {
  0% {
    border-radius: 30% 30% 50% 50%/15% 15% 85% 85%;
    height: 110px;
    width: 90px;
  }
  100% {
    border-radius: 35% 35% 45% 45%/20% 20% 80% 80%;
    height: 112px;
    width: 88px;
  }
}
@keyframes haftgel-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
/*end of preloader*/
/* =========================================
   UNIFIED NAVIGATOR (FIXED LAYOUT & STYLES)
   ========================================= */
.unified-nav {
  z-index: 9999; /* اولویت نمایش بسیار بالا */
  transition: all 0.3s ease;
}

/* 1. ریست کردن کامل لیست برای جلوگیری از تداخل */
.unified-nav ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex; /* استفاده از Flexbox */
}

.unified-nav li {
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. استایل پایه برای آیتم‌های لینک */
.unified-nav .nav-item {
  text-decoration: none !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* -------------------------------------------
   A. حالت موبایل (Mobile View) - اصلاح شده
   ------------------------------------------- */
@media (max-width: 991px) {
  .unified-nav {
    position: fixed; /* ثابت شدن در صفحه */
    bottom: 0; /* چسبیدن به پایین */
    left: 0;
    width: 100%;
    height: 65px; /* ارتفاع ثابت */
    background: rgba(255, 255, 255, 0.98); /* پس‌زمینه سفید و شفاف */
    backdrop-filter: blur(10px); /* افکت شیشه‌ای */
    -webkit-backdrop-filter: blur(10px);
    border-top: 3px solid var(--c-gold); /* خط طلایی در بالا */
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15); /* سایه نرم */
  }
  .unified-nav ul {
    flex-direction: row !important; /* چینش افقی اجباری */
    width: 100%;
    height: 100%;
    justify-content: space-between; /* پخش کردن آیتم‌ها */
    align-items: center;
    padding: 0 10px !important; /* کمی فاصله از طرفین */
  }
  .unified-nav li {
    flex: 1; /* هر آیتم فضای برابر بگیرد */
    text-align: center;
  }
  .unified-nav .nav-item {
    flex-direction: column; /* آیکون بالای متن */
    color: #888;
    font-size: 11px; /* فونت خوانا */
    padding: 5px 0;
  }
  .unified-nav .nav-item i {
    font-size: 22px; /* آیکون بزرگتر */
    margin-bottom: 2px;
    display: block; /* نمایش آیکون */
    line-height: 1;
  }
  /* نمایش متن در موبایل */
  .unified-nav .nav-item span {
    display: block;
  }
  /* حالت فعال و هاور در موبایل */
  .unified-nav .nav-item.active {
    color: var(--c-dark-blue);
    font-weight: bold;
  }
  .unified-nav .nav-item.active i {
    color: var(--c-primary);
    transform: translateY(-3px); /* حرکت کوچک به بالا */
  }
}
/* -------------------------------------------
   B. حالت دسکتاپ (Desktop View) - بدون تغییر
   ------------------------------------------- */
@media (min-width: 992px) {
  .unified-nav {
    position: fixed;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    box-shadow: none;
  }
  /* خط عمودی */
  .unified-nav::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--c-gold), transparent);
    z-index: -1;
  }
  .unified-nav ul {
    flex-direction: column; /* چینش عمودی */
    gap: 25px;
  }
  .unified-nav .nav-item {
    width: 16px;
    height: 16px;
    border: 2px solid var(--c-gold);
    border-radius: 50%;
    background-color: var(--c-light);
    position: relative;
  }
  /* مخفی کردن آیکون در دسکتاپ */
  .unified-nav .nav-item i {
    display: none;
  }
  /* استایل تولتیپ (Tooltip) */
  .unified-nav .nav-item span {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%) translateX(-10px);
    background-color: var(--c-dark-blue);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }
  /* فلش تولتیپ */
  .unified-nav .nav-item span::before {
    content: "";
    position: absolute;
    left: -4px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 4px 4px 4px 0;
    border-style: solid;
    border-color: transparent var(--c-dark-blue) transparent transparent;
  }
  /* هاور دسکتاپ */
  .unified-nav .nav-item:hover {
    background-color: var(--c-primary);
    border-color: var(--c-primary);
    transform: scale(1.2);
  }
  .unified-nav .nav-item:hover span {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
  }
  /* حالت فعال دسکتاپ */
  .unified-nav .nav-item.active {
    background-color: var(--c-dark-blue);
    border-color: var(--c-dark-blue);
    transform: scale(1.3) rotate(45deg);
    border-radius: 2px;
  }
}
/********custom tem ***********/
.page-item.active .page-link {
  background-color: var(--c-dark-blue);
}

/* =========================================
   BOXED BREADCRUMB (Not Full Width)
   ========================================= */
.breadcrumb-box {
  background-color: #ffffff;
  padding: 10px 35px; /* فضای داخلی باکس */
  border-radius: 15px; /* گوشه‌های کاملاً گرد (کپسولی) */
  /* سایه نرم برای جدا شدن از زمینه */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

/* استایل لیست */
.breadcrumb-box .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 0.9rem;
}

/* لینک‌ها */
.breadcrumb-box .breadcrumb-item a {
  color: #666; /* رنگ خاکستری ملایم */
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.breadcrumb-box .breadcrumb-item a i {
  font-size: 1.1rem;
  color: #bbb;
  margin-bottom: 2px;
}

/* هاور */
.breadcrumb-box .breadcrumb-item a:hover {
  color: var(--c-primary); /* آجری */
}

.breadcrumb-box .breadcrumb-item a:hover i {
  color: var(--c-primary);
}

/* آیتم فعال */
.breadcrumb-box .breadcrumb-item.active {
  color: var(--c-gold); /* طلایی */
  font-weight: 700;
}

/* جداکننده (Divider) */
.breadcrumb-box .breadcrumb-item + .breadcrumb-item::before {
  content: "\ea64"; /* فلش چپ */
  font-family: "remixicon";
  font-size: 14px;
  color: #e0e0e0;
  padding: 0 12px;
  vertical-align: middle;
}

/* =========================================
   BREADCRUMB BANNER STYLE
   ========================================= */
.breadcrumb-banner-wrapper {
  position: relative;
  width: 100%;
  height: 100px; /* ارتفاع دقیق 100 پیکسل */
  border-radius: 15px; /* گوشه‌های گرد 15 پیکسل */
  overflow: hidden; /* برش دادن محتوا در گوشه‌ها */
  margin-top: 20px; /* کمی فاصله از بالا */
  /* تصویر پس‌زمینه (می‌توانید لینک را تغییر دهید) */
  background-size: cover;
  background-position: center;
  /* سایه ملایم */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  /* برای وسط‌چین کردن محتوا */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* لایه گرادینت روی تصویر */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* گرادینت با رنگ سرمه‌ای سایت */
  background: linear-gradient(45deg, rgba(10, 36, 79, 0.9), rgba(10, 36, 79, 0.6));
  z-index: 1;
}

/* محتوای مرکزی */
.banner-content {
  position: relative;
  z-index: 2; /* روی لایه گرادینت */
  text-align: center;
}

/* استایل لینک‌های بریدکرامب */
.breadcrumb-banner-wrapper .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.9); /* رنگ سفید */
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
}

/* هاور روی لینک‌ها */
.breadcrumb-banner-wrapper .breadcrumb-item a:hover {
  color: var(--c-gold); /* رنگ طلایی هنگام هاور */
}

/* آیتم فعال */
.breadcrumb-banner-wrapper .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6); /* سفید کمرنگ‌تر */
}

/* جداکننده (Divider) */
.breadcrumb-banner-wrapper .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.4);
  content: "/";
  padding: 0 10px;
}

/* =========================================
   RESPONSIVE HEADER LOGIC (MISSING PART)
   ========================================= */
@media (max-width: 992px) {
  /* 1. مخفی کردن منوی دسکتاپ در موبایل */
  .desktop-menu {
    display: none !important;
  }
  /* 2. نمایش دکمه همبرگری در موبایل */
  .mobile-toggle {
    display: block !important;
    margin-left: 20px;
    font-size: 24px; /* اطمینان از سایز مناسب */
    cursor: pointer;
  }
  /* 3. مخفی کردن مگامنو (جهت اطمینان) */
  .mega-menu-wrapper {
    display: none !important;
  }
  /* 4. تنظیم فاصله هدر در موبایل (اختیاری) */
  .pro-header {
    justify-content: space-between;
    padding: 0 15px;
  }
}
/* =========================================
   PRODUCT SLIDER STYLES
   ========================================= */
.section-product-slider {
  background: linear-gradient(to bottom, #fff, var(--c-light));
}

/* استایل کارت محصول */
.pro-product-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.pro-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--c-gold);
}

/* بخش تصویر */
.pro-product-card .img-box {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.pro-product-card .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.pro-product-card:hover .img-box img {
  transform: scale(1.1);
}

/* بج (جدید/تخفیف) */
.badge-new {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--c-dark-blue);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

/* دکمه‌های مخفی روی عکس */
.hover-actions {
  position: absolute;
  bottom: -50px; /* مخفی در پایین */
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-bottom: 15px;
  transition: 0.3s;
  z-index: 2;
}

.pro-product-card:hover .hover-actions {
  bottom: 0; /* نمایش در هاور */
}

.hover-actions a {
  width: 35px;
  height: 35px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-dark-blue);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.2s;
}

.hover-actions a:hover {
  background: var(--c-gold);
  color: #fff;
}

/* جزئیات کارت */
.card-details {
  padding: 20px;
  text-align: center;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.product-name a {
  color: #333;
}

.product-name a:hover {
  color: var(--c-primary);
}

.product-cat {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 12px;
}

.product-price {
  font-weight: 700;
  color: var(--c-dark-blue);
  font-size: 1.1rem;
}

/* دکمه‌های ناوبری اسلایدر */
.custom-swiper-prev, .custom-swiper-next {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-dark-blue);
  cursor: pointer;
  z-index: 10;
  transition: 0.3s;
  font-size: 24px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.custom-swiper-prev:hover, .custom-swiper-next:hover {
  background: var(--c-dark-blue);
  color: var(--c-gold);
  border-color: var(--c-dark-blue);
}

.custom-swiper-prev {
  right: 20px;
}

/* تنظیم فاصله از راست */
.custom-swiper-next {
  left: 20px;
}

/* تنظیم فاصله از چپ */
/* ریسپانسیو دکمه‌ها */
@media (max-width: 992px) {
  .custom-swiper-prev, .custom-swiper-next {
    display: none;
  }
  /* مخفی کردن فلش‌ها در موبایل */
}
/* Features Section */
.features-box {
  background: #fff;
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  padding: 15px;
  border-radius: 15px;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: #fcfcfc;
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  background: var(--c-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: 0.3s;
  color: var(--c-primary);
}

.feature-card:hover .icon-wrapper {
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 10px 20px rgba(190, 114, 65, 0.3);
}

.feature-card i {
  font-size: 32px;
}

.feature-title {
  color: var(--c-dark-blue);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .comparison-container {
    height: 350px;
  }
  .comparison-image.before img {
    width: 100vw;
  }
  .desktop-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
    margin-left: 20px;
  }
  .mega-menu-wrapper {
    display: none;
  }
  .hero-text-box {
    right: 5%;
    width: 90%;
  }
  .special-sidebar {
    display: none;
  }
}
/* =========================================
      FORM HEADER TYPOGRAPHY
      ========================================= */
/* استایل تیتر صفحه (ثبت نام) */
.form-page-title {
  color: var(--c-dark-blue); /* رنگ سرمه‌ای برند */
  font-weight: 900;
  font-size: 2rem;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

/* خط طلایی زیر تیتر */
.form-page-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--c-gold); /* رنگ طلایی برند */
  border-radius: 10px;
}

/* استایل پاراگراف توضیحات */
.form-page-desc {
  color: #666;
  font-size: 0.95rem;
  line-height: 2; /* فاصله خطوط بیشتر برای خوانایی بهتر */
  text-align: center;
  font-weight: 400;
  background-color: rgba(255, 255, 255, 0.5); /* پس‌زمینه محو خیلی روشن */
  padding: 15px;
  border-radius: 10px;
  /* یک حاشیه خیلی ظریف */
  border: 1px dashed rgba(10, 36, 79, 0.1);
}

/* در موبایل کمی فونت‌ها ریزتر شوند */
@media (max-width: 576px) {
  .form-page-title {
    font-size: 1.6rem;
  }
  .form-page-desc {
    font-size: 0.85rem;
    line-height: 1.8;
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .z-index-max {
    z-index: 99999;
  }
}
/* =========================================
   SOCIAL MEDIA IMAGE LINKS (FOOTER)
   ========================================= */
/* نگهدارنده اصلی تصاویر */
.social-images-container {
  display: flex;
  align-items: center;
  gap: 15px; /* فاصله بین آیکون‌ها */
  flex-wrap: wrap;
}

/* استایل لینک‌ها */
.social-image-link {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), filter 0.3s;
}

/* استایل عکس‌ها (دسکتاپ) */
.social-image-link img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.05); /* پس‌زمینه بسیار محو برای جدا شدن از بک‌گراند تیره */
  border-radius: 8px; /* گوشه‌های نرم */
  padding: 5px; /* فاصله داخلی تا حاشیه */
  transition: all 0.3s ease;
}

/* افکت هاور */
.social-image-link:hover {
  transform: translateY(-5px); /* حرکت به بالا */
}

.social-image-link:hover img {
  background-color: rgba(255, 255, 255, 0.2); /* روشن‌تر شدن پس‌زمینه */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* اضافه شدن سایه */
}

/* =========================================
   RESPONSIVE (MOBILE)
   ========================================= */
@media (max-width: 991px) {
  .social-images-container {
    gap: 12px;
  }
  .social-image-link img {
    width: 35px; /* کوچکتر شدن در تبلت و موبایل */
    height: 35px;
    padding: 4px;
    border-radius: 6px;
  }
}
@media (max-width: 576px) {
  .social-images-container {
    justify-content: center; /* وسط‌چین کردن در گوشی‌های کوچک (اختیاری بر اساس طراحی) */
    margin-bottom: 20px;
  }
}
/* ===================================================================
   CATEGORY FULL SCREEN MODAL — Pottery Edition (بدون کادر سفید)
   =================================================================== */
.category-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(253, 249, 238, 0.97);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: 0.4s ease;
  overflow-y: auto;
  padding: 60px 20px;
}

.category-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-cat-modal {
  position: fixed;
  top: 25px;
  left: 25px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--c-gold);
  color: var(--c-dark-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.close-cat-modal:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  transform: rotate(90deg);
}

.cat-modal-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cat-modal-title {
  text-align: center;
  color: var(--c-dark-blue);
  font-weight: 900;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.cat-modal-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--c-gold);
  margin: 15px auto 40px;
}

/* ---- ریشه‌ها (دسته‌های مادر) — بدون کادر و بک‌گراند ---- */
.cat-root-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.cat-parent-section {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  width: 100%;
  animation: fadeInUp 0.5s ease forwards;
}

.cat-parent-header {
  display: block;
  margin-bottom: 18px;
  padding-bottom: 0;
  border-bottom: none;
}

.cat-parent-title-text {
  text-decoration: none;
  display: inline-block;
}

.cat-parent-title-text h4 {
  color: var(--c-dark-blue);
  font-weight: 800;
  font-size: 1.15rem;
  margin: 0;
  padding-bottom: 8px;
  position: relative;
}

.cat-parent-title-text h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: var(--c-gold);
}

.cat-parent-title-text:hover h4 {
  color: var(--c-primary);
}

.cat-parent-title-text:hover h4::after {
  background: var(--c-primary);
}

/* ---- اسلایدر افقی فرزندان — اصلاح شده ---- */
.cat-grid-wrapper {
  display: flex !important; /* تبدیل grid به flex */
  flex-wrap: nowrap !important; /* جلوگیری از رفتن به خط بعد */
  overflow-x: auto !important; /* فعال‌سازی اسکرول افقی */
  gap: 15px !important; /* فاصله بین آیتم‌ها */
  width: 100%;
  padding-bottom: 15px; /* ایجاد فضا برای نمایش اسکرول‌بار */
  padding-top: 15px; /* ایجاد فضا برای نمایش اسکرول‌بار */
  -webkit-overflow-scrolling: touch; /* اسکرول نرم در گوشی‌های لمسی */
  scroll-behavior: smooth;
}

/* استایل اسکرول‌بار (اختیاری) */
.cat-grid-wrapper::-webkit-scrollbar {
  height: 5px;
}

.cat-grid-wrapper::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 10px;
}

.cat-grid-wrapper::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.cat-grid-wrapper::-webkit-scrollbar-thumb:hover {
  background: var(--c-gold);
}

.cat-modal-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  /* تنظیمات جدید برای عرض آیتم‌ها در اسکرول افقی */
  flex-shrink: 0; /* جلوگیری از جمع شدن و فشرده شدن آیتم */
  width: 28%; /* در موبایل حدود 3 تا و نصفی نمایش داده می‌شود تا کاربر بفهمد اسکرول دارد */
  min-width: 95px; /* حداقل عرض */
  max-width: 180px; /* حداکثر عرض در صفحه‌های بزرگتر */
}

.cat-img-box {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid transparent;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  margin-bottom: 10px;
  background-color: var(--c-light);
  transition: all 0.4s ease;
}

.cart-item--thumbnail img, .checkout-pack-item-thumbnail img {
  border-radius: 25px;
}

.cat-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cat-title {
  font-size: 1rem;
  color: var(--c-dark-blue);
  font-weight: 600;
  transition: 0.3s;
}

.cat-modal-item:hover .cat-img-box {
  border-color: var(--c-gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(190, 114, 65, 0.25);
}

.cat-modal-item:hover .cat-img-box img {
  transform: scale(1.08);
}

.cat-modal-item:hover .cat-title {
  color: var(--c-primary);
  font-weight: 700;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 400px) {
  .category-modal-overlay {
    padding: 50px 12px;
  }
  .cat-modal-title {
    font-size: 1.4rem;
  }
  .cat-grid-wrapper {
    gap: 10px !important; /* فاصله کمتر در صفحه‌های خیلی کوچک */
  }
  .cat-modal-item {
    width: 30%; /* عرض کمی بیشتر در صفحه‌های بسیار کوچک */
  }
  .cat-title {
    font-size: 11px;
  }
}

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