/* Баннер cookies (решение 01.12.2026): тёмно-зелёная плашка, золото и крем, шрифты сайта.
   Компьютер — плашка внизу по центру: слева текст, справа две равные кнопки и «Nastavení cookies».
   Телефон — карточка внизу, кнопки в ряд, ссылка под ними. Кнопки «Odmítnout» и «Přijmout» одинаковые (без тёмного паттерна). */
.cc {
  position: fixed; z-index: 120; left: 50%; bottom: 20px; transform: translateX(-50%);
  width: min(980px, calc(100% - 40px)); max-height: calc(100vh - 40px); overflow: auto;
  background: var(--nm-green, #263830); color: var(--nm-cream, #FCF8EE);
  border: 1px solid rgba(240, 213, 151, .38); border-radius: 20px;
  box-shadow: 0 24px 60px -18px rgba(10, 20, 15, .65);
  padding: 22px 26px; font-family: var(--sans, system-ui, sans-serif); font-size: .95rem; line-height: 1.5;
}
.cc[hidden], .cc [hidden] { display: none !important; }
.cc-main { display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: center; }
.cc .cc-title {
  margin: 0 0 6px; font-family: var(--serif, Georgia, serif); font-weight: 600; font-size: 1.35rem; line-height: 1.2;
  color: var(--nm-gold-light, #F0D597); letter-spacing: 0;
}
.cc p { margin: 0; color: rgba(252, 248, 238, .9); }
.cc a { color: var(--nm-gold-light, #F0D597); text-decoration: underline; text-underline-offset: 2px; }
.cc-side { display: grid; gap: 8px; justify-items: center; }
.cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-btn {
  min-width: 152px; min-height: 46px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2;
  background: var(--nm-cream, #FCF8EE); color: var(--nm-green, #263830); border: 1px solid var(--nm-cream, #FCF8EE);
}
.cc-btn:hover { background: var(--nm-gold-light, #F0D597); border-color: var(--nm-gold-light, #F0D597); }
.cc-btn:focus-visible, .cc-link:focus-visible, .cc-cat input:focus-visible { outline: 2px solid var(--nm-gold-light, #F0D597); outline-offset: 3px; }
.cc-link {
  background: none; border: 0; padding: 4px 6px; cursor: pointer; font: inherit; font-size: .9rem;
  color: var(--nm-gold-light, #F0D597); text-decoration: underline; text-underline-offset: 2px;
}
.cc-cats { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(240, 213, 151, .25); display: grid; gap: 12px; }
.cc .cc-cats-title { margin: 0; font-family: var(--serif, Georgia, serif); font-weight: 600; font-size: 1.1rem; color: var(--nm-gold-light, #F0D597); }
.cc-cat { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cc-cat input { flex: none; margin-top: 3px; width: 20px; height: 20px; accent-color: var(--nm-gold-mid, #D9B66F); }
.cc-cat input:disabled { opacity: .55; }
.cc-cat b { font-weight: 600; }
.cc-cat em { font-style: normal; color: rgba(252, 248, 238, .65); font-size: .88rem; }
.cc-cat small { display: block; color: rgba(252, 248, 238, .75); font-size: .86rem; }
.cc-save-row { display: flex; justify-content: flex-end; }

@media (max-width: 760px) {
  .cc { bottom: 12px; width: calc(100% - 24px); padding: 18px 18px 14px; border-radius: 18px; font-size: .92rem; }
  .cc-main { grid-template-columns: 1fr; gap: 14px; }
  .cc .cc-title { font-size: 1.2rem; }
  .cc-side { justify-items: stretch; }
  .cc-btn { min-width: 0; width: 100%; padding-inline: 10px; }
  .cc-link { justify-self: center; }
  .cc-save-row .cc-btn { width: auto; min-width: 160px; }
}
/* на телефоне внизу есть панель «Rezervovat / Trasa» — баннер над ней */
@media (max-width: 760px) { body:has(.mbar) .cc { bottom: 84px; max-height: calc(100vh - 100px); } }

.foot-cookie-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
