/* ============================================================
   🔶 1) إعدادات البانر الأساسي والثابت (Fixed Banner)
============================================================ */

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;
}

.index section.s-block.s-block--fixed-banner.wide-placeholder > .container {
  max-width: 90%;
  padding: 0;
}


/* ============================================================
   🔶 2) إعدادات الشبكة Grid للبانرات
============================================================ */

.s-block--banners .grid.two-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.two-row .banner-entry:first-child {
  grid-column: span 1 / span 1;
  grid-row: span 1 / span 2;
}


/* ============================================================
   🔶 3) أيقونات الهيدر + الهوفر
============================================================ */

.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: #EE6425;
  transform: scale(1.2);
}


/* ============================================================
   🔶 4) ألوان الفوتر بلون الهوية
============================================================ */

.store-footer__inner {
  background-color: #EE6425 !important;
}

.store-footer {
  background-color: #EE6425;
}


/* ============================================================
   🔶 5) الزر الأساسي – Gradient + Animation
============================================================ */

.s-button-element.s-button-primary-outline {
  background: linear-gradient(135deg, #C94F1C, #EE6425, #FF7A3A, #C94F1C);
  background-size: 400% 400%;
  animation: gradientBrand 8s ease infinite;
  color: #fff !important;
  border: none !important;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.4s ease;
}

@keyframes gradientBrand {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.s-button-element.s-button-primary-outline:hover {
  background: linear-gradient(45deg, #D85720, #FF7A3A, #EE6425, #D85720);
  background-size: 300% 300%;
  animation: gradientBrandHover 6s ease infinite;
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(238,100,37,0.7), 0 0 35px rgba(255,122,58,0.8);
  color: #fff !important;
}

@keyframes gradientBrandHover {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.s-button-element.s-button-primary-outline:active {
  transform: scale(0.95);
}


/* ============================================================
   🔶 6) كروت المنتجات – Gradient + Hover + Animations
============================================================ */

.s-product-card-entry {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(270deg, #C94F1C, #EE6425, #FF7A3A, #C94F1C);
  background-size: 600% 600%;
  animation: card-gradient-move 8s ease infinite;
  color: #fff;
  transition: all 0.5s ease-in-out;
  box-shadow: 0 4px 12px rgba(201,79,28,0.35);
}

@keyframes card-gradient-move {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.s-product-card-entry:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 25px rgba(201,79,28,0.55),
              0 0 18px rgba(255,122,58,0.7) inset;
}

.s-product-card-entry:hover .s-product-card-image img {
  transform: translateY(-10px) scale(1.08);
  transition: transform 0.5s ease-in-out;
  filter: brightness(1.15) saturate(1.25);
}

.s-product-card-content-title a {
  color: #fff;
  font-size: 15px;
  transition: all 0.4s ease;
}

.s-product-card-content-title a::after {
  display: none !important;
}

.s-product-card-content-title a:hover {
  color: #ffffff !important;
}

.s-product-card-price {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  transition: color 0.4s ease;
}

.s-product-card-entry:hover .s-button-element {
  background: linear-gradient(270deg, #C94F1C, #EE6425, #FF7A3A);
  color: #fff !important;
  border-color: #EE6425 !important;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(238,100,37,0.7),
              0 0 30px rgba(255,122,58,0.8) inset;
}

.s-product-card-entry .s-button-text i {
  display: inline-block;
  animation: cart-slide-in 0.8s forwards;
  opacity: 1;
}

.s-product-card-entry:hover .s-button-text i {
  animation: cart-slide-out 0.8s forwards;
}

@keyframes cart-slide-in {
  0% { transform: translateX(50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@keyframes cart-slide-out {
  0% { transform: translateX(0); opacity: 1; }
  100% { transform: translateX(-50px); opacity: 0; }
}


/* ============================================================
   🔶 7) كروت الريفيو – Reviews Section
============================================================ */

.s-reviews-testimonial {
  background: linear-gradient(135deg, #C94F1C, #EE6425, #FF7A3A);
  background-size: 300% 300%;
  animation: testimonialGradient 10s ease infinite;
  padding: 25px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(238, 100, 37, 0.25);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

@keyframes testimonialGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.s-reviews-swiper-slide {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.s-reviews-testimonial:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 30px rgba(238, 100, 37, 0.45);
}

.s-reviews-testimonial__avatar img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 12px rgba(255,255,255,0.6);
  transition: all 0.4s ease;
}

.s-reviews-testimonial:hover .s-reviews-testimonial__avatar img {
  transform: scale(1.1) rotate(3deg);
}

.s-reviews-testimonial__text p {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.s-reviews-testimonial__name_wrapper h2 {
  color: #fff;
  font-size: 16px !important;
  font-weight: 700;
  transition: 0.3s ease;
}

.s-reviews-testimonial:hover .s-reviews-testimonial__name_wrapper h2 {
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(255,255,255,0.8);
}

salla-rating-stars svg path {
  fill: #fff !important;
  transition: 0.3s ease;
}

.s-reviews-testimonial:hover salla-rating-stars svg path {
  fill: #FFE1D2 !important;
}

.s-reviews-testimonial__icon svg path {
  fill: rgba(255,255,255,0.35);
  transition: 0.4s;
}

.s-reviews-testimonial:hover .s-reviews-testimonial__icon svg path {
  fill: rgba(255,255,255,0.7);
}

.s-reviews-testimonial::after {
  content: "";
  position: absolute;
  top: -100%;
  left: -100%;
  width: 250%;
  height: 250%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.15),
    transparent
  );
  transform: rotate(25deg);
  animation: shineMove 4s linear infinite;
}

@keyframes shineMove {
  0% { transform: translate(-100%, -100%) rotate(25deg); }
  100% { transform: translate(100%, 100%) rotate(25deg); }
}


/* ============================================================
   🔶 8) العنوان المتحرك – DESKTOP ONLY
============================================================ */

@media (min-width: 1024px) {

  .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: #fff;
    border: 2px solid #EE6425;
    border-radius: 12px;
    padding: 8px 24px;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #C94F1C, #EE6425, #FF7A3A);
    box-shadow: 0 0 14px rgba(238, 100, 37, 0.3);
  }

  .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.7) 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%; }
  }

  .s-slider-block__title-right:where([dir=rtl],[dir=rtl] *) {
    padding-left: 0rem;
  }

  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;
  }
}


/* ============================================================
   🔶 9) اللوجو
============================================================ */

.navbar-brand img {
  max-height: 6rem;
}


/* ============================================================
   🔶 10) لمعة البانر عند الهوفر
============================================================ */

.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;
}

#app > div.app-inner.flex.flex-col.min-h-full > footer > div.md\:flex.items-center.justify-between.py-4.container.text-center > salla-payments > ul > li:nth-child(7) {
    display: none;
}
/* ============================================================
   🔶 11) موبايل – Grid Banner + Slider + Buttons
============================================================ */

@media (max-width: 767px) {

  .s-block--banners .grid.two-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  #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;
  }
}