/* Pozemky Fojtka: lišta a nastavení cookies ve stylu B624 (hnědá, krémová, limetková #dff37c).
   Odmítnout je stejně velké a stejně dostupné tlačítko jako Přijmout. */
.ck-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px 28px; flex-wrap: wrap; padding: 18px 22px;
  background: #2e2521; color: #fcf6ec; border: 1px solid rgba(252,246,236,.16); border-radius: 16px;
  box-shadow: 0 18px 50px rgba(46,37,33,.35); font: 400 14px/1.55 "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  transform: translateY(calc(100% + 32px)); opacity: 0; visibility: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s, visibility 0s .45s; }
.ck-banner.is-visible { transform: none; opacity: 1; visibility: visible; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .3s, visibility 0s; }
.ck-banner__text { flex: 1 1 420px; margin: 0; color: rgba(252,246,236,.82); }
.ck-banner__text strong { color: #fcf6ec; font-weight: 500; }
.ck-banner a, .ck-modal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ck-banner__actions, .ck-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ck-btn { font: 500 14px/1 "Geist", ui-sans-serif, system-ui, sans-serif; padding: 12px 20px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.ck-btn--primary { background: #dff37c; color: #2e2521; border-color: #dff37c; }
.ck-btn--primary:hover { background: #fcf6ec; border-color: #fcf6ec; }
.ck-btn--ghost { background: transparent; color: #fcf6ec; border-color: rgba(252,246,236,.6); }
.ck-btn--ghost:hover { background: #fcf6ec; color: #2e2521; border-color: #fcf6ec; }
.ck-btn--link { background: transparent; color: #fcf6ec; padding-inline: 6px; text-decoration: underline; text-underline-offset: 3px; }
.ck-btn:focus-visible { outline: 2px solid #dff37c; outline-offset: 3px; }

.ck-overlay { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; padding: 16px;
  background: rgba(46,37,33,.55); opacity: 0; visibility: hidden; transition: opacity .25s, visibility 0s .25s; }
.ck-overlay.is-visible { opacity: 1; visibility: visible; transition: opacity .25s, visibility 0s; }
.ck-modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fcf6ec; color: #2e2521;
  border-radius: 18px; padding: 26px 26px 22px; font: 400 15px/1.55 "Geist", ui-sans-serif, system-ui, sans-serif; }
.ck-modal__title { font: 400 28px/1.1 "Clash Grotesk", "Geist", ui-sans-serif, system-ui, sans-serif; letter-spacing: -.01em; margin: 0 0 10px; }
.ck-modal__lede { margin: 0 0 18px; color: #6d6158; }
.ck-cat { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 0; border-top: 1px solid #d3ccc3; }
.ck-cat__name { margin: 0; font-weight: 500; }
.ck-cat__desc { margin: 2px 0 0; color: #6d6158; font-size: 14px; }
.ck-switch { position: relative; display: inline-block; width: 44px; height: 26px; margin-top: 2px; }
.ck-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ck-switch input:disabled { cursor: default; }
.ck-switch__track { position: absolute; inset: 0; border-radius: 999px; background: #cec1b2; transition: background .2s; pointer-events: none; }
.ck-switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fcf6ec; transition: transform .2s; }
.ck-switch input:checked + .ck-switch__track { background: #2e2521; }
.ck-switch input:checked + .ck-switch__track::after { transform: translateX(18px); background: #dff37c; }
.ck-switch input:disabled + .ck-switch__track { opacity: .55; }
.ck-switch input:focus-visible + .ck-switch__track { outline: 2px solid #2e2521; outline-offset: 3px; }
.ck-modal__actions { margin-top: 18px; padding-top: 16px; border-top: 1px solid #d3ccc3; }
.ck-modal .ck-btn--ghost { color: #2e2521; border-color: #2e2521; }
.ck-modal .ck-btn--ghost:hover { background: #2e2521; color: #fcf6ec; }
.ck-modal .ck-btn--primary:hover { background: #2e2521; color: #fcf6ec; border-color: #2e2521; }
.ck-modal .ck-btn:focus-visible { outline-color: #2e2521; }

/* odkaz Nastavení cookies v patičce vypadá jako ostatní odkazy */
.ck-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }

@media (max-width: 560px) {
  .ck-banner { left: 10px; right: 10px; bottom: 10px; padding: 16px; font-size: 13.5px; }
  .ck-banner__actions { width: 100%; }
  .ck-banner__actions .ck-btn--ghost, .ck-banner__actions .ck-btn--primary { flex: 1 1 0; text-align: center; }
  .ck-modal__actions .ck-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .ck-banner, .ck-overlay { transition: none; } }
@media print { .ck-banner, .ck-overlay { display: none !important; } }
