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

/* المسافات بين البنرات */
section.s-block.s-block--fixed-banner.wide-placeholder {
  margin-top: 2rem;
}

/* ----------------------------------------------------
🔹 عنوان السلايدر (الأنيميشن + اللمعة)
---------------------------------------------------- */
.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: #3A9EA2;
  border: 2px solid #3A9EA2;
  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;
}
.s-slider-block__title-right:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0rem;
}

@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: #3A9EA2;
  transform: scale(1.2);
}

/* ----------------------------------------------------
🔹 تأثير لمعة البنرات
---------------------------------------------------- */
.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: #3A9EA2 !important;
}

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

.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(58, 158, 162, 0.45);
  border-color: #3A9EA2;
}

.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: #3A9EA2 !important;
  border: 2px solid #3A9EA2 !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;
}

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(58, 158, 162, 0.55);
}

/* اللمعة */
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%;
}

/* ----------------------------------------------------
🔹 ريسبونسيف – موبايل
---------------------------------------------------- */
@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;
  }

  .grid.one-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  #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;
  }
}
section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(10) > .container {
  margin-top: 0;
  max-width: 50%;
}
.banner--fixed img, .banner-entry {
   
    background-color: rgb(243 244 246 / 0%);
}
section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(1) > .container {
  max-width: 100%;
  margin-top: 0;
  padding: 0;
}

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

section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
  margin-top: 0;
  height: 100%;
  overflow: hidden;
}
/* الجريد الأساسي */
.s-block--banners .grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.two-row .banner-entry:first-child {
    grid-column: span 1 / span 1; /* امتداد عمود واحد */
    grid-row: span 1 / span 2;    /* امتداد صفين */
}
@media (min-width: 1025px) {
  .banner-entry {
   
    height: 310px;
  }
}
@media (max-width: 768px) {
  .s-block--banners .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.two-row .banner-entry:first-child {
    grid-column: span 1 / span 1; /* امتداد عمود واحد */
    grid-row: span 1 / span 2;    /* امتداد صفين */
}
.banner-entry {
   
    height: 149px;
  }
  
section.s-block.s-block--fixed-banner.wide-placeholder:nth-of-type(10) > .container {
  margin-top: 0;
  max-width: 80%;
}
}
button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary.s-button-loader-center {
    background-color: #3A9EA2;
    color: white;
}
button.undefined.s-button-element.s-button-btn.s-button-solid.s-button-primary.s-button-loader-center {
    background-color: #3A9EA2;
    color: white;
}
.store-footer {
    background-color: #3A9EA2;
}


.s-product-card-price {
    text-align: center;   /* توسيط السعر */
}

.s-product-card-content-sub {
    text-align: center;
    display: inline-block;
}

.s-product-card-content-title a {
    font-size: 16px;     /* حجم النص */
    font-weight: bold;   /* نص سميك */
    text-align: center;
    display: block;
}

/* ميل للصورة كلها لليمين وقت الهوفر */
.s-product-card-image img {
  transition: transform 0.4s ease;
}

.s-product-card-image img:hover {
  transform: rotate(5deg); /* تميل 5 درجات لليمين */
}

.main-nav-container.fixed-pinned .navbar-brand img,
.navbar-brand img {
    max-height: 5rem; /* تحديد أقصى ارتفاع للشعار */
}