/* =========================================================
   BLACK VEIL — صفحة المنتجات النهائية
   استبدل جميع أكواد CSS السابقة الخاصة بصفحة المنتجات بهذا الكود فقط.
   يحتاج ملف JavaScript المرفق.
   ========================================================= */

/* =========================
   الصفحة والمسافات العامة
   ========================= */

html body .products-index {
  margin: 0 !important;
  padding: 0 !important;
}

html body .products-index .container--breadcrumbs,
html body .products-index .s-before-products-list {
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}




 
html body .products-index
.s-blocks-wrapper.container > .flex.items-start {
  margin-top: 10px !important;
}

/* =========================
   عنوان الصفحة والترتيب
   ========================= */

html body .products-index
.main-content > .flex.justify-between {
  min-height: 38px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  align-items: center !important;
}

html body .products-index #page-main-title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 19px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}

html body .products-index #product-filter {
  width: 155px !important;
  min-width: 155px !important;
  height: 38px !important;
  margin: 0 !important;
  padding-block: 0 !important;
  border: 1px solid #ddd !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 12px !important;
}

/* =========================
   شبكة المنتجات
   ========================= */

html body .products-index
salla-products-list.simplified-products
.s-products-list-wrapper.s-products-list-vertical-cards {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  column-gap: 6px !important;
  row-gap: 18px !important;
  align-items: stretch !important;
}

/* =========================
   البطاقة
   ========================= */

html body .products-index
salla-products-list.simplified-products
custom-salla-product-card.product-card {
  position: relative !important;
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* =========================
   صورة المنتج
   ========================= */

html body .products-index
salla-products-list.simplified-products
.product-card__image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 3 / 4 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f3f3f3 !important;
  overflow: hidden !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__image > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__image img.main-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 0 !important;
}

/* المنتج المنتهي: تعتيم خفيف فقط */
html body .products-index
salla-products-list.simplified-products
custom-salla-product-card.bv-out-of-stock
.product-card__image img.main-image {
  opacity: .82 !important;
}

/* =========================
   شارة العرض
   ========================= */

html body .products-index
salla-products-list.simplified-products
.product-card__promotion {
  position: absolute !important;
  inset: auto !important;
  top: 7px !important;
  right: 7px !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 14px) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 4px 7px !important;
  border: 0 !important;
  border-radius: 2px !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transform: none !important;
  z-index: 5 !important;
}

/* =========================
   التقييم فوق الصورة
   ========================= */

html body .products-index
salla-products-list.simplified-products
.product-card__image > .bv-rating-on-image {
  position: absolute !important;
  inset: auto !important;
  right: 6px !important;
  bottom: 6px !important;
  left: auto !important;
  top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 1px !important;
  width: auto !important;
  max-width: calc(100% - 12px) !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 21px !important;
  margin: 0 !important;
  padding: 3px 5px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: rgba(255,255,255,.93) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.12) !important;
  overflow: hidden !important;
  z-index: 8 !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__image > .bv-rating-on-image .s-rating-stars-wrapper,
html body .products-index
salla-products-list.simplified-products
.product-card__image > .bv-rating-on-image.s-rating-stars-wrapper,
html body .products-index
salla-products-list.simplified-products
.product-card__image > .bv-rating-on-image salla-rating-stars {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 1px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__image > .bv-rating-on-image svg {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px !important;
  min-height: 11px !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__image > .bv-rating-on-image i {
  font-size: 11px !important;
  line-height: 1 !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__image > .bv-rating-on-image .s-rating-stars-reviews {
  display: inline-block !important;
  flex: none !important;
  margin: 0 4px 0 0 !important;
  color: #555 !important;
  font-size: 9px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

/* =========================
   إخفاء الزحمة
   ========================= */

html body .products-index
salla-products-list.simplified-products
.product-card__actions,
html body .products-index
salla-products-list.simplified-products
.product-card__buttons,
html body .products-index
salla-products-list.simplified-products
.product-card__addToCart,
html body .products-index
salla-products-list.simplified-products
.product-options {
  display: none !important;
}

/* =========================
   محتوى البطاقة
   ========================= */

html body .products-index
salla-products-list.simplified-products
.product-card__content {
  display: flex !important;
  flex-direction: column !important;
  min-height: 94px !important;
  margin: 0 !important;
  padding: 8px 3px 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =========================
   اسم المنتج
   ========================= */

html body .products-index
salla-products-list.simplified-products
.product-card__title {
  min-height: 38px !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  text-align: right !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__title a {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: #222 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

/* =========================
   العنوان الفرعي بأسلوب SHEIN
   ========================= */

html body .products-index
salla-products-list.simplified-products
.product-card__subtitle {
  display: -webkit-box !important;
  overflow: hidden !important;
  min-height: 18px !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: #a76520 !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-align: right !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 1 !important;
}

/* =========================
   السعر
   ========================= */

html body .products-index
salla-products-list.simplified-products
.product-card__price.price-wrapper {
  display: flex !important;
  width: 100% !important;
  min-height: 32px !important;
  margin: auto 0 0 !important;
  padding: 0 1px 0 0 !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px 8px !important;
  direction: rtl !important;
  text-align: right !important;
  background: transparent !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price .starting-or-normal-price,
html body .products-index
salla-products-list.simplified-products
.product-card__price .price_is_on_sale {
  align-items: baseline !important;
  gap: 4px !important;
  flex-wrap: nowrap !important;
}

/* السعر الحالي دائمًا من starting-or-normal-price */
html body .products-index
salla-products-list.simplified-products
.product-card__price .starting-or-normal-price {
  display: inline-flex !important;
}

/* بلوك الخصم نستخدم منه السعر السابق فقط */
html body .products-index
salla-products-list.simplified-products
.product-card__price .price_is_on_sale {
  display: none !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price.bv-has-sale .price_is_on_sale {
  display: inline-flex !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price.bv-has-sale
.price_is_on_sale .total-price {
  display: none !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price .starting-price-title {
  color: #777 !important;
  font-size: 9px !important;
  font-weight: 400 !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price .total-price {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 1px !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price.bv-has-sale
.starting-or-normal-price .total-price {
  color: #e60023 !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price .bv-price-decimal {
  font-size: .58em !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price .sicon-sar {
  font-size: .72em !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price .before-price {
  display: inline-block !important;
  color: #999 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: line-through !important;
  white-space: nowrap !important;
}

/* =========================
   زر الإضافة
   ========================= */

html body .products-index
salla-products-list.simplified-products
.product-card__enhanced-mini-cart {
  position: absolute !important;
  left: 4px !important;
  right: auto !important;
  bottom: 4px !important;
  display: block !important;
  width: 27px !important;
  height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  z-index: 5 !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__enhanced-mini-cart-divider,
html body .products-index
salla-products-list.simplified-products
.product-card__enhanced-mini-cart .enhanced-label {
  display: none !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__enhanced-mini-cart salla-add-product-button,
html body .products-index
salla-products-list.simplified-products
.product-card__enhanced-mini-cart salla-button,
html body .products-index
salla-products-list.simplified-products
.product-card__enhanced-mini-cart .w-full {
  display: block !important;
  width: 27px !important;
  height: 27px !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__enhanced-mini-cart button.s-button-element {
  display: grid !important;
  place-items: center !important;
  width: 27px !important;
  min-width: 27px !important;
  height: 27px !important;
  min-height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 50% !important;
  color: #111 !important;
  background: #fff !important;
  box-shadow: none !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__enhanced-mini-cart__btn--inner {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__enhanced-mini-cart .enhanced-icon {
  margin: 0 !important;
  color: #111 !important;
  font-size: 14px !important;
}

/* =========================
   نهاية المحتوى
   ========================= */

html body .products-index
salla-products-list.simplified-products
.s-infinite-scroll-status {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 18px 0 4px !important;
  text-align: center !important;
}

html body .products-index
salla-products-list.simplified-products
.s-infinite-scroll-status p {
  margin: 0 !important;
  color: #888 !important;
  font-size: 12px !important;
  text-align: center !important;
}

/* =========================
   الجوال
   ========================= */

@media (max-width: 767px) {
  html body .products-index .s-blocks-wrapper.container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-inline: 5px !important;
  }

  html body .products-index #page-main-title {
    display: none !important;
  }

  html body .products-index
  .main-content > .flex.justify-between {
    width: 100% !important;
    min-height: 38px !important;
    margin: 0 0 10px !important;
    padding: 0 4px !important;
    justify-content: flex-start !important;
  }

  html body .products-index
  .main-content > .flex.justify-between > .center-between,
  html body .products-index
  .main-content > .flex.justify-between .flex.items-center,
  html body .products-index
  .main-content > .flex.justify-between .flex.items-center > div {
    width: 100% !important;
  }

  html body .products-index #product-filter {
    width: 100% !important;
    min-width: 0 !important;
    height: 38px !important;
    padding: 0 12px 0 34px !important;
  }

  html body .products-index
  salla-products-list.simplified-products
  .product-card__title a {
    font-size: 13px !important;
  }

  html body .products-index
  salla-products-list.simplified-products
  .product-card__price .total-price {
    font-size: 19px !important;
  }
}

/* =========================
   تابلت
   ========================= */

@media (min-width: 768px) {
  html body .products-index
  salla-products-list.simplified-products
  .s-products-list-wrapper.s-products-list-vertical-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-gap: 10px !important;
    row-gap: 24px !important;
  }
}

/* =========================
   كمبيوتر
   ========================= */

@media (min-width: 1024px) {
  html body .products-index
  salla-products-list.simplified-products
  .s-products-list-wrapper.s-products-list-vertical-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 12px !important;
    row-gap: 22px !important;
  }
}

/* =========================
   كمبيوتر واسع
   ========================= */

@media (min-width: 1280px) {
  html body .products-index
  salla-products-list.simplified-products
  .s-products-list-wrapper.s-products-list-vertical-cards {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    column-gap: 14px !important;
    row-gap: 22px !important;
  }

  html body .products-index
  salla-products-list.simplified-products
  .product-card__title {
    min-height: 23px !important;
  }

  html body .products-index
  salla-products-list.simplified-products
  .product-card__title a {
    font-size: 13.5px !important;
    -webkit-line-clamp: 1 !important;
  }
}

@media (max-width: 767px) {
  html body .products-index
  salla-products-list.simplified-products
  .product-card__subtitle {
    min-height: 17px !important;
    margin-bottom: 5px !important;
    color: #a76520 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    -webkit-line-clamp: 1 !important;
  }
}

/* =========================================================
   إصلاح ترتيب المبلغ ورمز الريال
   النتيجة: 280 ﷼ وليس ﷼ 280
   ========================================================= */

html body .products-index
salla-products-list.simplified-products
.product-card__price .total-price {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price .total-price .bv-price-number {
  display: inline-flex !important;
  align-items: baseline !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  order: 1 !important;
}

html body .products-index
salla-products-list.simplified-products
.product-card__price .total-price .sicon-sar {
  display: inline-block !important;
  flex: none !important;
   
  margin: 0 !important;
  font-size: .72em !important;
  line-height: 1 !important;
}

/* =========================================================
   BLACK VEIL — تنسيق سلايدر المنتجات مثل شبكة المنتجات
   يشمل: شاهدتها مؤخرًا / منتجات مشابهة / منتجات مختارة
   ========================================================= */

/* مساحة السلايدر */
html body salla-products-slider {
  display: block !important;
  width: 100% !important;
}

html body salla-products-slider .s-slider-container {
  overflow: hidden !important;
}

html body salla-products-slider .s-slider-swiper-wrapper {
  align-items: stretch !important;
}

/* عرض البطاقات */
html body salla-products-slider .s-products-slider-card {
  display: flex !important;
  height: auto !important;
  width: calc((100% - 56px) / 5) !important;
  min-width: 0 !important;
  margin: 0 !important;
}
 
/* إزالة إطار البطاقة القديم */
html body salla-products-slider
custom-salla-product-card.product-card {
  position: relative !important;
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

/* صورة المنتج */
html body salla-products-slider
.product-card__image {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 3 / 4 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f3f3f3 !important;
  overflow: hidden !important;
}

html body salla-products-slider
.product-card__image > a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

html body salla-products-slider
.product-card__image img.main-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 0 !important;
}

/* شارة العرض */
html body salla-products-slider
.product-card__promotion {
  position: absolute !important;
  inset: auto !important;
  top: 7px !important;
  right: 7px !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 14px) !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 4px 7px !important;
  border: 0 !important;
  border-radius: 2px !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  transform: none !important;
  z-index: 5 !important;
}

/* النجوم فوق الصورة */
html body salla-products-slider
.product-card__image > .bv-rating-on-image {
  position: absolute !important;
  inset: auto !important;
  right: 6px !important;
  bottom: 6px !important;
  left: auto !important;
  top: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 1px !important;
  width: auto !important;
  max-width: calc(100% - 12px) !important;
  min-width: 0 !important;
  min-height: 21px !important;
  margin: 0 !important;
  padding: 3px 5px !important;
  border: 0 !important;
  border-radius: 2px !important;
  background: rgba(255,255,255,.93) !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.12) !important;
  overflow: hidden !important;
  z-index: 8 !important;
}

html body salla-products-slider
.product-card__image > .bv-rating-on-image .s-rating-stars-wrapper,
html body salla-products-slider
.product-card__image > .bv-rating-on-image.s-rating-stars-wrapper,
html body salla-products-slider
.product-card__image > .bv-rating-on-image salla-rating-stars {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body salla-products-slider
.product-card__image > .bv-rating-on-image svg {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px !important;
  min-height: 11px !important;
}

html body salla-products-slider
.product-card__image > .bv-rating-on-image i {
  font-size: 11px !important;
  line-height: 1 !important;
}

/* إزالة الزحمة */
html body salla-products-slider .product-card__actions,
html body salla-products-slider .product-card__buttons,
html body salla-products-slider .product-card__addToCart,
html body salla-products-slider .product-options {
  display: none !important;
}

/* محتوى البطاقة */
html body salla-products-slider
.product-card__content {
  display: flex !important;
  flex-direction: column !important;
  min-height: 96px !important;
  margin: 0 !important;
  padding: 8px 3px 0 !important;
  border: 0 !important;
  background: transparent !important;
}

html body salla-products-slider
.product-card__content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* اسم المنتج */
html body salla-products-slider
.product-card__title {
  min-height: 38px !important;
  margin: 0 0 5px !important;
  padding: 0 !important;
  text-align: right !important;
}

html body salla-products-slider
.product-card__title a {
  display: -webkit-box !important;
  overflow: hidden !important;
  color: #222 !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

/* العنوان الفرعي */
html body salla-products-slider
.product-card__subtitle {
  display: -webkit-box !important;
  overflow: hidden !important;
  min-height: 18px !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  color: #a76520 !important;
  font-size: 10.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  text-align: right !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 1 !important;
}

/* السعر */
html body salla-products-slider
.product-card__price.price-wrapper {
  display: flex !important;
  width: 100% !important;
  min-height: 32px !important;
  margin: auto 0 0 !important;
  padding: 0 34px 0 0 !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 4px 8px !important;
  direction: rtl !important;
  text-align: right !important;
  background: transparent !important;
}

html body salla-products-slider
.product-card__price .starting-or-normal-price,
html body salla-products-slider
.product-card__price .price_is_on_sale {
  align-items: baseline !important;
  gap: 4px !important;
  flex-wrap: nowrap !important;
}

html body salla-products-slider
.product-card__price .starting-or-normal-price {
  display: inline-flex !important;
}

html body salla-products-slider
.product-card__price .price_is_on_sale {
  display: none !important;
}

html body salla-products-slider
.product-card__price.bv-has-sale .price_is_on_sale {
  display: inline-flex !important;
}

html body salla-products-slider
.product-card__price.bv-has-sale .price_is_on_sale .total-price {
  display: none !important;
}

html body salla-products-slider
.product-card__price .starting-price-title {
  color: #777 !important;
  font-size: 9px !important;
  font-weight: 400 !important;
}

html body salla-products-slider
.product-card__price .total-price {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: baseline !important;
  justify-content: flex-start !important;
  gap: 3px !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}

html body salla-products-slider
.product-card__price.bv-has-sale
.starting-or-normal-price .total-price {
  color: #e60023 !important;
}

html body salla-products-slider
.product-card__price .total-price .bv-price-number {
  display: inline-flex !important;
  align-items: baseline !important;
  direction: ltr !important;
  unicode-bidi: isolate !important;
  order: 1 !important;
}

html body salla-products-slider
.product-card__price .bv-price-decimal {
  font-size: .58em !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

html body salla-products-slider
.product-card__price .total-price .sicon-sar {
  display: inline-block !important;
  flex: none !important;
 
  margin: 0 !important;
  font-size: .72em !important;
  line-height: 1 !important;
}

html body salla-products-slider
.product-card__price .before-price {
  display: inline-block !important;
  color: #999 !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  text-decoration: line-through !important;
  white-space: nowrap !important;
}

/* زر الإضافة المصغر */
html body salla-products-slider
.product-card__enhanced-mini-cart {
  position: absolute !important;
  left: 4px !important;
  right: auto !important;
  bottom: 4px !important;
  display: block !important;
  width: 27px !important;
  height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  z-index: 5 !important;
}

html body salla-products-slider
.product-card__enhanced-mini-cart-divider,
html body salla-products-slider
.product-card__enhanced-mini-cart .enhanced-label {
  display: none !important;
}

html body salla-products-slider
.product-card__enhanced-mini-cart salla-add-product-button,
html body salla-products-slider
.product-card__enhanced-mini-cart salla-button,
html body salla-products-slider
.product-card__enhanced-mini-cart .w-full {
  display: block !important;
  width: 27px !important;
  height: 27px !important;
}

html body salla-products-slider
.product-card__enhanced-mini-cart button.s-button-element {
  display: grid !important;
  place-items: center !important;
  width: 27px !important;
  min-width: 27px !important;
  height: 27px !important;
  min-height: 27px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d8d8d8 !important;
  border-radius: 50% !important;
  color: #111 !important;
  background: #fff !important;
  box-shadow: none !important;
}

/* أسهم السلايدر */
html body salla-products-slider
.s-slider-nav-arrow {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #e3e3e3 !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.96) !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.08) !important;
}

html body salla-products-slider
.s-slider-nav-arrow svg {
  width: 18px !important;
  height: 18px !important;
}

/* الجوال */
@media (max-width: 767px) {
  html body salla-products-slider .s-products-slider-card {
    width: calc((100% - 6px) / 2) !important;
  }

  html body salla-products-slider
  .product-card__content {
    min-height: 92px !important;
  }

  html body salla-products-slider
  .product-card__title a {
    font-size: 13px !important;
  }

  html body salla-products-slider
  .product-card__subtitle {
    min-height: 17px !important;
    margin-bottom: 5px !important;
    font-size: 10px !important;
  }

  html body salla-products-slider
  .product-card__price .total-price {
    font-size: 19px !important;
  }

  html body salla-products-slider
  .s-slider-nav-arrow {
    width: 34px !important;
    height: 34px !important;
  }
}

/* التابلت */
@media (min-width: 768px) and (max-width: 1023px) {
  html body salla-products-slider .s-products-slider-card {
    width: calc((100% - 20px) / 3) !important;
  }
}

/* الكمبيوتر المتوسط */
@media (min-width: 1024px) and (max-width: 1279px) {
  html body salla-products-slider .s-products-slider-card {
    width: calc((100% - 36px) / 4) !important;
  }
}



/* إزالة المسافة من بلوك الأقسام المحدد فقط */
section.s-block--bundle-html-content:has([bundle-id="1078728572"]),
[bundle-id="1078728572"].s-block,
[bundle-id="1078728572"].s-block-html-content {
  margin-top: 0 !important;
}

 :root {
  --font-main: "IBM Plex Sans Arabic", sans-serif !important;
}