.bottom-nav {
    display: none;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9997;
        background: var(--sj-white, #fff);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
        padding: 6px 0 max(6px, env(safe-area-inset-bottom));
    }

    .bottom-nav__item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        color: var(--sj-blue, #1E3A5F);
        text-decoration: none;
        font-size: 0.65rem;
        padding: 4px 0;
    }

    .bottom-nav__item i {
        font-size: 1.15rem;
    }

    .bottom-nav__item.active {
        color: var(--sj-primary, #2b5a9e);
        font-weight: 600;
    }

    /* Leave room at the bottom of the page so content isn't hidden behind the bar,
       the WhatsApp float, or the back-to-top button (WhatsApp float's top edge
       reaches 190px from the viewport bottom on mobile -- see footer.php) */
    body {
        padding-bottom: 200px;
    }
}
