/* ==================================
   BOTTOM NAVIGATION
================================== */

/* Hide navigation on desktop */
.bottom-navigation {
    display: none !important;
}

/* Mobile and tablet */
@media screen and (max-width: 1023px) {

    .bottom-navigation {
        display: block !important;
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        background: transparent !important;
        z-index: 9999;
    }

    /* Reserve space only on pages containing navigation */
    body:has(.bottom-navigation) {
        padding-bottom: calc(
            100px + env(safe-area-inset-bottom, 0px)
        ) !important;
    }

}
