.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  font-family: Arial, Helvetica, sans-serif;
}

/* BOTÓN FLOTANTE */
.whatsapp-button {
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 34px;
  box-shadow: 0 8px 25px rgba(0,0,0,.3);
  cursor: pointer;
  text-decoration: none;
}

/* CAJA CHAT */
.whatsapp-chat {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background: #f0f2f5;
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(0,0,0,.35);
  overflow: hidden;
  display: none;
  animation: slideUp .4s ease;
}

/* HEADER */
.whatsapp-header {
  background: #25d366;
  color: #fff;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.whatsapp-header span {
  font-size: 16px;
  font-weight: bold;
}

.whatsapp-header button {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  font-size: 18px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
}

/* BODY */
.whatsapp-body {
  padding: 15px;
}

/* MENSAJE TIPO GLOBO */
.whatsapp-msg {
  background: #ffffff;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  color: #333;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  margin-bottom: 12px;
}

/* BOTÓN ABRIR CHAT */
.whatsapp-open {
  display: block;
  background: #25d366;
  color: #fff;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 0 0 15px 15px;
}

/* ANIMACIÓN */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .whatsapp-chat {
    width: 260px;
  }
}