.whatsapp-button {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 900;
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 16px rgb(0 0 0 / 24%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-button:hover,
.whatsapp-button:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgb(0 0 0 / 30%);
}

.whatsapp-button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.whatsapp-button svg {
  width: 2rem;
  height: 2rem;
  fill: #fff;
}

@media (max-width: 480px) {
  .whatsapp-button {
    right: max(.75rem, env(safe-area-inset-right));
    bottom: max(.75rem, env(safe-area-inset-bottom));
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-button {
    transition: none;
  }
}
