body {
  background-color: #fff;
}

.banner--fixed img,
.banner-entry {
  background: transparent;
}

/* البنر الأول full width */
section.s-block.s-block--fixed-banner:nth-of-type(1) {
  margin: 0;
  padding: 0;
}
section.s-block.s-block--fixed-banner:nth-of-type(1) .container {
  max-width: 100%;
  padding: 0;
}


section.s-block.s-block--fixed-banner:is(:nth-of-type(2)) .container {
  margin: 0 auto;
  padding: 0;
  max-width: 400px;
}

/* جريد البنرات الصغيرة */
section.s-block.s-block--banners.container .grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: -3rem;
}

section.s-block.s-block--banners.container .banner-entry {
  flex: 0 0 calc(18% - 10px);
  max-width: calc(18% - 10px);
  height: 204px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  section.s-block.s-block--banners.container .banner-entry {
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  section.s-block.s-block--banners.container .banner-entry {
        margin-top: 2rem;
        flex: 0 0 calc(50% - 10px);
        max-width: calc(49% - 10px);
        height: 158px;
  }
  section.s-block.s-block--fixed-banner:nth-of-type(2) .container {
    max-width: 350px;
  }
}

/* كروت المنتجات */
.s-product-card-entry {
  box-shadow: 0 0 10px 0 black;
  height: 100%;
  border-radius: 12px !important;
}
/* صور كروت المنتجات داخل سلايدر المنتجات */
.s-products-slider-wrapper .s-product-card-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fff;
}

.s-products-slider-wrapper .s-product-card-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.s-products-slider-wrapper .s-product-card-image-cover {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* الصورة كاملة من غير قص */
  object-position: center;
}

/* الكارت على قد محتواه */
.s-products-slider-wrapper .s-product-card-entry {
  height: auto;
  display: flex;
  flex-direction: column;
}

.s-products-slider-wrapper .s-product-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}

.s-products-slider-wrapper .s-product-card-content-footer {
  margin-top: 4px;   /* بدل auto */
}

/* العنوان سطرين */
.s-products-slider-wrapper .s-product-card-content-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;  /* يحجز سطرين فالكروت تتساوى */
  line-height: 1.4;
}
.s-products-slider-card,
.s-products-list-vertical-cards {
  padding: 1rem;
}

.s-product-card-price,
.s-product-card-starting-price h4 {
  color: #000;
}

/* الأزرار */
.s-button-btn,
.s-price-range-number-input {
  color: #fff;
  background: #D69940;
}

.s-products-slider-wrapper .s-slider-block__title {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 56px;         
  margin-bottom: 20px;
  padding: 0;
  border-bottom: 1px solid #e5e5e5;
}

.s-products-slider-wrapper .s-slider-block__title-right {
  width: auto;
  margin-bottom: -1px;       
}

.s-products-slider-wrapper .s-slider-block__title h2 {
  margin: 0;
  padding: 0 12px 10px;
  font-size:25px;
  font-weight: 700;
  color: #222;
  text-align: center;
  line-height: 1.4;
  border-bottom: 2px solid #222;
}


.s-products-slider-wrapper .s-slider-block__title-left {
  position: absolute;
  left: 0;
  bottom: 8px;
  top: auto;
  transform: none;
}

.s-products-slider-wrapper .s-slider-block__title-nav {
  display: flex;
  gap: 8px;
}

@media (max-width: 640px) {
  .s-products-slider-wrapper .s-slider-block__title {
    min-height: 48px;
  }

  .s-products-slider-wrapper .s-slider-block__title h2 {
    font-size: 16px;
    padding: 0 8px 8px;
  }

  /* الأسهم أصغر ومسافتها أقل */
  .s-products-slider-wrapper .s-slider-block__title-left {
    bottom: 6px;
  }

  .s-products-slider-wrapper .s-slider-block__title-nav {
    gap: 4px;
  }

  .s-products-slider-wrapper .s-slider-nav-arrow {
    width: 28px;
    height: 28px;
    min-width: 28px;
  }

  .s-products-slider-wrapper .s-slider-nav-arrow svg {
    width: 16px;
    height: 16px;
  }
}
.s-reviews-header-wrapper .s-reviews-header {
  position: relative;
  font-size: 30px;
  line-height: 1.2;
  color: #fff;
  display: inline-block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
 padding: 0 36px;
}
.s-reviews-header-wrapper .s-reviews-header::after {
  content: "";
  position: absolute;
    left: -44px;
    right: -42px;
    bottom: -14px;
    height: 56px;

  background: url("https://d.top4top.io/p_39650a0dw1.png") center center / contain no-repeat;
  z-index: -1; 
}


.s-reviews-testimonial {
  background: #D69940;
  border-radius: 14px;
  padding: 25px;
  color: #fff;
}
.s-reviews-testimonial * {
  color: #fff;
}
.s-reviews-testimonial__icon svg,
.s-rating-stars-small svg {
  fill: #fff;
}
#best-offers-6-slider .s-slider-block__title{
  display: none;
}


.footer-is-light .store-footer {
  background: #fff;
  color: #000;
}
.footer-is-light .store-footer .store-footer__inner {
 background: #D69940;
  color: #fff;
}
.copyright-text p {
  color: #000;
}