a.wi-whatsapp {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 54px;
  padding: 10px 24px;
  border-radius: 999px;
  background-color: #1c8555;
  color: #fff;
  box-shadow: 0 3px 12px rgb(0 0 0 / 18%);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

a.wi-whatsapp:hover,
a.wi-whatsapp:focus-visible {
  background-color: #166b45;
  color: #fff;
  text-decoration: none;
}

a.wi-whatsapp:focus-visible {
  outline: 2px solid #171717;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
}

.wi-whatsapp img {
  display: block;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

@media (max-width: 767px) {
  html {
    scroll-padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  a.wi-whatsapp {
    right: calc(12px + env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    width: 48px;
    min-height: 48px;
    padding: 0;
  }

  .wi-whatsapp img {
    width: 24px;
    height: 24px;
  }

  .wi-whatsapp span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
