/* Cookie banner and the footer "Cookie settings" button (D-139). Live build only. Existing tokens only; the panel
   matches the floating WhatsApp panel (navy card), and Accept / Reject share one style so neither is favoured.
   Placement keeps the WhatsApp buttons usable: bottom-left from 640px (the floating button is bottom-right);
   on phones it sits above the WhatsApp bar and the floating button. */
.ck { position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 65; width: min(440px, calc(100vw - 40px)); padding: 18px 18px 16px; border-radius: var(--radius-card); border: 1px solid var(--color-navy-line); background: linear-gradient(180deg, #0D2A4F, var(--color-navy-card) 40%, #08203D); color: var(--color-mist); font-family: var(--font-body); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.75), 0 0 50px -24px rgba(41, 151, 255, 0.6); animation: ck-in 260ms var(--ease); }
.ck[hidden] { display: none; }
.ck-text { margin: 0; font-size: var(--text-small); line-height: 1.55; }
.ck-text a { color: var(--color-sky); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ck-text a:hover { color: #fff; }
.ck-btns { display: flex; gap: 10px; margin-top: 14px; }
.ck-btn { flex: 1 1 0; min-height: 44px; padding: 10px 18px; border: 1px solid rgba(201, 214, 234, 0.45); border-radius: var(--radius-pill); background: transparent; color: #fff; font: 600 var(--text-button)/1.2 var(--font-body); cursor: pointer; transition: border-color var(--dur-fast), background var(--dur-fast); }
.ck-btn:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.ck :focus-visible { outline: 2px solid var(--color-sky); outline-offset: 3px; }
@keyframes ck-in { from { opacity: 0; transform: translateY(12px); } }

@media (max-width: 639px) {
  /* Above the WhatsApp bar (72px) and the floating button (bottom 84px + 52px). */
  .ck { left: 12px; right: 12px; width: auto; bottom: calc(148px + env(safe-area-inset-bottom)); padding: 16px 16px 14px; }
}
@media (prefers-reduced-motion: reduce) { .ck { animation: none; } }
@media print { .ck { display: none; } }

/* Footer: "Cookie settings" looks like the other footer links. Without JavaScript it could not work, so it is hidden. */
.footer--v2 .ft-cookie button { display: inline-block; padding: 9px 0; border: 0; background: none; color: var(--fg2); font-family: inherit; font-size: var(--text-small); font-weight: 500; line-height: inherit; text-align: left; cursor: pointer; }
.footer--v2 .ft-cookie button:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
html:not(.js) .ft-cookie { display: none; }
