.map-page-pro {
        background: #f6f8f7;
        margin-top: -1px;
    }

    .map-hero-pro {
        display: grid;
        grid-template-columns: minmax(320px, 440px) 1fr;
        min-height: 640px;
        background: #063f2f;
        box-shadow: 0 18px 50px rgba(15, 23, 42, .08);
    }

    .map-hero-panel {
        color: #fff;
        padding: 64px 34px 46px;
        background:
            radial-gradient(circle at 20% 10%, rgba(34, 197, 94, .22), transparent 28%),
            linear-gradient(145deg, #07553f 0%, #063626 70%);
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .map-hero-panel h1 {
        font-size: clamp(2rem, 4vw, 3.1rem);
        line-height: 1.08;
        font-weight: 900;
        margin-bottom: 16px;
        letter-spacing: -.04em;
    }

    .map-hero-panel p {
        color: rgba(255, 255, 255, .82);
        margin-bottom: 34px;
        font-size: 1rem;
    }

    .map-filter-label {
        font-size: .82rem;
        font-weight: 700;
        margin-bottom: 7px;
        color: rgba(255, 255, 255, .92);
    }

    .map-hero-panel .form-select {
        height: 48px;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, .14);
        background-color: rgba(255, 255, 255, .08);
        color: #fff;
        font-weight: 600;
    }

    .map-hero-panel .form-select option {
        color: #111827;
    }

    .map-hero-panel .btn-filter-pro {
        height: 50px;
        border-radius: 10px;
        border: 0;
        background: linear-gradient(135deg, #22c55e, #0f9f67);
        color: #fff;
        font-weight: 900;
        box-shadow: 0 18px 40px rgba(34, 197, 94, .22);
    }

    .map-reset-link {
        color: rgba(255, 255, 255, .9);
        text-decoration: none;
        font-weight: 800;
        font-size: .9rem;
    }

    .map-stat-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
        margin-top: 26px;
    }

    .map-stat-card {
        background: rgba(255, 255, 255, .09);
        border: 1px solid rgba(255, 255, 255, .09);
        border-radius: 14px;
        padding: 17px 10px;
        text-align: center;
        backdrop-filter: blur(4px);
    }

    .map-stat-card strong {
        display: block;
        font-size: 1.45rem;
        line-height: 1;
        margin-bottom: 7px;
    }

    .map-stat-card span {
        color: rgba(255, 255, 255, .76);
        font-size: .78rem;
        font-weight: 700;
    }

    .map-hero-map {
        position: relative;
        min-height: 640px;
    }

    #map {
        min-height: 640px;
        height: 100%;
        width: 100%;
    }

    .map-section-pro {
        max-width: 1740px;
        margin: 0 auto;
        padding: 42px 28px 0;
    }

    .map-section-header {
        text-align: center;
        margin: 0 auto 28px;
    }

    .map-section-header h2 {
        font-weight: 900;
        color: #172033;
        letter-spacing: -.035em;
        margin-bottom: 7px;
    }

    .map-section-header p {
        color: #667085;
        margin: 0;
    }

    .map-card-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(240px, 1fr));
        gap: 24px;
    }

    .map-location-card {
        display: block;
        height: 100%;
        border: 1px solid #e5e7eb;
        background: #fff;
        border-radius: 12px;
        overflow: hidden;
        text-decoration: none;
        color: inherit;
        box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

    .map-location-card:hover {
        transform: translateY(-3px);
        border-color: rgba(16, 185, 129, .4);
        box-shadow: 0 18px 42px rgba(15, 23, 42, .10);
        color: inherit;
    }

    .map-location-image {
        width: 100%;
        height: 190px;
        background: #f0f3f2;
        object-fit: cover;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #94a3b8;
        font-size: 2rem;
    }

    .map-location-body {
        padding: 16px 18px 18px;
    }

    .map-location-title {
        font-weight: 900;
        font-size: 1.02rem;
        color: #111827;
        margin-bottom: 7px;
        line-height: 1.25;
        min-height: 2.5em;
    }

    .map-location-meta {
        color: #667085;
        font-size: .88rem;
        margin-bottom: 9px;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .map-location-badge {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: 5px 10px;
        font-size: .78rem;
        font-weight: 900;
        color: #fff;
    }

    .map-location-badge.market { background: #079455; }
    .map-location-badge.fair { background: #1f2937; }

    .map-pager {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 22px;
        margin: 28px 0 34px;
    }

    .map-pager button {
        min-width: 108px;
        border-radius: 10px;
        border: 1px solid #d7dde5;
        padding: 11px 18px;
        font-weight: 900;
        background: #fff;
        color: #94a3b8;
    }

    .map-pager button:not(:disabled) {
        background: #064e3b;
        color: #fff;
        border-color: #064e3b;
        box-shadow: 0 12px 28px rgba(6, 78, 59, .16);
    }

    .map-pager button:disabled {
        opacity: .65;
        cursor: not-allowed;
    }

    .map-page-indicator {
        color: #475467;
        font-weight: 800;
        min-width: 120px;
        text-align: center;
    }

    .map-empty-state {
        grid-column: 1 / -1;
        background: #fff;
        border: 1px dashed #d7dde5;
        border-radius: 16px;
        padding: 30px;
        text-align: center;
        color: #667085;
        font-weight: 700;
    }


    .map-list-tools {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        margin: -8px 0 26px;
    }

    .map-results-count {
        color: #475467;
        font-weight: 900;
        font-size: .98rem;
    }

    .map-per-page-wrap {
        display: inline-flex;
        align-items: center;
        gap: 14px;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 999px;
        padding: 10px 14px 10px 18px;
        box-shadow: 0 14px 34px rgba(15, 23, 42, .06);
    }

    .map-per-page-wrap label {
        margin: 0;
        font-weight: 900;
        color: #172033;
    }

    .map-per-page-select {
        border: 0;
        background: transparent;
        font-weight: 900;
        color: #111827;
        min-width: 185px;
        outline: none;
        padding: 7px 28px 7px 4px;
    }

    .map-disclaimer {
        max-width: 1120px;
        margin: 0 auto 36px;
        color: #50627a;
        text-align: center;
        font-size: .92rem;
        line-height: 1.7;
    }

    @media (max-width: 1799px) {
        .map-section-pro { max-width: 1520px; }
        .map-card-grid { grid-template-columns: repeat(6, minmax(210px, 1fr)); }
        .map-location-image { height: 170px; }
    }

    @media (max-width: 1499px) {
        .map-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
        .map-location-image { height: 190px; }
    }

    @media (max-width: 1199px) {
        .map-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    }

    @media (max-width: 991px) {
        .map-hero-pro { grid-template-columns: 1fr; }
        .map-hero-panel { padding: 38px 22px; }
        .map-hero-map, #map { min-height: 520px; }
        .map-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 575px) {
        .map-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
        .map-card-grid { grid-template-columns: 1fr; }
        .map-pager { gap: 10px; }
        .map-pager button { min-width: 90px; padding: 10px 12px; }
        .map-page-indicator { min-width: auto; }
    }

/* === clase noi pentru markeri si popup-uri de harta (inlocuiesc style="" inline generat din JS) === */
.map-marker-icon {
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    border: 4px solid white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .22);
}

.map-marker-icon--market {
    background: #079455;
}

.map-marker-icon--fair {
    background: #1f2937;
}

.map-popup {
    min-width: 240px;
    max-width: 290px;
}

.map-popup-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.map-popup-title {
    font-weight: 900;
    font-size: 16px;
    margin-bottom: 6px;
    color: #111827;
}

.map-popup-badge-row {
    margin-bottom: 7px;
}

.map-popup-badge {
    color: white;
    font-size: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    font-weight: 800;
}

.map-popup-badge--market {
    background: #079455;
}

.map-popup-badge--fair {
    background: #1f2937;
}

.map-popup-meta {
    font-size: 13px;
    color: #667085;
    margin-bottom: 5px;
}

.map-popup-address {
    font-size: 13px;
    color: #667085;
    margin-bottom: 12px;
}

.map-popup-cta {
    display: inline-block;
    background: #064e3b;
    color: white;
    padding: 9px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}
