/* Bot��n flotante de WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  cursor: pointer;
  text-decoration: none !important;

  /* Transiciones */
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  
  /* Animaci��n de rebote continuo - duraci��n fija en segundos */
  animation: float 2.5s ease-in-out infinite;
}

/* Zoom y cambio de color al pasar el cursor */
.whatsapp-float:hover {
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
  background-color: #1ebe57;
}

/* Contenedor interno para el ��cono con zoom */
.whatsapp-float i {
  transition: transform 0.3s ease;
}

.whatsapp-float:hover i {
  transform: scale(1.2);
}



/* Para mantener la animaci��n durante hover */
.whatsapp-float:hover {
  animation: floatHover 2.5s ease-in-out infinite;
}



/* Tooltip */
.whatsapp-float::after {
  content: "Chatea con nosotros";
  position: absolute;
  left: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, left 0.3s ease;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Mostrar tooltip al pasar el cursor */
.whatsapp-float:hover::after {
  opacity: 1;
  left: 75px; /* Movimiento horizontal en lugar de transform */
}

/* Flecha del tooltip */
.whatsapp-float::before {
  content: "";
  position: absolute;
  left: 62px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #333;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Mostrar flecha al pasar el cursor */
.whatsapp-float:hover::before {
  opacity: 1;
}

