.lbe-wa-float {
  --lbe-wa-green: #25d366;
  --lbe-wa-green-dark: #128c4a;
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 999999;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Jost", Arial, sans-serif;
  pointer-events: none;
}

.lbe-wa-float__button {
  position: relative;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .95);
  border-radius: 50%;
  background: linear-gradient(145deg, #2ee775, var(--lbe-wa-green-dark));
  box-shadow: 0 12px 34px rgba(18, 140, 74, .36), 0 4px 12px rgba(43, 33, 24, .18);
  color: #fff;
  text-decoration: none;
  pointer-events: auto;
  isolation: isolate;
  transition: transform .25s ease, box-shadow .25s ease;
  animation: lbe-wa-float 3.5s ease-in-out infinite;
}

.lbe-wa-float__button:hover,
.lbe-wa-float__button:focus-visible {
  color: #fff;
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 18px 40px rgba(18, 140, 74, .44), 0 6px 16px rgba(43, 33, 24, .2);
  outline: none;
  animation-play-state: paused;
}

.lbe-wa-float__ring {
  position: absolute;
  inset: -2px;
  z-index: -1;
  border: 2px solid rgba(37, 211, 102, .7);
  border-radius: inherit;
  animation: lbe-wa-ring 2.4s ease-out infinite;
}

.lbe-wa-float__icon {
  display: grid;
  place-items: center;
  transition: transform .25s ease;
}

.lbe-wa-float__button:hover .lbe-wa-float__icon { transform: rotate(-7deg) scale(1.08); }

.lbe-wa-float__icon svg {
  display: block;
  width: 35px;
  height: 35px;
  fill: currentColor;
}

.lbe-wa-float__online {
  position: absolute;
  top: 2px;
  right: 1px;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #7cf29d;
  box-shadow: 0 2px 7px rgba(0, 0, 0, .18);
}

.lbe-wa-float__label {
  max-width: 180px;
  padding: 10px 15px;
  border: 1px solid rgba(172, 138, 62, .24);
  border-radius: 12px;
  background: #fffdf8;
  box-shadow: 0 10px 28px rgba(43, 33, 24, .15);
  color: #2b2118;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  line-height: 1.2;
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px) scale(.96);
  transform-origin: right center;
  transition: opacity .24s ease, transform .24s ease;
  white-space: nowrap;
}

.lbe-wa-float__label::after {
  content: "";
  position: absolute;
  right: 70px;
}

.lbe-wa-float:hover .lbe-wa-float__label,
.lbe-wa-float:focus-within .lbe-wa-float__label,
.lbe-wa-float.is-introducing .lbe-wa-float__label {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@keyframes lbe-wa-ring {
  0% { opacity: .65; transform: scale(1); }
  75%, 100% { opacity: 0; transform: scale(1.5); }
}

@keyframes lbe-wa-float {
  0%, 72%, 100% { transform: translateY(0); }
  78% { transform: translateY(-6px); }
  84% { transform: translateY(0); }
  90% { transform: translateY(-3px); }
}

@media (max-width: 767px) {
  .lbe-wa-float {
    right: max(15px, env(safe-area-inset-right));
    bottom: max(17px, env(safe-area-inset-bottom));
  }
  .lbe-wa-float__button { width: 57px; height: 57px; }
  .lbe-wa-float__icon svg { width: 31px; height: 31px; }
  .lbe-wa-float__label { padding: 9px 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .lbe-wa-float__button,
  .lbe-wa-float__ring { animation: none; }
  .lbe-wa-float__button,
  .lbe-wa-float__icon,
  .lbe-wa-float__label { transition-duration: .01ms; }
}

