.listing-map,
.detail-map {
    width: 100%;
    margin: 0 0 1.5rem;
    border: 1px solid var(--border, #d6d3ce);
    border-radius: 4px;
    background: #e7e4dc;
    z-index: 0;
}

.detail-map {
    height: 22rem;
    min-height: 22rem;
}

.listing-map {
    height: 55rem;
    min-height: 55rem;
}

.card-image {
    position: relative;
}

.card-map-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.8rem;
    height: 1.8rem;
    color: #1e3a5f;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 999px;
    z-index: 2;
}

.map-empty {
    margin: 0 0 1.5rem;
}

.map-precision {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
}

.filters .filter-check {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin: 0.75rem 0;
    font-size: 0.95rem;
}

.filters .filter-check input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    min-height: 1rem !important;
    max-width: 1rem !important;
    max-height: 1rem !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0;
    flex: 0 0 1rem !important;
    box-sizing: border-box;
    accent-color: #1e3a5f;
}

.map-pin {
    background: transparent;
    border: 0;
}

.map-pin span {
    display: inline-block;
    padding: 0.2rem 0.45rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 2px;
}

.map-pin-sale span {
    background: #1e3a5f;
}

.map-pin-rent span {
    background: #b0892c;
}

.map-pin-seasonal span {
    background: #7a3e2a;
}

.map-popup-title {
    font-weight: 600;
    margin: 0 0 0.35rem;
}
