/* Premium mobile bottom bar and category drawer */
@media (max-width: 991.98px) {
    .footer_nav {
        display: block;
        left: 12px;
        right: 12px;
        width: auto;
        bottom: calc(10px + env(safe-area-inset-bottom));
        padding: 8px 4px 7px;
        background: rgba(255, 255, 255, 0.96);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        border: 1px solid #e6e6e6;
        border-radius: 22px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
        z-index: 1000;
    }

    .footer_nav ul {
        align-items: end;
    }

    .footer_nav ul li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        color: #1a1a1a;
        text-decoration: none;
        font-size: 11px;
        font-weight: 650;
        line-height: 1.1;
    }

    .footer_nav ul li i {
        font-size: 18px;
        color: #1a1a1a;
    }

    .footer_nav ul li a .fa-whatsapp {
        color: #1faf38;
    }

    .footer_nav .mobile_home a span:first-child {
        width: 48px;
        height: 48px;
        margin: -26px auto 2px;
        border-radius: 50%;
        background: #1a1a1a;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
    }

    .footer_nav .mobile_home a span:first-child i {
        color: #fff;
        font-size: 18px;
    }

    .footer_nav .mobilecart-qty {
        display: inline-flex;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        margin-left: 2px;
        border-radius: 99px;
        background: #1a1a1a;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        align-items: center;
        justify-content: center;
        line-height: 16px;
    }

    .footer-bottom {
        padding-bottom: 108px;
    }
}

.mobile-menu {
    width: min(86vw, 320px);
    background: #f6f6f7;
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.16);
    border-radius: 0 20px 20px 0;
}

.mobile-menu::-webkit-scrollbar-thumb {
    background-color: #1a1a1a;
}

.mobile-menu-logo {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
    margin: 0 0 8px;
    padding: 14px 16px;
    border-bottom: 0;
    border-radius: 0 20px 0 0;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f3f3;
    justify-content: center;
}

.mobile-menu-close i {
    font-size: 16px;
    color: #1a1a1a;
}

.side_cat_img {
    width: 38px;
    height: 38px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 10px;
    background: #fff;
}

.first-nav .parent-category {
    line-height: 1.3;
}

.first-nav .parent-category .menu-category-name {
    display: flex;
    align-items: center;
    margin: 8px 12px 0;
    padding: 8px 42px 8px 8px;
    border-radius: 14px;
    background: #fff;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 650;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.mobile-menu span.menu-category-toggle,
span.menu-subcategory-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f3f3;
    color: #1a1a1a;
}

.mobile-menu span.menu-category-toggle {
    top: 16px;
    right: 18px;
}

.second-nav {
    margin: 4px 12px 8px;
    padding: 4px 0;
    border-radius: 14px;
    background: #fff;
}

.parent-subcategory .menu-subcategory-name {
    padding: 10px 40px 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #202223;
}

ul.third-nav {
    background: transparent;
}

.menu-childcategory-name {
    padding: 8px 16px 8px 28px;
    font-size: 13px;
    color: #4a4a4a;
}

li.parent-category.active,
li.parent-subcategory.active {
    background: transparent;
}
