[dir="rtl"] .s-slider-block__title-right {
    padding-left: 0px;
    text-align: center;
}
.s-block__title-right.dm-text-main {
  margin: 0 auto;
  text-align: center; /* اختياري للنص */
}
.s-slider-block__title-right {
  margin: 0 auto;
      font-size: 14px!important;
background-color:#F4D03F!important;
  display: inline-block;
padding: 7px 20px 2px 20px !important;  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0 !important;
  text-align: center!important;
  background-color: #2a6c50;
  color: #000;
  border-radius: 20px 0px 20px 0px!important;
border-radius: 15px 0px 15px 0px;
}
[dir="rtl"] .s-slider-block__title h2 {
    padding-left: 0px!important;
}
#app {
    --badge-size: 0.75rem;
    --badge-bg-color: #e97e57;
    --badge-text-color: #ffffff;
    --horz-pro-width: 30px;
    --horz-pro-width: 30px;
    --product-ratio: 1 / 1;
    --product-title-font-size: 0.9rem;
    --atc-text-color: #ffffff;
    --atc-bg-color: #2a6c50;
    --atc-border-color: #2a6c50;
}
.price-wrapper.mb-2\.5.px-2 {
  color: red;
}
body .pc-t {
    color: rgba(239, 68, 68, 1);
}
body.pc-title-two-line custom-salla-product-card.product-block .title {
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    color: #000;
    overflow: hidden;
    white-space: wrap;
}
.s-block-awesome-btn .btn-section-inner {
    color: #2a6c50;
    font-size: 14px;
    border-radius: 9px !important;
    background-color: #ffffff;
    border: 0.2px solid #2a6c50;
}
.s-block__title h2 {
    position: relative;
    font-size: 1.125rem;
    background: #2a6c50;
    color: #fff;
    line-height: 1.75rem;
    padding-top: 7px;
    padding-bottom: 0px;
    font-weight: 700;
    border-radius: 20px 1px;
    line-height: 1.2;
}
.s-block__title p {
    margin-top: 0.5rem;
    overflow: hidden;
    color: #000;
}
  [dir="rtl"] .s-block__title .right-side {
    padding-left: 0px;
        margin: 0 auto;
    font-size: 14px !important;
    background-color: #2a6c50 !important;
    display: inline-block;
    padding: 7px 20px 2px 20px !important;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0 !important;
    text-align: center !important;
    background-color: #2a6c50;
    color: #fff;
    border-radius: 20px 0px 20px 0px !important;
    border-radius: 15px 0px 15px 0px;

}

.top-navbar {
    padding-top: 0px;
    padding-bottom: 0px;
}

  .mySlider .brand-item img:not(.bg-contain) {
    -o-object-fit: cover;
    object-fit: contain;
}
.store-logo-summary.is-loaded {
    background-color: #2a6c50 !important;
}
#cart_summary_desktop .store-logo-summary.is-loaded {
    background: #2a6c50 !important;
}
#cart_summary_desktop .store-logo-summary {
    border: 2px solid #eee;
    border-radius: 50%;
    height: 60px;
    background: #2a6c50;
}
#cart_summary_desktop .store-info-wrapper {
    align-self: flex-start;
    background-color: #2a6c50!important;
    border-radius: 50%;
    display: flex;
    flex: 0 0 auto;
    height: 60px;
    width: 60px;
}
html body #cart_summary_desktop .store-info-wrapper[style] {
    background-color: #2a6c50 !important;
}
.s-block__title h2 {
    margin: 0 auto;
    font-size: 14px !important;
    background-color: #2a6c50 !important;
    display: inline-block;
    padding: 7px 20px 2px 20px !important;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 0 !important;
    text-align: center !important;
    background-color: #2a6c50;
    color: #fff;
    border-radius: 20px 0px 20px 0px !important;
    border-radius: 15px 0px 15px 0px;
}


/* ===============================
   WELO First Order Popup
   =============================== */

#welo-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44, 44, 44, 0.55);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

#welo-popup-overlay.show {
  opacity: 1;
  visibility: visible;
}

#welo-popup-box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: #F7F9F9;
  border-radius: 24px 0 24px 0;
  padding: 34px 24px 24px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  border: 2px solid #EAD7C5;
  transform: translateY(18px) scale(0.96);
  transition: all 0.3s ease;
}

#welo-popup-overlay.show #welo-popup-box {
  transform: translateY(0) scale(1);
}

#welo-popup-close {
  position: absolute;
  top: 12px;
  left: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  color: #2C2C2C;
  font-size: 26px;
  line-height: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.welo-popup-badge {
  display: inline-block;
  background: #F4D03F;
  color: #2C2C2C;
  padding: 7px 18px;
  border-radius: 15px 0 15px 0;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

#welo-popup-box h2 {
  margin: 0 0 12px;
  color: #1E8449;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.4;
}

#welo-popup-box p {
  margin: 0 auto 18px;
  color: #2C2C2C;
  font-size: 15px;
  line-height: 1.8;
  max-width: 340px;
}

.welo-coupon-box {
  background: #ffffff;
  border: 1.5px dashed #1E8449;
  border-radius: 18px;
  padding: 14px 18px;
  margin: 18px auto;
}

.welo-coupon-box span {
  display: block;
  color: rgba(44, 44, 44, 0.7);
  font-size: 13px;
  margin-bottom: 6px;
}

.welo-coupon-box strong {
  display: block;
  color: #1E8449;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 1px;
}

#welo-copy-coupon {
  width: 100%;
  max-width: 260px;
  background: #2ECC71;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.25s ease;
}

#welo-copy-coupon:hover {
  background: #1E8449;
  transform: translateY(-1px);
}

#welo-popup-box small {
  display: block;
  margin-top: 14px;
  color: rgba(44, 44, 44, 0.6);
  font-size: 12px;
}

/* Mobile */
@media (max-width: 480px) {
  #welo-popup-box {
    max-width: 94vw;
    padding: 30px 18px 22px;
    border-radius: 20px 0 20px 0;
  }

  #welo-popup-box h2 {
    font-size: 21px;
  }

  #welo-popup-box p {
    font-size: 14px;
  }

  .welo-coupon-box strong {
    font-size: 24px;
  }
}

/* ===============================
   WELO Add To Cart Button Styling
   =============================== */

.add-to-cart,
button.add-to-cart,
.s-product-card-content-footer button,
button.s-button-btn,
.s-button-primary {
  background-color: #2ECC71 !important;
  border-color: #2ECC71 !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  transition: all 0.25s ease !important;
}

.add-to-cart:hover,
button.add-to-cart:hover,
.s-product-card-content-footer button:hover,
button.s-button-btn:hover,
.s-button-primary:hover {
  background-color: #1E8449 !important;
  border-color: #1E8449 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* =========================================
   WELO - Product Card Enhancement
   ========================================= */

/* الكارت الأساسي */
custom-salla-product-card.product-block,
.s-product-card-entry,
.product-block,
.s-product-card-vertical {
  background: #ffffff !important;
  border: 1px solid rgba(30, 132, 73, 0.10) !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.25s ease !important;
  padding: 12px !important;
  position: relative !important;
}

/* Hover */
custom-salla-product-card.product-block:hover,
.s-product-card-entry:hover,
.product-block:hover,
.s-product-card-vertical:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 14px 30px rgba(30, 132, 73, 0.12) !important;
  border-color: rgba(30, 132, 73, 0.18) !important;
}

/* منطقة الصورة */
.s-product-card-image,
.product-block .image,
.product-block .s-product-card-image {
  background: #F7F9F9 !important;
  border-radius: 20px !important;
  padding: 14px !important;
  margin-bottom: 14px !important;
}

/* صورة المنتج */
.s-product-card-image img,
.product-block img,
custom-salla-product-card img {
  object-fit: contain !important;
  transition: transform 0.25s ease !important;
}

custom-salla-product-card.product-block:hover img,
.s-product-card-entry:hover img,
.product-block:hover img {
  transform: scale(1.03) !important;
}

/* عنوان المنتج */
body.pc-title-two-line custom-salla-product-card.product-block .title,
custom-salla-product-card.product-block .title,
.s-product-card-content-title a,
.product-block .title {
  color: #2C2C2C !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.7 !important;
  text-align: center !important;
  margin: 10px 0 8px !important;
  min-height: 58px !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  white-space: normal !important;
}

/* السعر */
.price-wrapper,
.price-wrapper.mb-2\.5.px-2,
body .pc-t,
.s-product-card-price,
.price {
  color: #E74C3C !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  text-align: center !important;
  margin: 8px 0 14px !important;
}

/* السعر القديم */
del,
.old-price,
.s-product-card-price-before {
  color: #999999 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-align: center !important;
  display: block !important;
  margin-bottom: 4px !important;
}

/* زر الإضافة للسلة */
.add-to-cart,
button.add-to-cart,
.s-product-card-content-footer button,
button.s-button-btn,
.s-button-primary {
  width: 100% !important;
  min-height: 48px !important;
  background: linear-gradient(135deg, #2ECC71, #27C466) !important;
  border: none !important;
  color: #ffffff !important;
  border-radius: 999px !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 18px rgba(46, 204, 113, 0.22) !important;
  transition: all 0.25s ease !important;
}

/* Hover الزر */
.add-to-cart:hover,
button.add-to-cart:hover,
.s-product-card-content-footer button:hover,
button.s-button-btn:hover,
.s-button-primary:hover {
  background: #1E8449 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 10px 20px rgba(30, 132, 73, 0.25) !important;
}

/* أيقونة العين / المعاينة */
.product-block .btn--circle,
.product-block .s-button-icon,
.product-block .quick-view,
.s-product-card-entry .btn--circle,
.s-product-card-entry .s-button-icon {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  border: 1px solid #E5E7EB !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
  color: #2C2C2C !important;
}

/* مكان زر المعاينة */
.product-block .s-product-card-wishlist-button,
.product-block .s-product-card-vertical-actions,
.s-product-card-entry .s-product-card-vertical-actions {
  top: 14px !important;
  left: 14px !important;
}

/* مسافات داخلية لمحتوى الكارت */
.s-product-card-content,
.product-block .content,
.product-block .s-product-card-content {
  padding: 0 4px 4px !important;
}

/* توسيط المحتوى */
.s-product-card-content-footer,
.product-block .footer,
.product-block .s-product-card-content-footer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* لو فيه بادجات أو شارات */
.badge,
.s-product-card-promotion-title,
.promotion-title {
  background: #F4D03F !important;
  color: #2C2C2C !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  padding: 6px 12px !important;
}

/* تحسين شكل الكارت على الموبايل */
@media (max-width: 768px) {
  custom-salla-product-card.product-block,
  .s-product-card-entry,
  .product-block,
  .s-product-card-vertical {
    border-radius: 20px !important;
    padding: 10px !important;
  }

  .s-product-card-image,
  .product-block .image,
  .product-block .s-product-card-image {
    border-radius: 16px !important;
    padding: 10px !important;
    margin-bottom: 12px !important;
  }

  body.pc-title-two-line custom-salla-product-card.product-block .title,
  custom-salla-product-card.product-block .title,
  .s-product-card-content-title a,
  .product-block .title {
    font-size: 15px !important;
    min-height: 52px !important;
  }

  .price-wrapper,
  .price-wrapper.mb-2\.5.px-2,
  body .pc-t,
  .s-product-card-price,
  .price {
    font-size: 21px !important;
  }

  .add-to-cart,
  button.add-to-cart,
  .s-product-card-content-footer button,
  button.s-button-btn,
  .s-button-primary {
    min-height: 44px !important;
    font-size: 16px !important;
  }
}


/* =========================================
   WELO - Fix Sale Price Spacing
   ========================================= */

/* الحاوية الرئيسية للسعر */
.price-wrapper,
.s-product-card-price,
.product-price,
.price,
.s-product-card-content .price-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
  direction: rtl !important;
}

/* السعر الجديد */
.price-wrapper ins,
.price ins,
.s-product-card-price ins,
.price-wrapper .sale-price,
.price-wrapper .price_is_sale,
.s-product-card-price .sale-price,
.s-product-card-price .price,
.s-product-card-price .starting-price {
  color: #E53935 !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  margin: 0 !important;
  order: 1 !important;
  display: inline-block !important;
}

/* السعر القديم */
.price-wrapper del,
.price del,
.s-product-card-price del,
.old-price,
.s-product-card-price-before,
.price-wrapper .before-price {
  color: #9CA3AF !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  order: 2 !important;
  display: inline-block !important;
  text-decoration-thickness: 2px !important;
  opacity: 0.9 !important;
}

/* لو في spans داخل السعر */
.price-wrapper span,
.s-product-card-price span {
  margin: 0 !important;
}

/* لو السعر موجود داخل الكارت */
.s-product-card-content .price-wrapper,
.product-block .price-wrapper,
custom-salla-product-card .price-wrapper {
  margin-top: 8px !important;
  margin-bottom: 12px !important;
}

/* موبايل */
@media (max-width: 768px) {
  .price-wrapper,
  .s-product-card-price,
  .product-price,
  .price {
    gap: 8px !important;
  }

  .price-wrapper ins,
  .price ins,
  .s-product-card-price ins,
  .price-wrapper .sale-price,
  .price-wrapper .price_is_sale,
  .s-product-card-price .sale-price,
  .s-product-card-price .price,
  .s-product-card-price .starting-price {
    font-size: 17px !important;
  }

  .price-wrapper del,
  .price del,
  .s-product-card-price del,
  .old-price,
  .s-product-card-price-before,
  .price-wrapper .before-price {
    font-size: 14px !important;
  }
}

/* =========================================
   WELO - Section Titles Patch Fix
   Fix special broken sections only
   ========================================= */

/* 1) إعادة ضبط wrappers اللي ساعات بتاخد الستايل غلط */
.s-block__title .right-side,
.s-slider-block__title-right,
.s-block__title-right.dm-text-main {
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 auto !important;

  width: 100% !important;
  max-width: 100% !important;

  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;

  overflow: visible !important;
}

/* 2) بعض السكاشن بيكون العنوان جوه h2 */
.s-block__title .right-side > h2,
.s-block__title h2 {
  position: relative !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;

  width: auto !important;
  min-width: 170px !important;
  max-width: min(92vw, 520px) !important;

  margin: 0 auto !important;
  padding: 12px 30px !important;

  background: #F4D03F !important;
  color: #2C2C2C !important;

  border: 1px solid rgba(44, 44, 44, 0.07) !important;
  border-radius: 999px !important;

  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-align: center !important;

  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  overflow: visible !important;

  box-shadow: 0 8px 20px rgba(244, 208, 63, 0.22) !important;
}

/* 3) بعض السكاشن بيكون العنوان نفسه هو الـ wrapper */
.s-slider-block__title-right {
  position: relative !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;

  width: fit-content !important;
  min-width: 170px !important;
  max-width: min(92vw, 520px) !important;

  margin: 0 auto !important;
  padding: 12px 30px !important;

  background: #F4D03F !important;
  color: #2C2C2C !important;

  border: 1px solid rgba(44, 44, 44, 0.07) !important;
  border-radius: 999px !important;

  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-align: center !important;

  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  overflow: visible !important;

  box-shadow: 0 8px 20px rgba(244, 208, 63, 0.22) !important;
}

/* 4) لمعة فوق العنوان */
.s-block__title .right-side > h2::after,
.s-block__title h2::after,
.s-slider-block__title-right::after {
  content: "" !important;
  position: absolute !important;
  top: 7px !important;
  left: 20px !important;
  right: 20px !important;
  height: 1px !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border-radius: 999px !important;
  pointer-events: none !important;
}

/* 5) الخط الأخضر الصغير تحت العنوان */
.s-block__title .right-side > h2::before,
.s-block__title h2::before,
.s-slider-block__title-right::before {
  content: "" !important;
  position: absolute !important;
  bottom: -10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 52px !important;
  height: 4px !important;
  background: #1E8449 !important;
  border-radius: 999px !important;
}

/* 6) تأكيد توسيط الهيدر بالكامل */
.s-block__title,
.s-slider-block__title {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 12px !important;
  margin-bottom: 22px !important;
  overflow: visible !important;
}

/* 7) عرض الكل والأسهم تحت العنوان */
.s-block__title .left-side,
.s-slider-block__title-left,
.s-block__title .s-block-awesome-btn,
.s-slider-block__title .s-block-awesome-btn,
.s-block__title .swiper-actions,
.s-slider-block__title .swiper-actions,
.s-block__title .swiper-navigation,
.s-slider-block__title .swiper-navigation {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 auto !important;
}

/* 8) منع أي عنصر قديم يمد العنوان بعرض كبير */
.s-block__title *,
.s-slider-block__title * {
  overflow: visible !important;
}

/* 9) تحسين الموبايل */
@media (max-width: 768px) {
  .s-block__title .right-side > h2,
  .s-block__title h2,
  .s-slider-block__title-right {
    min-width: 140px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 10px 22px !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  .s-block__title .right-side > h2::before,
  .s-block__title h2::before,
  .s-slider-block__title-right::before {
    bottom: -8px !important;
    width: 42px !important;
    height: 4px !important;
  }
}

/* =========================================
   WELO - Patch for Brands Section Only
   Fix: "تصفح من خلال العلامات التجارية"
   ========================================= */

/* استهداف سيكشن العلامات التجارية فقط */
.s-block:has(.mySlider) .s-block__title,
.s-slider-block:has(.mySlider) .s-slider-block__title {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  text-align: center !important;
  margin-bottom: 22px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  overflow: visible !important;
}

/* ريست للـ wrapper الخارجي اللي عامل الشريط الطويل */
.s-block:has(.mySlider) .s-block__title .right-side,
.s-slider-block:has(.mySlider) .s-slider-block__title-right,
.s-block:has(.mySlider) .s-block__title-right.dm-text-main {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  overflow: visible !important;
  text-align: center !important;
}

/* لو العنوان جوه h2 */
.s-block:has(.mySlider) .s-block__title .right-side > h2,
.s-block:has(.mySlider) .s-block__title h2 {
  position: relative !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;

  width: auto !important;
  min-width: 220px !important;
  max-width: min(92vw, 620px) !important;

  margin: 0 auto !important;
  padding: 12px 32px !important;

  background: #F4D03F !important;
  color: #2C2C2C !important;

  border: 1px solid rgba(44, 44, 44, 0.07) !important;
  border-radius: 999px !important;

  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-align: center !important;

  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  overflow: visible !important;

  box-shadow: 0 8px 20px rgba(244, 208, 63, 0.22) !important;
}

/* لو نفس العنصر هو العنوان */
.s-slider-block:has(.mySlider) .s-slider-block__title-right {
  position: relative !important;
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;

  width: auto !important;
  min-width: 220px !important;
  max-width: min(92vw, 620px) !important;

  margin: 0 auto !important;
  padding: 12px 32px !important;

  background: #F4D03F !important;
  color: #2C2C2C !important;

  border: 1px solid rgba(44, 44, 44, 0.07) !important;
  border-radius: 999px !important;

  font-size: 24px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
  letter-spacing: 0 !important;
  text-align: center !important;

  white-space: normal !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  overflow: visible !important;

  box-shadow: 0 8px 20px rgba(244, 208, 63, 0.22) !important;
}

/* اللمعة */
.s-block:has(.mySlider) .s-block__title .right-side > h2::after,
.s-block:has(.mySlider) .s-block__title h2::after,
.s-slider-block:has(.mySlider) .s-slider-block__title-right::after {
  content: "" !important;
  position: absolute !important;
  top: 7px !important;
  left: 20px !important;
  right: 20px !important;
  height: 1px !important;
  background: rgba(255, 255, 255, 0.6) !important;
  border-radius: 999px !important;
  pointer-events: none !important;
}

/* الخط الأخضر الصغير */
.s-block:has(.mySlider) .s-block__title .right-side > h2::before,
.s-block:has(.mySlider) .s-block__title h2::before,
.s-slider-block:has(.mySlider) .s-slider-block__title-right::before {
  content: "" !important;
  position: absolute !important;
  bottom: -10px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 52px !important;
  height: 4px !important;
  background: #1E8449 !important;
  border-radius: 999px !important;
}

/* عرض الكل والأسهم */
.s-block:has(.mySlider) .left-side,
.s-slider-block:has(.mySlider) .s-slider-block__title-left,
.s-block:has(.mySlider) .s-block-awesome-btn,
.s-slider-block:has(.mySlider) .s-block-awesome-btn,
.s-block:has(.mySlider) .swiper-actions,
.s-slider-block:has(.mySlider) .swiper-actions {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 auto !important;
  background: transparent !important;
}

/* موبايل */
@media (max-width: 768px) {
  .s-block:has(.mySlider) .s-block__title .right-side > h2,
  .s-block:has(.mySlider) .s-block__title h2,
  .s-slider-block:has(.mySlider) .s-slider-block__title-right {
    min-width: 160px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 10px 22px !important;
    font-size: 18px !important;
    line-height: 1.45 !important;
  }

  .s-block:has(.mySlider) .s-block__title .right-side > h2::before,
  .s-block:has(.mySlider) .s-block__title h2::before,
  .s-slider-block:has(.mySlider) .s-slider-block__title-right::before {
    width: 42px !important;
    bottom: -8px !important;
  }
}
/* =========================================
   WELO - Keep View All + Arrows Left
   Title Centered
   ========================================= */

.s-block__title,
.s-slider-block__title {
  position: relative !important;
  width: 100% !important;
  min-height: 92px !important;
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: center !important;
  overflow: visible !important;
  padding-bottom: 0 !important;
}

/* العنوان في النص */
.s-block__title h2,
.s-slider-block__title-right,
[dir="rtl"] .s-block__title .right-side {
  margin: 0 auto !important;
}

/* عرض الكل + الأسهم على الشمال */
.s-block__title .left-side,
.s-slider-block__title-left,
.s-block__title .s-block-awesome-btn,
.s-slider-block__title .s-block-awesome-btn,
.s-block__title .swiper-actions,
.s-slider-block__title .swiper-actions,
.s-block__title .swiper-navigation,
.s-slider-block__title .swiper-navigation {
  position: absolute !important;
  left: 0 !important;
  right: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  width: auto !important;
  max-width: none !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;

  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* الأسهم نفسها */
.s-slider-block__title .swiper-button-next,
.s-slider-block__title .swiper-button-prev,
.s-block__title .swiper-button-next,
.s-block__title .swiper-button-prev,
.s-slider-block__title button,
.s-block__title button {
  position: static !important;
  transform: none !important;
  margin: 0 !important;
}

/* عرض الكل */
.s-block-awesome-btn .btn-section-inner,
.s-slider-block__title a,
.s-block__title a {
  color: #1E8449 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
  background: transparent !important;
  border: none !important;
  padding: 0 8px !important;
}

/* موبايل: خليهم برضه على الشمال مش تحت في النص */
@media (max-width: 768px) {
  .s-block__title,
  .s-slider-block__title {
    min-height: 92px !important;
    padding-bottom: 0 !important;
  }

  .s-block__title .left-side,
  .s-slider-block__title-left,
  .s-block__title .s-block-awesome-btn,
  .s-slider-block__title .s-block-awesome-btn,
  .s-block__title .swiper-actions,
  .s-slider-block__title .swiper-actions,
  .s-block__title .swiper-navigation,
  .s-slider-block__title .swiper-navigation {
    left: 0 !important;
    right: auto !important;
    top: 58% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    justify-content: flex-start !important;
  }
}


/* ===============================
   WELO Quick View Premium Fix
   Target: .preview__inner
================================ */

/* النافذة الأساسية */
.preview__inner {
  direction: rtl !important;
  display: grid !important;
  grid-template-columns: 40% 60% !important;
  gap: 34px !important;
  align-items: stretch !important;
  width: min(1080px, 92vw) !important;
  max-height: 82vh !important;
  margin: auto !important;
  padding: 34px !important;
  background: #ffffff !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18) !important;
}

/* إزالة شكل السكرول الداخلي السيئ */
.preview__inner::-webkit-scrollbar,
.pm-content::-webkit-scrollbar,
#main-slider-modal::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}

/* زر الإغلاق */
.preview__close {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  z-index: 20 !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #f7f7f7 !important;
  color: #1f2937 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #e5e7eb !important;
}

/* منطقة الصورة */
#main-slider-modal {
  order: 2 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 520px !important;
  background: #fafafa !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
}

/* إخفاء عنوان السلايدر والأسهم لو مش مهمة */
#main-slider-modal .s-slider-block__title {
  display: none !important;
}

/* حاوية السلايدر */
#main-slider-modal .s-slider-container,
#main-slider-modal .swiper,
#main-slider-modal .swiper-wrapper {
  width: 100% !important;
  height: 100% !important;
}

/* السلايدات */
#main-slider-modal .swiper-slide,
#main-slider-modal .swiper-lazy-wrap {
  height: 100% !important;
  min-height: 480px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* صورة المنتج نفسها لأنها background-image */
#main-slider-modal .swiper-lazy {
  width: 100% !important;
  height: 480px !important;
  min-height: 480px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

/* محتوى المنتج */
.pm-content {
  order: 1 !important;
  max-height: 74vh !important;
  overflow-y: auto !important;
  padding: 8px 6px 8px 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* منطقة الأيقونات فوق */
.prodContentTop {
  justify-content: flex-start !important;
  margin-bottom: 12px !important;
}

/* أزرار المفضلة والمشاركة */
.prodContentTop salla-button button,
.prodContentTop .s-social-share-btn button {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: #f8faf9 !important;
  border: 1px solid #e5e7eb !important;
  color: #166534 !important;
}

/* عنوان المنتج */
.pm-content__title {
  font-size: 25px !important;
  line-height: 1.55 !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 8px 0 12px !important;
  max-width: 95% !important;
}

/* السعر العلوي */
.pm-content__price {
  margin: 8px 0 14px !important;
}

.pm-content__price h4,
.not-total-price,
.total-price {
  font-size: 25px !important;
  font-weight: 900 !important;
  color: #111827 !important;
}

/* الخط الفاصل */
.pm-content .line {
  border-bottom: 1px solid #edf0ee !important;
  padding-bottom: 14px !important;
  margin-bottom: 14px !important;
}

/* الوصف */
.pm-content__description {
  font-size: 15.5px !important;
  line-height: 1.9 !important;
  color: #5f6368 !important;
  max-height: 88px !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
}

/* زر قراءة المزيد */
.preview--more-btn {
  width: fit-content !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  background: #f0fdf4 !important;
  color: #177245 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  margin: 8px 0 18px !important;
  text-decoration: none !important;
}

/* كارت الشراء */
.sticky-product-barrrrrrr {
  background: #f8faf9 !important;
  border: 1px solid #edf0ee !important;
  border-radius: 20px !important;
  padding: 22px !important;
  margin-top: 12px !important;
}

/* صف الكمية والسعر */
.sticky-product-bar__quantity,
.sticky-product-bar__price {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-bottom: 16px !important;
}

.sticky-product-bar__quantity label,
.sticky-product-bar__price label,
.form-label {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #374151 !important;
}

/* كمية المنتج */
.s-quantity-input-container {
  height: 48px !important;
  border: 1px solid #29c76f !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  background: #fff !important;
}

.s-quantity-input-button {
  width: 48px !important;
  height: 48px !important;
  color: #29c76f !important;
  background: #ffffff !important;
  border: none !important;
}

.s-quantity-input-input {
  width: 54px !important;
  height: 48px !important;
  text-align: center !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  border-inline: 1px solid #d9f5e4 !important;
}

/* زر أضف للسلة */
.sticky-product-bar__btn,
.sticky-product-bar__btn .w-full,
.sticky-product-bar__btn salla-button,
.sticky-product-bar__btn button,
.s-button-wide,
.s-button-btn {
  width: 100% !important;
}

.sticky-product-bar__btn button,
.s-button-primary {
  height: 58px !important;
  border-radius: 999px !important;
  background: #2ecc71 !important;
  color: #ffffff !important;
  border: none !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  box-shadow: 0 14px 28px rgba(46, 204, 113, 0.24) !important;
}

.sticky-product-bar__btn button:hover,
.s-button-primary:hover {
  background: #177245 !important;
  transform: translateY(-2px) !important;
}

/* إخفاء السهم/السكرول الرمادي اللي ظاهر على الشمال لو تابع للمودال */
.preview__inner ~ *::-webkit-scrollbar,
body:has(.preview__inner)::-webkit-scrollbar {
  width: 0 !important;
}

/* ===============================
   Responsive - Mobile
================================ */
@media (max-width: 768px) {
  .preview__inner {
    display: flex !important;
    flex-direction: column !important;
    width: 94vw !important;
    max-height: 88vh !important;
    padding: 18px !important;
    gap: 18px !important;
    border-radius: 20px !important;
    overflow-y: auto !important;
  }

  #main-slider-modal {
    order: 1 !important;
    min-height: 300px !important;
    padding: 12px !important;
  }

  #main-slider-modal .swiper-slide,
  #main-slider-modal .swiper-lazy-wrap {
    min-height: 280px !important;
  }

  #main-slider-modal .swiper-lazy {
    height: 280px !important;
    min-height: 280px !important;
  }

  .pm-content {
    order: 2 !important;
    max-height: unset !important;
    overflow: visible !important;
  }

  .pm-content__title {
    font-size: 20px !important;
  }

  .sticky-product-barrrrrrr {
    padding: 16px !important;
  }

  .sticky-product-bar__btn button,
  .s-button-primary {
    height: 52px !important;
    font-size: 16px !important;
  }
}

/* =========================================
   WELO - Safe Preview Buttons Fix Only
   ========================================= */

/* زر الإغلاق يمين */
.preview__close {
  right: 18px !important;
  left: auto !important;
  top: 18px !important;
  z-index: 9999 !important;
}

/* أزرار الشير والقلب شمال */
.prodContentTop {
  position: absolute !important;
  top: 18px !important;
  left: 18px !important;
  right: auto !important;
  z-index: 9998 !important;

  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;

  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

/* إلغاء المسافات اللي بتخليهم يركبوا فوق بعض */
.prodContentTop .mx-2,
.prodContentTop salla-button,
.prodContentTop salla-social-share {
  margin: 0 !important;
}

/* شكل الأزرار فقط */
.prodContentTop button,
.prodContentTop .s-button-element,
.prodContentTop .s-social-share-btn {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;

  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #e5e7eb !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  margin: 0 !important;
  padding: 0 !important;
}

/* مساحة فوق العنوان فقط */
.pm-content {
  padding-top: 60px !important;
}

/* موبايل */
@media (max-width: 768px) {
  .preview__close {
    right: 12px !important;
    top: 12px !important;
  }

  .prodContentTop {
    left: 12px !important;
    top: 12px !important;
    gap: 10px !important;
  }

  .prodContentTop button,
  .prodContentTop .s-button-element,
  .prodContentTop .s-social-share-btn {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .pm-content {
    padding-top: 54px !important;
  }
}

/* =========================================
   WELO - Product Sold Counter Style
   ========================================= */

.welo-sold-counter {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;

  margin-top: 10px !important;
  margin-bottom: 14px !important;

  padding: 8px 14px !important;
  border-radius: 999px !important;

  background: rgba(255, 77, 77, 0.08) !important;
  color: #ef3f3f !important;

  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  width: fit-content !important;
  max-width: 100% !important;
}

.welo-sold-counter strong {
  color: #ef3f3f !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.welo-sold-fire {
  font-size: 18px !important;
  line-height: 1 !important;
  animation: weloFirePulse 1.5s ease-in-out infinite !important;
}

@keyframes weloFirePulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.12);
  }
}

/* موبايل */
@media (max-width: 768px) {
  .welo-sold-counter {
    font-size: 14px !important;
    padding: 7px 12px !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
  }

  .welo-sold-counter strong {
    font-size: 15px !important;
  }

  .welo-sold-fire {
    font-size: 17px !important;
  }
}