/* إخفاء السعر السفلي من جميع المنتجات */
section.flex.bg-white.p-5:has(.price-wrapper) {
    display: none !important;
}
/* Add custom CSS styles below */ 

/* تعديل رسالة الكاشباك */ 

.s-cashback-banner-label {
    font-size: 0;
}

.s-cashback-banner-label:first-child::after {
    content: "كاش باك يصل إلى ";
    font-size: 14px;
}

.s-cashback-banner-label:last-child::after {
    content: " عند شراء هذا المنتج";
    font-size: 14px;
}



a[href="tel:+966550880979"] {
    display: none !important;
}


.product-card__normal-cart__btn button{

background-color:#f99f27 !important;

border-color:#f99f27 !important;


}
@media (max-width: 991px){

.simplified-products .s-products-list-wrapper .product-card--simplified .product-card__promotion{

bottom: unset !important;

top: 0 !important;


}

}

.product-card--primary-buttons button, .product-card--primary-buttons salla-button {
color:#ffffff !important
}

.product-card--primary-buttons button i, .product-card--primary-buttons salla-button i{
color:#ffffff !important
}

.s-button-element:not(:disabled):not([loading]){
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    }

.promo_with_countdown .bg-opacity-75 {
    --tw-bg-opacity: 0 !important;
}

.details-slider .product-single__slide-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}
}

/* تنسيق عنصر التقسيط */
salla-installment {
    display: block !important;
    width: 100% !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}
@media (max-width: 1023px) {
  salla-mini-checkout-widget {
    --salla-fast-checkout-button-height: 50px !important;
    --salla-fast-checkout-button-border-radius: 12px !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .sticky-product-bar salla-button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .sticky-product-bar button.s-button-element {
    height: 50px !important;
    min-height: 50px !important;
    width: 100% !important;
    border-radius: 12px !important;
  }
}
@media (max-width: 768px) {
  .s-product-card-entry .s-button-btn {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 44px !important;
    padding: 0 8px !important;
    border-radius: 12px !important;
    white-space: nowrap !important;
  }

  /* النص: أكبر وبولد */
  .s-product-card-entry .s-button-btn,
  .s-product-card-entry .s-button-btn * {
    font-size: 14px !important;
    font-weight: 700 !important;
    overflow: visible !important;
    text-overflow: clip !important;
    letter-spacing: 0 !important;
  }

  /* إخفاء أيقونة الثيم الأصلية */
  .s-product-card-entry .s-button-btn svg,
  .s-product-card-entry .s-button-btn i {
    display: none !important;
  }

  /* أيقونة حقيبة تسوق أكبر وأوضح */
  .s-product-card-entry .s-button-btn::before {
    content: "";
    order: -1;
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1.2 11.2a2 2 0 0 1-2 1.8H8.2a2 2 0 0 1-2-1.8L5 8z'/%3E%3Cpath d='M9 10V7a3 3 0 0 1 6 0v3'/%3E%3C/svg%3E") no-repeat center / contain;
  }
}
#wix-search-modal{display:block !important;}
/* شريط الشراء في الجوال: تحت القوائم */
@media (max-width: 767px) {
  .sticky-product-bar {
    z-index: 25 !important;
  }
}
/* صور المنتجات في الديسكتوب: مربعة وكاملة */
@media (min-width: 1024px) {
  .s-product-card-image {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
    max-height: none !important;
  }
  .s-product-card-image img {
    object-fit: cover !important;
  }
}
/* السعر بعد الخصم أخضر في كروت المنتجات، والسعر القديم مشطوب جنبه */
.theme-wix .s-product-card-sale-price h4 { color: #12873d !important; }
.theme-wix .s-product-card-sale-price span { text-decoration: line-through; color: #8a8178 !important; }
/* السعر بعد الخصم أخضر في كروت المنتجات، والسعر القديم مشطوب جنبه */
.theme-wix .s-product-card-sale-price h4 { color: #12873d !important; }
.theme-wix .s-product-card-sale-price span { text-decoration: line-through; color: #8a8178 !important; }

/* عداد العرض في كروت المنتجات */
.wx-timer { display: flex; align-items: center; justify-content: space-between; gap: 6px; flex-wrap: wrap;
  background: #fff4ec; border: 1px solid #fbd9c2; border-radius: 10px; padding: 6px 8px; font-size: 11px; color: #9a3f0b; }
.wx-timer b { font-weight: 700; white-space: nowrap; }
.wx-timer .wx-t { display: flex; gap: 3px; direction: ltr; }
.wx-timer .wx-t span { min-width: 26px; text-align: center; background: #1f2328; color: #fff; border-radius: 6px;
  padding: 3px 4px; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.2; }
.wx-timer .wx-t span small { display: block; font-size: 8px; font-weight: 400; opacity: .75; }
@media (max-width: 639px) {
  .wx-timer .wx-t { flex: 1 1 100%; gap: 3px; }
  .wx-timer .wx-t span { flex: 1; min-width: 0; padding: 3px 2px; font-size: 12px; }
}
/* ===== كرت "العرض التاريخي" للدراجة الثابتة (وردي 39796424، أخضر 1497564941، برتقالي 967887515) =====
   إطار لامع يتوهج، لمعة على الصورة، سعر بارز، وزر لامع. بدون شارة.
   يحل محل كود "صفقة تاريخية" القديم. لإضافة لون الأسود ضيف [id="1241761559"] داخل :is( ) في كل سطر. */
.s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]){
  --deal-a:#E8681A; --deal-b:#FFC94A;
  position:relative; overflow:visible !important; z-index:1;
  border:2px solid transparent !important; border-radius:18px !important;
  background:linear-gradient(#fff,#fff) padding-box,
             linear-gradient(115deg,var(--deal-a),var(--deal-b),#fff3c4,var(--deal-b),var(--deal-a)) border-box !important;
  background-size:100% 100%,300% 300% !important;
  animation:dealBorder 3.5s linear infinite, dealGlow 2.2s ease-in-out infinite;
}
@keyframes dealBorder{to{background-position:0 0,300% 0}}
@keyframes dealGlow{0%,100%{box-shadow:0 6px 18px rgba(232,104,26,.18)}50%{box-shadow:0 8px 30px rgba(255,170,40,.55)}}

/* لمعة تمر على الصورة */
.s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]) .s-product-card-image{position:relative; overflow:hidden; border-radius:16px 16px 0 0}
.s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]) .s-product-card-image::after{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.75) 50%,transparent 65%);
  transform:translateX(-120%); animation:dealShine 3s ease-in-out infinite;
}
@keyframes dealShine{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}

/* تاق صغير "صفقة تاريخية" جنب السعر */
.s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]) .s-product-card-sale-price{display:flex !important; flex-wrap:wrap; align-items:center; gap:4px 8px}
.s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]) .s-product-card-sale-price::after{
  content:"🔥 صفقة تاريخية"; display:inline-block; white-space:nowrap;
  padding:3px 9px; border-radius:999px;
  font-size:11px; font-weight:800; line-height:1.4; color:#fff;
  background:linear-gradient(90deg,#c9480a,#E8681A,#ff8a3d);
  box-shadow:0 2px 8px rgba(201,72,10,.3);
}

/* السعر يبرز */
.s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]) .s-product-card-sale-price h4{
  color:#d4380d !important; font-size:1.35em !important; font-weight:900 !important;
  text-shadow:0 0 12px rgba(255,170,40,.45);
}
.s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]) .s-product-card-sale-price span{text-decoration:line-through; opacity:.6}

/* زر الإضافة ذهبي ولامع */
.s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]) .s-button-element{
  position:relative; overflow:hidden;
  background:linear-gradient(90deg,var(--deal-a),#ff9a3c,var(--deal-a)) !important;
  background-size:200% 100% !important; border:0 !important;
  animation:dealBadge 2.5s linear infinite;
}

@media (prefers-reduced-motion:reduce){
  .s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]),
  .s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]) .s-product-card-image::after,
  .s-product-card-entry:is([id="39796424"],[id="1497564941"],[id="967887515"]) .s-button-element{animation:none !important}
}