/* ── District prices map (Section_07) — placeholder ────── */

.district-prices {
    padding-bottom: 60px;
}

.district-prices__container {
    width: min(var(--container-width), 100% - 48px);
    margin-inline: auto;
}

.district-prices__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 30px;
}

.district-prices__title {
    margin: 0;
    color: var(--color-brand-dark);
    font-size: 24px;
}

.district-prices__show-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: var(--radius-pill);
    background: var(--color-white);
    color: var(--color-brand-dark);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.02em;
    transition:
        background-color var(--transition-ui),
        color var(--transition-ui);
}

.district-prices__show-all:hover,
.district-prices__show-all:focus-visible {
    background: var(--color-brand-brown);
    color: var(--color-white);
}

.district-prices__show-all:hover .district-prices__show-all-icon,
.district-prices__show-all:focus-visible .district-prices__show-all-icon {
    filter: brightness(0) invert(1);
}

.district-prices__show-all-icon {
    flex-shrink: 0;
    transform: rotate(-90deg);
    transition: filter var(--transition-ui);
}

.district-prices__map,
.district-prices__map.estate-map {
    margin-top: 30px;
    height: 620px;
    min-height: 620px;
    border: 1px solid #dfddd9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--color-page-bg);
}

.district-prices__map .maplibregl-map {
    height: 100%;
}

.district-prices__map .maplibregl-ctrl-bottom-left {
    bottom: 14px !important;
    left: 12px !important;
}

.district-prices-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    user-select: none;
}

.district-prices-marker__label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 10px;
    background: var(--color-white);
    box-shadow: 0 2px 12px rgb(33 22 23 / 12%);
    color: var(--color-text-strong);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.district-prices-marker__dot {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-hero-orange);
    box-shadow:
        0 0 0 4px rgb(214 130 89 / 22%),
        0 2px 8px rgb(52 35 22 / 24%);
}

.district-prices-marker__dot-core {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-white);
}

@media (max-width: 900px) {
    .district-prices-marker__label {
        font-size: 12px;
        padding: 5px 10px;
    }
}
