/* تأثير ذهبي متحرك لأزرار أضف للسلة */
.s-button-element.s-button-primary {
  background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b);
  background-size: 300% 100%;
  color: #fff !important;
  border: none !important;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  animation: golden-glow 3s linear infinite;
}

/* تأثير عند المرور بالماوس */
.s-button-element.s-button-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px #ffd700;
}

/* حركة الوميض الذهبي */
@keyframes golden-glow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

/* الحاوية نفسها مربعة */
.s-product-card-image {
  width: 100% !important;
  padding-top: 100% !important; /* يجعل الحاوية مربعة */
  position: relative !important;
  overflow: hidden !important;
}

/* الصورة داخل الحاوية */
.s-product-card-image img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* يغطي الحاوية بالكامل */
  border-radius: 10px !important; /* تعديل الزوايا حسب رغبتك */
}