.hero-swiper-wrapper {
    width: 100%;
    overflow-x: hidden;
    padding: 16px 0 0 0;
    background: #fdfdfd;
    position: relative;
}

/* Hide navigation arrows on mobile village */
.honey-nav {
    display: none;
}

.popular-products-swiper .swiper-slide {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    opacity: 1;
    filter: none;
    transform: none;
}

.popular-products-swiper .swiper-slide .card {
    width: 100%; 
    max-width: 100%;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Force all product image containers to the same fixed height */
.popular-products-swiper .swiper-slide .card .position-relative {
    height: 170px !important;
    overflow: hidden !important;
    flex-shrink: 0;
}

/* Image fills the container completely */
.popular-products-swiper .swiper-slide .card .position-relative .card-img-top {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block;
}

.popular-products-swiper .swiper-slide .card .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.popular-products-swiper .swiper-wrapper {
    align-items: stretch;
}

@media (min-width: 992px) {
    .popular-products-section {
        overflow: hidden !important;
    }

    .popular-products-swiper {
        max-width: 1050px;
        margin: 0 auto;
        overflow: visible !important;
    }

    .popular-products-swiper .swiper-slide .card {
        width: 100%; 
        max-width: 320px; 
        transition: filter 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
        filter: blur(4px); /* Blur the cards peeking from the screen edges */
        opacity: 0.4;
        transform: scale(0.85);
    }

    .popular-products-swiper .swiper-slide {
        transition: none;
        filter: none;
        opacity: 1;
        transform: none;
    }

    /* The three fully visible central cards must be perfectly clear */
    .popular-products-swiper .swiper-slide-active .card,
    .popular-products-swiper .swiper-slide-prev .card,
    .popular-products-swiper .swiper-slide-next .card,
    .popular-products-swiper .swiper-slide-duplicate-active .card,
    .popular-products-swiper .swiper-slide-duplicate-prev .card,
    .popular-products-swiper .swiper-slide-duplicate-next .card {
        filter: blur(0) !important;
        opacity: 1 !important;
        transform: scale(1) !important;
        z-index: 5;
    }
}

.popular-swiper-nav {
    display: flex !important;
}

.hero-swiper {
    width: 100%;
    overflow: hidden !important;
}

.hero-swiper .swiper-slide {
    background: #fff;
    width: 88%;
    height: 250px;
    border-radius: 16px;
    box-shadow: none;
    transition: opacity 0.6s ease, filter 0.6s ease, box-shadow 0.6s ease;
    position: relative;
    overflow: hidden;
    filter: blur(8px) grayscale(30%);
    opacity: 0.45;
}

.hero-swiper .swiper-slide-active {
    opacity: 1 !important;
    filter: blur(0) grayscale(0%) !important;
    z-index: 10;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18) !important;
    border-radius: 16px !important;
}

.hero-swiper .swiper-slide:not(.swiper-slide-active):hover {
    opacity: 0.8;
}

.hero-img-container {
    width: 120%;
    height: 100%;
    position: absolute;
    top: 0;
    left: -10%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-glossy {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
}

.btn-glossy:hover {
    background: #FF8C00;
    border-color: #FF8C00;
    box-shadow: 0 15px 30px rgba(255, 140, 0, 0.4);
    transform: translateY(-5px);
    color: white;
}

/* ═══ OFFER SLIDE — Honeycomb Comb Style ═══ */
.offer-slide {
    background: linear-gradient(135deg, #7B3F00 0%, #C8600A 35%, #E8890C 70%, #F5A623 100%) !important;
    position: relative;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 1.2rem 1rem 1.2rem 1.4rem !important;
}

/* Sweeping shine animation */
.offer-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
    animation: sweepingShine 3.5s infinite linear;
    pointer-events: none;
    z-index: 2;
}

@keyframes sweepingShine {
    0%   { left: -60%; }
    100% { left: 160%; }
}

/* Prominent honeycomb hexagonal grid */
.honeycomb-pattern {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='84' viewBox='0 0 48 84'%3E%3Cpath d='M24 0 L48 14 L48 42 L24 56 L0 42 L0 14 Z' fill='none' 
stroke='%23ffffff' stroke-opacity='0.18' stroke-width='1.5'/%3E%3Cpath d='M24 56 L48 70 L48 98 L24 112 L0 98 L0 70 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.18' 
stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: 48px 84px;
    opacity: 1;
    z-index: 1;
}

/* Offer content */
.offer-content {
    position: relative;
    z-index: 5;
    text-align: left;
    max-width: 60%;
    padding-left: 0;
    flex: 1;
}

/* LIMITED TIME badge */
.offer-badge {
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
    padding: 0.2rem 0.7rem;
    border-radius: 20px;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 0.65rem;
    margin-bottom: 0.35rem;
    display: inline-block;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    text-transform: uppercase;
}

/* Offer title — bold white */
.offer-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 0.3rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    letter-spacing: 0.5px;
}

/* Description — white semi-transparent */
.offer-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.35;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* SAVE circle */
.discount-circle {
    position: relative;
    right: auto; bottom: auto;
    flex-shrink: 0;
    width: 78px; height: 78px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(0,0,0,0.3), 0 0 0 3px rgba(255,255,255,0.4);
    z-index: 5;
    margin-left: 0.8rem;
}

.discount-value {
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1;
    color: #C8600A;
    letter-spacing: -1px;
}

.discount-label {
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #7B3F00;
    text-transform: uppercase;
}

.category-card-box {
    height: 130px !important;
}



.product-card-modern {
    border-radius: 1rem !important;
    overflow: hidden;
    background: white;
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    border: 1px solid rgba(255, 140, 0, 0.2) !important;
}

.product-card-modern:hover,
.product-card-modern:focus,
.product-card-modern:active {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.15), 0 0 15px rgba(255, 215, 0, 0.1);
    z-index: 5;
}

.product-card-modern .card-img-top {
    height: 160px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

@media (min-width: 992px) {
    .hero-swiper-wrapper {
        padding: 50px 0;
    }
    .hero-swiper {
        height: 450px !important;
        min-height: 450px !important;
    }
    .hero-swiper .swiper-wrapper {
        height: 100% !important;
        align-items: stretch;
    }
    .hero-swiper .swiper-slide {
        width: 75% !important;
        height: 450px !important;
        min-height: 450px !important;
        border-radius: 30px !important;
    }
    .hero-swiper .swiper-slide-active {
        box-shadow: 0 20px 60px rgba(0,0,0,0.2) !important;
    }
    
    /* Premium Card Desktop Scaling */
    .offer-slide { 
        padding: 4rem 5rem !important; 
    }
    .offer-content {
        max-width: 65%;
    }
    .offer-badge {
        font-size: 1rem;
        padding: 0.5rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    .offer-title {
        font-size: 3.5rem !important;
        margin-bottom: 1rem;
    }
    .offer-desc {
        font-size: 1.3rem !important;
    }
    .discount-circle {
        width: 180px !important;
        height: 180px !important;
        margin-left: 2rem;
    }
    .discount-value {
        font-size: 4rem !important;
    }
    .discount-label {
        font-size: 1.2rem !important;
        letter-spacing: 4px;
    }

    .product-card-modern .card-img-top {
        height: 220px;
    }
}

.product-card-modern:hover .card-img-top,
.product-card-modern:active .card-img-top { 
    transform: scale(1.15); 
}

.pollen-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.pollen {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    filter: blur(1px);
    animation: floatPollen 15s infinite ease-in-out;
}

@keyframes floatPollen {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0; }
    10% { opacity: 0.6; }
    50% { transform: translate(100px, -200px) rotate(180deg) scale(1.5); opacity: 0.8; }
    90% { opacity: 0.6; }
}

@media (max-width: 991px) {
    .hero-swiper-wrapper {
        overflow: hidden;
        padding: 16px 0;
    }
    .hero-swiper .swiper-slide {
        width: 88% !important;
        height: 240px !important;
        border-radius: 16px !important;
    }
    .hero-swiper .swiper-slide-active {
        filter: blur(0) grayscale(0%) !important;
        opacity: 1 !important;
        box-shadow: 0 6px 24px rgba(0,0,0,0.18) !important;
    }

    /* Premium Card Mobile Tweaks */
    .offer-slide { padding: 1.2rem !important; }
    .offer-title { font-size: 1.35rem !important; }
    .offer-desc { font-size: 0.75rem !important; opacity: 0.95; }
    .discount-circle { width: 72px !important; height: 72px !important; }
    .discount-value { font-size: 1.55rem !important; }
    .honeycomb-pattern { background-size: 40px 70px !important; }
}

