/* ======================================================= */
/* 🗺️ ESTILOS FINALES PARA LOS MAPAS (PC Y CELULAR) */
/* ======================================================= */

.map-window {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.85);
    /* Fondo un poco más oscuro */
    justify-content: center;
    align-items: center;
}

.map-window.is-open {
    display: flex !important;
}

.modal-content {
    background-color: #ffffff;
    padding: 15px;
    border-radius: 12px;
    position: relative;
    /* 💥 ESTO ARREGLA EL TAMAÑO EN EL CELULAR 💥 */
    width: 95%;
    /* Casi todo el ancho en el móvil */
    max-width: 700px;
    /* Pero en la compu no se estira de más */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 💥 ESTO HACE QUE EL MAPA (IFRAME) NO SEA GIGANTE 💥 */
.modal-content iframe {
    width: 100% !important;
    height: 450px;
    /* Altura fija para que sea cómodo */
    max-height: 70vh;
    /* En móviles petisos no se corta */
    border-radius: 8px;
    border: none;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 35px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10;
}

.close-btn:hover {
    color: #ff0000;
}

h2 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}