.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}/* Start custom CSS *//* ==============================================================
   EIG SHOP - Modern Corporate Industrial Palette & Clean Layout
   ============================================================== */

:root {
  /* پالت رنگی مات، لوکس و صنعتی به جای قرمز و مشکی تند */
  --eig-brand-red: #C92A2A;        /* قرمز متین و ملایم‌تر */
  --eig-brand-red-hover: #A61E1E;  /* هاور زرشکی صنعتی */
  --eig-header-bg: #1E2229;        /* سرمه‌ای/دودی ملایم شرکتی به جای مشکی زننده */
  --eig-text-main: #2D3748;        /* خاکستری تیره خوانا */
  --eig-text-muted: #64748B;       /* خاکستری محتوایی استاندارد */
  --eig-border-light: #E2E8F0;     /* مرزهای بسیار نرم */
  --eig-card-bg: #FFFFFF;
}

/* --- ۱. بنر تایتل بالای صفحه (تلطیف رنگ و کاهش خشکی تیره) --- */
.elementor-element-1f23ad4,
.eig-page-header-banner {
  background: linear-gradient(135deg, #1A1F26 0%, #252D37 100%) !important;
  padding: 38px 20px !important;
  margin-bottom: 30px !important;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* حذف خط قرمز جیغ بالا و جایگزینی با خط فوق‌العاده ظریف دکوراتیو */
.elementor-element-1f23ad4::before,
.eig-page-header-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--eig-brand-red) 0%, #E05656 100%);
}

.elementor-element-1f23ad4 .elementor-heading-title,
.eig-page-header-banner .elementor-heading-title {
  color: #F8FAFC !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2px;
  text-align: center;
  margin: 0 !important;
  line-height: 1.25;
}

/* --- ۲. بنر تصویری بالای محتوا --- */
#sohpic_desktop {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px !important;
  border: 1px solid var(--eig-border-light);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* --- ۳. اصلاح تیترها و متون داخلی صفحه --- */
.elementor-widget-theme-post-content h1 {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--eig-text-main) !important;
  text-align: center;
  margin: 25px 0 16px !important;
}

.elementor-widget-theme-post-content p {
  color: #475569 !important;
  font-size: 14.5px !important;
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}

/* تیترهای بخش توضیحات (فقط برای توضیحات پایین، نه داخل کارت محصول!) */
.elementor-widget-theme-post-content > h2 {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #1E293B !important;
  position: relative;
  padding-left: 14px;
  margin: 35px 0 14px !important;
}

.elementor-widget-theme-post-content > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 3.5px;
  background-color: var(--eig-brand-red);
  border-radius: 4px;
}

/* --- ۴. رفع مشکل کارت محصول و حذف کامل تداخل خط با تیتر --- */
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px !important;
  padding: 0 !important;
  margin: 30px 0 40px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  border: 1px solid #E2E8F0 !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.25s ease !important;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06) !important;
  border-color: #CBD5E1 !important;
}

/* اصلاح تصویر کارت */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  text-decoration: none !important;
}

.woocommerce ul.products li.product img {
  border-radius: 6px !important;
  margin: 0 auto 14px auto !important;
  background-color: #F8FAFC;
  padding: 8px;
  width: 100% !important;
  height: auto !important;
  max-height: 220px;
  object-fit: contain;
}

/* --- رفع دقیق باگ خط قرمز روی تیتر محصول --- */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  color: #1E293B !important;
  line-height: 1.4 !important;
  padding: 0 !important;
  margin: 0 0 14px 0 !important;
  min-height: 42px;
  text-align: left;
}

/* غیرفعال کردن اکید هرگونه پسوند یا خط کنار تیتر محصول */
.woocommerce ul.products li.product .woocommerce-loop-product__title::before,
.woocommerce ul.products li.product .woocommerce-loop-product__title::after {
  display: none !important;
  content: none !important;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--eig-brand-red) !important;
}

/* دکمه داخل کارت: سبک‌تر، ظریف‌تر و بدون جیغ بودن */
.woocommerce ul.products li.product .button {
  background-color: #FFFFFF !important;
  color: var(--eig-brand-red) !important;
  border: 1.5px solid var(--eig-brand-red) !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-align: center !important;
  width: 100% !important;
  box-shadow: none !important;
  transition: all 0.2s ease-in-out !important;
}

.woocommerce ul.products li.product .button:hover {
  background-color: var(--eig-brand-red) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(201, 42, 42, 0.25) !important;
}

/* --- ۵. ریسپانسیو استاندارد --- */
@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
}

@media (max-width: 640px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr !important;
  }
  .elementor-element-1f23ad4 .elementor-heading-title {
    font-size: 21px !important;
  }
}/* End custom CSS */