/* Slideshow Container */
.custom-slideshow-container {
    position: relative;
    width: 100%;
    max-width: 2000px; /* Maximum width for larger screens */
    height: auto; /* Adjust height based on aspect ratio */
    aspect-ratio: 2000 / 637; /* Maintain the 2000:637 aspect ratio */
    overflow: hidden;
    margin: 0 auto; /* Center the container horizontally */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex; /* Center content within the container */
    justify-content: center;
    align-items: center;
    background: #f3f3f3; /* Fallback background color */
}

/* Individual Slides */
.custom-slide {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Ensure images cover the container and are properly positioned */
.custom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image fully covers the container */
    object-position: center; /* Center the image */
}

.custom-slide.show {
    display: block;
    animation: fadeEffect 1s ease-in-out;
}

@keyframes fadeEffect {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Navigation Arrows */
.custom-prev, .custom-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    color: white;
    font-size: 20px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    user-select: none;
    z-index: 10;
}

.custom-prev { left: 10px; }
.custom-next { right: 10px; }

/* Dots */
.custom-dot-container {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
}

.custom-dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.custom-active, .custom-dot:hover {
    background-color: #717171;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .custom-slideshow-container {
        max-width: 100%; /* Allow container to stretch full width */
    }

    .custom-prev, .custom-next {
        font-size: 18px;
        padding: 8px;
    }

    .custom-dot {
        height: 10px;
        width: 10px;
    }
}

@media screen and (max-width: 768px) {
    .custom-slideshow-container {
        border-radius: 5px; /* Slightly smaller border radius for compact screens */
    }

    .custom-prev, .custom-next {
        font-size: 16px;
        padding: 8px;
    }

    .custom-dot {
        height: 8px;
        width: 8px;
    }
}

@media screen and (max-width: 480px) {
    .custom-prev, .custom-next {
        font-size: 14px;
        padding: 5px;
    }

    .custom-dot {
        height: 6px;
        width: 6px;
    }
}
/*----------------------------*\
    Shop Our Range 
\*----------------------------*/

.sec-section4type2j5k4h2-main {
    margin: 30px 0;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.sec-section4type2j5k4h2-title {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    font-weight: 600;
    color: #222;
}

/* Row Layout */
.sec-section4type2j5k4h2-row {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Column */
.sec-section4type2j5k4h2-column {
    flex: 0 0 48%;
    background-color: rgb(224, 225, 250);
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.sec-section4type2j5k4h2-subtitle {
    text-align: center;
    font-size: 18px;
    color: #444;
    margin-bottom: 15px;
}

/* Product Grid */
.sec-section4type2j5k4h2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

/* Product Card */
.sec-section4type2j5k4h2-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sec-section4type2j5k4h2-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.sec-section4type2j5k4h2-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Product Text */
.sec-section4type2j5k4h2-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 500;
}

.sec-section4type2j5k4h2-price {
    font-size: 14px;
    color: #888;
    margin-bottom: 10px;
}

.sec-section4type2j5k4h2-price strong {
    color: #e74c3c;
    font-size: 16px;
}

.sec-section4type2j5k4h2-btn {
    padding: 8px 12px;
    background: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.sec-section4type2j5k4h2-btn:hover {
    background: #0056b3;
}

/*----------------------------*\
    Full Page Offer Image 
\*----------------------------*/

.offer_fulfillflex_image {
    position: relative;
    width: 90%;
    margin: 0 auto;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.offer_fulfillflex_image .full-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

/* For large screens */
@media (min-width: 992px) {
    .offer_fulfillflex_image {
        height: 100vh;
    }
}

/* Tablet screens */
@media (max-width: 992px) {
    .sec-section4type2j5k4h2-row {
        flex-direction: column;
    }
    .sec-section4type2j5k4h2-column {
        flex: 0 0 100%;
    }
    .sec-section4type2j5k4h2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile screens */
@media (max-width: 768px) {
    .sec-section4type2j5k4h2-title {
        font-size: 22px;
    }
    .sec-section4type2j5k4h2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .sec-section4type2j5k4h2-img {
        height: 200px;
    }
    .offer_fulfillflex_image {
        width: 100%;
        height: auto;
    }
    .offer_fulfillflex_image .full-image {
        object-fit: contain;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .sec-section4type2j5k4h2-main {
        padding: 10px;
    }
    .sec-section4type2j5k4h2-title {
        font-size: 20px;
    }
    .sec-section4type2j5k4h2-card {
        padding: 8px;
    }
    .sec-section4type2j5k4h2-img {
        height: 180px;
    }
}
