.flipkart-slider {
    position: relative;
}

.flipkart-slider .slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 10px 0;
}

.flipkart-slider .slider-wrapper::-webkit-scrollbar {
    display: none;
}

.flipkart-card {
    min-width: 220px;
    max-width: 220px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    overflow: hidden;
    flex-shrink: 0;
}

.flipkart-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.flipkart-card .card-body {
    padding: 10px;
}

.slider-btn {
    position: absolute;
    top: 40%;
    background: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
    z-index: 10;
}

. {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fk-slider-track::-webkit-scrollbar {
    display: none;
}

.flipkart-slider {
    position: relative;
    overflow: hidden; /* removes bottom line */
}

.flipkart-slider .slider-wrapper {
    display: flex;
    gap: 16px;
    padding: 10px 0;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: smooth;

    -ms-overflow-style: none;  /* IE */
    scrollbar-width: none;     /* Firefox */
}

.flipkart-slider .slider-wrapper::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}


.slider-btn.prev { left: -15px; }
.slider-btn.next { right: -15px; }

@media (max-width: 576px) {
    .slider-btn {
        display: flex;
        width: 28px;
        height: 28px;
        top: 45%;
    }

    .slider-btn.prev { left: 5px; }
    .slider-btn.next { right: 5px; }
}



.fk-slider {
    position: relative;
    background: #fff;
    padding: 15px;
}

.fk-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.fk-slider-track::-webkit-scrollbar {
    display: none;
}

.fk-product-card {
    min-width: 200px;
    max-width: 200px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.12);
    flex-shrink: 0;
    transition: transform .2s;
}

.fk-product-card:hover {
    transform: translateY(-3px);
}

.fk-product-card img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    padding: 10px;
}

.fk-product-body {
    padding: 10px;
}

.fk-product-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    height: 36px;
    overflow: hidden;
}

.fk-price {
    font-weight: 600;
    color: #212121;
}

.fk-old-price {
    text-decoration: line-through;
    color: #878787;
    font-size: 12px;
}

.fk-discount {
    color: #388e3c;
    font-size: 12px;
    font-weight: 600;
}

.fk-nav {
    position: absolute;
    top: 45%;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
    z-index: 10;
}

.fk-slider-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fk-slider-track::-webkit-scrollbar {
    display: none;
}


.fk-prev { left: -15px; }
.fk-next { right: -15px; }



@media (max-width: 576px) {
    .fk-nav {
        display: flex;
        width: 28px;
        height: 28px;
        top: 45%;
    }

    .slider-btn.prev { left: 5px; }
    .slider-btn.next { right: 5px; }
}


.fk-carousel {
    background: #fff;
    padding: 15px;
}

.fk-slide-card {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: 350px;
}

.fk-slide-card img {
    max-height: 220px;
    width: 100%;
    object-fit: contain;
}

.fk-slide-body {
    text-align: center;
    margin-top: 10px;
}

.fk-slide-body h5 {
    font-size: 16px;
    font-weight: 600;
}

.fk-slide-body .price {
    color: #212121;
    font-weight: 700;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}
/* Banner wrapper */
/* Container adjustments */
/* Main Wrapper */
/* Banner wrapper - Now 1117px as requested */
.fk-banner {
    max-width: 1117px; 
    margin: 15px auto;
    border-radius: 14px; /* Requested radius */
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Optional: Soft app-like look */
}

/* Base image styling */
.fk-banner-img {
    width: 100%;
    display: block;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .fk-banner-img.desktop-banner {
        height: 280px; /* Adjust desktop height as needed */
        object-fit: cover;
    }
    .mobile-banner { display: none !important; }
}

/* MOBILE FIX (Meesho/Flipkart Style) */
@media (max-width: 768px) {
    .fk-banner {
        margin: 10px; /* Small margin to show the radius on mobile */
        border-radius: 12px;
    }

    .fk-banner-img.mobile-banner {
        /* FIX: 'auto' height prevents the 'half image' issue */
        height: auto !important; 
        /* 'contain' ensures the whole banner image is visible */
        object-fit: contain !important; 
        display: block !important;
    }

    .desktop-banner { display: none !important; }

    /* Clean UI: hide arrows on mobile */
    .carousel-control-prev, .carousel-control-next {
        display: none !important;
    }
}
