/* TEMA A — actual · Velocidad y recompensa (selectores Tailwind reales) */
:root,
body[data-theme="actual"] {
  --k-bg: #F8F9FA;
  --k-surface: #FFFFFF;
  --k-text: #111827;
  --k-text-muted: #4B5563;
  --k-accent: #2563EB;
  --k-accent-hover: #1D4ED8;
  --k-border: #E5E7EB;
  --k-btn-bg: #FACC15;
  --k-btn-text: #111827;
  --k-btn-hover: #EAB308;
  --k-header-bg: #111827;
  --k-header-text: #FFFFFF;
  --k-badge-bg: #DC2626;
  --k-badge-text: #FFFFFF;
  --k-success-bg: #DCFCE7;
  --k-success-text: #166534;
  --k-shadow: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --k-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --k-radius: 8px;
}

body[data-theme="actual"] {
  background-color: var(--k-bg) !important;
  color: var(--k-text) !important;
}

/* HEADER: forzar fondo oscuro real donde Tailwind pone bg-neutral-900 */
body[data-theme="actual"] header.sticky,
body[data-theme="actual"] header[class*="bg-neutral"] {
  background-color: var(--k-header-bg) !important;
  color: var(--k-header-text) !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
body[data-theme="actual"] header.sticky a,
body[data-theme="actual"] header.sticky span,
body[data-theme="actual"] header.sticky button,
body[data-theme="actual"] header.sticky svg {
  color: var(--k-header-text) !important;
}

/* CTA: cualquier botón/enlace con bg-primary-600 pasa a amarillo */
body[data-theme="actual"] .bg-primary-600,
body[data-theme="actual"] a.bg-primary-600,
body[data-theme="actual"] button.bg-primary-600 {
  background-color: var(--k-btn-bg) !important;
  color: var(--k-btn-text) !important;
  font-weight: 700;
  border-radius: var(--k-radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
body[data-theme="actual"] .bg-primary-600:hover,
body[data-theme="actual"] .hover\:bg-primary-500:hover {
  background-color: var(--k-btn-hover) !important;
  color: var(--k-btn-text) !important;
  transform: scale(1.02);
  box-shadow: var(--k-shadow-lg);
}
body[data-theme="actual"] .bg-primary-600 svg,
body[data-theme="actual"] .bg-primary-600 * {
  color: var(--k-btn-text) !important;
}

/* Acentos azules primarios (text-primary-600, text-primary-500) → azul moderno */
body[data-theme="actual"] .text-primary-600,
body[data-theme="actual"] .text-primary-500 {
  color: var(--k-accent) !important;
}
body[data-theme="actual"] .hover\:text-primary-600:hover,
body[data-theme="actual"] .hover\:text-primary-300:hover {
  color: var(--k-accent-hover) !important;
}

/* Cards de producto: rounded-lg con border o bg-white → superficie + sombra */
body[data-theme="actual"] .bg-white.rounded-lg,
body[data-theme="actual"] .bg-white.rounded-xl,
body[data-theme="actual"] article.rounded-lg,
body[data-theme="actual"] a.rounded-lg.border,
body[data-theme="actual"] div.rounded-lg.border.bg-white {
  background-color: var(--k-surface) !important;
  border: 1px solid var(--k-border) !important;
  border-radius: var(--k-radius) !important;
  box-shadow: var(--k-shadow) !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
body[data-theme="actual"] .bg-white.rounded-lg:hover,
body[data-theme="actual"] article.rounded-lg:hover,
body[data-theme="actual"] a.rounded-lg.border:hover {
  box-shadow: var(--k-shadow-lg) !important;
  transform: translateY(-2px);
}

/* Inputs: borde neutro + focus azul */
body[data-theme="actual"] input:not([type="checkbox"]):not([type="radio"]),
body[data-theme="actual"] textarea,
body[data-theme="actual"] select {
  background-color: #FFFFFF !important;
  border: 1px solid #D1D5DB !important;
  color: var(--k-text) !important;
  border-radius: var(--k-radius) !important;
}
body[data-theme="actual"] input:focus,
body[data-theme="actual"] textarea:focus,
body[data-theme="actual"] select:focus {
  border-color: var(--k-accent) !important;
  outline: 2px solid rgba(37,99,235,0.2);
}

/* Badges de oferta / descuento: rojo pill */
body[data-theme="actual"] .bg-red-500,
body[data-theme="actual"] .bg-red-600,
body[data-theme="actual"] [class*="badge"][class*="red"] {
  background-color: var(--k-badge-bg) !important;
  color: var(--k-badge-text) !important;
  border-radius: 9999px !important;
  padding: 0.2rem 0.7rem !important;
  font-weight: 700;
  font-size: 0.75rem;
}

/* Barra de envío gratis: verde suave */
body[data-theme="actual"] [class*="free-shipping"],
body[data-theme="actual"] .bg-green-100 {
  background-color: var(--k-success-bg) !important;
  color: var(--k-success-text) !important;
  border-radius: var(--k-radius);
  padding: 0.75rem 1rem;
  font-weight: 600;
}

/* Footer oscuro real */
body[data-theme="actual"] footer.bg-neutral-900,
body[data-theme="actual"] footer[class*="bg-neutral-9"] {
  background-color: var(--k-header-bg) !important;
  color: var(--k-header-text) !important;
}
body[data-theme="actual"] footer a,
body[data-theme="actual"] footer p {
  color: var(--k-header-text) !important;
  opacity: 0.85;
}
body[data-theme="actual"] footer a:hover { opacity: 1; }

body[data-theme="premium"] {
  --k-bg: #0b0b0d;
  --k-surface: #141418;
  --k-text: #f5f0e6;
  --k-text-muted: #d4c8a8;
  --k-accent: #c9a24b;
  --k-accent-hover: #e0b860;
  --k-border: #2a2a30;
  --k-btn-bg: #c9a24b;
  --k-btn-text: #0b0b0d;
  --k-btn-hover: #e0b860;
  --k-header-bg: #0b0b0d;
  --k-header-text: #f5f0e6;
  --k-badge-bg: #c9a24b;
  --k-badge-text: #0b0b0d;
  --k-shadow: 0 8px 24px rgba(0,0,0,0.5);
  --k-shadow-lg: 0 12px 32px rgba(0,0,0,0.6);
  --k-radius: 2px;
}

body[data-theme="premium"] {
  background-color: var(--k-bg) !important;
  color: var(--k-text) !important;
}

/* HEADER continuo con body */
body[data-theme="premium"] header.sticky,
body[data-theme="premium"] header[class*="bg-neutral"] {
  background-color: var(--k-header-bg) !important;
  color: var(--k-header-text) !important;
  border-bottom: 1px solid var(--k-border);
}
body[data-theme="premium"] header.sticky a,
body[data-theme="premium"] header.sticky span,
body[data-theme="premium"] header.sticky button,
body[data-theme="premium"] header.sticky svg {
  color: var(--k-header-text) !important;
}
body[data-theme="premium"] header .bg-neutral-800 {
  background-color: var(--k-surface) !important;
}
body[data-theme="premium"] header .border-neutral-700 {
  border-color: var(--k-border) !important;
}

/* TEXTO: jerarquía crema sobre negro */
body[data-theme="premium"] .text-neutral-900,
body[data-theme="premium"] .text-neutral-800,
body[data-theme="premium"] h1,
body[data-theme="premium"] h2,
body[data-theme="premium"] h3,
body[data-theme="premium"] h4 {
  color: var(--k-text) !important;
}
body[data-theme="premium"] .text-neutral-700,
body[data-theme="premium"] .text-neutral-600 {
  color: #d4c8a8 !important;
}
body[data-theme="premium"] .text-neutral-500,
body[data-theme="premium"] .text-neutral-400,
body[data-theme="premium"] .text-neutral-300 {
  color: var(--k-text-muted) !important;
}

/* TIPOGRAFÍA: serif en títulos */
body[data-theme="premium"] h1,
body[data-theme="premium"] h2 {
  font-family: Georgia, 'Playfair Display', 'Times New Roman', serif;
  letter-spacing: 0.02em;
  font-weight: 500;
}
body[data-theme="premium"] h3,
body[data-theme="premium"] h4 {
  font-family: Georgia, 'Playfair Display', 'Times New Roman', serif;
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* CTA: bg-primary-600 → dorado, texto negro, uppercase */
body[data-theme="premium"] .bg-primary-600 {
  background-color: var(--k-btn-bg) !important;
  color: var(--k-btn-text) !important;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--k-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 0 0 1px var(--k-btn-bg);
}
body[data-theme="premium"] .bg-primary-600 * { color: var(--k-btn-text) !important; }
body[data-theme="premium"] .bg-primary-600:hover,
body[data-theme="premium"] .hover\:bg-primary-500:hover {
  background-color: var(--k-btn-hover) !important;
  transform: scale(1.02);
  box-shadow: var(--k-shadow-lg);
}

/* Acentos azules → dorado */
body[data-theme="premium"] .text-primary-600,
body[data-theme="premium"] .text-primary-500,
body[data-theme="premium"] .text-primary-300,
body[data-theme="premium"] .text-primary-200 {
  color: var(--k-accent) !important;
}
body[data-theme="premium"] .hover\:text-primary-600:hover,
body[data-theme="premium"] .hover\:text-primary-300:hover {
  color: var(--k-accent-hover) !important;
}
body[data-theme="premium"] .bg-primary-50 {
  background-color: #1f1a10 !important;
  color: var(--k-text) !important;
}
body[data-theme="premium"] .border-primary-200,
body[data-theme="premium"] .border-primary-500,
body[data-theme="premium"] .border-primary-600 {
  border-color: var(--k-accent) !important;
}

/* CARDS: bg-white → superficie oscura */
body[data-theme="premium"] .bg-white,
body[data-theme="premium"] .bg-white.rounded-lg,
body[data-theme="premium"] .bg-white.rounded-xl,
body[data-theme="premium"] article.rounded-lg,
body[data-theme="premium"] a.rounded-lg.border {
  background-color: var(--k-surface) !important;
  border-color: var(--k-border) !important;
  color: var(--k-text) !important;
  box-shadow: none;
}
body[data-theme="premium"] .bg-white.rounded-lg:hover,
body[data-theme="premium"] article.rounded-lg:hover,
body[data-theme="premium"] a.rounded-lg.border:hover {
  border-color: var(--k-accent) !important;
  box-shadow: var(--k-shadow) !important;
}
body[data-theme="premium"] .border-neutral-200,
body[data-theme="premium"] .border-neutral-300 {
  border-color: var(--k-border) !important;
}
body[data-theme="premium"] .bg-neutral-100,
body[data-theme="premium"] .bg-neutral-50 {
  background-color: #1a1a1f !important;
}

/* INPUTS */
body[data-theme="premium"] input:not([type="checkbox"]):not([type="radio"]),
body[data-theme="premium"] textarea,
body[data-theme="premium"] select {
  background-color: var(--k-surface) !important;
  border: 1px solid var(--k-border) !important;
  color: var(--k-text) !important;
  border-radius: var(--k-radius);
}
body[data-theme="premium"] input:focus,
body[data-theme="premium"] textarea:focus,
body[data-theme="premium"] select:focus {
  border-color: var(--k-accent) !important;
  outline: 2px solid rgba(201,162,75,0.25);
}

/* BADGES: rojo → dorado rectangular (edición limitada) */
body[data-theme="premium"] .bg-red-500,
body[data-theme="premium"] .bg-red-600,
body[data-theme="premium"] [class*="badge"][class*="red"] {
  background-color: var(--k-badge-bg) !important;
  color: var(--k-badge-text) !important;
  border-radius: 0 !important;
  padding: 0.25rem 0.75rem !important;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* FOOTER */
/* FIX contraste premium #2: hero sólido diferenciado del body + texto crema */
body[data-theme="premium"] section[class*="bg-gradient"] {
  background: #141418 !important;
  border-bottom: 1px solid var(--k-accent) !important;
  color: var(--k-text) !important;
}
body[data-theme="premium"] .text-white {
  color: var(--k-text) !important;
}
body[data-theme="premium"] .text-neutral-200,
body[data-theme="premium"] .text-neutral-100 {
  color: #d4c8a8 !important;
}
body[data-theme="premium"] .bg-white\/10,
body[data-theme="premium"] .hover\:bg-white\/20:hover {
  background-color: #1f1f25 !important;
  color: var(--k-text) !important;
  border-color: var(--k-border) !important;
}
body[data-theme="premium"] .border-white\/20 {
  border-color: var(--k-border) !important;
}
body[data-theme="premium"] #cookie-banner,
body[data-theme="premium"] #cookie-banner.border-t-2 {
  border-top-color: var(--k-accent) !important;
  border-top-width: 2px !important;
  box-shadow: 0 -4px 20px rgba(201,162,75,0.15) !important;
}

/* FIX contraste premium: cubrir slate-* y blue-* (banner RGPD, hero, modales) */
body[data-theme="premium"] .text-slate-900,
body[data-theme="premium"] .text-slate-800,
body[data-theme="premium"] .text-slate-700 {
  color: var(--k-text) !important;
}
body[data-theme="premium"] .text-slate-600,
body[data-theme="premium"] .text-slate-500 {
  color: #d4c8a8 !important;
}
body[data-theme="premium"] .text-slate-400,
body[data-theme="premium"] .text-slate-300,
body[data-theme="premium"] .text-slate-200 {
  color: var(--k-text-muted) !important;
}
body[data-theme="premium"] .bg-slate-50,
body[data-theme="premium"] .bg-slate-100 {
  background-color: #1a1a1f !important;
}
body[data-theme="premium"] .bg-slate-900,
body[data-theme="premium"] .bg-slate-800,
body[data-theme="premium"] .bg-slate-700 {
  background-color: var(--k-surface) !important;
  color: var(--k-text) !important;
}
body[data-theme="premium"] .border-slate-900,
body[data-theme="premium"] .border-slate-400,
body[data-theme="premium"] .border-slate-300,
body[data-theme="premium"] .border-slate-200 {
  border-color: var(--k-border) !important;
}
body[data-theme="premium"] .text-blue-600,
body[data-theme="premium"] .text-blue-500,
body[data-theme="premium"] .text-blue-700,
body[data-theme="premium"] .text-blue-400 {
  color: var(--k-accent) !important;
}
body[data-theme="premium"] .bg-blue-600,
body[data-theme="premium"] .bg-blue-500 {
  background-color: var(--k-btn-bg) !important;
  color: var(--k-btn-text) !important;
}
body[data-theme="premium"] .hover\:bg-slate-100:hover,
body[data-theme="premium"] .hover\:bg-slate-50:hover {
  background-color: #22222a !important;
  color: var(--k-text) !important;
}
body[data-theme="premium"] .hover\:bg-slate-700:hover {
  background-color: var(--k-surface) !important;
  color: var(--k-text) !important;
}
/* Banner RGPD completo: fondo card oscura + borde dorado sutil arriba */
body[data-theme="premium"] #cookie-banner,
body[data-theme="premium"] #cookie-modal > div {
  background-color: var(--k-surface) !important;
  border-color: var(--k-border) !important;
  color: var(--k-text) !important;
}
body[data-theme="premium"] #cookie-banner .border-t-2,
body[data-theme="premium"] #cookie-banner.border-t-2 {
  border-top-color: var(--k-accent) !important;
}
body[data-theme="premium"] #cookie-banner button,
body[data-theme="premium"] #cookie-modal button {
  border-color: var(--k-border) !important;
}

body[data-theme="premium"] footer,
body[data-theme="premium"] footer.bg-neutral-900 {
  background-color: var(--k-bg) !important;
  color: var(--k-text-muted) !important;
  border-top: 1px solid var(--k-border);
}
body[data-theme="premium"] footer a,
body[data-theme="premium"] footer p,
body[data-theme="premium"] footer span {
  color: var(--k-text-muted) !important;
}
body[data-theme="premium"] footer h3 {
  color: var(--k-accent) !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
body[data-theme="premium"] footer a:hover {
  color: var(--k-accent-hover) !important;
}

/* TEMA C — coleccionista · Hype y energía (Drop culture) */
body[data-theme="coleccionista"] {
  --k-bg: #12001f;
  --k-surface: #1c0030;
  --k-surface-hi: #23003a;
  --k-text: #fff7d6;
  --k-text-mid: #ffd6f7;
  --k-text-muted: #ffb3f0;
  --k-accent: #c084ff;
  --k-accent-hover: #d4a5ff;
  --k-border: #4a1a6e;
  --k-btn-bg: #ff3ea5;
  --k-btn-text: #12001f;
  --k-btn-hover: #ff5fb8;
  --k-header-bg: #2a0845;
  --k-header-text: #fff7d6;
  --k-badge-bg: #ffe14d;
  --k-badge-text: #12001f;
  --k-glow: 0 0 20px rgba(255,62,165,0.35);
  --k-glow-lg: 0 0 32px rgba(255,62,165,0.55);
  --k-radius: 14px;
}

body[data-theme="coleccionista"] {
  background-color: var(--k-bg) !important;
  color: var(--k-text) !important;
}

/* HEADER */
body[data-theme="coleccionista"] header.sticky,
body[data-theme="coleccionista"] header[class*="bg-neutral"] {
  background-color: var(--k-header-bg) !important;
  color: var(--k-header-text) !important;
  border-bottom: 2px solid var(--k-btn-bg) !important;
}
body[data-theme="coleccionista"] header.sticky a,
body[data-theme="coleccionista"] header.sticky span,
body[data-theme="coleccionista"] header.sticky button,
body[data-theme="coleccionista"] header.sticky svg {
  color: var(--k-header-text) !important;
}
body[data-theme="coleccionista"] header .bg-neutral-800 {
  background-color: #3a1060 !important;
}
body[data-theme="coleccionista"] header .border-neutral-700 {
  border-color: var(--k-border) !important;
}

/* HERO */
body[data-theme="coleccionista"] section[class*="bg-gradient"] {
  background: var(--k-header-bg) !important;
  border-bottom: 2px solid var(--k-btn-bg) !important;
  color: var(--k-text) !important;
}
body[data-theme="coleccionista"] .text-white {
  color: var(--k-text) !important;
}

/* TEXTOS */
body[data-theme="coleccionista"] .text-neutral-900,
body[data-theme="coleccionista"] .text-neutral-800,
body[data-theme="coleccionista"] .text-slate-900,
body[data-theme="coleccionista"] .text-slate-800,
body[data-theme="coleccionista"] h1,
body[data-theme="coleccionista"] h2,
body[data-theme="coleccionista"] h3,
body[data-theme="coleccionista"] h4 {
  color: var(--k-text) !important;
}
body[data-theme="coleccionista"] .text-neutral-700,
body[data-theme="coleccionista"] .text-neutral-600,
body[data-theme="coleccionista"] .text-slate-700,
body[data-theme="coleccionista"] .text-slate-600,
body[data-theme="coleccionista"] .text-slate-500 {
  color: var(--k-text-mid) !important;
}
body[data-theme="coleccionista"] .text-neutral-500,
body[data-theme="coleccionista"] .text-neutral-400,
body[data-theme="coleccionista"] .text-neutral-300,
body[data-theme="coleccionista"] .text-neutral-200,
body[data-theme="coleccionista"] .text-neutral-100,
body[data-theme="coleccionista"] .text-slate-400,
body[data-theme="coleccionista"] .text-slate-300,
body[data-theme="coleccionista"] .text-slate-200 {
  color: var(--k-text-muted) !important;
}

/* TIPOGRAFÍA C */
body[data-theme="coleccionista"] h1,
body[data-theme="coleccionista"] h2,
body[data-theme="coleccionista"] h3 {
  font-family: 'Inter', 'Archivo Black', system-ui, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* CTA */
body[data-theme="coleccionista"] .bg-primary-600 {
  background-color: var(--k-btn-bg) !important;
  color: var(--k-btn-text) !important;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--k-radius) !important;
  border: 2px solid var(--k-btn-bg) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
body[data-theme="coleccionista"] .bg-primary-600 * { color: var(--k-btn-text) !important; }
body[data-theme="coleccionista"] .bg-primary-600:hover,
body[data-theme="coleccionista"] .hover\:bg-primary-500:hover {
  background-color: var(--k-btn-hover) !important;
  border-color: var(--k-btn-hover) !important;
  transform: scale(1.02);
  box-shadow: var(--k-glow-lg) !important;
}

/* Acentos y azules */
body[data-theme="coleccionista"] .text-primary-600,
body[data-theme="coleccionista"] .text-primary-500,
body[data-theme="coleccionista"] .text-primary-300,
body[data-theme="coleccionista"] .text-primary-200 {
  color: var(--k-accent) !important;
}
body[data-theme="coleccionista"] .hover\:text-primary-600:hover,
body[data-theme="coleccionista"] .hover\:text-primary-300:hover {
  color: var(--k-accent-hover) !important;
}
body[data-theme="coleccionista"] .text-blue-600,
body[data-theme="coleccionista"] .text-blue-500,
body[data-theme="coleccionista"] .text-blue-700,
body[data-theme="coleccionista"] .text-blue-400 {
  color: var(--k-accent) !important;
}
body[data-theme="coleccionista"] .bg-blue-600,
body[data-theme="coleccionista"] .bg-blue-500 {
  background-color: var(--k-btn-bg) !important;
  color: var(--k-btn-text) !important;
}

/* CARDS */
body[data-theme="coleccionista"] .bg-white,
body[data-theme="coleccionista"] .bg-white.rounded-lg,
body[data-theme="coleccionista"] .bg-white.rounded-xl,
body[data-theme="coleccionista"] article.rounded-lg,
body[data-theme="coleccionista"] a.rounded-lg.border {
  background-color: var(--k-surface) !important;
  border: 2px solid var(--k-border) !important;
  border-radius: var(--k-radius) !important;
  color: var(--k-text) !important;
  box-shadow: none;
}
body[data-theme="coleccionista"] .bg-white.rounded-lg:hover,
body[data-theme="coleccionista"] article.rounded-lg:hover,
body[data-theme="coleccionista"] a.rounded-lg.border:hover {
  border-color: var(--k-btn-bg) !important;
  box-shadow: var(--k-glow) !important;
}
body[data-theme="coleccionista"] .bg-neutral-100,
body[data-theme="coleccionista"] .bg-neutral-50,
body[data-theme="coleccionista"] .bg-slate-50,
body[data-theme="coleccionista"] .bg-slate-100 {
  background-color: var(--k-surface-hi) !important;
}
body[data-theme="coleccionista"] .bg-neutral-900,
body[data-theme="coleccionista"] .bg-neutral-800,
body[data-theme="coleccionista"] .bg-neutral-700,
body[data-theme="coleccionista"] .bg-slate-900,
body[data-theme="coleccionista"] .bg-slate-800,
body[data-theme="coleccionista"] .bg-slate-700 {
  background-color: var(--k-header-bg) !important;
  color: var(--k-text) !important;
}
body[data-theme="coleccionista"] .border-neutral-200,
body[data-theme="coleccionista"] .border-neutral-300,
body[data-theme="coleccionista"] .border-slate-200,
body[data-theme="coleccionista"] .border-slate-300,
body[data-theme="coleccionista"] .border-slate-400,
body[data-theme="coleccionista"] .border-slate-900 {
  border-color: var(--k-border) !important;
}
body[data-theme="coleccionista"] .bg-white\/10,
body[data-theme="coleccionista"] .hover\:bg-white\/20:hover {
  background-color: #3a1060 !important;
  color: var(--k-text) !important;
  border-color: var(--k-accent) !important;
}
body[data-theme="coleccionista"] .border-white\/20 {
  border-color: var(--k-accent) !important;
}

/* INPUTS */
body[data-theme="coleccionista"] input:not([type="checkbox"]):not([type="radio"]),
body[data-theme="coleccionista"] textarea,
body[data-theme="coleccionista"] select {
  background-color: var(--k-surface) !important;
  border: 2px solid var(--k-border) !important;
  color: var(--k-text) !important;
  border-radius: 8px !important;
}
body[data-theme="coleccionista"] input:focus,
body[data-theme="coleccionista"] textarea:focus,
body[data-theme="coleccionista"] select:focus {
  border-color: var(--k-btn-bg) !important;
  outline: 2px solid rgba(255,62,165,0.35);
}

/* BADGES */
body[data-theme="coleccionista"] .bg-red-500,
body[data-theme="coleccionista"] .bg-red-600,
body[data-theme="coleccionista"] [class*="badge"][class*="red"] {
  background-color: var(--k-badge-bg) !important;
  color: var(--k-badge-text) !important;
  border-radius: 9999px !important;
  padding: 0.25rem 0.75rem !important;
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* BANNER RGPD */
body[data-theme="coleccionista"] #cookie-banner,
body[data-theme="coleccionista"] #cookie-modal > div {
  background-color: var(--k-surface) !important;
  border-color: var(--k-border) !important;
  color: var(--k-text) !important;
}
body[data-theme="coleccionista"] #cookie-banner,
body[data-theme="coleccionista"] #cookie-banner.border-t-2 {
  border-top: 2px solid var(--k-btn-bg) !important;
  box-shadow: 0 -4px 20px rgba(255,62,165,0.25) !important;
}
body[data-theme="coleccionista"] #cookie-banner button,
body[data-theme="coleccionista"] #cookie-modal button {
  border-color: var(--k-accent) !important;
}

/* FOOTER */
body[data-theme="coleccionista"] footer,
body[data-theme="coleccionista"] footer.bg-neutral-900 {
  background-color: var(--k-header-bg) !important;
  color: var(--k-text-muted) !important;
  border-top: 2px solid var(--k-btn-bg) !important;
}
body[data-theme="coleccionista"] footer a,
body[data-theme="coleccionista"] footer p,
body[data-theme="coleccionista"] footer span {
  color: var(--k-text-muted) !important;
}
body[data-theme="coleccionista"] footer h3 {
  color: var(--k-badge-bg) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
body[data-theme="coleccionista"] footer a:hover {
  color: var(--k-accent-hover) !important;
}


body[data-theme] {
  background-color: var(--k-bg) !important;
  color: var(--k-text);
}

/* Acentos genéricos reutilizables por templates (se ampliará en paso siguiente) */
/* B8-T1.3-V3-fix-raiz-cta: color accent SOLO para enlaces de texto,
   NO para CTAs ni botones (que usan --k-btn-text). Acota la causa raíz
   del bug de CTA invisible en B/C en vez de taparlo con !important. */
body[data-theme] a:not([class*="cta"]):not([class*="btn"]):not([class*="__link"]):not([class*="__current"]):not([class*="__tab"]) {
  color: var(--k-accent);
}
body[data-theme] a:not([class*="cta"]):not([class*="btn"]):not([class*="__link"]):not([class*="__current"]):not([class*="__tab"]):hover {
  color: var(--k-accent-hover);
}

/* B8-T1.3-V3-fix-saludo: bloque "Hola X" en Tema C — contraste garantizado */
body[data-theme="coleccionista"] .bg-primary-50 {
  background-color: #23003a !important;
}
body[data-theme="coleccionista"] .border-primary-200 {
  border-color: #4a1a6e !important;
}
body[data-theme="coleccionista"] .text-primary-800,
body[data-theme="coleccionista"] .text-primary-900,
body[data-theme="coleccionista"] .text-primary-700 {
  color: #fff7d6 !important;
}
body[data-theme="coleccionista"] .bg-primary-50 * {
  color: #fff7d6 !important;
}
body[data-theme="coleccionista"] .bg-primary-50 a {
  color: #c084ff !important;
}

/* B8-T1.3-V3-fixblock: superficies elevadas para que los bloques
   override (grid, banner, gallery, tabs, etc) se distingan del body.
   Ratio bloque/fondo objetivo: >=2:1. */

body[data-theme="actual"] {
  --k-surface-hi: #E5E7EB;
  --k-border-strong: #6B7280;
  --k-shadow-lg: 0 10px 20px -6px rgba(0,0,0,0.20), 0 4px 8px -2px rgba(0,0,0,0.10);
}
body[data-theme="premium"] {
  --k-surface-hi: #262630;
  --k-border-strong: #8A7350;
  --k-shadow-lg: 0 10px 24px -6px rgba(201,162,75,0.25), 0 4px 8px -2px rgba(0,0,0,0.55);
}
body[data-theme="coleccionista"] {
  --k-surface-hi: #2E0050;
  --k-border-strong: #B868F5;
  --k-shadow-lg: 0 10px 24px -6px rgba(255,62,165,0.35), 0 4px 8px -2px rgba(0,0,0,0.55);
}
