/* Fixes for mobile UI and hero slider */

/* Fix Product Grid on Mobile - Our Latest Aradhya925 Items */
@media (max-width: 768px) {

    /* Ensure proper spacing for product section */

    .bg-gray-100 {
        padding-bottom: 3rem !important;
    }

    /* Ensure product grid works correctly */
    .product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 0.75rem !important;
        padding: 0 !important;
        width: 100%;
    }

    /* Fix food cards */
    .food-card {
        flex: unset !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        min-height: 280px;
    }

    /* Ensure images display correctly */
    .food-card .img-container {
        width: 100%;
        height: auto;
        min-height: 180px;
    }

    .food-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Fix Swiper sliders in cards */
    .product-card-swiper {
        width: 100%;
        height: 100%;
    }

    .product-card-swiper .swiper-wrapper {
        height: 100%;
    }

    .product-card-swiper .swiper-slide {
        height: 100%;
    }

    .mobile-menu-btn {
        display: none !important;
    }
}

/* Hero Slider Redesign */
.hero {
    height: auto !important;
    min-height: unset !important;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    padding: 0;
}

.hero-swiper {
    width: 100%;
    height: auto;
}

.hero-slide {
    width: 100%;
    height: auto;
}

.hero-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Desktop: Full banner height */
@media (min-width: 768px) {
    .hero-slide {
        height: 500px;
    }

    .hero-slide img {
        height: 500px;
        width: 100%;
        object-fit: cover;
    }
}

@media (min-width: 1024px) {
    .hero-slide {
        height: 600px;
    }

    .hero-slide img {
        height: 600px;
    }
}

/* Mobile: Compact height */
@media (max-width: 767px) {
    .hero-slide {
        height: auto;
        min-height: 250px;
    }

    .hero-slide img {
        height: auto;
        min-height: 250px;
        object-fit: cover;
    }
}

/* Swiper pagination styling */
.hero-swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: 0.7;
    width: 8px;
    height: 8px;
}

.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
    width: 24px;
    border-radius: 4px;
}