/* Visitor mobile drawer overrides loaded after legacy responsive styles. */
@media (max-width: 991.98px) {
    .menu-popup-area .sibf-menu-popup-header {
        position: relative !important;
        z-index: 5;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: clamp(10px, 3vw, 16px);
        width: 100%;
        margin: 0 0 clamp(24px, 5vh, 36px) !important;
    }

    .menu-popup-area .menu-logo {
        position: relative !important;
        inset: auto !important;
        display: inline-flex !important;
        align-items: center;
        justify-self: start;
        min-width: 0;
        max-width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1;
    }

    .menu-popup-area .menu-logo img {
        position: static !important;
        inset: auto !important;
        display: block !important;
        width: clamp(132px, 38vw, 190px) !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 68px !important;
        object-fit: contain;
    }

    .menu-popup-area .sibf-menu-popup-header-actions {
        position: static !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: flex-end;
        justify-self: end;
        gap: 8px;
        min-width: 0;
        max-width: min(56vw, 220px);
        margin: 0 !important;
        z-index: 2;
    }

    .menu-popup-area .sibf-menu-language-switch {
        position: relative !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 44px;
        min-height: 44px;
        padding: 9px 12px !important;
        border: 1px solid rgba(255, 255, 255, .38);
        border-radius: 999px;
        color: #fff !important;
        font-size: .86rem;
        font-weight: 800;
        line-height: 1;
        text-decoration: none;
        white-space: nowrap;
        z-index: 2;
    }

    .menu-popup-area .sibf-menu-language-switch span,
    .menu-popup-area .sibf-menu-language-switch span:last-child {
        position: static !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: nowrap !important;
    }

    .menu-popup-area .sibf-menu-language-switch img {
        display: block;
        width: 20px !important;
        height: 20px !important;
    }

    .menu-popup-area .sibf-menu-popup-header .sibf-menu-popup-header-actions .menu-popup-close-btn {
        position: relative !important;
        inset: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 48px !important;
        height: 48px !important;
        flex: 0 0 48px;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 999px;
        background: rgba(255, 255, 255, .16);
        color: #fff;
        font-size: 0;
        line-height: 1;
        z-index: 2;
    }

    .menu-popup-area .sibf-menu-popup-header .sibf-menu-popup-header-actions .menu-popup-close-btn:hover,
    .menu-popup-area .sibf-menu-popup-header .sibf-menu-popup-header-actions .menu-popup-close-btn:focus {
        background: rgba(255, 255, 255, .24);
        color: #fff;
    }

    .menu-popup-area .sibf-menu-popup-header .sibf-menu-popup-header-actions .menu-popup-close-btn i {
        display: none !important;
    }

    .menu-popup-area .sibf-menu-popup-header .sibf-menu-popup-header-actions .menu-popup-close-btn::before {
        content: "\00d7";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 30px;
        height: 30px;
        color: inherit;
        font-family: Arial, Helvetica, sans-serif;
        font-size: 34px;
        font-weight: 300;
        line-height: 28px;
        text-align: center;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 420px) {
    .menu-popup-area .menu-logo img {
        width: clamp(124px, 34vw, 154px) !important;
        max-height: 58px !important;
    }

    .menu-popup-area .sibf-menu-popup-header-actions {
        gap: 6px;
        max-width: 58vw;
    }

    .menu-popup-area .sibf-menu-language-switch {
        width: auto !important;
        padding-inline: 10px !important;
        font-size: .8rem;
    }
}

@media (max-width: 360px) {
    .menu-popup-area .menu-logo img {
        width: clamp(112px, 32vw, 132px) !important;
    }

    .menu-popup-area .sibf-menu-language-switch {
        padding-inline: 8px !important;
        font-size: .76rem;
    }

    .menu-popup-area .sibf-menu-popup-header .sibf-menu-popup-header-actions .menu-popup-close-btn {
        width: 44px !important;
        height: 44px !important;
        flex-basis: 44px;
    }
}
