.header__city {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.header__city-button {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: inherit;
    font: inherit;
    white-space: nowrap;
}

.header__city-button:hover {
    color: #39b96c;
}

.header__city-button span {
    font-weight: 700;
}

.header__city-button::after {
    content: "▾";
    margin-left: 5px;
    font-size: 10px;
    color: #39b96c;
}

.header__city-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 1000;
    display: none;
    width: 320px;
    max-width: calc(100vw - 32px);
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(57, 185, 108, 0.25);
    border-radius: 16px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.header__city.is-open .header__city-dropdown {
    display: block;
}

.header__city-search {
    width: 100%;
    height: 42px;
    margin-bottom: 10px;
    padding: 0 12px;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;
    font-size: 14px;
    outline: none;
}

.header__city-search:focus {
    border-color: #39b96c;
}

.header__city-list {
    max-height: 260px;
    overflow-y: auto;
    display: grid;
    gap: 4px;
}

.header__city-list button,
.header__city-confirm-actions button {
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #001f33;
}

.header__city-list button:hover,
.header__city-confirm-actions button:hover {
    background: rgba(57, 185, 108, 0.12);
    color: #39b96c;
}

.header__city-confirm {
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(57, 185, 108, 0.08);
}

.header__city-confirm-text {
    margin-bottom: 10px;
    font-size: 14px;
    color: #001f33;
}

.header__city-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.header__city-confirm-yes {
    background: #39b96c !important;
    color: #fff !important;
    text-align: center !important;
}

.header__city-confirm-change {
    background: #fff !important;
    text-align: center !important;
}

.header__city-manual-hint {
    padding: 10px 12px;
    border-radius: 10px;
    background: rgba(71, 193, 114, 0.08);
    color: #244761;
    font-size: 14px;
    line-height: 1.35;
}