/* ===========================
   FLOATING WHATSAPP BUTTON
   =========================== */
.ssw-float-whatsapp {
  position: fixed;
  bottom: var(--ssw-fw-bottom, 32px);
  z-index: 999;
  background: linear-gradient(135deg, #25d366, #128c5e);
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: ssw-fw-bounce 3s ease-in-out infinite;
}

.ssw-float-whatsapp--right {
  right: var(--ssw-fw-side, 32px);
}

.ssw-float-whatsapp--left {
  left: var(--ssw-fw-side, 32px);
}

.ssw-float-whatsapp:hover,
.ssw-float-whatsapp:focus-visible {
  transform: scale(1.12);
  box-shadow: 0 12px 44px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.ssw-float-whatsapp svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
  position: relative;
  z-index: 1;
}

@keyframes ssw-fw-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.ssw-fw-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.5);
  animation: ssw-fw-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ssw-fw-ping {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(1.6); opacity: 0;   }
}

@media (max-width: 480px) {
  .ssw-float-whatsapp {
    width: 52px;
    height: 52px;
  }

  .ssw-float-whatsapp svg {
    width: 26px;
    height: 26px;
  }
}
