/* Shared WhatsApp FAB — must load LAST in <head>.
   Fixes disappear-on-hover/click caused by opacity:0 + interrupted animations. */
.whatsapp-float {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 9000 !important;
}

.whatsapp-float:hover,
.whatsapp-float:focus,
.whatsapp-float:focus-visible,
.whatsapp-float:active,
.whatsapp-float.wa-solid {
  opacity: 1 !important;
  visibility: visible !important;
  animation: none !important;
  transform: scale(1.1) !important;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.65) !important;
}

.whatsapp-float .whatsapp-pulse {
  pointer-events: none !important;
}

/* When mobile drawer is open, FAB must not cover menu CTAs */
body.menu-open .whatsapp-float {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(0.85) !important;
}
