/* Modern Home Page Styles */

/* =====================================================
   5 COLUMN GRID SUPPORT
   ===================================================== */
.col-lg-2-4 {
    flex: 0 0 auto;
    width: 20%;
}

@media (max-width: 991.98px) {
    .col-lg-2-4 {
        width: 33.333333%;
    }
}

@media (max-width: 767.98px) {
    .col-lg-2-4 {
        width: 50%;
    }
}

/* =====================================================
   RUPEE SYMBOL FIX
   ===================================================== */
.rupee-symbol,
.price-current,
.price-old {
    font-family: 'Noto Sans', 'Segoe UI', Arial, sans-serif;
}

/* =====================================================
   CATEGORY CARDS
   ===================================================== */
.category-card {
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-image-wrapper {
    position: relative;
    display: inline-block;
}

.category-image-wrapper img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.category-card:hover .category-image-wrapper img {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.category-title {
    color: #333;
    transition: color 0.3s ease;
}

.category-card:hover .category-title {
    color: var(--bs-primary);
}

/* =====================================================
   PRODUCT CARDS
   ===================================================== */
.product-card {
    background: white;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15) !important;
}

.product-image-wrapper {
    overflow: hidden;
    background: #f8f9fa;
}

.product-image {
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.wishlist-btn {
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn:hover {
    background: var(--bs-primary) !important;
    color: white !important;
}

.product-title {
    color: #333;
    line-height: 1.4;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =====================================================
   FEATURE CARDS
   ===================================================== */
.feature-card {
    background: white;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--bs-primary) !important;
    transform: translateY(-5px);
}

.feature-icon {
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* =====================================================
   PROMO BANNERS
   ===================================================== */
.promo-banner {
    transition: all 0.3s ease;
    cursor: pointer;
}

.promo-banner:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2) !important;
}

/* =====================================================
   SWIPER NAVIGATION
   ===================================================== */
.swiper-prev,
.swiper-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.swiper-prev:hover,
.swiper-next:hover {
    transform: scale(1.1);
}

/* =====================================================
   FOOTER ENHANCEMENTS
   ===================================================== */
.footer-logo {
    transition: opacity 0.3s ease;
}

.footer-logo:hover {
    opacity: 0.8;
}

footer .social-links a {
    transition: all 0.3s ease;
}

footer .social-links a:hover {
    background: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
    transform: translateY(-3px);
}

/* =====================================================
   RESPONSIVE ADJUSTMENTS
   ===================================================== */
@media (max-width: 768px) {
    .category-image-wrapper img {
        width: 100px;
        height: 100px;
    }

    .product-image {
        height: 200px;
    }

    .promo-banner {
        min-height: 200px !important;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Lift Effect */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Rating Stars */
.rating svg {
    transition: transform 0.2s ease;
}

.rating:hover svg {
    transform: scale(1.1);
}

/* =====================================================
   NEWSLETTER SECTION
   ===================================================== */
.bg-primary input.form-control {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.bg-primary input.form-control:focus {
    border-color: white;
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
}

/* =====================================================
   QUICK VIEW MODAL CONTAINER
   ===================================================== */
#quickViewModalContainer .modal-content {
    border-radius: 12px;
    overflow: hidden;
}

#quickViewModalContainer .modal-header {
    border-bottom: 1px solid #eee;
    padding: 12px 20px;
}

#quickViewModalContainer .modal-body {
    padding: 20px;
}

/* =====================================================
   TOAST CONTAINER
   ===================================================== */
#toast-container {
    z-index: 99999 !important;
}

#toast-container .toast {
    min-width: 250px;
    border-radius: 8px;
}