.wh-mobile-nav {
    display: none;
}

@media (max-width: 991.98px) {
    .header-new .navbar-brand.logo-small {
        display: block;
        flex: 0 0 auto;
        width: 152px;
        min-width: 152px;
        padding: 0 0 0 32px;
        margin: 0;
        text-align: left;
    }

    .header-new .navbar-brand.logo-small img {
        display: block;
        width: 116px;
        max-width: none;
        height: auto;
        max-height: 30px;
    }

    body.wh-has-mobile-nav {
        padding-bottom: calc(76px + env(safe-area-inset-bottom));
    }

    /* Keep the consent controls clear of the fixed mobile navigation. */
    .cookie-consent {
        bottom: calc(76px + env(safe-area-inset-bottom) + 12px);
        z-index: 1060;
    }

    .wh-mobile-nav {
        align-items: stretch;
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #e6ece9;
        bottom: 0;
        box-shadow: 0 -8px 24px rgba(16, 35, 59, 0.09);
        display: grid;
        grid-template-columns: repeat(var(--wh-mobile-items, 5), minmax(0, 1fr));
        inset-inline: 0;
        min-height: calc(68px + env(safe-area-inset-bottom));
        padding: 6px max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        position: fixed;
        width: 100%;
        /* Offcanvas panels (1045) and their backdrops (1040) must cover
           navigation so panel actions remain visible and clickable. */
        z-index: 1030;
    }

    .wh-mobile-nav__item {
        align-items: center;
        border-radius: 10px;
        color: #66736e;
        display: flex;
        flex-direction: column;
        font-size: 0.6875rem;
        font-weight: 700;
        gap: 2px;
        justify-content: center;
        line-height: 1.15;
        min-height: 52px;
        min-width: 0;
        padding: 4px 2px;
        text-align: center;
        text-decoration: none;
    }

    .wh-mobile-nav__item i {
        font-size: 1.35rem;
    }

    .wh-mobile-nav__item span {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wh-mobile-nav__item:hover,
    .wh-mobile-nav__item.is-active,
    .wh-mobile-nav__item[aria-current="page"] {
        background: #e8f7f1;
        color: #087557;
    }

    .wh-mobile-nav__item:focus-visible {
        outline: 2px solid #087557;
        outline-offset: -2px;
    }
}
