@media (max-width: 991px) {
    #mainNavbar .cart-container {
        display: none !important;
    }

    .nav-custom-link {
        white-space: normal;
        font-size: 14px;
    }

    .mega-menu {
        display: none;
        width: 100%;
        margin-top: 8px;
    }

    .mega-dropdown.open .mega-menu {
        display: block;
        padding: 16px;
        background: #fff;
        border-radius: 12px;
    }

    .mega-column {
        width: 100%;
        padding: 0;
    }

    .mega-column h6 {
        font-size: 13px;
        font-weight: 600;
        color: #6b7280;
        margin-bottom: 10px;
        text-transform: uppercase;
    }

    .mega-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mega-column li {
        font-size: 15px;
        padding: 8px 0;
        line-height: 1.4;
    }

    .mega-divider {
        display: block;
        height: 1px;
        background: #e5e7eb;
        margin: 12px 0;
    }

    .contact-pill {
        margin-top: 12px;
    }
    #cartContainerMobile {
        position: relative;
    }

    #cartContainerMobile .cart-dropdown {
        position: absolute;
        margin-top: 60%;
        right: auto;
        
        transform: translateX(-71%);

        width: 92vw;
        max-width: 360px;

        z-index: 9999;
    }
    
    .shop-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        height: 100vh;

        background: #fff;
        z-index: 9999;

        overflow-y: auto;

        transition: 0.3s ease;
        padding: 20px;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    }

    .shop-sidebar.active {
        left: 0;
    }

    .filter-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 9998;

        opacity: 0;
        visibility: hidden;
        transition: 0.2s;
    }

    .filter-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .filter-toggle-btn {
        border: none;
        background: #0d6efd;
        color: white;
        border-radius: 6px;
        padding: 6px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 5%;
    }

    .filter-toggle-btn ion-icon {
        font-size: 20px;
    }

    .products-sort{
        min-width: 130px;
    }
}

@media (min-width: 992px) {
  #cartContainerMobile {
    display: none !important;
  }
}