.category-circle {
    width: 110px;
    height: 110px;
    background: #fff;
    border-radius: 50%;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.category-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.category-carousel .item:hover .category-circle {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(31, 162, 214, 0.3);
}

.category-carousel h6 {
    font-size: 0.95rem;
}

.category-carousel a:hover h6 {
    color: var(--bs-primary);
}

.trust-section .col {
    padding: 20px 10px;
}

.trust-section i {
    transition: transform 0.3s ease;
}

.trust-section .col:hover i {
    transform: scale(1.15);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.7rem;
    padding: 6px 8px;
    border-radius: 6px;
    z-index: 2;
}

.discount-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.product-img {
    height: 190px;
    object-fit: contain;
    padding: 10px;
}

.product-card {
    transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .15);
}

.product-card .btn {
    font-weight: 500;
}

.product-card .btn:hover {
    background-color: var(--bs-primary);
    color: #fff;
}

input:focus::-webkit-input-placeholder {
    -webkit-transform: translateY(-125%);
    font-size: 75%;
    opacity: 0.05
}

input.imitatefocus::-webkit-input-placeholder {
    -webkit-transform: translateY(-125%);
    opacity: 0.55
}

/* Full-width mega menu */
.mega-dropdown .mega-menu {
    left: 0;
    right: 0;
    top: 100%;
    display: none;
}

/* Hover open (desktop only) */
@media (min-width: 992px) {
    .mega-dropdown:hover > .dropdown-menu {
        display: block;
    }
}

/* Prevent click navigation */
.mega-dropdown > a {
    cursor: pointer;
}

/* Smooth hover feel */
.mega-dropdown .dropdown-menu {
    transition: all 0.2s ease-in-out;
}
@media (min-width: 992px) {
    .mega-dropdown:hover .dropdown-menu {
        animation: fadeIn 0.2s ease-in-out;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
.child-link {
    font-size: 13px;
    font-weight: 500;
    width: 100%;
}

.child-link:hover {
    background: #0d6efd;
    color: #fff !important;
}

/* Hover open (desktop only) */
@media (min-width: 992px) {
    .mega-dropdown:hover > .dropdown-menu {
        display: block;
    }
}
 /* Horizontal scroll styling */
    /* Vertical scroll styling */
    .subcat-nav::-webkit-scrollbar,
    .childcat-content::-webkit-scrollbar {
        width: 6px;
    }

    .subcat-nav::-webkit-scrollbar-track,
    .childcat-content::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }

    .subcat-nav::-webkit-scrollbar-thumb,
    .childcat-content::-webkit-scrollbar-thumb {
        background: #c1c1c1;
        border-radius: 10px;
    }

    .subcat-nav::-webkit-scrollbar-thumb:hover,
    .childcat-content::-webkit-scrollbar-thumb:hover {
        background: #a1a1a1;
    }

    /* Subcategory navigation styling */
    .subcat-item {
        transition: all 0.2s ease;
        border: 1px solid transparent;
    }

    .subcat-item:hover,
    .subcat-item.active {
        background-color: #fff;
        border-color: #dee2e6;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .subcat-item.active {
        background-color: #e7f1ff;
        border-color: #0d6efd;
    }

    /* Child category cards */
    .card {
        transition: transform 0.2s ease;
    }

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    }

    /* Mega menu improvements */
    .mega-dropdown:hover .dropdown-menu {
        display: block;
    }

    .mega-menu {
        left: 0;
        right: 0;
        margin-top: 0;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .mega-menu .row {
            flex-direction: column;
        }

        .col-md-3, .col-md-9 {
            max-width: 100%;
            flex: 0 0 100%;
        }

        .subcat-nav,
        .childcat-content {
            max-height: 300px !important;
        }
    }
/* Fixed height container */
.home-slider-container {
    height: 350px;          /* DESKTOP HEIGHT */
    overflow: hidden;
}

/* Slider items */
.slider-item {
    height: 100%;
}

.slider-img,
.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* 🔥 KEY */
}

/* Responsive heights */
@media (max-width: 991px) {
    .home-slider-container {
        height: 260px;
    }
}

@media (max-width: 576px) {
    .home-slider-container {
        height: 200px;
    }
}
