/* Стили для попапа выбора города */
.veepevil-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9999999;
    justify-content: center;
    align-items: flex-start;
    overflow-y: auto;
    padding: 20px;
}
.veepevil-popup-overlay.active {
    display: flex;
}
.veepevil-popup-content {
    background: #fff;
    max-width: 900px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    margin-top: 40px;
}
.veepevil-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: #333;
    text-decoration: none;
    line-height: 1;
}
.veepevil-popup-close:hover {
    color: #000;
}
.veepevil-popup-grid {
    display: grid;
    gap: 10px 30px;
}
.veepevil-popup-group {
    break-inside: avoid;
    margin-bottom: 10px;
}
.veepevil-popup-group-letter {
    font-weight: bold;
    font-size: 22px;
    color: #EFB93B;
    border-bottom: 2px solid #EFB93B;
    padding-bottom: 4px;
    margin-bottom: 8px;
}
.veepevil-popup-city {
    padding: 4px 0;
    font-size: 15px;
    line-height: 1.5;
}
.veepevil-popup-city a {
    color: #333;
    text-decoration: none;
}
.veepevil-popup-city a:hover {
    text-decoration: underline;
    color: #EFB93B;
}

/* ===== ДОПОЛНЕНИЯ ДЛЯ ВАШЕЙ ЗАДАЧИ ===== */

/* Ссылка «Выбрать город» – белая, без подчёркивания, с курсором-рукой */
.veepevil-popup-toggle {
    color: #ffffff !important;
    text-decoration: none !important;
    cursor: pointer !important;  /* ← добавлено */
}
.veepevil-popup-toggle:hover {
    color: #f0f0f0 !important;
}

/* На мобильных увеличиваем отступ сверху до 70px */
@media (max-width: 767px) {
    .veepevil-popup-content {
        margin-top: 120px !important;
    }
    .veepevil-popup-grid {
        grid-template-columns: 1fr !important;
    }
    .veepevil-popup-content {
        padding: 20px;
        max-height: 70vh;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .veepevil-popup-grid {
        gap: 10px 20px;
    }
}