.popup-window-titlebar-text {
    font-size: 1.6rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-color);
    padding-left: 20px;
}
.popup-window-close-icon,
.popup-window-titlebar-close-icon {
    cursor: pointer;
}
.popup-content__image {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}
.popup-content__image img {
    aspect-ratio: 16/9;
    height: 150px;
}
.popup-content__name {
    font-size: 1.8rem;
    text-align: center;
}
.popup-content__form {
    margin-top: 2rem;
}
.popup-content__text {
    font-size: 2rem;
}
.swiper-button-prev.swiper-button-disabled, .swiper-button-next.swiper-button-disabled {
    opacity: 0 !important;
}
.swiper .swiper-button-next.swiper-button-lock, .swiper .swiper-button-prev.swiper-button-lock {
    display: none;
}
.csc-header {
    width: 100%;
}
.news-backlink-wrap {
    margin-top: 20px;
    clear: both;
}
.mb2 {
    margin-bottom: 20px !important;
}
.powermail_fieldwrap_input .powermail_checkbox + label {
    display: flex;
    align-items: center;
}

@media(min-width: 768px) {
    .popup-content {
        min-width: 45rem;
    }
    .popup-content__image img {
        height: 260px;
    }
}

/* Шапка: меню и кнопки форм в один уровень */
.navbar .top-menu-col1 {
    align-items: center;
}

.navbar .header-column-button {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    align-self: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.navbar .header-column-button .naturamed-site-form-popup-trigger-wrap {
    display: inline-flex;
    vertical-align: middle;
    margin: 0;
}

.navbar .header-column-button .naturamed-site-form-popup-trigger {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    vertical-align: middle;
}

.navbar .header-column-button > script {
    display: none;
}

/* Мобильная шапка: toggler слева, phone + кнопки справа */
.mobile-header .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
}

.mobile-header .header-mobile-nav-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 8px;
    padding: 8px 10px;
    box-sizing: border-box;
}

.mobile-header .navbar-toggler-right {
    flex: 0 0 auto;
    margin-right: auto;
}

.mobile-header .navbar-toggler {
    margin-right: 0 !important;
}

.mobile-header .header-mobile-nav-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex: 0 0 auto;
    max-width: calc(100% - 60px);
}

.mobile-header .header-mobile-nav-actions .header-phone-button {
    width: 100%;
    max-width: 230px;
}

.mobile-header .header-column-button.header-phone-button-mobile {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    max-width: 230px;
}

.mobile-header .header-phone-button-mobile .naturamed-site-form-popup-trigger-wrap {
    flex: 0 0 auto;
    max-width: 110px;
}

.mobile-header .header-phone-button-mobile .naturamed-site-form-popup-trigger,
.mobile-header .header-phone-button-mobile .btn {
    width: 110px;
    max-width: 110px;
    min-height: 44px;
    margin: 0 !important;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 0.75rem;
    line-height: 1.15;
}

.mobile-header .navbar > .collapse {
    width: 100%;
    flex-basis: 100%;
}

/* Версия для слабовидящих (кнопка в футере) */
.special-ver-button {
    display: inline-grid;
    grid-template-columns: 1fr 36px;
    grid-column-gap: 10px;
    align-content: center;
    align-items: center;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px;
    background: #fff;
    margin: 0 auto;
    text-decoration: none;
}

.special-ver-button:hover,
.special-ver-button:focus {
    color: #000;
    text-decoration: none;
}

@media (max-width: 768px) {
    .special-ver-button {
        margin: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}
