/* Govazdner Mobile Header & Menu v1.0.1 */
@media (max-width: 767px) {
    /* Hide native trigger ONLY after the replacement successfully mounts. */
    body.gv-mhm-ready .listivo-menu-v2__container > lst-open-mobile-menu.listivo-menu-v2__mobile-button {
        display: none !important;
    }

    /* The new button is inserted into the real Listivo header flex layout. */
    #gv-mhm-toggle {
        display: none;
        box-sizing: border-box;
        flex: 0 0 43px;
        width: 43px;
        height: 43px;
        margin: 0;
        padding: 0;
        align-items: center;
        justify-content: center;
        border: 1px solid #dfe6ef;
        border-radius: 50%;
        background: #fff;
        color: #263849;
        box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    body.gv-mhm-ready #gv-mhm-toggle {
        display: flex !important;
    }
    #gv-mhm-toggle svg { width: 22px; height: 22px; }

    #gv-mhm-root { font-family: inherit; }
    #gv-mhm-root [hidden] { display: none !important; }
    #gv-mhm-shade {
        position: fixed;
        inset: 0;
        background: rgba(10, 28, 50, .59);
        z-index: 2147482000;
    }
    #gv-mhm-drawer {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(90vw, 390px);
        max-width: 100%;
        box-sizing: border-box;
        z-index: 2147482001;
        background: #fff;
        transform: translateX(-105%);
        transition: transform .22s ease;
        box-shadow: 2px 0 18px rgba(0,0,0,.13);
        display: flex;
        flex-direction: column;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
        visibility: hidden;
        pointer-events: none;
    }
    #gv-mhm-root.gv-open #gv-mhm-drawer {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    body.gv-mhm-lock { overflow: hidden !important; }

    .gv-mhm-head {
        flex: 0 0 62px;
        min-height: 62px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 8px 16px;
        box-sizing: border-box;
        border-bottom: 1px solid #edf0f4;
    }
    .gv-mhm-head strong { flex: 1; min-width: 0; font-size: 19px; }
    .gv-mhm-head button {
        border: 0;
        background: #f4f6f9;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
        font-size: 24px;
        color: #263849;
        cursor: pointer;
    }
    #gv-mhm-scroll {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        padding: 16px 18px 95px;
        flex: 1;
    }
    .gv-mhm-label { font-size: 13px; color: #768394; margin: 8px 0; }
    .gv-mhm-pills { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
    .gv-mhm-pills a, .gv-mhm-pills button {
        border: 1px solid #e1e7ef;
        background: #f7f8fb;
        border-radius: 9px;
        padding: 9px 11px;
        color: #24364b;
        text-decoration: none;
        font-size: 13px;
        cursor: pointer;
    }
    .gv-mhm-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
        min-height: 48px;
        padding: 12px 4px;
        box-sizing: border-box;
        background: none;
        border: 0;
        border-bottom: 1px solid #f0f2f5;
        text-align: start;
        color: #24364b;
        font: inherit;
        font-size: 16px;
        text-decoration: none;
        cursor: pointer;
    }
    .gv-mhm-item span:first-child { flex: 1; }
    .gv-mhm-item--all { color: #246fe7; font-weight: 600; }
    .gv-mhm-arrow { color: #a1aab5; font-size: 22px; line-height: 1; }
    .gv-mhm-empty { font-size: 14px; color: #768394; }
    .gv-mhm-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
    .gv-mhm-social a { color: #48658b; text-decoration: none; font-size: 13px; }

    html[dir="rtl"] #gv-mhm-drawer {
        left: auto;
        right: 0;
        transform: translateX(105%);
    }
    html[dir="rtl"] #gv-mhm-root.gv-open #gv-mhm-drawer { transform: translateX(0); }

    /* Optional manual top inset: affects header, not a floating button. */
    @supports (padding-top: var(--gv-mhm-top)) {
        body.gv-mhm-ready .listivo-menu-v2 {
            box-sizing: border-box;
            padding-top: var(--gv-mhm-top, 0px);
            height: calc(var(--e-global-size-1, 80px) + var(--gv-mhm-top, 0px));
        }
    }
}
@media (min-width: 768px) {
    #gv-mhm-root { display: none !important; }
    #gv-mhm-toggle { display: none !important; }
}
