/* Add custom CSS styles below */ 


.enhanced-title-border {
    display: none !important;
}

h2[data-selia="home-special-product-title"] {
    margin-bottom: 20px !important;
}

@media (min-width: 992px) {
    [data-selia="home-special-product-title"] {
        font-size: 26px !important;
    }
  h2[data-selia="home-special-product-title"] {
    margin-bottom: 40px !important;
}
}
.product-card {
    background-color: #fffcf8 !important;
}

@media (max-width: 768px) {

    .s-products-slider-wrapper .swiper-wrapper {
        display: flex !important;
        justify-content: center !important;
        align-items: stretch !important;
    }

    .s-products-slider-wrapper .swiper-slide {
        display: flex !important;
        justify-content: center !important;
        width: auto !important;
        flex-shrink: 0 !important;
    }

    .s-products-slider-wrapper .product-card {
        margin-left: auto !important;
        margin-right: auto !important;
    }

}

.selia-bottom-nav {
    box-shadow: 0 -4px 16px rgba(190, 151, 96, 0.22) !important;
}


.store-footer [data-selia="footer-brand-column"] > p{
    width:100% !important;
    text-align:center !important;
    display:block !important;
    margin-left:auto !important;
    margin-right:auto !important;
      margin-bottom: 30px !important;

}

/* مساحة للقسم */
.s-block--testimonials {
    padding-top: 25px !important;
}

/* مسافة بين البطاقات */
.s-block--testimonials .swiper-wrapper {
    align-items: stretch;
}

.s-block--testimonials .swiper-slide {
    margin: 18px 12px 22px !important;
    height: auto !important;
}

/* البطاقة نفسها */
.s-block--testimonials .testimonials-item {
    background: #FFFCF8 !important;
    border-radius: 24px !important;
    border: 1px solid rgba(0,0,0,.05);
    overflow: hidden;
    height: 250px !important;   /* أقل طول */
}

/* المحتوى */
.s-block--testimonials .testimonials-item > div {
    padding: 24px 22px !important;
}
salla-slider.testimonials-slider {
    margin-top: 40px !important;
    display: block;
}
/* لو الديسكتوب خليها أعرض */
@media (min-width:992px){

.s-block--testimonials .swiper-slide{
    width: 360px !important;
}

.s-block--testimonials .testimonials-item{
    height:220px !important;
}

}

/* الجوال */
@media (max-width:768px){

.s-block--testimonials .swiper-slide{
    width:88% !important;
    margin:12px 8px !important;
}

.s-block--testimonials .testimonials-item{
    height:210px !important;
}

}


@media (max-width: 768px) {

    .three-banners .flex {
        display: flex;
        overflow-x: auto;
        gap: 14px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 16px 10px;
    }

    .three-banners .flex::-webkit-scrollbar {
        display: none;
    }

    .three-banners .banner {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        scroll-snap-align: center;

        border-radius: 20px !important;
        overflow: hidden !important;
    }

    .three-banners .banner img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 20px !important;
        object-fit: cover;
    }
}


#product-form > section.bg-storeBG:first-of-type {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.carousel-slider .swiper {
    margin-bottom: 30px;
}


.s-social-share-btn .s-button-element,
.btn--wishlist .s-button-element {
    border-radius: 999px !important;
}

/* العربي */
html[dir="rtl"] .product-card__promotion {
    left: 0;
    right: auto;
    border-radius: 0 12px 12px 0;
}

/* الإنجليزي */
html[dir="ltr"] .product-card__promotion {
    right: 0;
    left: auto;
    border-radius: 12px 0 0 12px;
}

/* التصميم */
.product-card__promotion {
    background: #9D763F !important; /* غيّر اللون هنا */
    color: #fff !important;         /* لون النص */
    font-size: 15px !important;     /* حجم النص */
    font-weight: 700;
    padding: 8px 15px !important;  /* حجم الستيكر */
    min-height: 30px;
    display: flex;
    align-items: center;
    z-index: 10;
}

/* خلفية أفتح */
#free-shipping,
#cart-gifting,
[data-selia="cart-summary"] {
    background: #FAF8F5 !important; /* غيّر اللون كما تريد */
}

@media (max-width: 768px) {

    /* تصغير وتوسيط البطاقة */
    .special-product .flex.justify-center {
        justify-content: center !important;
    }

    .special-product .product-card {
        width: 85% !important;
        margin: 0 auto !important;
        transform: scale(.92);
    }


}

    /* زر إضافة للسلة */
    .special-product .addToCart__btn button,
    .special-product .product-card__normal-cart button {
        background-color: #9D763F !important;
    }

    /* لون النص والأيقونة */
    .special-product .addToCart__btn button span,
    .special-product .product-card__normal-cart button span,
    .special-product .addToCart__btn button i,
    .special-product .product-card__normal-cart button i {
        color: #fff !important;
    }

.store-header:has(.logo-normal[src*="e1498ff2-e2df-424d-a5c0-6f9dd3c71009"]) .main-nav-container {
    background-color: #9d763f !important;
    color: #ffffff !important;
}
.main-menu-row{
    display: none !important;
}

@media (min-width: 992px) {
  .swiper-wrapper:has(> .swiper-slide:nth-child(2):last-child) {
    display: flex !important;
    justify-content: center !important;
    transform: none !important;
    margin-top: 20px;
  }

  .swiper-wrapper:has(> .swiper-slide:nth-child(2):last-child) > .swiper-slide {
    flex: 0 0 auto !important;
    margin: 0 12px !important;
  }

    #best-offers-3-slider .swiper-wrapper {
    display: flex !important;
    justify-content: center !important;
    transform: translate3d(0, 0, 0) !important;
 margin-top: 20px !important;
  }

  #best-offers-3-slider .swiper-slide {
    width: 360px !important;
    margin: 0 10px !important;
  }

}