.whatsapp-float {
  position: fixed;
  bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.5rem + env(safe-area-inset-right, 0px));
  z-index: 35;
  display: inline-grid;
  place-items: center;
  width: 3.7rem;
  height: 3.7rem;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
  color: #25d366;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #128c7e;
  transform: scale(1.06);
}

.whatsapp-float__icon {
  width: 3.7rem;
  height: 3.7rem;
}

.whatsapp-float__label {
  position: absolute;
  right: calc(100% + 0.75rem);
  padding: 0.6rem 0.85rem;
  background: var(--ink);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.whatsapp-float:hover .whatsapp-float__label,
.whatsapp-float:focus-visible .whatsapp-float__label {
  opacity: 1;
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 3.2rem;
    height: 3.2rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: calc(1rem + env(safe-area-inset-right, 0px));
  }

  .whatsapp-float__icon {
    width: 3.2rem;
    height: 3.2rem;
  }

  .whatsapp-float__label {
    display: none;
  }
}
