/* Botón flotante de WhatsApp */
.mfmwa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 160;
  width: var(--mfmwa-size, 60px); height: var(--mfmwa-size, 60px); border-radius: 50%;
  background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45); text-decoration: none;
  transition: transform .25s cubic-bezier(.22, .8, .24, 1), bottom .25s ease;
}
.mfmwa-float.mfmwa-left { right: auto; left: 22px; }
.mfmwa-float:hover { transform: scale(1.08); }
.mfmwa-float svg { width: 52%; height: 52%; display: block; position: relative; }
/* Onda que llama la atención sin molestar */
.mfmwa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; opacity: .55; animation: mfmwa-onda 2.6s ease-out infinite; }
@keyframes mfmwa-onda { 0% { transform: scale(1); opacity: .55; } 70%, 100% { transform: scale(1.75); opacity: 0; } }
.mfmwa-etq { position: absolute; right: calc(100% + 12px); top: 50%; transform: translateY(-50%); background: #111; color: #fff; font: 600 13px/1 -apple-system, "Segoe UI", sans-serif; padding: 9px 12px; white-space: nowrap; border-radius: 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
.mfmwa-left .mfmwa-etq { right: auto; left: calc(100% + 12px); }
.mfm-con-cookies .mfmwa-float { bottom: 150px; }

/* Barra de acción (solo en celular) */
.mfmwa-barra { display: none; }
@media (max-width: 760px) {
  .mfmwa-barra {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 170; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: #0a0a0a; border-top: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 -8px 24px rgba(0, 0, 0, .5);
  }
  .mfmwa-barra a { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 11px; color: #f5f5f5 !important; text-decoration: none; font: 600 12px/1 -apple-system, "Segoe UI", sans-serif; letter-spacing: .04em; border-left: 1px solid rgba(255, 255, 255, .1); }
  .mfmwa-barra a:first-child { border-left: 0; }
  .mfmwa-barra a.mfmwa-barra__wa { color: #25d366 !important; }
  .mfmwa-barra a.mfmwa-barra__cta { background: var(--mfmwa-acento, #c9a84a); color: #0a0a0a !important; }
  .mfmwa-con-barra body { padding-bottom: 62px; }
  .mfmwa-con-barra .mfmwa-float { display: none; }
  .mfmwa-con-barra .mfm-arriba { bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) { .mfmwa-float::before { animation: none; display: none; } }
