.wa-fab {
  position: fixed;
  right: max(0.85rem, env(safe-area-inset-right, 0px));
  bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}
.wa-fab__btn {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: #1EBE57;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 0 0 0 rgba(30, 190, 87, 0.35);
  animation: wa-fab-pulse 2.4s ease-out infinite;
}
.wa-fab:hover .wa-fab__btn,
.wa-fab:focus-visible .wa-fab__btn {
  background: #18A84C;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 0 24px rgba(30, 190, 87, 0.45);
  animation: none;
}
.wa-fab:focus-visible {
  outline: none;
}
.wa-fab__icon {
  display: block;
  width: 28px;
  height: 28px;
}
.wa-fab__label {
  display: none;
  max-width: 11rem;
  padding: 0.55rem 0.85rem;
  border-radius: 14px;
  background: rgba(14, 4, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-family: "Average Sans", system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  color: #F4EEFF;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
}
.wa-fab__label small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(244, 238, 255, 0.65);
}
body.nav-open .wa-fab {
  opacity: 0;
  pointer-events: none;
}

@keyframes wa-fab-pulse {
  0% { box-shadow: 0 0 0 0 rgba(30, 190, 87, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(30, 190, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(30, 190, 87, 0); }
}

@media (min-width: 901px) {
  .wa-fab__label { display: block; }
  .wa-fab {
    flex-direction: row-reverse;
    right: max(1.25rem, env(safe-area-inset-right, 0px));
    bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab__btn { animation: none; }
  .wa-fab:hover .wa-fab__btn,
  .wa-fab:focus-visible .wa-fab__btn { transform: none; }
}
