.mapa-sticky {
    position: sticky;
    top: 20px;
    height: 80vh;
}

.mapa-container {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.mapa-marcador.fa-marcador {    
    width: auto;
    height: auto;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px; /* tamaño base */
    cursor: pointer;
    transition: font-size 0.2s ease, box-shadow 0.2s ease;
}

.mapa-marcador.fa-marcador:hover,
.mapa-marcador.fa-marcador.marcador-activo {
    font-size: 42px; /* tamaño al pasar por encima */
    box-shadow: 0 0 0px rgba(0,0,0,0.2);
    z-index: 10;
}




.boton-reset-mapa {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
    cursor: pointer;
    z-index: 2;
}

.boton-reset-mapa:hover {
    background-color: #f0f0f0;
}


.mapboxgl-popup-content {
    padding: 0 !important;
    border-radius: 10px;
    overflow: hidden;
    max-width: 280px;
}

.popup-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.popup-card:hover {
    text-decoration: none;
    color: inherit;
}

.popup-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.popup-info {
    padding: 12px;
}

.popup-nombre {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.popup-direccion {
    font-size: 13px;
    margin: 0;
    color: #555;
}

.popup-sector {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.popup-estrellas {
    font-size: 14px;
    color: #f4c150;
}

.popup-estrellas .placeholder {
    font-size: 11px;
    color: #999;
    margin-left: 4px;
}

.card-empresa.resaltada {
    outline: 3px solid #f4c150;
    outline-offset: -2px;
    transition: outline 0.3s ease;
}
