.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-family: var(--vf-font, 'Inter', system-ui, sans-serif); }
  .wa-float * { box-sizing: border-box; }
  /* Tarjeta de saludo (nudge) */
  .wa-card { width: 290px; max-width: calc(100vw - 44px); background: #fff; border-radius: 16px; box-shadow: 0 16px 44px rgba(15,23,42,0.20); border: 1px solid #E2E8F0; overflow: hidden; transform: translateY(12px) scale(0.96); opacity: 0; pointer-events: none; transition: all 240ms cubic-bezier(0.34,1.56,0.64,1); transform-origin: bottom right; }
  .wa-card.show { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
  .wa-card-head { background: #075E54; padding: 14px 16px; display: flex; align-items: center; gap: 11px; position: relative; }
  .wa-card-head .av { width: 38px; height: 38px; border-radius: 999px; background: #25D366; display: grid; place-items: center; flex-shrink: 0; }
  .wa-card-head .who { line-height: 1.25; }
  .wa-card-head .who b { color: #fff; font-size: 14px; font-weight: 600; display: block; }
  .wa-card-head .who span { color: rgba(255,255,255,0.75); font-size: 11.5px; display: inline-flex; align-items: center; gap: 5px; }
  .wa-card-head .who span::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: #4ADE80; box-shadow: 0 0 0 0 rgba(74,222,128,0.6); animation: waPing 1.8s ease-out infinite; }
  .wa-card-close { position: absolute; top: 8px; right: 9px; width: 22px; height: 22px; border: 0; background: rgba(255,255,255,0.14); color: #fff; border-radius: 999px; cursor: pointer; display: grid; place-items: center; font-size: 15px; line-height: 1; }
  .wa-card-close:hover { background: rgba(255,255,255,0.26); }
  .wa-card-body { padding: 16px; background: #ECE5DD; }
  .wa-bubble { background: #fff; border-radius: 4px 12px 12px 12px; padding: 11px 13px; font-size: 13.5px; color: #1F2937; line-height: 1.5; box-shadow: 0 1px 1px rgba(15,23,42,0.08); position: relative; }
  .wa-bubble .t { display: block; margin-top: 6px; font-size: 10.5px; color: #94A3B8; text-align: right; }
  .wa-card-cta { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 14px; padding: 12px; background: #25D366; color: #fff; border: 0; border-radius: 10px; font-size: 14.5px; font-weight: 600; cursor: pointer; text-decoration: none; transition: background 160ms; }
  .wa-card-cta:hover { background: #1EBE5A; }
  /* Botón flotante (FAB) */
  .wa-fab { width: 60px; height: 60px; border-radius: 999px; background: #25D366; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,0.42), 0 0 0 0 rgba(37,211,102,0.45); position: relative; transition: transform 200ms; }
  .wa-fab:hover { transform: scale(1.07); }
  .wa-fab::after { content: ""; position: absolute; inset: 0; border-radius: 999px; animation: waFabPulse 2.4s ease-out infinite; }
  .wa-fab .badge { position: absolute; top: -3px; right: -3px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: #EF4444; color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; opacity: 0; transform: scale(0); transition: all 200ms cubic-bezier(0.34,1.56,0.64,1); }
  .wa-fab .badge.show { opacity: 1; transform: scale(1); }
  @keyframes waPing { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); } 100% { box-shadow: 0 0 0 7px rgba(74,222,128,0); } }
  @keyframes waFabPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.4); } 70%,100% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } }
  @media (max-width: 600px) { .wa-float { right: 16px; bottom: 16px; } .wa-fab { width: 56px; height: 56px; } }
  @media (prefers-reduced-motion: reduce) { .wa-fab::after, .wa-card-head .who span::before { animation: none; } .wa-card { transition: opacity 200ms; } }

/* Keyboard, small screens and native-link fallback. */
.wa-card { max-height: calc(100dvh - 110px); overflow-y: auto; }
.wa-card[hidden] { display: none; }
.wa-card-close { min-width: 24px; min-height: 24px; }
.wa-fab::after { pointer-events: none; }
.wa-float svg { flex-shrink: 0; }
.wa-float:has(.wa-card.show) .wa-fab::after { animation: none; }
