.banner-entry {
    height: 530px !important;
}
body#app {
  background-color: white !important;
}
.banner--fixed img {
  background-color: rgb(255 255 255) !important;
}
.lazy__bg.lazy.bg-no-repeat.entered.loaded {
    background-color: white !important;
}
/* --------------------------------- 2. أول بانر (الهيرو) --------------------------------- */
#main-content > section:nth-child(3) > div {
    max-width: 100%;
  padding: 0;
}

#main-content > section:nth-child(2) {
    margin-top: 0px !important;
}
.index section.s-block.s-block--fixed-banner.wide-placeholder > .container {
  max-width: 100% !important;
  padding: 0 !important;
}
#main-content > section:nth-child(5) > div {
    max-width: 100%;
    padding: 0;
}
#main-content > section:nth-child(11) > div {
    max-width: 100%;
    padding: 0;
}
#main-content > section:nth-child(13) > div {
    max-width: 100%;
    padding: 0;
}
/* ===== بطاقة المنتج ===== */
.s-product-card.s-product-card-entry {
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #f1f1f1;
  transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

/* صورة المنتج */
.s-product-card-image img,
.s-product-card-image-cover {
  transition: transform 0.6s ease;
}

/* ===== Hover بطاقة المنتج ===== */
.s-product-card.s-product-card-entry:hover {
  transform: translateY(-8px);
  border-color: #AC7C45;
  box-shadow: 0 18px 45px rgba(172, 124, 69, 0.25);
}
.s-product-card-content {
    padding: 25px !important;
}

/* تكبير الصورة عند hover */
.s-product-card.s-product-card-entry:hover .s-product-card-image img,
.s-product-card.s-product-card-entry:hover .s-product-card-image-cover {
  transform: scale(1.08);
}

/* ===== محتوى البطاقة ===== */
.s-product-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* توحيد ارتفاع عنوان المنتج وقص النصوص الطويلة بعد سطرين */
.s-product-card-content-title a {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  height: 3em;
  color: #111111;
  transition: color 0.3s ease;
}

@media (max-width: 768px) {
  .s-product-card-content-title a {
    font-size: 14px;
    line-height: 1.45;
    height: 2.9em;
    word-break: break-word;
  }
}

/* تغيير لون العنوان عند hover */
.s-product-card.s-product-card-entry:hover .s-product-card-content-title a {
  color: #AC7C45;
}

/* ===== السعر وسعر التخفيض في التحديث الجديد ===== */
.s-product-card-content-sub {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.s-product-card-price,
.s-product-card-sale-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.s-product-card-price h4,
.s-product-card-sale-price h4 {
  color: #000000;
  font-weight: 700;
  font-size: 21px;
  margin: 0;
  transition: color 0.3s ease;
}

/* السعر القديم المشطوب */
.s-product-card-sale-price span {
  color: #9ca3af;
  font-size: 14px;
  text-decoration: line-through;
}

/* تغيير لون السعر عند hover */
.s-product-card.s-product-card-entry:hover .s-product-card-price h4,
.s-product-card.s-product-card-entry:hover .s-product-card-sale-price h4 {
  color: #AC7C45;
}

/* ===== الفوتر والأزرار في التحديث الجديد ===== */
.s-product-card-content-footer {
  width: 100%;
  display: flex;
  align-items: center;
}

.s-product-card-content-footer > div:first-child {
  flex: 1;
}

/* زر أضف إلى السلة الجديد */
.s-product-card-content-footer salla-add-product-button .s-button-element.s-button-btn {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: none !important;
  background: linear-gradient(135deg, #AC7C45, #CFA26B, #966A38, #AC7C45) !important;
  background-size: 350% 350% !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 12px 30px rgba(172, 124, 69, 0.35);
  animation: 
    softGradientShift 7s ease-in-out infinite,
    buttonPulseGlow 4s ease-in-out infinite;
  transition:
    transform 0.45s cubic-bezier(.2,.8,.2,1),
    box-shadow 0.45s ease,
    filter 0.45s ease;
}

/* طبقة اللمعة */
.s-product-card-content-footer salla-add-product-button .s-button-element.s-button-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255,255,255,.38), transparent 28%);
  transform: translateX(-120%) scale(1.2);
  opacity: 0.8;
  animation: liquidLight 5s ease-in-out infinite;
  pointer-events: none;
}

/* النص داخل الزرار */
.s-product-card-content-footer salla-add-product-button .s-button-text {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff !important;
}

/* Hover الزرار */
.s-product-card-content-footer salla-add-product-button .s-button-element.s-button-btn:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 45px rgba(172, 124, 69, 0.55);
  filter: saturate(1.08);
}

.s-product-card-content-footer salla-add-product-button .s-button-element.s-button-btn:hover::before {
  animation-duration: 2s;
}

.s-product-card-content-footer salla-add-product-button .s-button-element.s-button-btn:active {
  transform: scale(0.96);
}

/* زر المفضلة الجديد بجانب السلة */
.s-product-card-content-footer .s-product-card-wishlist-btn {
  border-radius: 16px;
  border-color: #e5e7eb;
  transition: all 0.3s ease;
}

.s-product-card-content-footer .s-product-card-wishlist-btn:hover {
  border-color: #AC7C45;
  color: #AC7C45;
  background-color: rgba(172, 124, 69, 0.08);
}

/* ===== Keyframes الزرار ===== */
@keyframes softGradientShift {
  0% { background-position: 0% 50%; }
  35% { background-position: 80% 20%; }
  70% { background-position: 100% 80%; }
  100% { background-position: 0% 50%; }
}

@keyframes buttonPulseGlow {
  0%, 100% { box-shadow: 0 12px 30px rgba(172, 124, 69, 0.35); }
  50% { box-shadow: 0 18px 42px rgba(207, 162, 107, 0.55); }
}

@keyframes liquidLight {
  0% { transform: translateX(-120%) scale(1.2); opacity: 0; }
  25% { opacity: 0.85; }
  55% { transform: translateX(120%) scale(1.2); opacity: 0; }
  100% { transform: translateX(120%) scale(1.2); opacity: 0; }
}