

/* Start:/local/components/greenengine/geoip.city.switcher/templates/.default/style.css?17800218884795*/
.geoip-switcher {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 4px 0;
    font-size: 13px;
    line-height: 1.2;
    vertical-align: middle;
    white-space: nowrap;
}
.geoip-switcher__current {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    min-width: max-content;
}
.geoip-switcher__label {
    color: #777;
    font-size: 12px;
    flex: 0 0 auto;
}
.geoip-switcher__label:after {
    content: ":";
}
.geoip-switcher__city {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 4px 10px 5px;
    border-radius: 4px;
    background: #d71920;
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.geoip-switcher__change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    max-width: 100%;
    padding: 5px 12px 6px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    background: #fff;
    color: #333;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.geoip-switcher__change:before {
    content: "";
    width: 10px;
    height: 13px;
    margin-right: 6px;
    background: url("/local/templates/aspro_next_copy/images/svg/Addres_mask.svg") center / contain no-repeat;
    opacity: .7;
}
.geoip-switcher__change:hover {
    background: #f7f7f7;
    border-color: #c7c7c7;
    color: #111;
    box-shadow: 0 2px 7px rgba(0, 0, 0, .08);
}
.geoip-switcher__change:focus-visible {
    outline: 2px solid #d71920;
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .geoip-switcher {
        flex-wrap: wrap;
        gap: 6px 8px;
        white-space: normal;
    }
    .geoip-switcher__current {
        max-width: 100%;
        min-width: 0;
    }
    .geoip-switcher__city {
        max-width: 100%;
    }
    .geoip-switcher__change {
        min-height: 32px;
    }
}

/* Модал «уточните регион» — показывается когда определение не сработало */
.geoip-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .55);
    z-index: 99998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: geoipFadeIn .15s ease-out;
}
@keyframes geoipFadeIn { from { opacity: 0 } to { opacity: 1 } }
.geoip-modal {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,.25);
    max-width: 420px;
    width: 100%;
    padding: 24px;
    font-family: inherit;
    position: relative;
    animation: geoipSlideUp .2s ease-out;
}
@keyframes geoipSlideUp { from { transform: translateY(12px); opacity: 0 } to { transform: none; opacity: 1 } }
.geoip-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    border-radius: 6px;
    color: #6b7280;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.geoip-modal__close:hover { background: #f3f4f6; color: #111827; }
.geoip-modal__title {
    margin: 0 32px 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}
.geoip-modal__subtitle {
    margin: 0 0 20px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}
.geoip-modal__options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.geoip-modal__option {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: border-color .1s, background .1s;
}
.geoip-modal__option:hover {
    border-color: #2563eb;
    background: #eff6ff;
}
.geoip-modal__option:disabled {
    opacity: .5;
    cursor: progress;
}
.geoip-modal__option--primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.geoip-modal__option--primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
    color: #fff;
}
@media (prefers-color-scheme: dark) {
    .geoip-modal { background: #1f2937; }
    .geoip-modal__title { color: #f9fafb; }
    .geoip-modal__subtitle { color: #9ca3af; }
    .geoip-modal__option { background: #111827; color: #f9fafb; border-color: #374151; }
    .geoip-modal__option:hover { background: #1e3a8a; border-color: #3b82f6; }
    .geoip-modal__close { color: #9ca3af; }
    .geoip-modal__close:hover { background: #374151; color: #f9fafb; }
}

/* End */
/* /local/components/greenengine/geoip.city.switcher/templates/.default/style.css?17800218884795 */
