.sfx-city,
.sfx-city * {
    box-sizing: border-box;
}

.sfx-city__current {
    width: 100%;
    cursor: pointer;
}

.sfx-city__current:hover,
.sfx-city__list button:hover {
    color: #006b9a;
}
.sfx-city {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
}
.sfx-city .sfx-city__current {
    display: flex;
    justify-content: center;
    font-size: 14px;
    line-height: calc(21 / 14);
}
.sfx-city__confirm {
    position: absolute;
    z-index: 500;
    top: 100%;
    left: 50%;
    width: max-content;
    max-width: min(420px, calc(100vw - 24px));
    padding: 20px;
    transform: translateX(-50%);
    background: #0085bd;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}

.sfx-city__confirm span {
    display: block;
    margin-bottom: 16px;
    font-size: 18px;
}

.sfx-city__confirm button {
    margin-right: 12px;
    padding: 8px 12px;
    border: 1px solid #fff;
    background: #fff;
    color: #006b9a;
    cursor: pointer;
}

.sfx-city__confirm button:last-child {
    margin-right: 0;
    background: transparent;
    color: #fff;
}

.sfx-city__dialog {
    width: min(800px, calc(100vw - 32px));
    height: 90vh;
    max-height: 90vh;
    overflow: hidden;
    border: 0;
    background: #fff;
    color: #222;
    box-shadow: 0 16px 48px rgba(0, 0, 0, .24);
    padding: 32px 48px;
}
.sfx-city__dialog[open] {
    display: flex;
    flex-direction: column;
}

.sfx-city__dialog::backdrop {
    background: rgba(0, 0, 0, .55);
}

.sfx-city__dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    color: #0091cc;
    font-size: 24px;
}

.sfx-city__dialog-header button {
    border: 0;
    background: transparent;
    color: #555;
    font-size: 28px;
    cursor: pointer;
}

.sfx-city__search {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 12px;
    border: 1px solid #bbb;
    border-radius: 0;
    font-size: 12px;
    font-weight: 300;
    line-height: 22px;
}
.sfx-city__search:focus {
    border-bottom-color: #0091cc;
    -webkit-box-shadow: 0 1px 0 #0091cc;
    box-shadow: 0 1px 0 #0091cc;
}

.sfx-city__list {
    flex: 1 1 auto;
    min-height: 0;
    align-content: start;
    grid-auto-rows: max-content;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
    max-height: 700px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sfx-city__list li[hidden],
.sfx-city__confirm[hidden] {
    display: none;
}

.sfx-city__list button {
    width: 100%;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: #222;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
}

.sfx-city__list button[aria-current="true"] {
    color: #0091cc;
    font-weight: 700;
}

.mm-location .sfx-city {
    border-right: 0;
}

@media (max-width: 575px) {
    .sfx-city__current {
        padding-left: 24px;
    }

    .sfx-city__dialog {
        padding: 18px;
    }

    .sfx-city__list {
        grid-template-columns: 1fr;
    }
}