/* الزرار الأساسي - نلغيه من التدفق */
.s-product-card-content-footer {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translate(-50%, 20px);
  width: 70%; /* عرض الزرار أصغر */
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease;
  z-index: 2;
}

/* عند الهوفر: يظهر الزر */
.s-product-card-entry:hover .s-product-card-content-footer {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* الصورة تتصغر وخلفيتها تبقى بيضا */
.s-product-card-image {
  transition: all 0.4s ease;
  background-color: transparent;
}
.s-product-card-entry:hover .s-product-card-image {
  background-color: #fff;
}
.s-product-card-image img {
  transition: transform 0.4s ease;
}
.s-product-card-entry:hover .s-product-card-image img {
  transform: scale(0.95);
}

/* الاسم والسعر يتحركوا لفوق */
.s-product-card-content-main,
.s-product-card-content-sub {
  transition: transform 0.4s ease;
  position: relative;
  z-index: 1;
}
.s-product-card-entry:hover .s-product-card-content-main,
.s-product-card-entry:hover .s-product-card-content-sub {
  transform: translateY(-20px);
}
@media (max-width: 767px) {
  /* إلغاء تأثيرات الهوفر */
  .s-product-card-entry:hover .s-product-card-content-footer,
  .s-product-card-content-footer {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    position: static !important;
    width: 100% !important;
  }

  .s-product-card-entry:hover .s-product-card-image img,
  .s-product-card-image img {
    transform: none !important;
  }

  .s-product-card-entry:hover .s-product-card-image {
    background-color: transparent !important;
  }

  .s-product-card-entry:hover .s-product-card-content-main,
  .s-product-card-entry:hover .s-product-card-content-sub {
    transform: none !important;
  }

  /* ضبط مكان زر "إضافة للسلة" */
  .s-product-card-content-footer {
    margin-top: 10px !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
  }
}
.s-product-card-content-footer button:hover {
  background-color: #e1b88c !important;
  color: #ffffff !important;
}

.s-product-card-content-footer button:hover .s-button-text span,
.s-product-card-content-footer button:hover .s-button-text i {
  color: #ffffff !important;
}
.s-product-card-content-title a {
  color: #0e1f4a !important;
}

/* لون عنوان المنتج */
.product-card__title,
.product-card .product-title {
  color: #0e1f4a !important;
}

/* لون السعر في كروت المنتجات */
.product-card__price,
.product-card__price-amount,
.product-card .price,
.s-product-card__price,
.s-product-price,
.s-product-card-price,
.s-product-card__price-amount {
  color: #0e1f4a !important;
}

/* لون نص الزرار وإطاره قبل الهوفر */
button, 
.s-button, 
button[type="button"], 
button[type="submit"], 
a.button, 
a.s-button {
  border: 1px solid #e1b88c !important;
  color: #0e1f4a !important;
}
#slider-with-bg-5 .s-slider-block__title-left button {
  background-color: #0e1f4a !important;
  color: #ffffff !important;
  border: none !important;
  transition: 0.3s ease;
}

#slider-with-bg-5 .s-slider-block__title-left button:hover {
  background-color: #0e1f4a !important;
  color: #0e1f4a !important;
}

.swiper-slide .overlay-bg {
  background-color: rgba(0, 0, 0, 0.05) !important;
}