/* Epil: окошко «Ваш город - …?» на главной (assets/js/city-picker.js). Плашка под шапкой, по центру. */
.epil-citypick {
    position: fixed;
    top: 96px;
    left: 50%;
    z-index: 1000;
    width: min(360px, calc(100vw - 32px));
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    padding: 18px 18px 14px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .22);
    color: var(--e-global-color-lcolor1, #374b5c);
    font-family: var(--epil-font-text, inherit);
    font-size: 14px;
    transform: translateX(-50%);
    animation: epil-citypick-in .2s ease-out;
}

.epil-citypick[hidden] {
    display: none;
}

@keyframes epil-citypick-in {
    from { opacity: 0; transform: translate(-50%, -8px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

html body .epil-citypick__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #73818c;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

html body .epil-citypick__close:hover {
    background: #f2f4f8;
}

html body .epil-citypick__question {
    margin: 0 28px 12px 0;
    font-size: 16px;
    line-height: 1.35;
}

.epil-citypick__actions {
    display: flex;
    gap: 8px;
}

html body .epil-citypick__yes,
html body .epil-citypick__other {
    flex: 1 1 0;
    height: 42px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

html body .epil-citypick__yes {
    border: 0;
    background: #d86eec;
    color: #fff;
}

html body .epil-citypick__yes:hover {
    background: #b44fc9;
}

html body .epil-citypick__other {
    border: 1.5px solid #d86eec;
    background: #fff;
    color: #b44fc9;
}

html body .epil-citypick__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.epil-citypick__list li {
    margin: 0;
}

html body .epil-citypick__list button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 36px;
    padding: 0 12px;
    border: 1.5px solid #e5e9f0;
    border-radius: 10px;
    background: #fff;
    color: inherit;
    font-family: inherit;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
}

html body .epil-citypick__list button:hover,
html body .epil-citypick__list button[aria-current="true"] {
    border-color: #d86eec;
    background: #fbeefe;
}

.epil-citypick__list em {
    color: #b44fc9;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}

html body .epil-citypick__geo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: none;
    color: #b44fc9;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.epil-citypick__geo svg {
    width: 16px;
    height: 16px;
}

.epil-citypick__geo:disabled {
    opacity: .6;
    cursor: progress;
}

html body .epil-citypick__note {
    margin: 8px 0 0;
    color: #9aa5b1;
    font-size: 11px;
}

.epil-citypick__note a {
    color: inherit;
}

@media (max-width: 767px) {
    .epil-citypick {
        top: 80px;
    }
}
