/* ===========================================================
   wa-button — estilos de las variantes
   variant: primary | ghost | fab
   =========================================================== */

wa-button {
  display: inline-block;
}

wa-button[hidden] { display: none; }

wa-button .wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: none;
}

wa-button .wa-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
}

wa-button .wa-icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
}

/* PRIMARY: verde WhatsApp, alto contraste */
wa-button[variant="primary"] .wa-btn {
  background: #25D366;
  color: #fff;
}

/* GHOST: borde sutil, transparente, para zonas con fondo dorado */
wa-button[variant="ghost"] .wa-btn {
  background: transparent;
  color: currentColor;
  border: 1px solid currentColor;
}

/* FAB: floating action button bottom-right */
wa-button[variant="fab"] {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
}

wa-button[variant="fab"] .wa-btn {
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  padding: 0;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45);
}

wa-button[variant="fab"] .wa-icon {
  width: 28px;
  height: 28px;
}

wa-button[variant="fab"] .wa-label {
  display: none;
}
