/* Aviso de cookies: no bloquea la página; Aceptar y Rechazar con el mismo peso (criterio AEPD) */
.cookie-banner { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: #fff; color: #17171c; border: 1px solid #d4d4dc; border-radius: 14px; padding: 16px 18px; box-shadow: 0 14px 40px rgba(16, 16, 24, 0.22); font: 14px/1.5 ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; display: grid; gap: 10px; }
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: #5b21b6; text-decoration: underline; }
.cookie-banner .ck-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-banner button { flex: 1; min-width: 110px; font: inherit; font-weight: 650; padding: 9px 12px; border-radius: 10px; cursor: pointer; border: 1px solid #5b21b6; background: #fff; color: #5b21b6; }
.cookie-banner button[data-ck="accept"], .cookie-banner button[data-ck="reject"] { background: #5b21b6; color: #fff; }
.cookie-banner button:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 2px; }
.cookie-banner .ck-row { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.cookie-banner .ck-row input { margin-top: 4px; accent-color: #5b21b6; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .cookie-banner { background: #15151b; color: #ececf2; border-color: #363642; }
  :root:not([data-theme='light']) .cookie-banner a { color: #c4b5fd; }
  :root:not([data-theme='light']) .cookie-banner button { background: transparent; color: #c4b5fd; border-color: #8b5cf6; }
  :root:not([data-theme='light']) .cookie-banner button[data-ck="accept"], :root:not([data-theme='light']) .cookie-banner button[data-ck="reject"] { background: #7c3aed; color: #fff; border-color: #7c3aed; }
}
@media (max-width: 640px) {
  .cookie-banner { left: 10px; right: 10px; bottom: calc(76px + env(safe-area-inset-bottom)); }
}
