.ae-price-snapshot {
    margin: 2rem 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border-left: 5px solid #ffc400;
    border-radius: 8px;
    background: #f5f7f8;
    color: #1e2529;
}

.ae-price-snapshot h2 {
    margin-top: 0;
}

.ae-price-snapshot-hospital h2,
.ae-price-snapshot-station h2 {
    text-transform: none;
}

.ae-price-snapshot-note,
.ae-map-distance-note,
.ae-map-coordinate-note {
    font-size: .9rem;
    color: #525f66;
}

.ae-location-empty {
    margin: 1.5rem 0;
    padding: 1.25rem;
    border: 1px solid #d6dde1;
    border-radius: 8px;
    background: #f8fafb;
}

.ae-property-map {
    margin: 2rem 0;
}

.ae-property-map-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-bottom: .85rem;
}

.ae-property-map-toolbar button {
    padding: .65rem 1rem;
    border: 2px solid #263238;
    border-radius: 999px;
    background: #fff;
    color: #263238;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.ae-property-map-toolbar button:hover,
.ae-property-map-toolbar button:focus-visible,
.ae-property-map-toolbar button.is-active {
    background: #263238;
    color: #fff;
    outline-offset: 3px;
}

.ae-property-map-canvas {
    width: 100%;
    height: var(--ae-map-height, 480px);
    min-height: 360px;
    border: 1px solid #c8d0d4;
    border-radius: 10px;
    background: #e9eef0;
    overflow: hidden;
}

.ae-property-map-error {
    display: grid;
    place-items: center;
    padding: 2rem;
    text-align: center;
}

.ae-property-map-fallback {
    margin-top: 1.2rem;
    padding: 1.25rem;
    border-radius: 8px;
    background: #f5f7f8;
}

.ae-property-map-fallback h3 {
    margin-top: 0;
}

.ae-property-map-fallback ul {
    margin-bottom: 0;
    padding-left: 1.2rem;
}

.ae-property-map-fallback li + li {
    margin-top: .55rem;
}

.ae-map-icon-wrap {
    background: transparent;
    border: 0;
}

.ae-map-icon {
    display: block;
    width: 24px;
    height: 24px;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 0;
    background: #263238;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
    transform: rotate(-45deg);
}

.ae-map-icon-property {
    width: 28px;
    height: 28px;
    background: #ef6c00;
}

.ae-map-icon-soon {
    background: #1565c0;
}

.ae-map-icon-landmark {
    border-radius: 50%;
    background: #263238;
    transform: none;
}

.ae-map-popup {
    display: grid;
    gap: .3rem;
    min-width: 190px;
}

.ae-map-popup a {
    margin-top: .2rem;
    font-weight: 700;
}

.ae-loop-property-card.is-map-active {
    outline: 4px solid #ffc400;
    outline-offset: 4px;
}

.ae-loop-meta-pill-distance {
    flex-basis: 100%;
}

@media (max-width: 600px) {
    .ae-property-map-toolbar {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ae-property-map-toolbar button {
        width: 100%;
    }

    .ae-property-map-canvas {
        height: 410px;
        min-height: 410px;
    }
}
