.whatsapp-float {
  position: fixed;
  inset-inline-end: max(1rem, env(safe-area-inset-right, 0px));
  bottom: calc(var(--whatsapp-consent-offset, 1rem) + env(safe-area-inset-bottom, 0px));
  z-index: calc(var(--sc-z-chrome, 100) + 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: bottom 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.38);
}

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

.whatsapp-float svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
}

@media (max-width: 700px) {
  .whatsapp-float {
    width: 3.1rem;
    height: 3.1rem;
  }

  .whatsapp-float svg {
    width: 1.6rem;
    height: 1.6rem;
  }
}

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