.mlh-floating-whatsapp {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: grid;
  width: 60px;
  height: 60px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 30px rgb(0 0 0 / 22%);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.mlh-floating-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 13px 34px rgb(0 0 0 / 28%);
  transform: translateY(-3px);
}

.mlh-floating-whatsapp:active {
  transform: scale(0.96);
}

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

.mlh-floating-whatsapp svg {
  display: block;
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 640px) {
  .mlh-floating-whatsapp {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: 54px;
    height: 54px;
  }

  .mlh-floating-whatsapp svg {
    width: 29px;
    height: 29px;
  }
}

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

@media print {
  .mlh-floating-whatsapp {
    display: none;
  }
}
