/* ═══════════════════════════════════════
   WHATSAPP WIDGET — whatsapp.css
═══════════════════════════════════════ */

.wa-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Bubble popup */
.wa-bubble {
  background: #fff;
  border-radius: 16px 16px 4px 16px;
  padding: 16px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,.15);
  max-width: 260px;
  display: none;
  animation: waBubbleIn .3s cubic-bezier(.22,1,.36,1);
  position: relative;
}
.wa-bubble.open { display: block; }
@keyframes waBubbleIn {
  from { opacity: 0; transform: scale(.92) translateY(10px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.wa-bubble__close {
  position: absolute;
  top: 10px; right: 12px;
  background: none; border: none;
  font-size: 16px; color: #999;
  cursor: pointer; line-height: 1;
}
.wa-bubble__avatar {
  width: 40px; height: 40px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.wa-bubble__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  color: #1a1a2e; margin-bottom: 3px;
}
.wa-bubble__status {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; color: #25D366;
  font-weight: 600; margin-bottom: 10px;
  display: flex; align-items: center; gap: 5px;
}
.wa-bubble__status::before {
  content: '';
  width: 7px; height: 7px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
}
.wa-bubble__msg {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; color: #444;
  line-height: 1.65; margin-bottom: 14px;
}
.wa-bubble__cta {
  display: flex; align-items: center; gap: 8px;
  background: #25D366;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s;
  width: 100%;
  justify-content: center;
}
.wa-bubble__cta:hover { background: #1ebe5d; }

/* Main button */
.wa-btn {
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  cursor: pointer;
  border: none;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s;
  position: relative;
}
.wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}
.wa-btn:active { transform: scale(.96); }

/* Pulse ring */
.wa-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: waPulse 2.5s ease-in-out infinite;
}
@keyframes waPulse {
  0%,100% { transform: scale(1); opacity: .6; }
  50% { transform: scale(1.18); opacity: 0; }
}

/* Notification dot */
.wa-btn__dot {
  position: absolute;
  top: 2px; right: 2px;
  width: 14px; height: 14px;
  background: #FF3B30;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 8px; font-weight: 800;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

@media(max-width: 480px) {
  .wa-widget { bottom: 20px; right: 16px; }
  .wa-bubble { max-width: 220px; }
  .wa-btn { width: 52px; height: 52px; }
}
