.eccuo-map-component {
    --eccuo-map-text: #1d2622;
    --eccuo-map-bg: #ffffff;
    --eccuo-map-border: rgba(22, 33, 28, .14);
    position: relative;
    width: 100%;
}

.eccuo-map-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.eccuo-map-filter {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid var(--eccuo-map-border);
    border-radius: 999px;
    background: #fff;
    color: var(--eccuo-map-text);
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    opacity: .48;
    transition: opacity .2s ease, transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.eccuo-map-filter:hover {
    opacity: .8;
    transform: translateY(-1px);
}

.eccuo-map-filter.is-active {
    opacity: 1;
    border-color: rgba(22, 33, 28, .24);
    box-shadow: 0 3px 14px rgba(20, 30, 25, .07);
}

.eccuo-map-filter-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: var(--eccuo-filter-color, #2f6f58);
}

.eccuo-map-canvas {
    width: 100%;
    min-height: 380px;
    border-radius: 18px;
    overflow: hidden;
    background: #edf1ef;
}

.eccuo-map-marker {
    appearance: none;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 3px solid #fff;
    border-radius: 50% 50% 50% 6px;
    background: var(--eccuo-marker-color, #2f6f58);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    cursor: pointer;
    transform: rotate(-45deg);
}

.eccuo-map-marker:hover{
	
    border: 3px solid #fff;
   
    background: var(--eccuo-marker-color, #2f6f58);
   
    
}

.eccuo-map-marker.is-hidden {
    display: none;
}

.eccuo-map-marker-core {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff;
    transform: translate(-50%, -50%);
}

.eccuo-map-component .maplibregl-popup-content {
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(19, 30, 25, .22);
}

.eccuo-map-component .maplibregl-popup-close-button {
    z-index: 2;
    top: 7px;
    right: 7px;
    background: rgba(255, 255, 255, .92);
    font-size: 20px;
    line-height: 28px;
    padding: 2px 14px;
    border-radius: 10px;
}

.eccuo-map-card {
    width: 340px;
    max-width: 100%;
    background: var(--eccuo-map-bg);
    color: var(--eccuo-map-text);

    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.eccuo-map-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9eeeb;
}

.eccuo-map-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eccuo-map-card-body {
    padding: 40px 20px;
    overflow-y: auto;
    min-height: 0;
}

.eccuo-map-card-title {
    margin: 0 0 9px;
    font-size: 20px;
    line-height: 1.15;
}

.eccuo-map-card-content {
    font-size: 14px;
    line-height: 1.55;
}

.eccuo-map-card-content > :first-child {
    margin-top: 0;
}

.eccuo-map-card-content > :last-child {
    margin-bottom: 0;
}

.eccuo-map-card-button {
    display: inline-flex;
    margin-top: 14px;
    padding: 10px 14px;
    border-radius: 8px;
    background: #1d2622;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 767px) {
    .eccuo-map-filters {
        gap: 7px;
        margin-bottom: 12px;
    }

    .eccuo-map-filter {
        padding: 8px 11px;
        font-size: 13px;
    }

    .eccuo-map-canvas {
        min-height: 460px;
        border-radius: 12px;
    }
}

/* =========================================================
   Layout mapa + índice
   ========================================================= */

.eccuo-map-layout {
    display: grid;
    grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
    width: 100%;
    height: var(--eccuo-map-height, 650px);
    min-height: 400px;
    overflow: hidden;
    border-radius: 12px;
}


/* =========================================================
   Mapa
   ========================================================= */

.eccuo-map-layout .eccuo-map-canvas {
    width: 100%;
    height: 100%;
    min-width: 0;
}


/* =========================================================
   Índice
   ========================================================= */

.eccuo-map-index {
    height: 100%;
    min-width: 0;
    background: #fff;
    border-right: 1px solid rgba(0, 0, 0, .10);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}


/* Cabecera */

.eccuo-map-index-header {
    flex: 0 0 auto;
    padding: 20px 22px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.eccuo-map-index-title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}


/* Zona con scroll */

.eccuo-map-index-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 0 20px;
}


/* =========================================================
   Grupo / temática
   ========================================================= */

.eccuo-map-index-section {
    padding: 16px 0 6px;
}

.eccuo-map-index-section + .eccuo-map-index-section {
    border-top: 1px solid rgba(0, 0, 0, .07);
}


/* Nombre de categoría */

.eccuo-map-index-category {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 22px 10px;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;

    text-transform: uppercase;
    letter-spacing: .06em;

    opacity: .65;
}

.eccuo-map-index-category-dot {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
}


/* =========================================================
   Botones de puntos
   ========================================================= */

.eccuo-map-index-list {
    display: flex;
    flex-direction: column;
}

.eccuo-map-index-item {
    appearance: none;

    display: block;
    width: 100%;

    padding: 9px 22px;

    border: 0;
    border-left: 3px solid transparent;

    background: transparent;
    color: inherit;

    font: inherit;
    font-size: 14px;
    line-height: 1.35;

    text-align: left;

    cursor: pointer;

    transition:
        background-color .15s ease,
        border-color .15s ease;
}

.eccuo-map-index-item:hover,
.eccuo-map-index-item:focus-visible {
    background: rgba(0, 0, 0, .045);
}

.eccuo-map-index-item:focus-visible {
    outline: none;
    border-left-color: currentColor;
}


/* =========================================================
   Sin resultados
   ========================================================= */

.eccuo-map-index-empty {
    padding: 25px 22px;
    font-size: 14px;
    line-height: 1.5;
    opacity: .6;
}


/* =========================================================
   Scrollbar discreto
   ========================================================= */

.eccuo-map-index-content {
    scrollbar-width: thin;
}

.eccuo-map-index-content::-webkit-scrollbar {
    width: 6px;
}

.eccuo-map-index-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .18);
    border-radius: 10px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 767px) {

    .eccuo-map-layout {
        display: flex;
        flex-direction: column;

        height: auto;

        border-radius: 10px;
        overflow: visible;
    }

    .eccuo-map-index {
        width: 100%;
        height: auto;
        max-height: 300px;

        border-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, .10);
		margin-bottom: 30px;
    }

    .eccuo-map-layout .eccuo-map-canvas {
        width: 100%;
        height: var(--eccuo-map-height, 500px);
        min-height: 400px;
    }

}