.hotspots-container {
    position: relative;
    width: 100%; /* La imagen será responsive */
    height: auto; /* Mantiene la proporción de la imagen */
}

.hotspots-container img {
    width: 100%; /* Imagen responsive */
    height: auto;
    display: block;
}

.et_pb_hotspot {
    width: 20px;
    height: 20px;
    position: absolute;
    cursor: pointer;
    z-index: 10;
    transform: translate(-50%, -50%); /* Asegura que el punto esté centrado */
}

.hotspot-circle {
    width: 20px;
    height: 20px;
    /*background-color: rgba(0, 0, 0, 0.7);*/
	border: 1px solid white;
    border-radius: 50%;
    z-index: 10;
}

.hotspot-circle:hover {
	background: white;
	border: 1px solid white;
}
.hotspot-tooltip {
    position: absolute;
    top: calc(100% + 10px); /* Debajo del punto con espacio */
    left: 50%;
    transform: translateX(-50%);
    padding: 10px;
    background-color: white;
    color: black;
    border: 1px solid black;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    width: 450px; /* Máximo tamaño del tooltip */
    
    word-wrap: break-word; /* Para que el texto largo se ajuste correctamente */
}

.et_pb_hotspot:hover .hotspot-tooltip {
    display: block;
}

/* Asegura que el tooltip no se salga del contenedor */
.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background-color: white;
    border-left: 1px solid black;
    border-top: 1px solid black;
    z-index: -1;
}

/* Media queries para pantallas pequeñas */
@media (max-width: 768px) {
    .hotspot-tooltip {
        font-size: 0.9rem; /* Fuente más pequeña en pantallas pequeñas */
        /*max-width: 90%;/* El tooltip ocupa el 90% del ancho de la pantalla */
		width: 300px;
    }
}

@media (max-width: 430px) {
    .hotspot-tooltip {
        font-size: 0.8rem; /* Fuente más pequeña en pantallas muy pequeñas */
        /*max-width: 90%; /* El tooltip ocupa el 90% del ancho de la pantalla */
		width: 250px;
    }
}
