.awb-whatsapp-button {
  position: fixed;
  z-index: 999999;
  bottom: var(--awb-bottom, 24px);
  width: var(--awb-size, 64px);
  height: var(--awb-size, 64px);
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: var(--awb-color, #25d366);
  color: var(--awb-icon-color, #ffffff);
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
  isolation: isolate;
  animation: awb-heartbeat var(--awb-heartbeat-duration, 1.45s) ease-in-out infinite;
  transition: background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.awb-position-right { right: var(--awb-side, 24px); }
.awb-position-left { left: var(--awb-side, 24px); }

.awb-whatsapp-button::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2px;
  border-radius: inherit;
  background: var(--awb-color, #25d366);
  opacity: 0;
  pointer-events: none;
  animation: awb-wave var(--awb-heartbeat-duration, 1.45s) ease-out infinite;
}

.awb-whatsapp-button:hover,
.awb-whatsapp-button:focus-visible {
  background: var(--awb-hover-color, #1fbd5a);
  color: var(--awb-icon-color, #ffffff);
  animation-play-state: paused;
  transform: scale(1.08);
  box-shadow: 0 15px 34px rgba(0, 0, 0, .3);
  outline: none;
}

.awb-whatsapp-button:hover::after,
.awb-whatsapp-button:focus-visible::after {
  animation-play-state: paused;
}

.awb-whatsapp-button__ring {
  position: absolute;
  z-index: 1;
  inset: -1px;
  border: 2px solid rgba(255, 255, 255, .76);
  border-radius: inherit;
  pointer-events: none;
}

.awb-whatsapp-button__icon {
  position: relative;
  z-index: 2;
  width: 55%;
  height: 55%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.awb-whatsapp-button__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.awb-no-animation,
.awb-no-animation::after {
  animation: none !important;
}

@keyframes awb-heartbeat {
  0%, 28%, 64%, 100% { transform: scale(1); }
  14% { transform: scale(var(--awb-heartbeat-scale, 1.11)); }
  42% { transform: scale(var(--awb-heartbeat-secondary, 1.072)); }
}

@keyframes awb-wave {
  0%, 18% { opacity: .34; transform: scale(.94); }
  68%, 100% { opacity: 0; transform: scale(1.48); }
}

@media (max-width: 782px) {
  .awb-whatsapp-button {
    max-width: 72px;
    max-height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .awb-whatsapp-button,
  .awb-whatsapp-button::after {
    animation: none !important;
  }
}
