body.bg-light {
    background-color: #ffffff !important;
}

.pf-near-me-search-card {
    border-radius: 8px;
}

.pf-near-me-map-card {
    position: sticky;
    top: 16px;
    border-radius: 8px;
}

.pf-near-me-map {
    width: 100%;
    min-height: 360px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f7;
}

.pf-near-me-map-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #475569;
    font-size: 0.82rem;
}

.pf-near-me-map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pf-near-me-map-legend i {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    display: inline-block;
    border: 1px solid rgba(15, 23, 42, 0.18);
}

.pf-near-me-map-legend .pf-dot-user { background: #2563eb; }
.pf-near-me-map-legend .pf-dot-open { background: #15803d; }
.pf-near-me-map-legend .pf-dot-soon { background: #d97706; }
.pf-near-me-map-legend .pf-dot-closed { background: #dc2626; }

.pf-near-me-card {
    border-radius: 8px;
    overflow: hidden;
}

.pf-near-me-media {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 180px;
    height: 100%;
    background: linear-gradient(135deg, #0d6efd 0%, #2563eb 52%, #1e40af 100%);
    color: transparent;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
}

.pf-near-me-media img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
    display: block;
}

.pf-near-me-distance {
    display: block;
    color: #111827;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.pf-near-me-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    border-radius: 999px;
    padding: 0.28rem 0.58rem;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    text-transform: uppercase;
}

.pf-near-me-status-open { background: #15803d; }
.pf-near-me-status-soon { background: #d97706; }
.pf-near-me-status-closed { background: #dc2626; }
.pf-near-me-status-temp { background: #a16207; }
.pf-near-me-status-permanent { background: #111827; }

.pf-near-me-desc {
    color: #334155;
    font-size: 0.94rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.leaflet-popup-content-wrapper {
    border-radius: 8px;
}

.pf-map-popup-title {
    font-weight: 700;
    margin-bottom: 2px;
}

.pf-map-popup-meta {
    font-size: 0.86rem;
    color: #475569;
}

@media (max-width: 1199.98px) {
    .pf-near-me-map-card {
        position: static;
    }
}

@media (max-width: 575.98px) {
    .pf-near-me-map {
        min-height: 280px;
    }

    .pf-near-me-media,
    .pf-near-me-media img {
        min-height: 150px;
    }

    .pf-near-me-card .text-end {
        text-align: left !important;
    }
}
