/* ۱. فراخوانی آنلاین فونت وزیرمتن */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* ۲. اعمال فونت وزیرمتن روی کل عناصر سایت */
*, html, body, h1, h2, h3, h4, h5, h6, p, a, span, div, li, ul, input, button, textarea, select, .sp-page-builder, .sppb-addon, .sppb-addon * {
  font-family: 'Vazirmatn', sans-serif !important;
}

/* ۳. استایل اسکرولر محصولات */
.ph-productScrollerModuleBox .ph-item-box {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.ph-productScrollerModuleBox .ph-thumbnail-c img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.ph-productScrollerModuleBox .ph-item-content {
  text-align: center;
}

.ph-productScrollerModuleBox .ph-item-content .ph-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
  color: #222;
}

.ph-productScrollerModuleBox .price {
  color: #ed2188;
  font-size: 18px;
  font-weight: bold;
}

/* ۴. کادر کلی هر کارت در ماژول مقالات */
div[class*="mod-articles"] article,
div[class*="mod-articles"] .newsflash-item,
div[class*="mod-articles"] li,
.mod-articles-category article {
  background: #ffffff !important;
  border: 1px solid #eee !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
  padding: 0 0 16px 0 !important;
  text-align: center !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

div[class*="mod-articles"] article:hover,
div[class*="mod-articles"] .newsflash-item:hover,
div[class*="mod-articles"] li:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px);
}

div[class*="mod-articles"] img,
.mod-articles-category img {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  border-top-left-radius: 14px !important;
  border-top-right-radius: 14px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin: 0 0 12px 0 !important;
  display: block !important;
}

div[class*="mod-articles"] h4,
div[class*="mod-articles"] h3,
div[class*="mod-articles"] h2,
.mod-articles-category h4,
.mod-articles-category h3 {
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  margin: 8px 12px 10px 12px !important;
  text-align: center !important;
}

div[class*="mod-articles"] h4 a,
div[class*="mod-articles"] h3 a,
div[class*="mod-articles"] h2 a {
  color: #222 !important;
  text-decoration: none !important;
}

div[class*="mod-articles"] p,
.mod-articles-category p {
  font-size: 0.85rem !important;
  color: #777 !important;
  line-height: 1.7 !important;
  padding: 0 14px !important;
  margin-bottom: 12px !important;
  text-align: center !important;
}

div[class*="mod-articles"] a[class*="readmore"],
div[class*="mod-articles"] .readmore a,
.mod-articles-category .mod-articles-category-readmore a {
  color: #d81b60 !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
}

/* ۵. مخفی کردن آیکون ذره‌بین */
div[class*="ph-"] a.btn i,
div[class*="ph-"] a.btn svg {
  display: none !important;
}

/* ۶. مخفی کردن دکمه دوم در اسلایدرهای پایینی */
.ph-category-add-to-cart-box > div:nth-child(2),
.ph-category-add-to-cart-box a:nth-of-type(2) {
  display: none !important;
}

/* ۷. استایل کلی دکمه‌های صورتی */
.ph-button-view-product-box a,
div[class*="ph-category-add-to-cart-box"] a.btn,
div[class*="ph-"] a.btn {
  background-color: #ed2188 !important;
  border-color: #ed2188 !important;
  min-width: 140px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: bold !important;
  color: #ffffff !important;
  padding: 0 15px !important;
}

/* ۸. درج متن فقط برای دکمه اسلایدر اکسسوری (چون داخل HTML متن ندارد) */
.ph-button-view-product-box a::after {
  content: "افزودن به سبد خرید" !important;
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 13px !important;
  font-weight: bold !important;
  color: #ffffff !important;
}

/* ۹. مخفی کردن کلمات انگلیسی Price و Original Price */
.ph-price-original-txt,
.ph-price-txt,
.ph-orig-price-txt,
div[class*="ph-"] .price-original-txt,
div[class*="ph-"] .price-txt {
  display: none !important;
}




 
 /* ۱. کادر اصلی هدر با فاصله و پس‌زمینه دقیق */
header#sp-header {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
  border-bottom: 1px solid #f1f5f9 !important;
  height: auto !important;
  min-height: unset !important;
  padding: 10px 0 6px 0 !important;
  margin-bottom: 25px !important;
}

header#sp-header .container,
header#sp-header .container-inner {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding-top: 0 !important;
}

/* ۲. خط جداکننده بسیار کم‌رنگ بالای منو */
#sp-menu,
.sp-megamenu-wrapper {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid #f1f5f9 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin-top: 10px !important;
  padding: 4px 0 0 0 !important;
  width: 100% !important;
}

/* ۳. چیدمان و فاصله‌بندی بی‌نقص منو (دقیقاً همان نسخه تاییدشده شما) */
.sp-megamenu-parent {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  height: 42px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  direction: rtl !important;
  box-sizing: border-box !important;
}

/* ۴. استایل متن آیتم‌ها */
.sp-megamenu-parent > li {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
}

.sp-megamenu-parent > li > a {
  font-family: 'Vazirmatn', sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #374151 !important;
  text-decoration: none !important;
  padding: 4px 0 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: color 0.15s ease !important;
}

.sp-megamenu-parent > li > a:hover {
  color: #ed2188 !important;
}

/* ۵. صورتی شدن آیتم پوست من */
.sp-megamenu-parent > li:nth-child(2) > a {
  color: #ed2188 !important;
  font-weight: 700 !important;
}

/* ۶. فلش ظریف خاکستری زیرمنوها */
.sp-megamenu-parent > li.sp-has-child > a::after {
  content: " ⌵" !important;
  font-size: 9px !important;
  color: #9ca3af !important;
  margin-right: 4px !important;
}

/* ۷. مخفی ماندن منوی همبرگری و Home */
.sp-megamenu-parent > li:first-child {
  display: none !important;
}

@media (min-width: 992px) {
  #offcanvas-toggler,
  .burger-icon,
  header#sp-header .offcanvas-toggler {
    display: none !important;
  }
}
ن قالب Helix */
#sp-bottom,
#sp-bottom-wrapper,
#sp-footer,
#sp-footer-wrapper,
#sp-footer .container,
#sp-bottom .container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ۱. صفر کردن پدینگ داخلی ۳۰ پیکسلی فوتر */
#sp-footer .container-inner,
#sp-footer .container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* ۲. صفر کردن حاشیه‌های تگ‌های والد فوتر */
#sp-main,
footer#sp-footer {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ۳. حذف هرگونه فضای خالی انتهای ردیف‌های داخلی فوتر */
#sp-footer .row,
#sp-footer [class*="col-"] {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* ۱. ادغام و ایجاد کادر سبز برای کل باکس موجودی */
div.ph-item-stock-box,
div#phItemStockBoxItem28 {
  display: inline-flex !important;
  align-items: center !important;
  float: none !important;
  width: auto !important;
  background-color: #f0fdf4 !important;
  border: 1px solid #bbf7d0 !important;
  border-radius: 8px !important;
  padding: 5px 14px !important;
  margin: 10px 0 !important;
}

/* ۲. حذف کامل کلمه اضافی "موجودی:" */
div.ph-item-stock-box .ph-stock-txt {
  display: none !important;
}

/* ۳. استایل رنگ متن "موجود در انبار" */
div.ph-item-stock-box .ph-stock {
  float: none !important;
  color: #16a34a !important;
  font-size: 13px !important;
  font-weight: bold !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ۴. اضافه کردن خودکار تیک سبز کنار متن */
div.ph-item-stock-box .ph-stock::before {
  content: "✔ " !important;
  color: #16a34a !important;
  margin-left: 6px !important;
  font-weight: bold !important;
}

/* ۵. غیرفعال کردن شکست خط پیش‌فرض */
div.ph-item-stock-box .ph-cb {
  display: none !important;
}