.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: inline-flex;
  align-items: center;
  height: 56px;
  padding: 0;
  background-color: #00ffcE;
  color: black;
  border-radius: 999px;
  text-decoration: none;
  overflow: hidden;
  transition: background-color .15s ease;
}
.wa-float:hover,
.wa-float:focus-visible {
  background-color: #00ffcE;
  color: black;
  text-decoration: none;
}
.wa-float:focus-visible { outline: 3px solid rgba(37,211,102,.45); outline-offset: 2px; }
.wa-float:active { transform: scale(.97); }

.wa-float__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wa-float__icon svg { width: 28px; height: 28px; }

.wa-float__text {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: max-width .3s ease, opacity .2s ease .05s, padding-right .3s ease;
}

/* Text sa vysunie len na zariadeniach s myšou (desktop hover) */
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover .wa-float__text,
  .wa-float:focus-visible .wa-float__text {
    max-width: 260px;
    opacity: 1;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float__text { transition: none; }
}

.wa-float {
  z-index: 2147483000 !important;
  isolation: isolate;
}

/* Bezpečná zóna na mobiloch (iOS notch / gesture bar) */
@supports (padding: env(safe-area-inset-bottom)) {
  .wa-float {
    right: calc(20px + env(safe-area-inset-right));
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}