.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    background: rgba(0,0,0,.58);
}

.exit-popup[hidden] {
    display: none;
}

.exit-popup__dialog {
    position: relative;
    width: min(640px, 100%);
    padding: 20px 24px 31px;
    color: #111;
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,.35);
}

.exit-popup__close {
    position: absolute;
    top: 14px;
    right: 17px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    color: #222;
    font-family: Arial, sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 28px;
    background: transparent;
    cursor: pointer;
}

.exit-popup__image {
    display: block;
    width: min(385px, calc(100% - 72px));
    aspect-ratio: 1.09 / 1;
    margin: 0 auto 14px;
    object-fit: cover;
}

.exit-popup__title {
    margin: 0;
    color: #111;
    font-family: Arial, sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.05;
}

.exit-popup__subtitle {
    margin: 8px 0 10px;
    color: #111;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.exit-popup__text {
    margin: 0 0 20px;
    color: #8b8b8b;
    font-size: 16px;
    line-height: 1.2;
}

.exit-popup__address {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #111;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.exit-popup__address span {
    color: var(--red, #e30016);
    font-size: 25px;
    line-height: 1;
}

@media (max-width: 560px) {
    .exit-popup {
        padding: 14px;
    }

    .exit-popup__dialog {
        padding: 42px 14px 24px;
    }

    .exit-popup__image {
        width: 100%;
    }

    .exit-popup__title {
        font-size: 28px;
    }
}
