body, #main-content, .store-footer__inner, .footer-is-light .store-footer{
    background-color: #fff !important;
}
/* margin المنتجات المتحركة*/
.s-block--best-offers{
  margin-top:10px !important;
  margin-bottom: :10px !important;
}

/*بداية كود الاقسام*/
.s-slider-block__title h2:where([dir=rtl],[dir=rtl] *) {
    display: none;}
/* 1. إجبار الأقسام الثلاثة على الظهور في سطر واحد (3 أعمدة) على الجوال والكمبيوتر */
.grid.one-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important; /* المسافة بين الصور، يمكنك زيادتها أو تقليلها */
}

/* 2. تصحيح أبعاد الحاوية لتطابق مقاس صورتك الطولي (1084 عرض × 1451 طول) */
.banner-entry.square-photos {
    /* حاصل قسمة الطول 1451 على العرض 1084 يعطي 133.86% ليلغي شكل المربع تماماً */
    padding-bottom: 133.86% !important; 
    height: 0 !important;
    display: block !important;
    position: relative !important;
}

/* 3. إظهار الصورة كاملة وبأبعادها الحقيقية وبدون أي انضغاط أو مط */
.banner-entry.square-photos .lazy__bg {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding-bottom: 0 !important;
    background-size: cover !important; /* تملأ الحاوية الطولية الجديدة بشكل مثالي بدون تشويه */
    background-position: center !important;
    background-repeat: no-repeat !important;
    border-radius: 8px !important; /* حواف دائرية خفيفة متناسقة */
}

/*نهاية كود الاقسام*/



@media (min-width: 992px) {
  /*عرض البنرات*/

  .s-block--fixed-banner .container {
    max-width: 100%;
    padding: 0;
  }

  .s-block--fixed-banner .banner,
  .s-block--fixed-banner img {
    width: 100%;
    display: block;
  }
}

/* بداية الفوتر */

.footer-is-light .store-footer .store-footer__inner{
border-top: 0.5px solid #2286af;
}

@media (max-width: 768px) {
  .store-footer,
  .store-footer * {
    text-align: center !important;
  }
  .store-footer .grid {
    display: flex !important;
    flex-direction: column;
    align-items: center;
  }
  .store-footer .grid > div {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
  .store-footer .flex {
    justify-content: center !important;
    align-items: center !important;
  }
  .s-social-list {
    justify-content: center !important;
  }

  .s-contacts-list {
    align-items: center !important;
  }

  .s-payments-list {
    justify-content: center !important;
    flex-wrap: wrap;
  }

  .rtl\:lg\:pl-20,
  .ltr\:lg\:pr-20,
  .rtl\:lg\:pr-20,
  .ltr\:lg\:pl-20 {
    padding: 0 !important;
  }
}
  .s-trust-badges-wrapper {
    display: none;
}
.saudiMade{
  width: 50%;
}
/* نهاية الفوتر */


/*temp for ratings*/
.rating-plus-store-reviews-badge{
  display: none !important;
}

/* تنسيق طرق الدفع */
salla-installment > .mb-5, 
#tabbyPromoWrapper, 
.s-installment-madfu-wrapper {
    background-color: #ffffff !important; 
    border: 1px solid #2286af !important;  
    border-radius: 8px !important;         
    padding: 12px !important;              
    margin-bottom: 15px !important;        
    display: block !important;
    transition: all 0.3s ease;           
}
.s-installment-madfu-content{
  padding: 15px;
  border: 1px solid lightgrey;
  border-radius: 8px !important;         

}
#tabbyPromo, .tamara-product-widget {
    border: none !important;
    padding: 0 !important;
}
/* نهاية تنسيق طرق الدفع */
/*temp for ratings*/
.rating-plus-store-reviews-badge{
  display: none !important;
}