/* Faldón de cookies del núcleo. Cada sitio lo adapta con variables (en su CSS o "accent" de site/cookies.json):
   --nc-accent, --nc-accent-text, --nc-bg, --nc-text, --nc-font */
.nc-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000;
  background: var(--nc-bg, #fff); color: var(--nc-text, #444);
  border-top: 4px solid var(--nc-accent, #333);
  box-shadow: 0 -4px 18px rgba(0,0,0,.15);
  font-family: var(--nc-font, inherit); font-size: 15px; line-height: 1.55;
}
.nc-banner[hidden], .nc-prefs[hidden] { display: none; }
.nc-inner { max-width: 1140px; margin: 0 auto; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.nc-text { flex: 1 1 480px; }
.nc-text p { margin: 0; }
.nc-title { color: inherit; font-size: 17px; font-weight: 600; margin-bottom: 4px !important; }
.nc-banner a { color: var(--nc-accent, #333); }
.nc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.nc-btn {
  font: inherit; font-weight: 600; cursor: pointer; line-height: 1.3;
  border-radius: 999px; padding: 8px 22px;
  border: 2px solid var(--nc-accent, #333); background: var(--nc-accent, #333); color: var(--nc-accent-text, #fff);
}
.nc-btn:hover { filter: brightness(.9); }
.nc-btn--ghost { background: transparent; color: var(--nc-accent, #333); }
.nc-btn:focus-visible, .nc-switch input:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.nc-prefs { flex: 1 1 100%; border-top: 1px solid rgba(0,0,0,.1); padding-top: 12px; }
.nc-pref { display: flex; gap: 14px; align-items: flex-start; padding: 8px 0; }
.nc-pref + .nc-pref { border-top: 1px dashed rgba(0,0,0,.1); }
.nc-pref strong { display: block; font-weight: 600; }
.nc-pref small { display: block; opacity: .8; font-size: 14px; }
.nc-switch input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--nc-accent, #333); }

/* Enlace "Configurar cookies" (botón con aspecto de enlace). Con :where() no pesa nada: manda el CSS del sitio */
:where([data-cookie-settings]) { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: inherit; text-decoration: underline; }
[data-cookie-settings][hidden] { display: none; }

@media (max-width: 600px) {
  .nc-inner { padding: 14px 16px; }
  .nc-actions { width: 100%; }
  .nc-btn { flex: 1 1 auto; }
}
