.s-product-card-entry .s-button-element,
.s-product-card-vertical .s-button-element,
.product-card .s-button-element {
  background: #000000 !important;
  border: 1px solid #8F8F8F !important;
}

/* توضيح زر إتمام الطلب في صفحة السلة */
.s-cart-summary .s-button-element,
.cart-summary .s-button-element,
.cart-summary button,
.cart-summary a,
a[href*="checkout"],
a[href*="/checkout"] {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid #000000 !important;
  border-radius: 10px !important;
  height: 52px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18) !important;
}

/* لون النص داخل الزر */
.s-cart-summary .s-button-element *,
.cart-summary .s-button-element *,
a[href*="checkout"] * {
  color: #ffffff !important;
}

/* عند المرور على الزر */
.s-cart-summary .s-button-element:hover,
.cart-summary .s-button-element:hover,
a[href*="checkout"]:hover {
  background: #222222 !important;
  color: #ffffff !important;
}
/* زر إتمام الطلب - صفحة السلة */
[href*="checkout"],
a[href*="/checkout"],
button[class*="checkout"],
.s-button-btn,
.s-button-primary,
.s-cart-summary button,
.s-cart-summary a,
.cart-summary button,
.cart-summary a {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
  border-radius: 12px !important;
  min-height: 52px !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;
}

/* النص داخل الزر */
[href*="checkout"] *,
a[href*="/checkout"] *,
button[class*="checkout"] *,
.s-button-btn *,
.s-button-primary *,
.s-cart-summary button *,
.s-cart-summary a *,
.cart-summary button *,
.cart-summary a * {
  color: #fff !important;
  opacity: 1 !important;
}
/* اللون الأزرق المعتمد */
:root {
  --sal-blue: #006DFF;
}

/* زر تطبيق كوبون الخصم */
button,
button[type="submit"],
.s-button-element {
  opacity: 1 !important;
}

/* الراديو حق اختيار الدفع */
input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #c8d0dc !important;
  border-radius: 50% !important;
  background: #fff !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}

input[type="radio"]:checked {
  border-color: var(--sal-blue) !important;
  background: radial-gradient(circle, var(--sal-blue) 0 42%, #fff 45%) !important;
}

/* تحديد بطاقة الدفع المختارة */
label:has(input[type="radio"]:checked),
div:has(input[type="radio"]:checked) {
  border-color: var(--sal-blue) !important;
}

/* زر تأكيد الدفع حتى لو غير مفعل */
button:disabled,
button[disabled] {
  background-color: var(--sal-blue) !important;
  color: #ffffff !important;
  border-color: var(--sal-blue) !important;
  opacity: 1 !important;
}
/* إخفاء رابط return policy من أعلى الصفحة */
header a[href*="return"],
header a[href*="policy"],
.top-navbar a[href*="return"],
.top-navbar a[href*="policy"],
.s-topnav a[href*="return"],
.s-topnav a[href*="policy"] {
  display: none !important;
}/* إخفاء الإيميل من أعلى الصفحة */
header a[href^="mailto:"],
.top-navbar a[href^="mailto:"],
.s-topnav a[href^="mailto:"],
a[href*="saal.ro@hotmail.com"] {
  display: none !important;
}
/* تصغير زر إضافة للسلة في بطاقات المنتجات */
salla-add-product-button,
salla-add-product-button .s-button-wrap,
salla-add-product-button .s-button-element,
salla-add-product-button button,
.product-entry salla-button,
.product-card salla-button {
    width: auto !important;
    min-width: 115px !important;
    max-width: 140px !important;
}

/* حجم الزر نفسه */
salla-add-product-button .s-button-element,
salla-add-product-button button,
.product-entry .s-button-element,
.product-card .s-button-element {
    height: 34px !important;
    min-height: 34px !important;
    padding: 5px 12px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    border-radius: 6px !important;
}

/* تصغير أيقونة السلة */
salla-add-product-button svg,
salla-add-product-button i,
.product-entry .s-button-element svg,
.product-card .s-button-element svg {
    width: 15px !important;
    height: 15px !important;
    font-size: 15px !important;
}

/* تصغير الفراغ بين الأيقونة والكتابة */
salla-add-product-button .s-button-text,
salla-add-product-button span {
    font-size: 12px !important;
    gap: 5px !important;
}
/* الخلفية العامة */
body,
html,
.app,
.main-content,
.content,
.page-wrapper,
.section,
.container {
    background: #ffffff !important;
}

/* بطاقات الأقسام */
.card,
.product-card,
.collection-card {
    background: #ffffff !important;
}

/* إزالة أي لون رمادي */
* {
    background-color: transparent;
}

body {
    background-color: #ffffff !important;

/* =========================================
   إصلاح أزرار الشراء في صفحة المنتج - الجوال
   ========================================= */

@media (max-width: 768px) {

  /* حاوية الشراء السفلية */
  .product-form,
  .product-form-actions,
  .product-actions,
  .sticky-product-bar,
  .s-product-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* شريط الكمية */
  salla-quantity-input,
  .s-quantity-input-container,
  .quantity-input,
  .product-quantity {
    width: 130px !important;
    max-width: 130px !important;
    min-width: 130px !important;
    margin: 0 auto !important;
    height: 30px !important;
  }

  /* أزرار + و - */
  salla-quantity-input button,
  .s-quantity-input-container button,
  .quantity-input button {
    width: 30px !important;
    min-width: 30px !important;
    height: 35px !important;
  }

  /* رقم الكمية */
  salla-quantity-input input,
  .s-quantity-input-container input,
  .quantity-input input {
    height: 30px !important;
    text-align: center !important;
    font-size: 16px !important;
  }

  /* زر إضافة إلى السلة */
  .add-to-cart,
  .s-add-to-cart-button,
  salla-add-product-button,
  .product-form button[type="submit"],
  .product-form-actions button[type="submit"] {
    width: 100% !important;
    min-height: 40px !important;
    border-radius: 10px !important;
    font-size: 30px !important;
    justify-content: center !important;
  }

  /* زر Apple Pay */
  apple-pay-button,
  .apple-pay-button,
  .s-apple-pay-button,
  .payment-button,
  .express-payment-button {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 50px !important;
    margin: 0 !important;
    border-radius: 10px !important;
  }

  /* منع ظهور Apple Pay وزر السلة جنب بعض */
  .product-form-actions > *,
  .product-actions > *,
  .sticky-product-bar > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* مسافة عن زر واتساب وأسفل الشاشة */
  .product-form,
  .product-form-actions,
  .sticky-product-bar {
    padding-bottom: 14px !important;
  }
}
  /* توحيد حجم Apple Pay مع زر إضافة للسلة */
@media (max-width: 768px) {

  .s-add-product-button-main > salla-mini-checkout-widget {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    transform: none !important;
  }

  .s-add-product-button-main > salla-mini-checkout-widget::part(button),
  .s-add-product-button-main > salla-mini-checkout-widget apple-pay-button {
    width: 100% !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
  }

  /* تثبيت زر السلة على نفس الارتفاع */
  .s-add-product-button-main .s-button-element {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
  }
}