/* Aviso y preferencias de cookies (igual en todas las páginas) */
.ck-aviso {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1000; max-width: 980px; margin: 0 auto;
  display: grid; gap: 14px; padding: 18px 20px; border-radius: 20px;
  background: #17212B; color: #DCE5EE; border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.75); font: 15px/1.5 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  animation: ck-entra .35s cubic-bezier(.22,.8,.2,1);
}
@media (min-width: 860px) { .ck-aviso { grid-template-columns: 1fr auto; align-items: center; gap: 22px; } }
@keyframes ck-entra { from { opacity: 0; transform: translateY(16px); } }
.ck-aviso p { margin: 0; }
.ck-titulo { margin: 0 0 4px; font: 800 17px/1.3 'Hanken Grotesk', Arial, sans-serif; color: #fff; }
.ck-aviso a, .ck-panel a { color: #74C4FA; }
.ck-acciones { display: flex; flex-wrap: wrap; gap: 8px; }
.ck-btn {
  min-height: 46px; padding: 0 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff;
  font: 800 15px/1 'Hanken Grotesk', Arial, sans-serif;
}
.ck-btn:hover { background: rgba(255,255,255,.08); }
.ck-btn--fuerte { background: #4FB3F6; border-color: #4FB3F6; color: #06121F; }
.ck-btn--fuerte:hover { background: #74C4FA; }
.ck-btn:focus-visible, .ck-cerrar:focus-visible, .ck-switch input:focus-visible + i { outline: 3px solid #FAF90C; outline-offset: 2px; }
@media (max-width: 520px) { .ck-acciones .ck-btn { flex: 1 1 calc(50% - 4px); } .ck-acciones .ck-btn:last-child { flex-basis: 100%; } }

.ck-panel {
  width: min(94vw, 560px); max-height: 90vh; padding: 0; border: 1px solid rgba(255,255,255,.16); border-radius: 22px;
  background: #17212B; color: #DCE5EE; font: 15px/1.55 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 24px 60px -18px rgba(0,0,0,.75);
}
.ck-panel::backdrop { background: rgba(6,10,16,.72); }
.ck-panel__in { display: grid; gap: 14px; padding: 20px 22px 22px; }
.ck-panel__in > p { margin: 0; }
.ck-panel__cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ck-panel .ck-titulo { font-size: 20px; margin: 0; }
.ck-cerrar { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: none; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.ck-cat { padding: 14px 16px; border-radius: 14px; background: #1E2B3A; border: 1px solid rgba(255,255,255,.08); }
.ck-cat p { margin: 6px 0 0; color: #A3B3C4; font-size: 14.5px; }
.ck-cat__cab { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: #fff; cursor: default; }
label.ck-cat__cab { cursor: pointer; }
.ck-fija { font-size: 13px; font-weight: 800; color: #35B66A; }
.ck-switch { position: relative; width: 52px; height: 30px; flex: 0 0 auto; }
.ck-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ck-switch i { position: absolute; inset: 0; border-radius: 999px; background: #3A4A5C; transition: background .2s; pointer-events: none; }
.ck-switch i::after { content: ''; position: absolute; left: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; }
.ck-switch input:checked + i { background: #4FB3F6; }
.ck-switch input:checked + i::after { transform: translateX(22px); }
.ck-mini { font-size: 13.5px; color: #A3B3C4; }
.ck-toast {
  position: fixed; left: 50%; top: 84px; transform: translateX(-50%); z-index: 1001; padding: 12px 18px; border-radius: 999px;
  background: #F4F7FB; color: #0E1621; font: 800 14px/1 'Hanken Grotesk', Arial, sans-serif; box-shadow: 0 12px 30px -10px rgba(0,0,0,.6);
}
@media (prefers-reduced-motion: reduce) { .ck-aviso { animation: none; } }
