/**
 * Mobile bottom tab bar (Home / Order / Tiffin / Cart / Account).
 * Additive alongside the existing hamburger drawer — not a replacement.
 * Hidden on desktop/tablet; only shown at the site's mobile breakpoint
 * (780px, matching everything else in mobile-nav.css).
 */

.mv-bottom-nav {
    display: none;
}

@media (max-width: 780px) {
    .mv-bottom-nav {
        display: flex;
        align-items: stretch;
        justify-content: space-between;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        background: #7a0000;
        border-top: 2px solid #d4a017;
        /* Safe-area padding for iPhones with a home indicator bar. */
        padding-bottom: env(safe-area-inset-bottom, 0);
    }

    .mv-bottom-nav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 8px 4px 6px;
        color: rgba(255, 255, 255, 0.65);
        text-decoration: none;
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-transform: uppercase;
    }

    .mv-bottom-nav__icon-wrap {
        position: relative;
        display: inline-flex;
    }

    .mv-bottom-nav__badge {
        position: absolute;
        top: -4px;
        right: -8px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: #d4a017;
        color: #2a1a00;
        font-size: 10px;
        font-weight: 800;
        line-height: 16px;
        text-align: center;
        box-shadow: 0 0 0 2px #7a0000;
    }

    .mv-bottom-nav__item.is-active {
        color: #ffffff;
    }

    .mv-bottom-nav__item.is-active svg {
        filter: drop-shadow(0 0 0.5px currentColor);
    }

    /* Reserve space at the bottom of the page so the fixed bar never
     * overlaps the last bit of content — matches the bar's own height
     * plus a little breathing room. */
    body.mv-app-body,
    body.mv-product-chrome {
        padding-bottom: 64px;
    }

    /* The Order Now page's floating black cart bar is now redundant —
     * the bottom tab bar's Cart tab covers the same purpose, and having
     * both stacked at the bottom of the screen is just clutter. */
    .mv-mobile-cart-bar {
        display: none !important;
    }
}