
/* ===========================
   Paleta y base
   =========================== */
:root{
  --c-red: #e53935;         /* rojo principal */
  --c-red-dark: #c62828;    /* hover rojo */
  --c-black: #111111;       /* negro sólido */
  --c-gray: #6b7280;        /* gris texto/borde */
  --c-gray-2: #9ca3af;      /* gris claro */
  --c-bg: #ffffff;
  --c-white: #ffffff;
  --ring: 0 0 0 3px rgba(229,57,53,.25);
}

/* ===========================
   Radio global 4px en botones
   =========================== */
body .btn,
body .button,
body input[type="submit"],
body input[type="button"],
body .reg-btn,
body .woocommerce a.button,
body .woocommerce button.button,
body .banner-btn {
  border-radius: 4px !important;
}

/* ===========================
   Variantes principales
   =========================== */

/* Primario: rojo */
body .btn.btn-primary,
body .button.btn.btn-primary,
body .reg-btn.reg-primary,
body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
body #register_button {
  background: var(--c-red) !important;
  border: 1px solid var(--c-red) !important;
  color: var(--c-white) !important;
}
body .btn.btn-primary:hover,
body .button.btn.btn-primary:hover,
body .reg-btn.reg-primary:hover,
body .woocommerce a.button.alt:hover,
body .woocommerce button.button.alt:hover,
body #register_button:hover {
  background: var(--c-red-dark) !important;
  border-color: var(--c-red-dark) !important;
}

/* Secundario: negro */
body .btn.btn-secondary,
body .reg-btn.reg-secondary {
  background: var(--c-black) !important;
  border: 1px solid var(--c-black) !important;
  color: var(--c-white) !important;
}
body .btn.btn-secondary:hover,
body .reg-btn.reg-secondary:hover {
  filter: brightness(1.08);
}

/* Fantasma/gris con borde rojo (gris/rojo) */
body .btn.btn-outline-danger,
body .reg-btn.reg-ghost {
  background: var(--c-white) !important;
  color: var(--c-red) !important;
  border: 1px solid var(--c-red) !important;
}
body .btn.btn-outline-danger:hover,
body .reg-btn.reg-ghost:hover {
  background: rgba(229,57,53,.06) !important;
}

/* Neutro gris */
body .btn.btn-light,
body .reg-btn.reg-neutral {
  background: #f3f4f6 !important;
  color: #111827 !important;
  border: 1px solid #e5e7eb !important;
}
body .btn.btn-light:hover,
body .reg-btn.reg-neutral:hover {
  background: #e5e7eb !important;
}

/* Éxito / confirmación */
body .btn.btn-success,
body .reg-btn.reg-success {
  background: #16a34a !important;
  border: 1px solid #16a34a !important;
  color: #fff !important;
}
body .btn.btn-success:hover,
body .reg-btn.reg-success:hover {
  filter: brightness(1.08);
}

/* Disabled */
body .btn:disabled, 
body .button:disabled, 
body .reg-btn:disabled {
  opacity: .65 !important;
  cursor: not-allowed !important;
}

