.whatsapp-cta {
  position: relative;
  overflow: hidden;
  background: #16a34a !important;
  color: #fff !important;
  animation: whatsappPulse 2.4s ease-in-out infinite;
}

.whatsapp-cta::after {
  content: "";
  position: absolute;
  inset: -45%;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .42), transparent 65%);
  transform: translateX(-95%);
  animation: whatsappShine 3.2s ease-in-out infinite;
  pointer-events: none;
}

.floating.whatsapp-cta,
.whatsapp-float.whatsapp-cta {
  position: fixed;
  left: 18px;
  right: auto;
  bottom: 18px;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
  min-height: 54px;
  padding: 15px 21px;
  border-radius: 999px;
  background: #16a34a !important;
  box-shadow: 0 18px 52px rgba(22, 163, 74, .38);
  text-align: center;
  white-space: nowrap;
}

.floating.whatsapp-cta::before,
.whatsapp-float.whatsapp-cta::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #dcfce7;
  box-shadow: 0 0 0 6px rgba(220, 252, 231, .20);
}

.floating.whatsapp-cta:hover,
.whatsapp-float.whatsapp-cta:hover {
  background: #15803d !important;
}

@media (max-width: 860px) {
  .floating.whatsapp-cta,
  .whatsapp-float.whatsapp-cta {
    left: 14px;
    right: auto;
    bottom: 14px;
    max-width: calc(100vw - 28px);
    min-height: 50px;
    padding: 13px 16px;
    border-radius: 16px;
    font-size: 14px;
    white-space: normal;
  }
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 15px 40px #0004;
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 22px 54px rgba(22, 163, 74, .42);
  }
}

@keyframes whatsappShine {
  0% {
    transform: translateX(-95%);
  }
  45%, 100% {
    transform: translateX(95%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-cta,
  .whatsapp-cta::after {
    animation: none;
  }
}
