/* ----------------------------------------------------
🔹 خلفية الصفحة الأساسية
---------------------------------------------------- */
body.index::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://i.postimg.cc/vTt0ZP8T/Group-1-(11).png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  z-index: -1;
}

/* إزالة الخلفيات الافتراضية للبنرات */
.banner--fixed img,
.lazy__bg.lazy.bg-no-repeat.entered.loaded,
a.banner-entry.square-photos {
  background-color: transparent !important;
}
.s-reviews-testimonial {
    background-color: #080A1B;
    color: white;
}

/* ----------------------------------------------------
🔹 البنرات في الديسكتوب
---------------------------------------------------- */
@media (min-width: 1024px) {
  .banner-entry { height: 300px; }

  section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(6) > .container {
    margin-top: 0;
    max-width: 60%;
  }
  section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(7) > .container {
    margin-top: 0;
    max-width: 40%;
  }
.banner-entry {
    
    height: 422px !important;
}
}

/* إعداد البانر الأول */
section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) > .container {
  margin-top: 0;
  max-width: 100%;
  padding: 0;
}

/* المسافات بين البنرات */
section.s-block.s-block--fixed-banner.wide-placeholder {
  margin-top: 2rem;
}
#main-content > section:nth-child(1){
  margin-top: 0rem;
}

/* ----------------------------------------------------
🔹 عنوان السلايدر (الأنيميشن + اللمعة)
---------------------------------------------------- */
.s-slider-block__title {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.s-slider-block__title-right h2 {
  position: relative;
  display: inline-block;
  font-size: 2rem;
  font-weight: bold;
  color: #5371e9;
  border: 2px solid #ffffff;
  border-radius: 12px;
  padding: 8px 24px;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* اللمعة */
.s-slider-block__title-right h2::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shineTitle 3s infinite ease-in-out;
}

@keyframes shineTitle {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* إخفاء أزرار السلايدر */
button.s-slider-next.s-slider-nav-arrow,
button.s-slider-prev.s-slider-nav-arrow,
button.s-slider-prev.s-slider-nav-arrow.swiper-button-disabled {
  display: none !important;
}

/* ----------------------------------------------------
🔹 الأيقونات (الهيدر – السلة – الحساب)
---------------------------------------------------- */
.header-btn__icon,
.s-cart-summary-icon,
.sicon-shopping-bag {
  transition: all 0.3s ease-in-out;
}

.header-btn:hover .header-btn__icon,
.s-cart-summary-wrapper:hover .s-cart-summary-icon,
.s-cart-summary-wrapper:hover .sicon-shopping-bag {
  color: #1B254C;
  transform: scale(1.2);
}
.s-product-card-sale-price h4 {
    color: #ff0000 !important;
    font-size: 20px;
}

/* ----------------------------------------------------
🔹 تأثير لمعة البنرات
---------------------------------------------------- */
.banner-entry::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.1) 0%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0.1) 100%
  );
  transform: skewX(-25deg);
}

.banner-entry:hover::after {
  left: 150%;
  transition: left 1s ease;
}

/* ----------------------------------------------------
🔹 الفوتر
---------------------------------------------------- */
.store-footer__inner {
  background-color: #080A1B !important;
}

/* ----------------------------------------------------
🔹 كروت المنتجات (البورد – الهوفر – الصورة)
---------------------------------------------------- */
.s-products-slider-card custom-salla-product-card,
custom-salla-product-card.s-product-card-entry {
  border: 2px solid #1B254C !important;
  border-radius: 18px;
  overflow: hidden;
  transition: 0.35s ease;
  background-color: #080A1B;
}
}

.s-products-slider-card custom-salla-product-card:hover,
custom-salla-product-card.s-product-card-entry:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 18px rgba(27, 37, 76, 0.45);
  border-color: #1B254C;
}

.s-products-slider-card custom-salla-product-card:hover img {
  transform: scale(1.04);
  transition: 0.4s ease-in-out;
}

/* ----------------------------------------------------
🔹 الأزرار (مظهر – ألوان – لمعة – هوفر)
---------------------------------------------------- */
button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
  background-color: #1B254C !important;
  border: 2px solid #1B254C !important;
  color: #fff !important;
  border-radius: 12px;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: 0.35s ease;
}

button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center .s-button-text,
button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center i {
  color: #fff !important;
}
.s-product-card-content-title a {
    display: flex;
    font-size: 20px;
    color: rgb(255 255 255);
    justify-content: center;
}
.s-product-card-content-sub {
    gap: .75rem;
    justify-content: center;
}
button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(27, 37, 76, 0.55);
}
.s-product-card-price, .s-product-card-starting-price h4 {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

/* اللمعة */
button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  transition: 0.5s;
}

button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center:hover::after {
  left: 130%;
}
.bg-inherit {
    background-color: #080A1B;
}
nav#mobile-menu {
    color: white;
}
.mm-spn a {
    color: #000000;
}
/* ----------------------------------------------
🔹 توحيد لون الأيقونات والسعر بالأبيض
---------------------------------------------- */
.header-btn__icon,
.s-cart-summary-icon,
.sicon-shopping-bag {
  color: #fff !important;
  fill: #fff !important;
}

/* لون السعر والعملة داخل السلة */
.s-cart-summary-total,
.s-cart-summary-total i,
.s-cart-summary-content,
.s-cart-summary-count {
  color: #fff !important;
  fill: #fff !important;
}

/* لون SVG داخل السلة */
.s-cart-summary-icon svg path {
  stroke: #fff !important;
  fill: #fff !important;
}

/* ----------------------------------------------
🔹 الحفاظ على الهوفر بلون الهوية الجديد
---------------------------------------------- */
.header-btn:hover .header-btn__icon,
.s-cart-summary-wrapper:hover .s-cart-summary-icon,
.s-cart-summary-wrapper:hover .sicon-shopping-bag {
  color: #1B254C !important;
  transform: scale(1.2);
}

.s-cart-summary-wrapper:hover .s-cart-summary-icon svg path {
  stroke: #1B254C !important;
  fill: #1B254C !important;
}

/* ----------------------------------------------------
🔹 ريسبونسيف – موبايل
---------------------------------------------------- */
@media (max-width: 768px) {
  .s-slider-block__title-right h2 {
    font-size: 1.5rem;
    padding: 6px 16px;
    border-width: 1.5px;
  }

  section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) > .container {
    max-width: 100% !important;
    margin-top: 0 !important;
    padding: 0!important;
  }


  #photos-0-slider > div.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-ios.swiper-backface-hidden {
    padding: 0;
  }

  .s-products-slider-card {
    max-width: 185px;
  }

  .main-nav-container {
    min-height: 56px;
  }

  .s-button-element:not(:disabled):not([loading]) {
    font-size: 11px;
  }
    .mm-spn.mm-spn--light {
        color: #000 !important;
    }
.s-block--banners .grid.two-row {
    display: grid;                         /* تفعيل شبكة العرض */
    grid-template-columns: repeat(2, 1fr); /* 4 أعمدة متساوية */
    gap: 1rem;                             /* مسافة بين العناصر */
}
}
@media (max-width: 767px) {
  #main-content > section.s-block.s-block--banners.container > div {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px; /* تقدر تزود أو تقلل */
  }
}