
/* --- MAQUETACIÓN GENERAL --- */
.producto-interactivo-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  margin: 30px auto; 
  box-sizing: border-box;
  
  gap: 30px;
  align-items: center;
  
}

.prod-col-texto {
  flex: 1.5;
  border-right: 1px solid #dcdbd7;
  padding-right: 40px;
  align-self: flex-start;
  height: 100%;;
}

.prod-col-centro {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 300px;
  max-height: 300px;
}

.prod-col-derecha {
  flex: 1.5;
  padding-left: 20px;
}

.prod-titulo-principal {
  /* font-size: 2.2rem;
  color: #2b2b2b;
  margin: 0 0 15px 0;
  font-weight: 400; */
}

.prod-subtitulo {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 25px;
}

.prod-panel-dinamico {
  margin-top: 40px;
}

/* Visibilidad de las fichas */
.prod-seccion-info {
  display: none;
}
.prod-seccion-info.activa {
  display: block;
  animation: prodFadeIn 0.3s ease forwards;
}

@keyframes prodFadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.prod-titulo-cambiante {
  color: #7d72c6;
  font-size: 1.4rem;
  margin: 0 0 20px 0;
  font-weight: 500;
}
p.prod-frase-click {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
}

.prod-texto-bloque {
  font-size:1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}
.prod-texto-bloque strong {
  color: #333;
  display: block;
  font-size:1rem;
  letter-spacing: 0.05em;
  margin-bottom: 5px;
}

/* Acordeones */

/* Acordeones */
.prod-acordeon-item {
  border-bottom: 1px solid #e5e5e5; /* Línea más suave como la de la imagen */
  margin-bottom: 5px;
}

.prod-acordeon-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 0; /* Más espaciado vertical según la imagen */
  font-size: 1rem;
  font-weight: 500; /* Texto ligeramente más definido */
  color: #1a1a1a; /* Color oscuro limpio */
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.prod-acordeon-trigger:focus{
  outline-width: 0px !important;;
}

/* Icono en estado cerrado (flecha apuntando abajo) */
.prod-acordeon-trigger::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid #333; /* Grosor de la flecha */
  border-bottom: 2px solid #333;
  transform: rotate(45deg); /* Rotación para que parezca una 'V' */
  transition: transform 0.2s ease; /* Transición suave al girar */
  margin-right: 5px;
}

/* Estado abierto */
.prod-acordeon-content {
  display: none;
  padding: 0 0 20px 0; /* Ajuste de espaciado */
  font-size: 0.95rem;
  color: #333;
  line-height: 1.6;
}

.prod-acordeon-item.abierto .prod-acordeon-content {
  display: block;
}
.prod-acordeon-item.abierto .prod-acordeon-trigger{
  font-weight: 700;;
}

/* Gira el icono 180 grados hacia arriba cuando está abierto */
.prod-acordeon-item.abierto .prod-acordeon-trigger::after {
  transform: rotate(-135deg);
}



/* .prod-acordeon-item {
  border-bottom: 1px solid #dcdbd7;
  margin-bottom: 5px;
}
.prod-acordeon-trigger {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 12px 0;
  font-size: 0.95rem;
  color: #444;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.prod-acordeon-trigger::after {
  content: '▼';
  font-size: 0.7rem;
  color: #aaa;
}
.prod-acordeon-content {
  display: none;
  padding: 5px 0 15px 0;
  font-size: 0.88rem;
  color: #666;
  line-height: 1.5;
}
.prod-acordeon-item.abierto .prod-acordeon-content {
  display: block;
} */

/* Dimensiones de la imagen */
.prod-wrapper-imagen {
  /* max-width: 300px;
  max-height: 300px; */
}
.prod-img-central {
  display: block;
    max-width: 300px;
    max-height: 300px;
}

/* Lista interactiva derecha */
.prod-lista-hotspots {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.prod-hotspot-item {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  cursor: pointer;
  text-align: left;
}
.prod-hotspot-item:focus, .prod-hotspot-item.activa:focus {
  border: none !important;
  outline-width: 0px !important;;
}

.prod-hotspot-button {
  width: 12px;
  height: 12px;
  background-color: #a0a0a0;
  border-radius: 50%;
  box-shadow: 0 0 0 6px #d9d9d9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* .prod-punto-interno {
  width: 4px;
  height: 4px;
  background-color: #f4f3ef;
  border-radius: 50%;
} */

.prod-linea-conectora {
  width: 35px;
  height: 0px;
  border-top: 1px dotted #a0a0a0;
  margin: 0 15px;
  flex-shrink: 0;
}

.prod-hotspot-label {
  font-size: 17px;
  color: #555;

  transition: color 0.3s ease, font-weight 0.3s ease;
  white-space: normal; /* Evita que el texto se salga de la caja */
  line-height: 1.3;
}




/* Estados Activos */

.prod-titulo-cambiante{
  color: #000;
  font-weight: 700;
}

.prod-hotspot-item.activa .prod-hotspot-button{
  background-color: #000;
  box-shadow: 0 0 0 6px #8a8a8a;
}
.prod-hotspot-item.activa .prod-linea-conectora {
  border-top-style: dashed;
  border-color: #000;
}
.prod-hotspot-item.activa .prod-hotspot-label {
  color: #000;
  font-weight: 700;
}



/* ---Morado */

#map-purple .prod-titulo-cambiante{
  color: #8683D1;
}

#map-purple .prod-hotspot-item.activa .prod-hotspot-button{
  background-color: #8683D1;
  box-shadow: 0 0 0 6px #beb6ee;
}
#map-purple .prod-hotspot-item.activa .prod-linea-conectora {
  border-top-style: dashed;
  border-color: #8683D1;
}
#map-purple .prod-hotspot-item.activa .prod-hotspot-label {
  color: #8683D1;

}




/* ---Amarillo */

#map-yellow .prod-titulo-cambiante{
  color: #ffd469;
}

#map-yellow .prod-hotspot-item.activa .prod-hotspot-button{
  background-color: #ffd469;
  box-shadow: 0 0 0 6px #f9e1a5;
}
#map-yellow .prod-hotspot-item.activa .prod-linea-conectora {
  border-top-style: dashed;
  border-color: #ffd469;
}
#map-yellow .prod-hotspot-item.activa .prod-hotspot-label {
  color: #ffd469;

}


/* ---turquesa */

#map-turquesa .prod-titulo-cambiante{
  color: #004E52;
}

#map-turquesa .prod-hotspot-item.activa .prod-hotspot-button{
  background-color: #004E52;
  box-shadow: 0 0 0 6px #76afb0;
}
#map-turquesa .prod-hotspot-item.activa .prod-linea-conectora {
  border-top-style: dashed;
  border-color: #004E52;
}
#map-turquesa .prod-hotspot-item.activa .prod-hotspot-label {
  color: #004E52;

}

/* ---red */


#map-red .prod-titulo-cambiante{
  color: #e95244;
}

#map-red .prod-hotspot-item.activa .prod-hotspot-button{
  background-color: #e95244;
  box-shadow: 0 0 0 6px #e9a49f;
}
#map-red .prod-hotspot-item.activa .prod-linea-conectora { 
  border-top-style: dashed;
  border-color: #e95244;
}
#map-red .prod-hotspot-item.activa .prod-hotspot-label {
  color: #e95244;

}


/* ---blue */

#map-blue .prod-titulo-cambiante{
  color: #71a5cc;
}

#map-blue .prod-hotspot-item.activa .prod-hotspot-button{
  background-color: #71a5cc;
  box-shadow: 0 0 0 6px #abcfeb;
}
#map-blue .prod-hotspot-item.activa .prod-linea-conectora {
  border-top-style: dashed;
  border-color: #71a5cc;
}
#map-blue .prod-hotspot-item.activa .prod-hotspot-label {
  color: #71a5cc;
 
}

/* ---rosa */
#map-pink .prod-titulo-cambiante{
  color: #ecb3be;
}

#map-pink .prod-hotspot-item.activa .prod-hotspot-button{
  background-color: #ecb3be;
  box-shadow: 0 0 0 6px #f8dae0;
}
#map-pink .prod-hotspot-item.activa .prod-linea-conectora {
  border-top-style: dashed;
  border-color: #ecb3be;
}
#map-pink .prod-hotspot-item.activa .prod-hotspot-label {
  color: #ecb3be;

}


/* ---green */
#map-green .prod-titulo-cambiante{
  color: #65a183;
}

#map-green .prod-hotspot-item.activa .prod-hotspot-button{
  background-color: #65a183;
  box-shadow: 0 0 0 6px #98c1ac;
}
#map-green .prod-hotspot-item.activa .prod-linea-conectora {
  border-top-style: dashed;
  border-color: #65a183;
}
#map-green .prod-hotspot-item.activa .prod-hotspot-label {
  color: #65a183;

}


/* ---nightblue */
#map-nightblue .prod-titulo-cambiante{
  color: #1e5482;
}

#map-nightblue .prod-hotspot-item.activa .prod-hotspot-button{
  background-color: #1e5482;
  box-shadow: 0 0 0 6px #6f95b7;
}
#map-nightblue .prod-hotspot-item.activa .prod-linea-conectora {
  border-top-style: dashed;
  border-color: #1e5482;
}
#map-nightblue .prod-hotspot-item.activa .prod-hotspot-label {
  color: #1e5482;

}







/* MÓVIL CRÍTICO (< 850px) */
@media (max-width: 850px) {
  .producto-interactivo-container {
    flex-direction: column;
    padding: 30px 20px;
    gap: 30px;
  }
  .prod-col-derecha {
    display: none !important;
  }
  .prod-col-centro {
    order: -1;
    width: 100%;
    max-width: 120px;
    margin: 0 auto;
  }
  .prod-col-texto {
    width: 100%;
    border-right: none;
    padding-right: 0;
  }
  .prod-seccion-info {
    display: block !important; /* Despliega todo */
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    /* border-left: 3px solid #7d72c6; */
  }
  .prod-acordeon-content {
    display: block !important;
  }
  .prod-acordeon-trigger {
    pointer-events: none;
  }
  .prod-acordeon-trigger::after {
    display: none;
  }
  p.prod-frase-click {display:none}
}
