.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.visit-popup__club.is-selected {
    background-color: #29385d;
}
/*
.visit-popup__in {
    min-height: 60vh;
}

.visit-popup__scroll {
    flex: 1;
}
*/

/* ============================================================
   booking-crm.css — только уникальное (относительно main.css)
   ============================================================ */

/* --- .visit-popup (полностью отсутствует в main.css) --- */
.visit-popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    visibility: hidden;
    pointer-events: none;
    transition: 0s visibility 0.4s;
}

.visit-popup:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 3, 22, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: 0.4s opacity;
}

.visit-popup.is-opened {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

.visit-popup.is-opened:before {
    opacity: 1;
}

.visit-popup.is-opened .visit-popup__in {
    transform: translateY(0);
    opacity: 1;
}

.visit-popup__in {
    position: relative;
    width: 100%;
    max-height: 100%;
    max-height: 100dvh;
    display: flex;
    flex-direction: column;
    background: #090d28;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: 0.4s transform, 0.4s opacity;
}

.visit-popup__scroll {
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 56px 20px 32px;
}

.visit-popup__scroll::-webkit-scrollbar {
    width: 2px;
}

.visit-popup__scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

.visit-popup__close {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 2;
    width: 48px;
    height: 48px;
    display: flex;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
}

.visit-popup__close .svg-icon {
    margin: auto;
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.visit-popup__screen {
    display: none;
    flex-direction: column;
    gap: 24px;
    margin: 0;
}

.visit-popup__screen.is-active {
    display: flex;
    animation: visitPopupFade 0.3s ease;
}

.visit-popup__screen--center {
    text-align: center;
    align-items: center;
}

.visit-popup__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visit-popup__step {
    margin: 0;
    font-weight: 100;
    font-size: 14px;
    color: #d1511b;
}

.visit-popup__title {
    margin: 0;
    outline: none;
    font-weight: 300;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
    text-align: left;
    color: #fff;
}

.visit-popup__title--md {
    font-size: 26px;
    line-height: 1.15;
}

.visit-popup__title--lg {
    text-align: center;
}

.visit-popup__title-lead {
    display: block;
    margin-bottom: 1.15em;
}

.visit-popup:not(.is-old) .visit-popup__for-old,
.visit-popup.is-old .visit-popup__for-new {
    display: none !important;
}

.visit-popup__lead {
    margin: 0;
    font-weight: 200;
    font-size: 16px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
}

.visit-popup__back {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: -8px;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-weight: 200;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.visit-popup__back:hover {
    color: #fff;
}

.visit-popup__question {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.visit-popup__label {
    padding: 0;
    margin-bottom: 16px;
    font-weight: 200;
    font-size: 18px;
}

.visit-popup__radio {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.visit-popup__switch {
    position: relative;
    align-self: flex-start;
    flex-wrap: nowrap;
}

.visit-popup__switch label {
    cursor: pointer;
    font-size: 15px;
    font-weight: 300;
    white-space: nowrap;
    transition: 0.3s opacity;
}

.visit-popup__switch .toggle-switch__control {
    flex: none;
    margin: 0 12px;
}

.visit-popup__switch .visit-popup__radio:focus-visible+label {
    outline: 1px solid #def;
    outline-offset: 4px;
    border-radius: 4px;
}

.visit-popup__switch.is-empty .toggle-switch__control:before {
    right: calc(50% - 7px);
    opacity: 0.35;
}

.visit-popup__switch.is-left label:last-of-type {
    opacity: 0.4;
}

.visit-popup__switch.is-right label:first-of-type {
    opacity: 0.4;
}

.visit-popup__switch.is-right .toggle-switch__control:before {
    right: 3px;
}

.visit-popup__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    padding: 0 32px;
    border: 0;
    border-radius: 46px;
    background: #def;
    color: #090d28;
    font: inherit;
    font-weight: 300;
    font-size: 16px;
    cursor: pointer;
    transition: 0.25s background, 0.25s color;
}

.visit-popup__btn:hover {
    background: #fff;
}

.visit-popup__btn.is-disabled {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.35);
    cursor: default;
}

.visit-popup__btn.is-loading {
    pointer-events: none;
}

.visit-popup__btn.is-loading .visit-popup__btn-text {
    opacity: 0;
}

.visit-popup__btn.is-loading .visit-popup__btn-loader {
    display: block;
}

.visit-popup__btn-loader {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 2px solid #090d28;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spinner 1s infinite linear;
}

.visit-popup__offer {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.visit-popup__offer-text {
    margin: 0;
    font-weight: 200;
    font-size: 18px;
    line-height: 1.35;
}

.visit-popup__offer-text b {
    font-weight: 400;
}

.visit-popup__note {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 200;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.visit-popup__note svg {
    flex: none;
    color: #def;
}

.visit-popup__note--accent {
    border-color: #d1511b;
    color: #fff;
}

.visit-popup__note--accent svg {
    color: #d1511b;
}

.visit-popup__fields {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.visit-popup__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.visit-popup__field-label {
    font-weight: 100;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.visit-popup__input {
    width: 100%;
    height: 56px;
    padding: 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 46px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font: inherit;
    font-weight: 300;
    font-size: 18px;
    letter-spacing: 0;
    outline: none;
    transition: 0.25s border-color;
}

.visit-popup__input::-moz-placeholder {
    font-weight: 200;
    color: rgba(255, 255, 255, 0.35);
}

.visit-popup__input::placeholder {
    font-weight: 200;
    color: rgba(255, 255, 255, 0.35);
}

.visit-popup__input:focus,
.visit-popup__input.is-filled {
    border-color: rgba(255, 255, 255, 0.6);
}

.visit-popup__error {
    display: none;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-weight: 200;
    font-size: 13px;
    color: #d1511b;
}

.visit-popup__error svg {
    flex: none;
}

.visit-popup__field.is-invalid .visit-popup__input {
    border-color: #d1511b;
}

.visit-popup__field.is-invalid .visit-popup__error {
    display: flex;
}

.visit-popup__consent {
    display: flex;
    gap: 12px;
    cursor: pointer;
    font-weight: 200;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
}

.visit-popup__consent a {
    color: #def;
    text-decoration: underline;
}

.visit-popup__consent a:hover {
    text-decoration: none;
}

.visit-popup__checkbox {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.visit-popup__checkbox-box {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border: 1.2px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    color: #090d28;
    transition: 0.2s background, 0.2s border-color;
}

.visit-popup__checkbox-box svg {
    opacity: 0;
    transition: 0.2s opacity;
}

.visit-popup__checkbox:checked+.visit-popup__checkbox-box {
    background: #def;
    border-color: #def;
}

.visit-popup__checkbox:checked+.visit-popup__checkbox-box svg {
    opacity: 1;
}

.visit-popup__checkbox:focus-visible+.visit-popup__checkbox-box {
    outline: 1px solid #def;
    outline-offset: 3px;
}

.visit-popup__consent.is-invalid .visit-popup__checkbox-box {
    border-color: #d1511b;
}

.visit-popup__form-error {
    display: none;
    margin: 0;
    font-weight: 200;
    font-size: 14px;
    color: #d1511b;
}

.visit-popup__form-error.is-visible {
    display: block;
}

.visit-popup__success-icon {
    width: 48px;
    height: 48px;
}

.visit-popup__options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visit-popup__option {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 56px;
    padding: 0 20px 0 24px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 46px;
    background: none;
    color: #fff;
    font: inherit;
    font-weight: 300;
    font-size: 15px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.visit-popup__option:hover {
    border-color: #def;
    background: rgba(221, 238, 255, 0.06);
    color: #fff;
}

.visit-popup__option:hover .visit-popup__option-arrow {
    transform: translateX(3px);
}

.visit-popup__option-icon {
    flex: none;
    display: flex;
    width: 24px;
    justify-content: center;
}

.visit-popup__option-text {
    flex: 1;
}

.visit-popup__option-arrow {
    flex: none;
    transition: 0.25s transform;
}

.visit-popup__clubs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visit-popup__club {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 16px 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 24px;
    color: #fff;
    text-decoration: none;
}

.visit-popup__club:hover {
    border-color: #def;
}

.visit-popup__club:hover .visit-popup__club-call {
    background: #fff;
}

.visit-popup__club-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.visit-popup__club-city {
    font-weight: 100;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.visit-popup__club-address {
    font-weight: 300;
    font-size: 16px;
    line-height: 1.25;
}

.visit-popup__club-phone {
    font-weight: 200;
    font-size: 14px;
    color: #def;
}

.visit-popup__club-call {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #def;
    color: #090d28;
    transition: 0.25s background;
}

.visit-popup__group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.visit-popup__caption {
    margin: 0;
    font-weight: 100;
    font-size: 16px;
}

.visit-popup__stores,
.visit-popup__socials {
    width: 100%;
    display: flex;
    gap: 10px;
}

.visit-popup__stores>*,
.visit-popup__socials>* {
    flex: 1 1 0;
}

.visit-popup__store {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 52px;
    border-radius: 12px;
    background: #fff;
}

.visit-popup__store img {
    display: block;
    height: 44px;
    width: auto;
}

.visit-popup__qr {
    display: none;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    justify-items: center;
}

.visit-popup__qr img {
    display: block;
    width: 150px;
    height: auto;
}

.visit-popup__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 12px;
    border: 1px solid #ccc;
    border-radius: 46px;
    color: #fff;
    font-weight: 300;
    font-size: 13px;
    text-decoration: none;
    line-height: 1.2;
}

.visit-popup__social svg {
    flex: none;
}

.visit-popup__social:hover {
    border-color: #def;
    background: rgba(221, 238, 255, 0.06);
}

.visit-popup__phone {
    font-weight: 300;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
}

.visit-popup__phone:hover {
    color: #def;
}

@keyframes visitPopupFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Медиа-запросы, специфичные для visit-popup --- */
@media (min-width: 768px) {
    .visit-popup {
        align-items: center;
        padding: 24px;
    }

    .visit-popup__in {
        width: 584px;
        max-height: calc(100vh - 48px);
        border-radius: 0;
        transform: translateY(-40px);
        opacity: 0;
    }

    .visit-popup__scroll {
        padding: 72px 72px 64px;
    }

    .visit-popup__close {
        right: 16px;
        top: 13px;
        width: 56px;
        height: 56px;
    }

    .visit-popup__close .svg-icon {
        width: 23px;
        height: 23px;
    }

    .visit-popup__screen {
        gap: 32px;
    }

    .visit-popup__head {
        gap: 12px;
    }

    .visit-popup__step {
        font-size: 16px;
    }

    .visit-popup__title {
        font-size: 44px;
    }

    .visit-popup__title--md {
        font-size: 36px;
    }

    .visit-popup__title--lg {
        font-size: 48px;
    }

    .visit-popup__lead {
        font-size: 18px;
    }

    .visit-popup__back {
        font-size: 16px;
        margin-bottom: -12px;
    }

    .visit-popup__label {
        font-size: 20px;
    }

    .visit-popup__switch label {
        font-size: 18px;
    }

    .visit-popup__switch .toggle-switch__control {
        margin: 0 16px;
    }

    .visit-popup__btn {
        min-height: 64px;
        font-size: 17px;
    }

    .visit-popup__offer-text {
        font-size: 22px;
    }

    .visit-popup__note {
        font-size: 14px;
    }

    .visit-popup__field-label {
        font-size: 16px;
    }

    .visit-popup__input {
        height: 64px;
        padding: 0 28px;
        font-size: 20px;
    }

    .visit-popup__error {
        font-size: 14px;
    }

    .visit-popup__consent {
        font-size: 14px;
    }

    .visit-popup__success-icon {
        width: 56px;
        height: 56px;
    }

    .visit-popup__option {
        min-height: 64px;
        padding: 0 24px 0 32px;
        font-size: 17px;
    }

    .visit-popup__club {
        padding: 20px 24px;
    }

    .visit-popup__club-city {
        font-size: 14px;
    }

    .visit-popup__club-address {
        font-size: 18px;
    }

    .visit-popup__club-phone {
        font-size: 15px;
    }

    .visit-popup__club-call {
        width: 48px;
        height: 48px;
    }

    .visit-popup__caption {
        font-size: 18px;
    }

    .visit-popup__store {
        height: 60px;
    }

    .visit-popup__store img {
        height: 50px;
    }

    .visit-popup__social {
        min-height: 73px;
        font-size: 14px;
        white-space: nowrap;
    }

    .visit-popup__phone {
        font-size: 36px;
    }
}

@media (min-width: 992px) {
    .visit-popup__qr {
        display: grid;
    }

    .visit-popup__switch.is-empty .toggle-switch__control:before {
        right: calc(50% - 10.5px);
    }

    .visit-popup__switch.is-right .toggle-switch__control:before {
        right: 4px;
    }
}