body {
    background-color: #fff;
}


.banner--fixed img, .banner-entry {
    background: transparent;
    }
    
section.s-block.s-block--fixed-banner:nth-of-type(1) .container {
    max-width: 100%;
    padding: 0;
}
section.s-block.s-block--fixed-banner:nth-of-type(12) .container {
    max-width: 100%;
    padding: 0;
}
section.s-block.s-block--fixed-banner:nth-of-type(5) .container {
    max-width: 100%;
    padding: 0;
}
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(2) .container{
    margin: 0 auto;
    padding: 0;
    max-width:400px;
}

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

/* قسم الصور المربعة */
section[data-testid="store-home-square-photos"] {
  margin-top: 10px !important;
  margin-bottom: 0 !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  overflow: hidden;
}

.square-photos-grid {
  display: flex !important;
  justify-content: center;
  gap: 0.5rem !important;
  margin: 0 !important;
}
/* توحيد مقاس صور كروت المنتجات في السلايدر */
.s-products-slider-card .s-product-card-image {
  aspect-ratio: 1 / 1;      /* غيّرها لـ 3 / 4 لو عايز الصور طولية */
  overflow: hidden;
  background: #f5f5f5;
}

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

.s-products-slider-card .s-product-card-image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* بتملا الإطار وتقص الزيادة */
  object-position: center;
}
.square-photos-grid .banner-entry.square-photos {
  display: block;
  width: 266px !important;
  max-width: calc(50% - 0.25rem) !important;   /* ده اللي بيمنع الأوفر فلو */
  aspect-ratio: 266 / 317.64;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 1;                               /* كانت 0 */
}

.square-photos-grid .banner-entry .lazy__bg {
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
.s-product-card-entry {
    box-shadow: 0 0 10px 0 black;
    height: 100%;
    border-radius: 12px !important;
}
.s-products-slider-card {
  padding: 1rem;
}
.s-products-list-vertical-cards { 
  padding: 1rem;
}  

.s-button-btn, .s-price-range-number-input {
    border-radius: .75rem;
    color: #fff;
background: #512C17;

}
#best-offers-8-slider .s-slider-block__title,
#best-offers-10-slider .s-slider-block__title {
  display: none;
}
.s-reviews-header-wrapper {
    display: none;
}
/* الحاوية: السطر الرفيع اللي تحت الصف كله */
.s-slider-block__title {
  display: flex;
  align-items: flex-end;           /* العنوان يمين والزرار شمال في RTL */
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1.5px solid #1f1f1f;
}

/* العنوان + الخط السميك اللي تحته */
.s-slider-block__title-right {
  position: relative;
  padding-bottom: 12px;
  margin-bottom: -1.5px;           /* يركب فوق الخط الرفيع */
  border-bottom: 4px solid #1f1f1f;
}

.s-slider-block__title-right h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: #1f1f1f;
}

/* الجانب الشمال */
.s-slider-block__title-left {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
}

/* زرار عرض الكل */
.s-slider-block__display-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 22px;
  font-size: 16px;
  line-height: 1.4;
  color: #8a8a8a;
  background: transparent;
  border: 1px solid #c4c4c4;
  border-radius: 8px;
  text-decoration: none;
  transition: all .2s ease;
}

.s-slider-block__display-all:hover {
  color: #1f1f1f;
  border-color: #1f1f1f;
}

/* إخفاء أسهم التنقل (مش موجودة في التصميم) */
.s-slider-block__title-nav {
  display: none;
}
#custom-testimonials-10-slider .s-slider-block__title {
  display: none !important;
}

/* موبايل */
@media (max-width: 640px) {
  .s-slider-block__title-right h2 { font-size: 20px; }
  .s-slider-block__display-all { padding: 6px 14px; font-size: 14px; }
}

.s-product-card-price, .s-product-card-starting-price h4 {
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.25rem;
    color: #000;
}
.s-reviews-testimonial {
background: #512C17;

    border-radius: 14px;
    padding: 25px;
    color:#fff
  
}
.s-block--testimonials .s-slider-block__title {
        padding-left: 0;
        padding-right: 0;
        display: none;
    }
.s-reviews-testimonial__icon svg ,
.s-rating-stars-small svg{
  fill: #FFF;
}
.s-reviews-testimonial * {
  color:#fff;
}
.footer-is-light .store-footer .store-footer__inner {
background: #fff;
  color: #000;
  border-block-start:  1px solid #512C17;
}
.footer-is-light .store-footer {
    background: #512C17;
    }
    .copyright-text p {
    color: #fff;
}
/* ===== المينيو ===== */
.main-menu .root-level {
    transition: all .3s ease;
}
.main-menu .root-level:hover {
    transform: translateY(-4px);
}

.main-menu .root-level > a {
    position: relative;
    transition: all .3s ease;
}
.main-menu .root-level > a:hover {
    color: #512C17 !important;
}

.main-menu .root-level > a::after {
    content: "";
    position: absolute;
    bottom: -6px;
    right: 50%;
    width: 0;
    height: 2px;
    background: #512C17;
    transition: all .3s ease;
    transform: translateX(50%);
}
.main-menu .root-level > a:hover::after {
    width: 70%;
}

/* ===== الأزرار ===== */
.s-button-primary-outline {
    transition: all .35s ease !important;
}
.s-button-primary-outline:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: #512C17 !important;
    color: #fff !important;
    background: #512C17 !important;
    box-shadow:
        0 0 15px rgba(81, 44, 23, .6),
        0 0 30px rgba(81, 44, 23, .4),
        0 0 50px rgba(81, 44, 23, .3);
}

/* ===== روابط وعناوين الفوتر ===== */
.store-footer__inner a,
.store-footer__inner h3 {
    transition: all .35s ease;
    display: inline-block;
}
.store-footer__inner a:hover,
.store-footer__inner h3:hover {
    color: #512C17 !important;
    transform: translateY(-5px);
    text-shadow:
        0 0 8px rgba(81, 44, 23, .35),
        0 0 16px rgba(81, 44, 23, .25);
}

/* ===== أيقونات السوشيال ===== */
.s-social-link a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
}
.s-social-link a:hover {
    transform: translateY(-5px) scale(1.08);
    text-shadow: none;
}
.s-social-link a:hover svg {
    filter:
        drop-shadow(0 0 5px rgba(81, 44, 23, .7))
        drop-shadow(0 0 10px rgba(81, 44, 23, .5));
}

/* ===== أيقونات التواصل في الفوتر جنب بعض ===== */
.s-contacts-list,
.s-contacts-list-vertical {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: flex-start;
}

.s-contacts-item {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.s-contacts-icon svg {
    width: 28px;
    height: 28px;
    transition: all .3s ease;
}
.s-contacts-item:hover .s-contacts-icon svg {
    filter:
        drop-shadow(0 0 5px rgba(81, 44, 23, .7))
        drop-shadow(0 0 12px rgba(81, 44, 23, .5));
    transform: translateY(-3px);
}
/* روابط الفوتر تحت بعض */
.s-menu-footer-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    gap: 10px;
}

.s-menu-footer-item {
    display: block !important;
}
@media (max-width: 640px) {
section.s-block.s-block--fixed-banner:nth-of-type(2) .container{
    margin: 0 auto;
    padding: 0;
    max-width:350px;
}

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