.property-location-picker {
    margin-top: 1.25rem;
    padding: 1rem;
    border: 1px solid #dfe5ec;
    border-radius: 12px;
    background: #f8fafc;
}

.property-location-picker[hidden],
.property-results-map[hidden] {
    display: none !important;
}

.property-location-picker h3 {
    margin: 0 0 .4rem;
    font-size: 1.05rem;
}

.property-location-picker p,
.property-results-map__note {
    color: #64748b;
    font-size: .9rem;
}

.property-location-picker__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .75rem;
    margin: .75rem 0;
}

.property-location-picker__actions span {
    color: #475569;
    font-size: .9rem;
}

.property-location-map {
    width: 100%;
    height: 360px;
    border-radius: 9px;
    background: #e2e8f0;
}

.property-map-toggle {
    display: inline-flex;
    overflow: hidden;
    border: 1px solid #d8dee8;
    border-radius: 8px;
}

.property-map-toggle button {
    padding: .55rem .85rem;
    border: 0;
    background: #fff;
    color: #475569;
}

.property-map-toggle button + button {
    border-left: 1px solid #d8dee8;
}

.property-map-toggle button.is-active {
    background: #1f7a5a;
    color: #fff;
}

.property-results-map {
    margin-bottom: 1.25rem;
}

.property-results-map__canvas {
    width: 100%;
    height: min(68vh, 680px);
    min-height: 360px;
    border-radius: 12px;
    background: #e2e8f0;
}

.property-detail-map {
    width: 100%;
    height: 320px;
    border-radius: 10px;
    background: #e2e8f0;
}

.property-results-map__note {
    margin: .75rem 0 0;
}

.property-results-map__status {
    padding: .75rem;
    border-radius: 8px;
    background: #fff8e6;
    color: #713f12;
}

.property-map-popup {
    display: flex;
    align-items: flex-start;
    gap: .625rem;
    min-width: 260px;
    max-width: 320px;
}

.property-map-popup__image {
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
    border-radius: 6px;
    background: #e2e8f0;
    object-fit: cover;
}

.property-map-popup__content {
    display: flex;
    flex: 1;
    min-width: 0;
    flex-direction: column;
    gap: .25rem;
}

.property-map-popup__content > a {
    font-weight: 700;
    line-height: 1.3;
}

.property-map-popup__price {
    color: #dc2626;
    font-weight: 700;
}

#listingResultsColumn.property-map-active #listingsView,
#listingResultsColumn.property-map-active .category-mobile-list--results,
#listingResultsColumn.property-map-active .category-mobile-grid--results,
#listingResultsColumn.property-map-active .pagiWrap {
    display: none !important;
}

@media (max-width: 767px) {
    .property-map-toggle {
        display: none !important;
    }

    .property-location-picker {
        padding: .75rem;
    }

    .property-location-map,
    .property-results-map__canvas {
        height: 55vh;
        min-height: 300px;
    }

    .category-listings__view-toggle [data-property-view="map"],
    .mobile-listing-controls .view-toggle--mobile [data-property-results-view="map"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        min-width: 40px;
        padding: 0;
    }

    .section--category-listings.category-listings--map .category-mobile-list,
    .section--category-listings.category-listings--map .category-mobile-grid--results,
    .section--category-listings.category-listings--map .category-mobile-list__pagination {
        display: none !important;
    }
}
