/* Custom Styles */

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f1f2f6; /* Flipkart-like background */
}

/* Notification Modal Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.95); }
}

.modal-fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

.modal-fade-out {
    animation: fadeOut 0.3s ease-in forwards;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    z-index: 100;
    transition: transform 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Product Card Styling */
.product-card {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.product-card img {
    width: 6rem;
    height: 6rem;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border-radius: 0.375rem;
}

.product-card h3 {
    font-weight: 600;
    color: #374151; /* text-gray-700 */
    font-size: 0.875rem; /* text-sm */
}

/* Swiper Slider Customization */
.swiper-pagination-bullet-active {
    background-color: #ffffff !important;
}

/* Custom background color for the navigation bar */
.bg-custom-orange {
    background-color: #ff9f00; /* A nice yellowish-orange, similar to Flipkart */
}

.swiper-slide img {
    object-fit: contain; /* This is the fix */
    object-position: center; /* This ensures it's centered */
}