/* popup-geo — попап перехода в город, определённый по IP */

.popup-geo .popup-main {
    max-width: 48rem;
    padding: 4rem 4rem 3.5rem;
    gap: 1.6rem;
    align-items: center;
    text-align: center;
}
.popup-geo .popup-close {
    top: 1.5rem;
    right: 1.5rem;
}
.popup-geo .popup-main > h2 {
    font-size: 2.4rem;
    line-height: 3.2rem;
    text-align: center;
}
.popup-geo__city {
    white-space: nowrap;
}
.popup-geo__text {
    color: #777;
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2rem;
    text-align: center;
}
.popup-geo__buttons {
    display: flex;
    gap: 1.2rem;
    width: 100%;
    margin-top: 0.8rem;
}
.popup-geo__yes,
.popup-geo__no {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 4.8rem;
    padding: 1.2rem 1.6rem;
    border-radius: 1rem;
    font-size: 1.6rem;
    line-height: 2rem;
    text-align: center;
    transition: background 0.2s ease;
}
.popup-geo__yes {
    background: #EF3124;
    color: #FFF;
    font-weight: 700;
}
.popup-geo__yes:hover {
    background: #D42A1F;
    color: #FFF;
}
.popup-geo__no {
    background: #F1F1F1;
    color: #333;
    font-weight: 500;
}
.popup-geo__no:hover {
    background: #E4E4E4;
}

@media screen and (max-width: 992px) {
    .popup-geo .popup-main {
        height: auto;
        max-height: calc(100% - 4rem);
        margin: auto 2rem;
        border-radius: 2rem;
        background: #FFF;
        padding: 4rem 2rem 3rem;
        gap: 1.4rem;
    }
    .popup-geo .popup-main > h2 {
        font-size: 2.2rem;
        line-height: 3rem;
    }
    .popup-geo__buttons {
        flex-direction: column;
        gap: 1rem;
    }
}