/* أو باستخدام href (لو id مش موجود) */
.main-menu li a[href*="مستلزمات-الصحة-والنظافة"],
.main-menu li a[href*="الكتب"],
.main-menu li a[href*="مستلزمات-الطعام"],
.main-menu li a[href*="فيتمين"] {
  display: none !important;
} 



@media(max-width:900px){
  salla-slider .slide--one-sixth {
    width: 33%;
  }
  .s-block--special-products-slider .s-slider-container:where([dir="rtl"], [dir="rtl"] *) {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .home-block-title {
    text-align: center;
    padding: 0 30px;
  }
  .items-center > .w-full {
    width: 100%;
    text-align: center;
  }

  /* منع التمرير الأفقي وإجبار حدود العرض */
  html, body {
    max-width: 100vw;
    overflow-x: hidden !important;
  }

  /* تعديل عرض الكابشن ومربعات النص */
  .advanced-slider__caption__inner--right .advanced-slider__caption__inner__content {
    text-align: center;
    width: 100% !important;
    margin-top: 170px;
    padding: 0 10px !important;
  }

  /* تعديل عند الأجهزة المتوسطة */
  .md\:w-7\/12 {
    width: 100% !important;
    padding: 0 10px !important;
  }
}

a > p {
  text-align: center;
}

@media (min-width: 768px) {
  .md\:w-7\/12 {
    width: 60%;
    padding: 0 100px;
  }
}

@media (min-width: 1280px) {
  .advanced-slider__caption__inner__content__heading {
    font-size: 2.75rem;
    line-height: 1;
  }
}
@media (max-width: 900px) {
  .advanced-slider__caption__inner__content__heading {
    font-size: 1.75rem;
    line-height: 1;
  }
}
body.slider_has_overlay .advanced-slider .swiper-slide * {
  color: #fff;
}

@media (min-width: 768px) {
  .advanced-slider__caption__inner--right .advanced-slider__caption__inner__content:where([dir="rtl"], [dir="rtl"] *) {
    text-align: right;
    width: 500px;
    padding: 0 100px 0 0;
  }
}

@media (min-width: 768px) {
  .advanced-slider__caption__inner--right .advanced-slider__caption__inner__content:where([dir="ltr"], [dir="ltr"] *) {
    text-align: left;
    width: 500px;
    padding: 0 100px 0 0;
  }
}

.advanced-slider__caption__inner__content__text {
  font-size: 1.2rem;
  line-height: 1.rem;
}

body.slider_has_overlay .advanced-slider .swiper-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.store-footer p {
  text-align: center;
}

.product-card__out-label {
  width: 120px;
  text-align: center;
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: block;
  text-transform: uppercase;
  font-size: 15px;
  line-height: 16px;
  font-weight: 600;
  color: #fff;
  padding: 7px 7px;
  border: 1px solid #fff;
  border-radius: 4px;
  background-clip: padding-box;
  transform: rotate(-10deg);
}

.out-of-stock .product-card__image img, .product-card--full-image.out-of-stock img {
  filter: brightness(60%);
}

/* الخطوط والألوان الأساسية */
:root {
  --color-primary: #5c96fa;
  --color-primary-dark: #3670d4;
  --color-primary-light: #82bcff;
  --color-primary-reverse: #00177b;
  --header-bg: #ffffff;
  --header-text-color: #111827;
  --store-text-primary: #111827;
  --store-text-secondary: #4b5563;
}

/* تعديل الهيدر لجاذبية أكثر */
.store-header {
  background: var(--header-bg) !important;
}

/* أزرار أساسية تفاعلية */
.btn, .btn--outline-primary {
  border-radius: 8px !important;
  background: linear-gradient(95deg, var(--color-primary), var(--color-primary-dark));
  border-color: var(--color-primary);
  color: #fff !important;
  font-weight: bold;
  transition: box-shadow 0.3s;
}
.btn:hover, .btn--outline-primary:hover {
  box-shadow: 0 0 18px #5c96fa99;
  background: var(--color-primary-dark);
}

/* كروت المنتجات لمظهر عصري */
.salla-products-slider .product-card, 
.s-block--best-offers .product-card {
  background: #fff;
  border-radius: 16px;
  border: 1.2px solid var(--color-primary-light);
  box-shadow: 0 4px 18px #5c96fa13;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.salla-products-slider .product-card:hover, 
.s-block--best-offers .product-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 8px 26px #5c96fa25;
}

/* تحسين العناوين والنصوص */
h2, h3, .home-block-title {
  color: var(--color-primary-reverse) !important;
  font-weight: 700;
}

/* تحسين الفوتر */
.store-footer {
  background: linear-gradient(90deg, #08215a 65%, #3670d4 100%);
  color: #fff !important;
}
.store-footer a {
  color: #fff !important;
  opacity: 0.92;
  transition: color 0.2s, opacity 0.2s;
}
.store-footer a:hover {
  color: var(--color-primary-light) !important;
  opacity: 1;
}

/* لمسة تفاعلية للصور */
.product-card img, .swiper-slide img {
  transition: transform 0.4s;
}
.product-card:hover img, .swiper-slide:hover img {
  transform: scale(1.06) rotate(-0.5deg);
}

/* استهداف زر "إضافة للسلة" حصراً باستبعاد القلوب والأعين */
.s-button-element.s-button-btn.s-button-outline.s-button-primary-outline:has(.sicon-shopping),
.s-button-element.s-button-btn.s-button-outline.s-button-primary-outline:has(.sicon-add) {
  background: #5c96fa !important;
  color: #fff !important;
  border: 1px solid #5c96fa !important;
  border-radius: 8px !important;
  font-weight: bold;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.s-button-element.s-button-btn.s-button-outline.s-button-primary-outline:has(.sicon-shopping):hover,
.s-button-element.s-button-btn.s-button-outline.s-button-primary-outline:has(.sicon-add):hover {
  background: #fff !important;
  color: #5c96fa !important;
  border: 1px solid #5c96fa !important;
}