/* --- NEW: General Store Layout Adjustments --- */

/* Hides the top-most navigation bar */
.top-navbar {
    display: none !important;
}

/* Makes the main container full-width on large screens (1280px and wider) */
@media (min-width: 1280px) {
    .container {
        max-width: 100% !important;
    }
}

/* 1. The main section with the split background */
.s-block--banners {
    /*background: linear-gradient(to bottom, #ffffff 0%, #ffffff 50%, #4888b6 50%, #4888b6 100%);*/
    background-color: #cadde8;
    padding: 80px 0 160px 0; 
}

/* 2. Styling for BOTH Section Titles (التصنيفات & العروض) */
.s-block--banners .s-block__title,
.s-block--fixed-banner .s-block__title {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    padding-top: 20px;
}
.s-block--banners .s-block__title h2,
.s-block--fixed-banner .s-block__title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2596be;
}

/* 3. The grid container for the images */
.s-block--banners .grid {
    align-items: center;
    column-gap: 20px !important;
    max-width: 1200px;
    margin: 0 auto;
}

/* 4. Make the banner link itself invisible */
.s-block--banners a.banner-entry {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 450px; 
}

/* 5. Style the div that contains the image */
.s-block--banners a.banner-entry .lazy__bg {
    height: 380px; /* Was 300px. You can adjust this value. */
    width: 100%;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    margin-bottom: 10px;
}

/* 6. Style the text below the banners */
.s-block--banners a.banner-entry::after {
    display: block;
    margin-top: 10px;
    font-size: 26px;
    font-weight: bold;
    color: #3a3a3a;
}

/* --- Responsive adjustments for mobile --- */
@media (max-width: 768px) {
    .s-block--banners .grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .s-block--banners a.banner-entry {
        min-height: 340px; /* Adjusted mobile min-height */
    }
    .s-block--banners a.banner-entry .lazy__bg {
        /* --- CHANGED: Also increased mobile image height --- */
        height: 280px; /* Was 220px */
    }
}

/* --- Styles for the Customer Reviews (Photos Slider) Section --- */

/* 1. Set the background color and padding */
.s-block--photos-slider {
    background-color: #01538f;
    padding: 60px 0;
}

/* 2. Style the slider navigation arrows */
.s-block--photos-slider .s-slider-nav-arrow {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
}
.s-block--photos-slider .s-slider-nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 3. Style the pagination dots at the bottom */
.s-block--photos-slider .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.5);
}
.s-block--photos-slider .swiper-pagination-bullet-active {
    background-color: #ffffff;
}

/* 4. On desktop screens, set each slide's width to 40% */
@media (min-width: 769px) {
    .s-block--photos-slider .swiper-slide {
        /* --- CHANGED: Slide width is now 40% --- */
        width: 40% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
}

/* 5. Style the image to fill its container again */
.s-block--photos-slider .swiper-slide img {
    /* --- REVERTED: Image now fills 100% of its slide container --- */
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 6. On mobile, the slider will show one slide */
@media (max-width: 768px) {
     .s-block--photos-slider .swiper-slide img {
        padding: 0 20px;
        box-sizing: border-box;
    }
}

.store-footer__inner{
background-color : #cadde8 !important;
}
.store-footer > * {
  background-color: #cadde8;
}