@media (max-width: 991.98px) {
    .navbar-collapse {
        background: #0f0f13;
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .nav-link {
        border-bottom: none;
        padding: 8px 0 !important;
    }

    .nav-link:hover, .nav-link.active {
        border-bottom: none;
        padding-left: 10px !important;
    }

    .hero-section {
        padding: 60px 0 80px;
        text-align: center;
    }

    .hero-section img {
        margin-top: 40px;
        max-width: 250px;
    }
}

@media (max-width: 767.98px) {
    /* Mobile Bottom Navigation Dock */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background: #111116;
        border-top: 2px solid var(--accent-gold);
        display: flex;
        justify-content: space-around;
        align-items: center;
        z-index: 1000;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.25);
    }

    .mobile-nav-item {
        color: #888;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 0.7rem;
        font-weight: 500;
        transition: var(--transition);
        position: relative;
    }

    .mobile-nav-item i {
        font-size: 1.3rem;
        margin-bottom: 2px;
    }

    .mobile-nav-item.active, .mobile-nav-item:hover {
        color: var(--accent-gold);
    }

    .mobile-bottom-nav .cart-badge {
        top: -3px;
        right: 8px;
    }

    /* Footer Padding Adjustment for Bottom Nav */
    .footer-wrap {
        padding-bottom: 85px;
    }

    #backToTop {
        bottom: 85px;
    }

    .custom-toast-container {
        bottom: 85px;
    }

    /* Product listing modifications */
    .sidebar-filter {
        position: fixed;
        top: 0;
        left: -100%;
        width: 290px;
        height: 100%;
        background: white;
        z-index: 1045;
        overflow-y: auto;
        padding: 30px 20px;
        box-shadow: 5px 0 25px rgba(0,0,0,0.2);
        transition: var(--transition);
    }
    .sidebar-filter.open {
        left: 0;
    }

    .filter-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
    }
    .filter-overlay.show {
        display: block;
    }
}

@media (max-width: 575.98px) {
    .top-header {
        font-size: 0.75rem;
    }
    .top-header .text-end {
        text-align: center !important;
        margin-top: 5px;
    }
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .timer-box {
        min-width: 60px;
        padding: 8px 10px;
    }
    .timer-val {
        font-size: 1.4rem;
    }

    /* Responsive Grid for mobile card layouts */
    .col-6-mobile {
        width: 50% !important;
    }
}