/* ═══════════════════════════════════════════════════════════════
   FLOATING WHATSAPP / CONTACT BUTTON
   ═══════════════════════════════════════════════════════════════ */

/* ── Stack container ──────────────────────────────────────────── */
.vesta-float-btns {
  position: fixed;
  bottom: 30px;
  right: 24px;
  z-index: 9980;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* ── Single button ────────────────────────────────────────────── */
.vesta-float-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.25s, opacity 0.25s;
  white-space: nowrap;
  cursor: pointer;
}
.vesta-float-btn i { font-size: 1.25rem; flex-shrink: 0; }
.vesta-float-btn:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 32px rgba(0,0,0,0.22);
  color: #fff !important;
}

/* ── WhatsApp ─────────────────────────────────────────────────── */
.vesta-float-btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
}

/* ── Phone / Call ─────────────────────────────────────────────── */
.vesta-float-btn--phone {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

/* ── Label hidden by default, show on hover ───────────────────── */
.vesta-float-btn .vfb-label {
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.35s ease, opacity 0.25s ease;
  white-space: nowrap;
}
.vesta-float-btn:hover .vfb-label {
  max-width: 180px;
  opacity: 1;
}

/* ── Pulse ring on WhatsApp icon ──────────────────────────────── */
.vesta-float-btn--whatsapp i {
  position: relative;
}
.vesta-float-btn--whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25d36633;
  animation: vfbPulse 2.2s infinite;
  pointer-events: none;
}
@keyframes vfbPulse {
  0%   { transform: scale(0.95); opacity: 0.7; }
  60%  { transform: scale(1.35); opacity: 0;   }
  100% { transform: scale(0.95); opacity: 0;   }
}

/* ── Push compare bar up when floating buttons present ─────────── */
body.has-float-btns #vesta-compare-bar.is-visible {
  bottom: 0;
}

/* ── Dark Mode ────────────────────────────────────────────────── */
body.dark-mode .vesta-float-btn {
  box-shadow: 0 8px 28px rgba(0,0,0,0.4);
}

/* ── Responsive: icon-only on mobile ─────────────────────────── */
@media (max-width: 600px) {
  .vesta-float-btns { bottom: 16px; right: 14px; gap: 10px; }
  .vesta-float-btn { padding: 14px; border-radius: 50%; }
  .vesta-float-btn .vfb-label { display: none; }
}
