/* Add custom CSS styles below */ 


/* =========================================
   هيدر الواحة الخضراء
   تعديل صف الشعار والأيقونات فقط
   ========================================= */

/* لا نلمس مساحة الإيميل العلوية */

/* -----------------------------------------
   الهيدر الرئيسي
   ----------------------------------------- */

.store-header #mainnav {
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06) !important;
    transition: box-shadow 0.25s ease !important;
}

/* صف الشعار والأيقونات */
.store-header #mainnav .main-nav-container {
    min-height: 78px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* -----------------------------------------
   الشعار
   ----------------------------------------- */

.store-header .navbar-brand {
    display: flex !important;
    align-items: center !important;
}

.store-header .navbar-brand img {
    width: 92px !important;
    max-width: 92px !important;
    height: auto !important;
    object-fit: contain !important;
}


/* -----------------------------------------
   مجموعة الأيقونات
   ----------------------------------------- */

.store-header .main-nav-container .flex.items-center.justify-end {
    gap: 5px !important;
}

/* -----------------------------------------
   الأيقونات
   ----------------------------------------- */

.store-header .header-btn__icon {
    width: 34px !important;
    height: 34px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 50% !important;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease !important;
}

/* حجم الـ SVG */
.store-header .header-btn__icon svg {
    width: 18px !important;
    height: 18px !important;
}

/* تأثير بسيط عند الضغط */
.store-header .header-btn__icon:active {
    transform: scale(0.94) !important;
}


/* -----------------------------------------
   السلة
   ----------------------------------------- */

.store-header #s-cart-icon .header-btn__icon {
    background-color: #3a682e !important;
    color: #ffffff !important;
}

.store-header #s-cart-icon .header-btn__icon svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* عداد السلة */
.store-header #s-cart-icon .s-cart-summary-count {
    background-color: #3a682e !important;
    color: #ffffff !important;
}


/* -----------------------------------------
   زر القائمة
   ----------------------------------------- */

.store-header .header-btn__icon--menu {
    width: 36px !important;
    height: 36px !important;
}


/* =========================================
   الجوال
   ========================================= */

@media (max-width: 767px) {

    /* صف الهيدر فقط */
    .store-header #mainnav .main-nav-container {
        min-height: 70px !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    /* الشعار */
    .store-header .navbar-brand img {
        width: 88px !important;
        max-width: 88px !important;
        height: auto !important;
    }

    /* مجموعة الأيقونات */
    .store-header .main-nav-container .flex.items-center.justify-end {
        gap: 3px !important;
    }

    /* الأيقونات */
    .store-header .header-btn__icon {
        width: 32px !important;
        height: 32px !important;
    }

    .store-header .header-btn__icon svg {
        width: 17px !important;
        height: 17px !important;
    }

    /* القائمة */
    .store-header .header-btn__icon--menu {
        width: 34px !important;
        height: 34px !important;
    }
}


/* =========================================
   الكمبيوتر
   ========================================= */

@media (min-width: 768px) {

    .store-header #mainnav .main-nav-container {
        min-height: 82px !important;
    }

    .store-header .navbar-brand img {
        width: 95px !important;
        max-width: 95px !important;
    }

    .store-header .header-btn__icon {
        width: 36px !important;
        height: 36px !important;
    }

    .store-header .header-btn__icon svg {
        width: 19px !important;
        height: 19px !important;
    }
}



/*----------------------------------------
------------------------------------------
----------------------------------------*/
/* =========================================
   آراء العملاء
   ========================================= */

.s-block--testimonials {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
}

.s-block--testimonials .s-block__title {
    margin-bottom: 25px !important;
}

.s-block--testimonials .s-block__title h2 {
    font-size: 26px !important;
    font-weight: 700 !important;
}


/* بطاقة التقييم */
.s-block--testimonials .s-reviews-testimonial {
    padding: 10px !important;
}

.s-block--testimonials .s-reviews-testimonial__inner {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 18px !important;
    padding: 28px 30px !important;
    min-height: 250px !important;

    box-shadow: 0 4px 18px rgba(0,0,0,.06) !important;

    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}


/* صورة العميل */
.s-block--testimonials .s-reviews-testimonial__avatar {
    margin-bottom: 15px !important;
}

.s-block--testimonials .s-reviews-testimonial__avatar img {
    width: 58px !important;
    height: 58px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}


/* نص التقييم */
.s-block--testimonials .s-reviews-testimonial__text {
    max-width: 760px !important;
    margin: 0 auto !important;

    font-size: 16px !important;
    line-height: 1.9 !important;
    color: #444 !important;
}

.s-block--testimonials .s-reviews-testimonial__text p {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 4 !important;
    overflow: hidden !important;
    margin: 0 !important;
}


/* الاسم والتقييم */
.s-block--testimonials .s-reviews-testimonial__name_wrapper {
    margin-top: 18px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
}

.s-block--testimonials .s-reviews-testimonial__info h2 {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #222 !important;
}


/* النجوم */
.s-block--testimonials .s-reviews-testimonial__rating {
    display: flex !important;
    align-items: center !important;
}

.s-block--testimonials .s-rating-stars-wrapper {
    gap: 2px !important;
}

.s-block--testimonials .s-rating-stars-btn-star {
    transform: scale(.75) !important;
}


/* =========================================
   الجوال
   ========================================= */

@media (max-width: 767px) {

    .s-block--testimonials {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
        overflow: hidden !important;
    }

    .s-block--testimonials .s-block__title {
        margin-bottom: 18px !important;
    }

    .s-block--testimonials .s-block__title h2 {
        font-size: 22px !important;
    }


    /* البطاقة */
    .s-block--testimonials .s-reviews-testimonial {
        padding: 6px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .s-block--testimonials .s-reviews-testimonial__inner {
        min-height: 0 !important;
        height: auto !important;

        padding: 14px 18px 16px !important;
        border-radius: 16px !important;

        width: 100% !important;
        box-sizing: border-box !important;
    }


    /* صورة العميل */
    .s-block--testimonials .s-reviews-testimonial__avatar {
        margin-bottom: 5px !important;
    }

    .s-block--testimonials .s-reviews-testimonial__avatar img {
        width: 42px !important;
        height: 42px !important;
    }


    /* النص */
    .s-block--testimonials .s-reviews-testimonial__text {
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-top: 2px !important;
    }

    .s-block--testimonials .s-reviews-testimonial__text p {
        -webkit-line-clamp: 3 !important;
    }


    /* الاسم والنجوم */
    .s-block--testimonials .s-reviews-testimonial__name_wrapper {
        margin-top: 7px !important;
        gap: 7px !important;
    }

    .s-block--testimonials .s-reviews-testimonial__info h2 {
        font-size: 13px !important;
    }

    .s-block--testimonials .s-rating-stars-btn-star {
        transform: scale(.65) !important;
    }


    /* السلايدر */
    .s-block--testimonials salla-slider,
    .s-block--testimonials .s-slider-container {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .s-block--testimonials .s-slider-swiper-wrapper {
        align-items: stretch !important;
    }

    .s-block--testimonials .s-reviews-swiper-slide {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 8px !important;
        box-sizing: border-box !important;
    }
}

/*----------------------------------------
------------------------------------------
----------------------------------------*/


/* تغيير لون أزرار السلايدر فقط */
.home-slider__content a {
    background-color: #3a682e !important;
    color: #ffffff !important;
    border-color: #3a682e !important;
}

/* لون الزر عند مرور الماوس */
.home-slider__content a:hover {
    background-color: #2d5225 !important;
    color: #ffffff !important;
    border-color: #2d5225 !important;
}


/* العنوان الترويجي - تدرج هوية الواحة الخضراء */
.promotion-title {
    background: linear-gradient(
        135deg,
        #2b4f24 0%,
        #3a682e 50%,
        #527d3f 100%
    ) !important;

    color: #ffffff !important;
    border-radius: 8px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}