/* Botón Flotante de WhatsApp */
.desplegable-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.boton-whatsapp-fijo {
  background-color: #25d366;
  border: none;
  border-radius: var(--radio-pildora);
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: var(--sombra-elevada);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.boton-whatsapp-fijo:hover {
  transform: scale(1.08);
  background-color: #20ba5a;
}

.boton-whatsapp-fijo img {
  width: 35px;
  height: 35px;
}

.opciones-whatsapp {
  display: none;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.desplegable-whatsapp:hover .opciones-whatsapp {
  display: flex;
}

.desplegable-whatsapp.abierto .opciones-whatsapp,
.desplegable-whatsapp:focus-within .opciones-whatsapp {
  display: flex;
}

.opcion-whatsapp {
  background-color: var(--color-fondo);
  color: var(--color-primario);
  padding: 10px 16px;
  border-radius: var(--radio-pildora);
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid var(--color-borde);
  box-shadow: var(--sombra-suave);
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.opcion-whatsapp:hover {
  background-color: #128c7e;
  color: #ffffff;
}
