/* جعل الزر أحمر وأنيق */
salla-button#cart-submit button {
  background-color: red !important;
  color: white !important;
  font-weight: bold;
  font-size: 17px;
  border-radius: 8px;
  padding: 14px 28px;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
}

/* تغيير النص داخل الزر */
salla-button#cart-submit button::before {
  content: "إنتقل للتوصيل و الدفع";
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
}

/* إخفاء النص الأصلي */
salla-button#cart-submit button span {
  visibility: hidden;
}

/* تأثير التكبير واللون عند المرور */
salla-button#cart-submit button:hover {
  background-color: #b30000 !important;
  transform: scale(1.05);
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.5);
}

/* لمعة تمر على الزر */
salla-button#cart-submit button::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.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  animation: shine 2.5s infinite;
  z-index: 2;
}

/* لمعة متحركة */
@keyframes shine {
  0% {
    left: -75%;
  }
  100% {
    left: 125%;
  }
}
 /* سيليا: مقاسات بطاقة المنتج صغيرة وفي سطر واحد */
.product-card .s-product-options-grid-mode {
  flex-wrap: nowrap;
  gap: 3px;
  overflow: hidden;
  white-space: nowrap;
}
.product-card .s-product-options-grid-mode label {
  flex: 0 1 auto;
  min-width: 0;
  cursor: pointer;
}
.product-card .s-product-options-grid-mode .s-product-options-grid-mode-span {
  min-width: 0;
  height: auto;
  min-height: 0;
  padding: 2px 6px;
  font-size: 10px;
  line-height: 1.5;
  border-radius: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-card .s-product-options-grid-mode label.s-product-options-option-stock-out {
  display: none;
}