/* ===== الألوان الأساسية ===== */
html[data-theme="light"] {
  --color-primary: #A63A1F;
  --color-primary-dark: #7C2B16;
  --color-primary-light: #C15A3D;
  --color-primary-ops: #A63A1F1f;
  --color-primary-reverse: #FFFFFF;
  --color-footer-bg: #EDE3DD;
  --color-footer-text: #3A2A22;
  --color-footer-text-ops: #3A2A2278;
}
html[data-theme="dark"] {
  --color-primary: #C1542F;
  --color-primary-dark: #A63A1F;
  --color-primary-light: #D97A57;
  --color-primary-ops: #C1542F1f;
  --color-primary-reverse: #1A1A1A;
  --color-footer-bg: #2A211D;
  --color-footer-text: #E8D9CE;
  --color-footer-text-ops: #E8D9CE78;
}

/* ===== إخفاء "جميع الفئات" فقط من الهيدر ===== */
li[data-all-cats] {
  display: none !important;
}

/* ===== دمج شعار الفوتر مع لون الخلفية ===== */
.img-footer {
  mix-blend-mode: multiply;
}

/* ===== توسيع البنر على مستوى الشاشة + تكبير الطول ===== */
.s-block--photos-slider {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 20px 20px;
  box-sizing: border-box;
}
.s-block--photos-slider .swiper-slide img {
  height: 340px !important;
  width: 100% !important;
  object-fit: cover !important;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--color-primary);
  transition: transform 0.3s ease;
}
.s-block--photos-slider .swiper-slide img:hover {
  transform: scale(1.02);
}
.s-block--photos-slider .swiper-pagination-bullet {
  background: var(--color-primary) !important;
  opacity: 0.4 !important;
  width: 10px !important;
  height: 10px !important;
}
.s-block--photos-slider .swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 28px !important;
  border-radius: 6px !important;
}
.s-block--photos-slider .swiper-button-next,
.s-block--photos-slider .swiper-button-prev {
  color: var(--color-primary) !important;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.s-block--photos-slider .swiper-button-next::after,
.s-block--photos-slider .swiper-button-prev::after {
  font-size: 18px !important;
  font-weight: bold;
}
@media (max-width: 768px) {
  .s-block--photos-slider .swiper-slide img {
    height: 220px !important;
  }
}

/* ===== خلفية بيضاء للقسم ===== */
#featured-products-style2-2 {
  background-color: #ffffff !important;
}

/* ===== بوكس لكل بطاقة منتج ===== */
#featured-products-style2-2 .s-product-card-entry {
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background-color: #ffffff !important;
}

#featured-products-style2-2 .s-product-card-entry:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  border-color: var(--color-primary);
}

#featured-products-style2-2 .s-product-card-content {
  padding: 12px 16px 16px;
}

#featured-products-style2-2 .s-products-list-wrapper {
  gap: 20px !important;
}

/* ===== توسيط اسم المنتج ===== */
#featured-products-style2-2 .s-product-card-content-title {
  text-align: center !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
}

#featured-products-style2-2 .s-product-card-content-title a {
  display: block !important;
  width: 100% !important;
}

/* ===== توسيط السعر مع أيقونة الريال ===== */
#featured-products-style2-2 .s-product-card-content-sub {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

#featured-products-style2-2 .s-product-card-price {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}