/* Nexis Controls - Instagram-style mobile bottom navigation */

.nexis-bottom-navigation {
    display: none;
}

@media (max-width: 767px) {

    /* Remove old Onsus bottom navigation */
    body .footer-shop {
        display: none !important;
    }

    .nexis-bottom-navigation {
        display: flex !important;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        min-height: 64px;
        padding: 7px 5px calc(7px + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
        align-items: center;
        justify-content: space-around;
        background: #ffffff;
        border-top: 1px solid #eeeeee;
        box-shadow: 0 -3px 16px rgba(16, 28, 48, .08);
        z-index: 100001;
    }

    .nexis-bottom-nav-item {
        flex: 1 1 25%;
        min-width: 0;
        min-height: 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #101c30;
        text-decoration: none !important;
        -webkit-tap-highlight-color: transparent;
    }

    .nexis-bottom-nav-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nexis-bottom-nav-icon svg {
        width: 23px;
        height: 23px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .nexis-bottom-nav-label {
        font-size: 11px;
        line-height: 1.2;
        font-weight: 500;
        color: inherit;
    }

    .nexis-bottom-nav-item.is-active {
        color: #ff3b3b;
    }

    .nexis-bottom-nav-item.is-active .nexis-bottom-nav-label {
        font-weight: 700;
    }

    .nexis-bottom-nav-item:focus-visible {
        outline: 2px solid #ff3b3b;
        outline-offset: -2px;
        border-radius: 8px;
    }

    /* Leave room for the fixed navigation */
    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Hide unwanted floating emoji notification */
.nexis-team-reaction {
    display: none !important;
}
