/* Site-wide floating WhatsApp button. Markup: WhatsAppButton::render() */

.tp-whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99990;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366 !important;
  color: #fff !important;
  text-decoration: none;
  box-shadow: 0 10px 26px rgb(37 211 102 / 38%);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  -webkit-tap-highlight-color: transparent;
}

.tp-whatsapp-float:hover,
.tp-whatsapp-float:focus-visible {
  background: #1ebe5a !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgb(37 211 102 / 46%);
}

.tp-whatsapp-float:focus-visible {
  outline: 3px solid rgb(37 211 102 / 45%);
  outline-offset: 3px;
}

.tp-whatsapp-float i {
  position: relative;
  z-index: 1;
  font-size: 30px;
  line-height: 1;
}

.tp-whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.55;
  animation: tp-whatsapp-pulse 2.4s ease-out infinite;
}

@keyframes tp-whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  70% { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Lift above the mobile sticky "Reserver" CTA bars on activity/destination pages. */
@media (max-width: 767px) {
  .tp-whatsapp-float {
    right: 16px;
    bottom: 86px;
    width: 52px;
    height: 52px;
  }

  .tp-whatsapp-float i {
    font-size: 27px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-whatsapp-float {
    transition: none;
  }

  .tp-whatsapp-float:hover,
  .tp-whatsapp-float:focus-visible {
    transform: none;
  }

  .tp-whatsapp-float__pulse {
    animation: none;
    opacity: 0;
  }
}
