.fvlwhatsapp {
  --fvlwhatsapp-bottom: 24px;
  position: fixed;
  right: 20px;
  right: max(20px, env(safe-area-inset-right));
  bottom: var(--fvlwhatsapp-bottom);
  bottom: max(var(--fvlwhatsapp-bottom), env(safe-area-inset-bottom));
  z-index: 1040;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.fvlwhatsapp__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 0;
  color: #fff;
  background: #25d366;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.24);
  line-height: 1;
  text-decoration: none;
  pointer-events: auto;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.fvlwhatsapp__button--with-label {
  width: auto;
  min-width: 58px;
  padding: 0 20px 0 15px;
  gap: 9px;
}

.fvlwhatsapp__button:hover,
.fvlwhatsapp__button:focus {
  color: #fff;
  background: #1fbd5a;
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transform: translateY(-2px);
}

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

.fvlwhatsapp__icon {
  display: block;
  flex: 0 0 auto;
}

.fvlwhatsapp__label {
  color: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .fvlwhatsapp {
    right: 14px;
    right: max(14px, env(safe-area-inset-right));
  }

  .fvlwhatsapp__button,
  .fvlwhatsapp__button--with-label {
    width: 54px;
    height: 54px;
    min-width: 54px;
    padding: 0;
  }

  .fvlwhatsapp__label {
    display: none;
  }
}

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