.whatsapp-widget {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.whatsapp-widget:hover,
.whatsapp-widget:focus-visible {
  color: #fff;
  background: #1fbd59;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .34);
  transform: translateY(-3px);
}

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

.whatsapp-widget svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.whatsapp-widget span {
  position: absolute;
  right: calc(100% + 12px);
  width: max-content;
  padding: 7px 10px;
  color: #fff;
  background: #172330;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateX(5px);
  transition: opacity .2s ease, transform .2s ease;
}

.whatsapp-widget:hover span,
.whatsapp-widget:focus-visible span {
  opacity: 1;
  transform: none;
}

@media (max-width: 600px) {
  .whatsapp-widget {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-widget svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-widget span {
    display: none;
  }
}

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