/* Кнопка становится видимой после перемещения в шапку. */
.nmo-bvi-toggle { display: none; }

.nmo-bvi-toggle.nmo-bvi-ready {
    position: static;
    inset: auto;
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    max-width: none;
    margin: 0;
    padding: 10px;
    box-sizing: border-box;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #d92752;
    box-shadow: none;
    cursor: pointer;
    vertical-align: middle;
    line-height: 1;
}

.nmo-bvi-toggle.nmo-bvi-ready:hover {
    color: #b51f44;
    background: #fbeaf0;
}

.nmo-bvi-toggle.nmo-bvi-ready:focus-visible {
    outline: 2px solid #d92752;
    outline-offset: 3px;
}

.nmo-bvi-toggle svg {
    display: block;
    flex: none;
    width: 24px;
    height: 24px;
    pointer-events: none;
}

.nmo-bvi-header .nmo-bvi-actions {
    align-items: center;
    gap: 12px;
}

.nmo-bvi-header .buttonsScroll.nmo-bvi-actions { flex-shrink: 0; }

/* На страницах с отдельным шаблоном — компактный значок вверху. */
.nmo-bvi-toggle.nmo-bvi-fallback {
    position: fixed;
    top: 16px;
    right: 16px;
    bottom: auto;
    left: auto;
    z-index: 1000;
    background: #fff;
}

@media (max-width: 575px) {
    .nmo-bvi-header.header5 .mainMenuWrap .logoScroll {
        flex: 1 1 auto;
        width: clamp(105px, 32vw, 160px);
        min-width: 0;
        max-width: 160px;
        margin-right: 8px;
        background-size: contain;
        background-position: left center;
    }
    .nmo-bvi-header .buttonsScroll.nmo-bvi-actions {
        gap: 8px;
        margin-left: 0;
    }
}
