.s-block--features+.s-block--features, .s-block--fixed-banner+.s-block--fixed-banner, .s-block--banners+.s-block--banners {
    margin-top: 0em;
}

@media (max-width: 640px) {
    .swal2-container .swal2-popup.swal2-toast {
        max-width: 80%;
                margin-top: 25px;
    }
}

button.s-product-card-wishlist-btn {
  display: none !important;
}
.promotion-title {
    background-color: rgb(0 0 0);
}
.s-product-card-promotion-title {
    background-color: rgb(0 0 0);
}
.s-product-card-promotion-title {
    top: 0rem;
    }
.s-product-card-promotion-title:where([dir="rtl"], [dir="rtl"] *) {
    right: 0px;
    left: auto;
    left: initial;
    border-top-left-radius: 0rem;
    border-bottom-left-radius: .75rem;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    }
.custom-offer-image {
  height: 100px;
  margin-top: -15px;
  border-radius: 5px; /* زوايا ناعمة */
  box-sizing: border-box;
}
.custom-image-row {
  display: flex;
  place-content: center;
  flex-wrap: wrap; /* يخلي الصور تنزل تحت بعض في الشاشات الصغيرة */
}
/*امتلك المنتج اليوم*/
.product-views {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: #fafafb;
  border: 1px solid #eee;
  padding: 6px 8px;
  font-size: 14px;
  margin-top: 10px;
}

.product-views .pulse-dot {
  width: 10px;
  height: 10px;
  background: #fb7095;
  border-radius: 50%;
  animation: pulseq 1.5s infinite;
}

@keyframes pulseq {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

.view-count {
  color: #f87171;  
  font-weight: bold !important;
}


/* تصميم أنيق لعداد الزوار */
.custom-live-counter {
  direction: rtl;
  position: fixed;
  bottom: 120px; /* مرتفع قليلاً عن الأسفل */
  left: 20px;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 9999;
  transition: opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
}

.custom-live-counter.show {
  opacity: 1;
  pointer-events: auto;
}

.custom-live-counter .circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #21c97a;
  box-shadow: 0 0 0 6px rgba(33, 201, 122, 0.3);
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.custom-live-counter p {
  margin: 0;
  font-size: 15px;
  color: #222;
  white-space: nowrap;
}


/* تصميم أنيق وبسيط على ستايل أبل */
body {
  background: #fff;
}
nav.breadcrumbs {
  display: none !important;
}
.s-products-slider-card {
    max-width: 180px;
}
.s-product-card-fit-height .s-product-card-image {
    height: 20rem;
}
.header-btn__icon {
    border-width: 0px;
}
.flex.rtl\:space-x-reverse.space-x-3 {
  display: none !important;
}
/* جعل عنوان المنتج بالمنتصف */
.product-single h1,
.product-single .text-xl,
.product-single .text-2xl {
  text-align: center !important;
}

/* توسيط السعر */
.product-single .flex.whitespace-nowrap.gap-4.items-center {
  justify-content: center !important;
  text-align: center !important;
  width: 100% !important;
  margin-top: -8px;
}

.store-footer__inner {
    background-color: rgb(0 0 0);
}
/* جعل محتوى الفوتر كله بالوسط */
.store-footer__inner .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 20px;
}

/* الغاء الـ grid الافتراضي */
.store-footer__inner .container.grid {
  display: flex !important;
  flex-direction: column !important;
}

/* توسيط النصوص والعناوين */
.store-footer__inner h3,
.store-footer__inner p,
.store-footer__inner a,
.store-footer__inner salla-social,
.store-footer__inner salla-contacts,
.store-footer__inner salla-apps-icons {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* السطر الأخير (حقوق النشر + الدفع) */
.store-footer .md\:flex.items-center.justify-between.container {
  flex-direction: column !important;
  align-items: center !important;
  gap: 10px;
  text-align: center !important;
}
/* إخفاء القائمة الأصلية */
.s-product-options-option-content select {
  display: none !important;
}

/* حاوية الأزرار */
.sizes-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* توسيط */
  gap: 12px;
  margin: 20px 0;
}
.s-product-options-option-label {
  text-align: center;
}
/* الأزرار */
.sizes-buttons button {
  padding: 8px 16px;
  background: #ffffff; /* أبيض */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

/* عند التمرير */
.s-product-options-wrapper {
    background-color: #f3f4f6;
    }
/* عند التحديد */
.sizes-buttons button.active {
  background: #111;
  color: #fff;
  border-color: #111;
}




/* استهداف القائمة المحددة فقط */
.horizontal-products .s-products-list-wrapper {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 16px !important;
}

/* الكرت */
.horizontal-products .s-product-card-entry {
  display: flex !important;
  flex-direction: column !important; /* يجعل المحتوى تحت الصورة */
  width: 100% !important;
  max-width: 100% !important;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

/* الصورة داخل الكرت */
.horizontal-products .s-product-card-image {
  width: 100% !important;
  height: 320px !important; /* ارتفاع ثابت */
  overflow: hidden;
  border-bottom: 1px solid #eee;
}

/* الصورة نفسها */
.horizontal-products .s-product-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* يملأ كامل المساحة */
  display: block;
}


/* محتوى المنتج */
.horizontal-products .s-product-card-content {
  text-align: center;
}

/* العنوان */
.horizontal-products .s-product-card-content-title a {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  display: block;
     padding: 8px;
  margin-bottom: 6px;
      text-align: center;
}
.s-product-card-content-title a {
     padding: 8px;
         text-align: center;
}
/* السعر */
.horizontal-products .s-product-card-price {
  font-size: 15px;
  font-weight: bold;
}
.s-product-card-content-sub {
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}
.s-button-primary-outline {
    color: #ffffff;
    background-color: #000000;
}
.s-button-btn, .s-price-range-number-input {
    border-radius: 0rem;
}

/* تصفير التباعد حول زر إضافة للسلة */
/* استهداف الزر فقط بدون لمس باقي العناصر */
.s-product-card-content {
  padding: 0 !important;
}
.s-product-card-horizontal .s-product-card-image:where([dir="rtl"], [dir="rtl"] *) {
  border-top-right-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}
.s-product-card-content-footer {
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  overflow: hidden; /* عشان الزر ما يطلع خارج الراديوس */
}
salla-button.btn--wishlist {
  display: none !important;
}

.s-cart-summary-count {
    background-color: rgb(251 111 147);
}
/* تخصيص زر Apple Pay */
.s-quick-buy-apple-pay {
    --apple-pay-button-border-radius: 0rem; 
}


.s-add-product-button-main .s-add-product-button-mini-checkout {
    --salla-fast-checkout-button-border-radius: 0rem;
}
.s-user-menu-trigger-avatar {
    height: 2rem;
    width: 2rem;
    }

.header-btn__icon.icon:where([dir="rtl"], [dir="rtl"] *) {
    margin-left: 0px;
}
.header-btn__icon {
    height: 2rem;
    width: 2rem;
}


.main-nav-container.fixed-pinned .navbar-brand img {
    max-height: 55px;
}
.navbar-brand img  {
    max-height: 55px;
}





/* الحاوية */
#wa-selia {
  position: fixed;
  bottom: 130px;
  right: 20px; /* يمين: 20px لو تبغاها يمين */
  z-index: 9999;
  width: 50px;
  height: 50px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  cursor: pointer;
}

/* الأيقونة */
#wa-selia i {
  font-size: 32px;   /* تكبير الأيقونة */
  line-height: 1;    /* إزالة المسافات الغريبة */
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}


.s-product-card-sale-price h4 {
    color: rgb(250 112 148) !important;
}
.text-red-800 {
    color: rgb(250 112 148);
}
.s-button-danger {
    border-color: rgb(251 112 149);
    background-color: rgb(251 112 148);
}
.s-button-outline {
    border-width: 0px;
}