.dts-page .sava-amount{color:#d98497;font-size:16px;display:flex;align-items:center;gap:6px;font-weight:500}
.dts-page .discount-amount{background:#d98497;color:var(--white);padding:0 10px;border-radius:50px;z-index:2;font-size:14px;font-weight:500}
.s-product-card-entry .s-product-card-sale-price span{font-size:16px;color:#d98497}
.s-block--items-slider .banner-ref img{max-height:1600px;object-fit:cover}
.md\:grid-cols-3,.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-banners{grid-template-rows:repeat(1,1fr);grid-template-areas:"item1 item2""item3 item4""item5 item6"}
.grid-banners a:nth-child(1),.grid-banners a:nth-child(2),.grid-banners a:nth-child(3),.grid-banners a:nth-child(4),.grid-banners a:nth-child(5),.grid-banners a:nth-child(6){height:630px!important}
.loader-img img{max-width:260px!important;height:150px!important}
.s-block--national-day::after{content:"";background:color-mix(in srgb,var(--color-primary-dark) 0%,#d98497);opacity:.8;position:absolute;inset:0;border-radius:10px 10px 0 0}
.national-day salla-count-down{margin-top:10px}
.s-block--national-day{padding:10px 0}
.ps-footer__middle{border-radius:30px 30px 0 0;border-top:.5px solid var(--color-primary-light)}
.sicon-cancel:before{content:none}
.s-advertisement .s-advertisement-content .s-advertisement-content-main{justify-content:center;text-align:center}
.s-advertisement .s-advertisement-content{padding-left:inherit}
@media (max-width:640px),@media (max-width:768px),@media (max-width:1240px){.s-block,.s-block--features-products .inner .col-products:not(:first-child){margin-top:.5rem!important}.banners-catg-pages img{border-radius:12px}#slider{background:#6bcac8;height:35vh!important;direction:rtl}#slider .text-slider{top:10%!important;bottom:auto}.national-day .s-count-down-list .s-count-down-item-value{border-radius:0}.s-block--national-day{padding:10px 0;margin-left:12px;margin-right:12px}.s-block--items-slider .banner-ref{padding-bottom:24px;display:block;overflow:hidden;border-radius:16px}.s-block--items-slider .banner-ref img{max-height:660px;object-fit:cover}.grid-banners{grid-template-areas:"item1 item2""item3 item4""item5 item6";grid-template-rows:repeat(1,1fr)}.grid-banners a:nth-child(1){height:200px!important}.grid-banners a:nth-child(2){height:400px!important}.grid-banners a:nth-child(3),.grid-banners a:nth-child(4),.grid-banners a:nth-child(5),.grid-banners a:nth-child(6){height:200px!important}}
@media (max-width:1240px){#slider{background:#6bcac8;height:40vh;direction:rtl}#slider .text-slider{top:75%;bottom:auto}.s-block--items-slider .banner-ref img{max-height:900px;object-fit:cover}.grid-banners a:nth-child(1),.grid-banners a:nth-child(2),.grid-banners a:nth-child(3),.grid-banners a:nth-child(4),.grid-banners a:nth-child(5),.grid-banners a:nth-child(6){height:300px!important}}



/* ===== 1) تحويل السلايدر لقائمة رأسية داخل البوب أب فقط ===== */
.s-modal .s-products-slider-wrapper .s-slider-container,
.s-offer-modal .s-products-slider-wrapper .s-slider-container {
  overflow: visible !important;
}
.s-modal .s-products-slider-wrapper .swiper-wrapper,
.s-offer-modal .s-products-slider-wrapper .swiper-wrapper {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  transform: none !important;
  height: auto !important;
}
.s-modal .s-products-slider-wrapper .swiper-slide,
.s-offer-modal .s-products-slider-wrapper .swiper-slide {
  width: 100% !important;
  margin: 0 !important;
  max-width:100%;
}
.s-modal .s-products-slider-wrapper .s-slider-nav-arrow,
.s-offer-modal .s-products-slider-wrapper .s-slider-nav-arrow {
  display: none !important;
}

/* ===== 2) كارت مدمج: صورة على اليسار + محتوى على اليمين ===== */
.s-modal .s-product-card-entry.s-product-card-vertical,
.s-offer-modal .s-product-card-entry.s-product-card-vertical {
  display: grid !important;
  grid-template-columns: 92px 1fr !important; /* صورة 92px ثم المحتوى */
  align-items: center !important;
  gap: 12px !important;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px;
  background: #fff;
  max-width: 96% !important;
  margin: 0 auto;
}

/* ===== 3) حل مشكلة الصورة: منع القص والـ absolute من الثيم ===== */
.s-modal .s-product-card-entry .s-product-card-image,
.s-offer-modal .s-product-card-entry .s-product-card-image {
  width: 92px !important;
  height: 92px !important;
  border-radius: 10px;
  overflow: hidden;
  background: #f7f7f7;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  aspect-ratio: 1 / 1 !important; /* يضمن مربع ثابت */
}

/* بعض الثيمات تجعل الـ img position:absolute وتعمل cover — نلغيها: */
.s-modal .s-product-card-entry .s-product-card-image a,
.s-offer-modal .s-product-card-entry .s-product-card-image a {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.s-modal .s-product-card-entry .s-product-card-image img,
.s-offer-modal .s-product-card-entry .s-product-card-image img,
.s-modal .s-product-card-entry .s-product-card-image .s-product-card-image-cover,
.s-offer-modal .s-product-card-entry .s-product-card-image .s-product-card-image-cover {
  position: static !important;     /* بدلاً من absolute */
  inset: auto !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;  /* أهم سطر: ما يقتصش الصورة */
  object-position: center !important;
  display: block !important;
  transform: none !important;
  opacity: 1 !important;           /* تتجاوز تأثيرات lazy */
}

/* نخفي الشارة الحمراء/الوسوم داخل المودال لتفادي تغطية الصورة */
.s-modal .s-product-card-image .s-product-card-promotion-title,
.s-offer-modal .s-product-card-image .s-product-card-promotion-title {
  display: none !important;
}

/* ===== 4) نصوص مضغوطة وواضحة ===== */
.s-modal .s-product-card-entry .s-product-card-content,
.s-offer-modal .s-product-card-entry .s-product-card-content {
  margin: 0 !important;
  height: 150px !important;
}
.s-modal .s-product-card-entry .s-product-card-content-title a,
.s-offer-modal .s-product-card-entry .s-product-card-content-title a {
  font-size: 14px !important;
  line-height: 1.45 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;           /* سطرين فقط */
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.s-modal .s-product-card-sale-price h4,
.s-offer-modal .s-product-card-sale-price h4 {
  font-size: 14px !important;
  margin: 2px 0 0 !important;
}
.s-modal .s-product-card-sale-price span,
.s-offer-modal .s-product-card-sale-price span {
  font-size: 12px !important;
}

/* زر "إضافة للسلة" كزر صغير بعرض كامل الكارت */
.s-modal .s-product-card-entry .s-button-element,
.s-offer-modal .s-product-card-entry .s-button-element {
  height: 36px !important;
  font-size: 13px !important;
  border-radius: 8px !important;
}