/* Dark Mode */
body.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.dark-mode .navbar {
    background-color: #222 !important;
}

.dark-mode .footer {
    background-color: #000 !important;
}

.dark-mode .btn-outline-dark {
    border-color: white;
    color: white;
}

.dark-mode .btn-outline-dark:hover {
    background-color: white;
    color: black;
}

/* Navbar Enhancements */
.navbar {
    transition: all 0.3s ease-in-out;
}

/* Cart Badge */
.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    font-size: 12px;
    padding: 5px 7px;
    border-radius: 50%;
}

/* Search Bar */
.form-control {
    border-radius: 20px;
    padding: 5px 10px;
}

.btn-outline-dark {
    border-radius: 20px;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
}

.rounded-lg {
    border-radius: 0.5rem;
}
.w-16 {
    width: 4rem;
}
.w-50 {
    width: 90rem;
}

.h-80 {
    /* height: 60rem; */
}
.mr-4 {
    margin-right: 1rem;
}
img, video {
    max-width: 100%;
    height: auto;
}
.object-cover {
    object-fit: cover;
}


 /* Product Card Styling */
.featured-products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/*.product-card {
    border: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}*/
.product-card {
    flex: 1 1 300px; /* Each card gets equal width */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    height: 100%; /* Ensures uniform height */
}

.product-card:hover {
    transform: scale(1.02);
}



/* Quick View Button Styling */
.quick-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    border-radius: 5px;
}

.product-card:hover .quick-view {
        opacity: 1;
        /*transform: translate(-50%, -50%) scale(1.1);*/
        color:white;
        font-size:15px;
    }
    
   
    .product-image img {
        width: 100%;
        height: 200px; /* Fixed image height */
        object-fit: cover; /* Ensures images fit without distortion */
    }
    .product-img {
        height: 250px;
        object-fit: cover;
        width: 100%;
    }
    .product-info {
        flex-grow: 1; /* Makes all product descriptions take the same space */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .mrp {
        text-decoration: line-through;
        color: red;
        font-size: 14px;
    }
    
    .discounted-price {
        color: green;
        font-size: 18px;
        font-weight: bold;
    }