.hero-swiper-wrapper {
    width: 100%;
    overflow-x: hidden;
    padding: 60px 0;
    background: #fdfdfd;
    position: relative;
}

/* Hide navigation arrows on mobile village */
.honey-nav {
    display: none;
}

.popular-products-swiper .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
    opacity: 1;
    filter: none;
    transform: none;
}

.popular-products-swiper .swiper-slide .card {
    width: 100%; 
    max-width: 100%;
    margin: 0 auto;
}

@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; 
    }

    .popular-products-swiper .swiper-slide {
        transition: filter 0.6s ease, opacity 0.6s ease, transform 0.6s ease;
        filter: blur(4px); /* Blur the slides peeking from the screen edges */
        opacity: 0.4;
        transform: scale(0.85);
    }

    /* The three fully visible central cards must be perfectly clear */
    .popular-products-swiper .swiper-slide-active,
    .popular-products-swiper .swiper-slide-prev,
    .popular-products-swiper .swiper-slide-next,
    .popular-products-swiper .swiper-slide-duplicate-active,
    .popular-products-swiper .swiper-slide-duplicate-prev,
    .popular-products-swiper .swiper-slide-duplicate-next {
        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: visible !important;
}

.hero-swiper .swiper-slide {
    background: #fff;
    width: 60%;
    height: 400px;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
    transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1), filter 0.6s ease;
    position: relative;
    overflow: hidden;
    filter: blur(5px) grayscale(20%);
    transform: scale(0.9);
    opacity: 0.6;
}

.hero-swiper .swiper-slide-active {
    transform: scale(1.05) !important;
    opacity: 1 !important;
    filter: blur(0) grayscale(0%) !important;
    z-index: 10;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.2) !important;
}

.hero-swiper .swiper-slide:not(.swiper-slide-active):hover {
    opacity: 0.8;
    transform: scale(0.92);
}

.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 {
    background: linear-gradient(135deg, #FF8C00 0%, #FFD700 100%) !important;
    position: relative;
    overflow: hidden;
}

.offer-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: sweepingShine 3s infinite linear;
    pointer-events: none;
    z-index: 2;
}

@keyframes sweepingShine {
    0% { left: -150%; }
    100% { left: 150%; }
}

.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='56' height='100' viewBox='0 0 56 100'%3E%3Cpath d='M28 66L0 50L0 16L28 0L56 16L56 50L28 66L28 100' fill='none' stroke='%23fff' stroke-opacity='0.2' stroke-width='2'/%3E%3C/svg%3E");
    opacity: 0.6;
}

.offer-content {
    position: relative;
    z-index: 5;
    text-align: left;
    max-width: 55%;
    padding-left: 2rem;
}

.offer-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 800;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.offer-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.offer-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.discount-circle {
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 220px;
    height: 220px;
    background: white;
    color: #FF8C00;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: -10px -10px 40px rgba(0, 0, 0, 0.1);
    z-index: 4;
    transform: rotate(-10deg);
}

.discount-value {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
}

.discount-label {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #333;
}

.category-card-box {
    height: 130px !important;
}

@media (max-width: 991px) {
    .hero-swiper-wrapper { padding: 30px 0; }
    .hero-swiper .swiper-slide {
        width: 90% !important;
        height: auto !important;
        aspect-ratio: 3/2;
        border-radius: 20px;
    }
    .hero-img { height: 100%; object-fit: cover; }
    .popular-products-section { padding: 3rem 0; }
    .product-card-modern .card-img-top { height: 200px !important; }
    
    .product-card-modern {
        margin-bottom: 1.5rem;
        border: 1px solid rgba(255, 140, 0, 0.2) !important;
    }

    .offer-slide { padding: 1.2rem 1rem; }
    .offer-content { max-width: calc(100% - 75px); padding-left: 0.8rem; }
    .offer-badge { margin-bottom: 0.3rem; padding: 0.2rem 0.6rem; font-size: 0.6rem; }
    .offer-title { font-size: 1.15rem; margin-bottom: 0.15rem; }
    .offer-desc { font-size: 0.62rem; margin-bottom: 0.3rem; max-width: 85%; line-height: 1.25; }
    .discount-circle { width: 65px; height: 65px; right: 10px; bottom: 10px; }
    .discount-value { font-size: 1.4rem; }
    .discount-label { font-size: 0.48rem; }
}

@media (min-width: 992px) {
    .category-card-box { height: 150px !important; }
    .hero-swiper .swiper-slide {
        width: 60% !important;
        height: 400px !important;
        transform: scale(0.9);
        filter: blur(5px) grayscale(20%);
        opacity: 0.6;
    }
    .hero-swiper .swiper-slide-active {
        transform: scale(1.05) !important;
        opacity: 1 !important;
        filter: blur(0) grayscale(0%) !important;
    }
}

.product-card-modern {
    border-radius: 2rem !important;
    overflow: visible;
    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: 200px; 
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

@media (min-width: 992px) {
    .product-card-modern .card-img-top {
        height: 260px; /* Slightly increased for web view */
    }
}

.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; }
}

.bee-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.bee {
    position: absolute;
    width: 45px; height: 45px;
    z-index: 10;
}

.bee-1 { top: 15%; left: -100px; animation: flyRight 25s linear infinite; }
.bee-2 { top: 75%; right: -100px; animation: flyLeft 35s linear infinite 5s; }

.real-bee-svg { overflow: visible; width: 100%; height: 100%; }
.bee-hover-group { animation: beeHover 1s infinite alternate ease-in-out; transform-origin: 50px 50px; }
.wing-front { transform-origin: 62px 40px; animation: wingFlapFront 0.03s infinite alternate linear; }
.wing-back { transform-origin: 65px 38px; animation: wingFlapBack 0.03s infinite alternate linear; }

@keyframes wingFlapFront {
    0% { transform: rotate(0deg) scaleY(1) skewX(0deg); }
    100% { transform: rotate(-15deg) scaleY(0.2) skewX(-20deg); }
}

@keyframes wingFlapBack {
    0% { transform: rotate(0deg) scaleY(1) skewX(0deg); }
    100% { transform: rotate(15deg) scaleY(0.2) skewX(20deg); }
}

@keyframes beeHover {
    0% { transform: translateY(-4px) rotate(-3deg); }
    100% { transform: translateY(4px) rotate(3deg); }
}

@keyframes flyRight {
    0% { transform: translateX(0) translateY(0); left: -100px; }
    100% { transform: translateX(120vw) translateY(0); left: 100%; }
}

@keyframes flyLeft {
    0% { transform: translateX(0) translateY(0); right: -100px; }
    100% { transform: translateX(-120vw) translateY(0); right: 100%; }
}
