/* Cookie consent dialog – Božie Oko. Uses the website's existing colour variables. */
.cookie-settings-link {
  appearance: none;
  border: 0;
  background: none;
  font: inherit;
  line-height: 1.45;
  color: inherit;
  text-align: left;
  padding: 0;
  cursor: pointer;
}
.cookie-settings-link:hover,
.cookie-settings-link:focus-visible { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.cookie-page-button { cursor: pointer; font: inherit; }
.cookie-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(3, 3, 7, .82);
  backdrop-filter: blur(8px);
}
.cookie-consent-dialog {
  width: min(100%, 620px);
  max-height: min(90dvh, 850px);
  overflow-y: auto;
  padding: clamp(1.25rem, 4vw, 2.1rem);
  border: 1px solid rgba(217, 178, 115, .4);
  border-radius: 23px;
  background: #17131c;
  color: #f3e7d3;
  box-shadow: 0 28px 100px rgba(0,0,0,.65);
  overscroll-behavior: contain;
}
.cookie-consent-kicker {
  display: block;
  color: #e1bc82;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.cookie-consent-dialog h2 {
  margin: 0 0 1rem;
  font: 600 clamp(1.9rem, 5vw, 2.6rem)/1.05 Georgia,serif;
  letter-spacing: .01em;
  color: #f3e7d3;
  text-align: left;
}
.cookie-consent-dialog p { color: #d5c5ab; font-size: .95rem; line-height: 1.65; text-align: left; }
.cookie-consent-dialog p strong { color: #f3e7d3; }
.cookie-consent-summary {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  border: 1px solid rgba(217,178,115,.2);
  background: rgba(217,178,115,.06);
  border-radius: 12px;
  padding: .65rem .85rem;
  color: #f3e7d3;
  font-size: .88rem;
}
.cookie-consent-summary span:first-child { color: #e7bd84; font-weight: 700; }
.cookie-consent-detail { margin: .9rem 0 1.1rem; font-size: .86rem !important; }
.cookie-consent-detail a { color: #efce9c; text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent-actions, .cookie-consent-settings-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
}
.cookie-consent-actions[hidden], .cookie-consent-settings-actions[hidden],
.cookie-consent-settings[hidden] { display: none !important; }
.cookie-consent-button {
  font-family: inherit;
  font-weight: 700;
  font-size: .94rem;
  border-radius: 999px;
  min-height: 48px;
  padding: .65rem .9rem;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.cookie-consent-choice { color: #180f09; background: #e4bd84; border: 2px solid #e4bd84; }
.cookie-consent-choice:hover { background: #f6d9a9; border-color: #f6d9a9; }
.cookie-consent-secondary { color: #f3e7d3; border: 1px solid #856a4c; background: transparent; grid-column: 1 / -1; }
.cookie-consent-secondary:hover { background: rgba(255,255,255,.08); }
.cookie-consent-button:focus-visible, .cookie-consent-dialog a:focus-visible, .cookie-consent-option input:focus-visible,
.cookie-settings-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.cookie-consent-settings { margin-top: 1.1rem; border-top: 1px solid rgba(217,178,115,.2); }
.cookie-consent-option { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .85rem 0; border-bottom: 1px solid rgba(217,178,115,.18); }
.cookie-consent-option strong { display: block; font-size: .95rem; }
.cookie-consent-option small { display: block; color: #c8b89d; line-height: 1.45; margin-top: .15rem; }
.cookie-consent-option input { appearance: auto; accent-color: #d9b273; width: 21px; height: 21px; flex: 0 0 auto; cursor: pointer; }
.cookie-consent-disclaimer { margin: .7rem 0 0; font-size: .83rem !important; }
@media (max-width: 420px) {
  .cookie-consent-backdrop { padding: .5rem; }
  .cookie-consent-dialog { border-radius: 16px; padding: 1.05rem; max-height: 95dvh; }
  .cookie-consent-actions, .cookie-consent-settings-actions { grid-template-columns: 1fr; }
  .cookie-consent-secondary { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { .cookie-consent-button { transition: none; } }
