    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

body {
    margin: 0;
}

/* Responsive Container */
.responsive-container {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
    width: 100%;
}

/* Responsive Offer Details */
.responsive-offer-details {
    background-color:#f9f9f9;
    border-radius: 10px;
    padding: 15px; /* Reduced padding for smaller devices */
    margin-bottom: 15px; /* Reduced margin for smaller devices */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 25px; /* Reduced space for the tape */
}

/* Default styles */
.responsive-offer-details h1,
.responsive-offer-details p {
    display: block; /* Ensure each h1 and p appears on its own line */
}

.responsive-offer-details h1 {
    font-size: 20px; /* Adjusted font size for headings */
    font-weight: bold;
    margin-bottom: 10px;
    color: #0da487;
}

.responsive-offer-details p {
    font-size: 14px; /* Adjusted font size for paragraphs */
    margin-bottom: 15px; /* Reduced margin for paragraphs */
}

.container2 {
    width: 100%;
}


/* Media Queries */
@media screen and (max-width: 576px) {
    .responsive-offer-details {
        padding: 10px; /* Further reduced padding for smaller devices */
        padding-left: 20px; /* Further reduced space for the tape */
    }
    
    .responsive-offer-details h1 {
        font-size: 18px; /* Adjusted font size for headings on smaller devices */
    }
    
    .responsive-offer-details p {
        font-size: 12px; /* Adjusted font size for paragraphs on smaller devices */
        margin-bottom: 10px; /* Further reduced margin for paragraphs on smaller devices */
    }
}


/* Responsive Swiper Container */
.responsive-swiper-container {
    width: 65%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex; /* Use flexbox layout */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    margin-left: auto; /* Center the slider horizontally */
    margin-right: auto; /* Center the slider horizontally */
    z-index: 0;
    padding-bottom: 55px;
    background: rgba(255, 255, 255, 0.8) ;
    user-select: none;
}

.responsive-swiper-slide {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.responsive-swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    margin: auto;
    /* إضافة نسبة أبعاد افتراضية تمنع القفز المفاجئ (النسبة الشائعة للكتالوجات) */
    aspect-ratio: 3 / 4; 
}

.responsive-slide-number {
    position: absolute;
    bottom: 15px; /* تم التعديل لقيمة موجبة ليكون داخل حدود الصورة */
    right: 15px; /* إبعاده قليلاً عن الحافة لشكل أجمل */
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 10; /* لضمان ظهوره فوق الصورة دائماً */
}

/* Swiper Pagination */
.responsive-swiper-pagination {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    display: flex;
    list-style: none;
    padding: 0;
}

.responsive-swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.responsive-swiper-pagination-bullet-active {
    background-color: #007bff;
}

/* Toolbar */
.responsive-toolbar {
    position: absolute;
    bottom: 0px;
    left: 2px;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: rgba(255, 255, 255, 0.8); */
    /* border-radius: 2.5px; */
    padding: 10px 0px;
    /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    /* width:100% */
}


.responsive-toolbar button {
    margin: 0 5px;
    padding: 10px 15px;
    border: none;
    background-color: #0da487;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.responsive-toolbar button:hover {
    background-color: #007d5a;
}

/* Swiper Arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #0da487 !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    width: 50px;
    height: 50px;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: box-shadow 0.3s ease;
    z-index: 1;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    /* box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5); */
     opacity: 1;
}

/* Slider Toggle Button */
.responsive-slider-toggle-button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: transform 0.3s ease;
}

.responsive-slider-toggle-button:hover {
    transform: translateY(-2px);
}

/* Tape */
.responsive-tape {
    position: absolute;
    top: -10px;
    left: -10px;
    padding: 5px;
    background-color: rgba(0, 128, 0, 0.2);
    color: rgba(255, 255, 255, 0.8);
    border-radius: 3px;
    transform: rotate(-35deg);
    z-index: 0;
    font-family: "Roboto", sans-serif;
}

.responsive-tape.ended {
    background-color: red;
}

.responsive-tape.en-lang {
    right: -10px;
    left: auto;
    transform: rotate(35deg);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.dropdown-menu a {
    color: #333;
}

.dropdown-menu a:hover {
    background-color: #f1f1f1;
    color: #333;
}
/* Container 2 */
.container2 {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

}

.container2 h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

/* Brochure Images */
.brochure-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Adjust min width for better responsiveness */
    gap: 10px; /* Reduce gap for smaller devices */
}

.brochure-images img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brochure-images img:hover {
    transform: translateY(-5px);
}

/* Media Queries */
@media screen and (max-width: 576px) {
    .container2 {
        padding: 10px; /* Reduce padding for smaller devices */
    }
    
    .brochure-images {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Further reduce min width for smaller devices */
        gap: 5px; /* Further reduce gap for smaller devices */
    }
}


/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    position: relative;
    margin: auto;
    width: 80%;
    max-width: 800px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content img {
    width: 100%;
    height: auto;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.close:hover {
    color: #ccc;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    cursor: pointer;
    color: #0da487 !important;
    user-select: none;
    z-index: 100;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    padding: 10px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

/* Common Styles */
.store-info-container {
    max-width: 100%;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.store-info-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.store-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.store-logo img {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.store-info p {
    margin-bottom: 10px;
}

.store-info a {
    color: #007bff;
    text-decoration: none;
}

.store-info a:hover {
    text-decoration: underline;
}

.store-offer-by-store {
    width: 100%;
    margin-top: 20px;
}

.store-offer-by-store h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
/* General styles */
.store-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.store-related-offer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.store-related-offer {
    position: relative;
    width: calc(33.33% - 20px);
    margin: 10px;
    text-align: center;
}

.store-related-offer img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1; /* أو 3/4 حسب مقاس الصور المربع أو الطولي لديك */
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.store-related-offer:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.store-related-offer h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    opacity: 0;
    padding: 10px;
    transition: opacity 0.3s ease;
}

.store-related-offer:hover h3 {
    opacity: 1;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .responsive-container {
        padding: 10px;
    }

    .responsive-swiper-container {
        width: 100%;
    }

    .responsive-swiper-button-next,
    .responsive-swiper-button-prev {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .container2 {
        padding: 10px;
    }

    .brochure-images {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }

    .modal-content {
        width: 90%;
    }
}

@media screen and (max-width: 576px) {
    .responsive-swiper-button-next,
    .responsive-swiper-button-prev {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .container2 {
        padding: 5px;
    }

    .brochure-images {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 5px;
    }

    .modal-content {
        width: 95%;
    }

    .store-info-container {
        max-width: 100%;
    }
}

@media screen and (max-width: 414px) {
    .responsive-swiper-container {
        width: 100%;
    }

    .responsive-container {
        padding: 5px;
    }

    .responsive-offer-details {
        padding: 10px;
    }

    .responsive-swiper-pagination {
        bottom: 5px;
    }

    .responsive-slide-number {
        bottom: 5px;
        right: 5px;
        font-size: 12px;
    }

    .responsive-swiper-button-next,
    .responsive-swiper-button-prev {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}

@media screen and (max-width: 280px) {
    .responsive-swiper-container {
        width: 100%;
    }

    .responsive-container {
        padding: 2px;
    }

    .responsive-offer-details {
        padding: 5px;
    }

    .responsive-swiper-pagination {
        bottom: 3px;
    }

    .responsive-slide-number {
        bottom: 3px;
        right: 3px;
        font-size: 10px;
    }

    .responsive-swiper-button-next,
    .responsive-swiper-button-prev {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
}

	
	hr {
    border: none;
    height: 2px; /* Increase the height for a bolder line */
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)); /* Gradient effect */
    margin: 20px 0;
}

/* Animation for showing images */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for hiding images */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Style for brochure images */
.brochure-images-hide {
    animation-fill-mode: both;
    animation-duration: 1s; /* Adjust duration as needed */
}


/* Define styles for the modern buttons */
.modern-button {
    background: linear-gradient(145deg, #4CAF50, #45a049);
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.modern-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(50, 50, 93, 0.15), 0 2px 4px rgba(0, 0, 0, 0.08);
}

.show-images {
    background: linear-gradient(145deg, #0da487, #0b856d);
}


.hide-images {
    background: linear-gradient(145deg, #dc3545, #bb2c3b);
}

/* تحسينات لمنع CLS لحاوية الإعلانات والسلايدر */
.ad-container {
    min-height: 280px;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 20px 0;
}

.responsive-swiper-container {
    min-height: 500px;
}

/* تصغير المساحة المحجوزة على شاشات الجوال لتجنب الفراغات الكبيرة */
@media screen and (max-width: 768px) {
    .ad-container { min-height: 250px; }
    .responsive-swiper-container { min-height: 350px; }
}

    /* Apply specific styling to the offer section */
    .unique-offer-section {
        margin-top: 40px; /* Adjust margin to create space above */
        margin-bottom: 20px; /* Adjust margin */
        
    }

    /* Apply specific styling to the offer heading */
    .unique-offer-heading {
        font-size: 24px; /* Default font size */
        margin-bottom: 10px; /* Default margin */
    }

    /* Media Queries */
    @media screen and (max-width: 576px) {
        .unique-offer-heading {
            font-size: 20px; /* Adjust font size for smaller devices */
            margin-bottom: 5px; /* Adjust margin for smaller devices */
        }
        .unique-offer-section {
            margin-top: 30px; /* Adjust margin for smaller devices */
            margin-bottom: 15px; /* Adjust margin for smaller devices */
        }
    }
    
    @media screen and (max-width: 360px) {
        .unique-offer-heading {
            font-size: 18px; /* Further adjust font size for smaller devices */
        }
    }
        .home-banner-1 .swiper-container {
            width: 100%;
            height: 100vh;
        }

        .home-banner-1 .swiper-slide {
            position: relative;
            overflow: hidden;
            height: 60vh; /* Set the desired height for each slide */
        }

        .home-banner-1 .swiper-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
            border-radius: 20px;
            object-position: top ;
        }

        .home-banner-1 .overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #fff;
            opacity: 0;
            transition: opacity 0.5s ease;
        }

        .home-banner-1 .overlay h2 {
            font-size: 24px;
            margin-bottom: 10px;
            color: #fff; /* Set the desired color */
        }

        .home-banner-1 .overlay p {
            font-size: 16px;
            margin-bottom: 20px;
        }

        .home-banner-1 .swiper-slide:hover .overlay {
            opacity: 1;
        }

        .home-banner-1 .swiper-button-next,
        .home-banner-1 .swiper-button-prev {
            color: #fff;
            font-size: 18px;
        }

        .home-banner-1 .swiper-pagination-bullet {
            background-color: #fff;
        }