/* ========== БЛОК ГЕОЛОКАЦИИ ========== */
.header__geo {
    background: #F5F7FA;
    border-bottom: 1px solid #E8EBF0;
    font-size: 13px;
/*    position: sticky;*/
    top:0;
    z-index: 999;
}

.geo {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.geo__icon {
    display: flex;
    flex-shrink: 0;
}

.geo__current {
    display: flex;
    gap: 4px;
}

.geo__city {
    color: #2C2D2F;
    font-weight: 600;
    text-decoration: none;
}

.geo__city:hover {
    color: #2ABBC2;
}

.geo__country {
    color: #76768C;
}

.geo__change {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #2ABBC2;
    font-size: 13px;
    cursor: pointer;
    padding: 0;
}

.geo__change:hover {
    opacity: 0.8;
}

.geo__info {
    color: #76768C;
    margin-left: auto;
    white-space: nowrap;
}

.geo__info strong {
    color: #2C2D2F;
}

/* ========== МОДАЛЬНОЕ ОКНО ГЕОЛОКАЦИИ ========== */
.geo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.geo-modal.active {
    display: block;
}

.geo-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
}

.geo-modal__inner {
    position: relative;
    max-width: 700px;
    margin: 60px auto 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    z-index: 1;
}

.geo-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #E8EBF0;
}

.geo-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: #2C2D2F;
}

.geo-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.geo-modal__close:hover {
    opacity: 0.7;
}

.geo-modal__body {
    padding: 20px 24px;
}

.geo-modal__search {
    position: relative;
    margin-bottom: 20px;
}

.geo-modal__search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

.geo-modal__search-input {
    width: 100%;
    padding: 10px 14px 10px 40px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
}

.geo-modal__search-input:focus {
    outline: none;
    border-color: #2ABBC2;
}

.geo-modal__columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 24px;
    margin-bottom: 24px;
}

.geo-modal__column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.geo-modal__city {
    padding: 8px 12px;
    border-radius: 6px;
    color: #2C2D2F;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.15s;
}

.geo-modal__city:hover {
    background: #F5F7FA;
}

.geo-modal__city.active {
    background: #E6F7F8;
    color: #14848A;
    font-weight: 600;
}

.geo-modal__subtitle {
    font-size: 13px;
    font-weight: 600;
    color: #76768C;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-top: 20px;
    border-top: 1px solid #E8EBF0;
}

.geo-modal__countries-list {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.geo-modal__country {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    text-decoration: none;
    color: #2C2D2F;
    font-size: 14px;
    transition: all 0.15s;
}

.geo-modal__country:hover {
    border-color: #2ABBC2;
    background: #E6F7F8;
}

/* Адаптив */
@media (max-width: 768px) {
    .geo__info {
        margin-left: 0;
        padding-top: 4px;
        white-space: normal;
        font-size: 12px;
    }
    
    .geo-modal__columns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .geo-modal__inner {
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .geo-modal__columns {
        grid-template-columns: 1fr;
    }
}
/* ========== ОКНО ПОДТВЕРЖДЕНИЯ ГОРОДА ========== */
.geo-confirm {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(25%, 25%);
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    z-index: 1101;
    min-width: 320px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.geo-confirm__icon {
    margin-bottom: 16px;
}

.geo-confirm__title {
    font-size: 18px;
    font-weight: 700;
    color: #2C2D2F;
    margin-bottom: 20px;
}

.geo-confirm__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.geo-confirm__btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.geo-confirm__btn--yes {
    background: #2ABBC2;
    color: #fff;
}

.geo-confirm__btn--yes:hover {
    background: #14848A;
}

.geo-confirm__btn--no {
    background: #F5F7FA;
    color: #76768C;
}

.geo-confirm__btn--no:hover {
    background: #E8EBF0;
    color: #2C2D2F;
}

/* Модальное окно подтверждения города */
.geo-confirm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
}

.geo-confirm-modal.active {
    display: flex;
}

.geo-confirm-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.geo-confirm-modal__inner {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.geo-confirm-modal__icon {
    margin-bottom: 16px;
}

.geo-confirm-modal__title {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 24px;
    line-height: 1.4;
}

.geo-confirm-modal__title span {
    color: #2ABBC2;
}

.geo-confirm-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.geo-confirm-modal__btn {
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.geo-confirm-modal__btn--yes {
    background: #2ABBC2;
    color: #fff;
}

.geo-confirm-modal__btn--yes:hover {
    background: #23a3a9;
}

.geo-confirm-modal__btn--no {
    background: #f0f2f5;
    color: #555;
}

.geo-confirm-modal__btn--no:hover {
    background: #e2e5ea;
}