/* LESKLEE – cookie lišta a nastavení (barvy a písmo webu) */
.cc-banner {
  position: fixed; z-index: 3000; left: max(16px, env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(560px, calc(100% - 32px)); background: #fff; border-radius: 24px; padding: 22px 22px 18px;
  box-shadow: 0 20px 60px rgba(15, 30, 60, .18); border: 1px solid #ECEEF1; font-family: "Poppins", system-ui, sans-serif;
  animation: ccIn .35s ease;
}
@keyframes ccIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.cc-banner h2, .cc-box h2 { margin: 0; font-family: "Poppins", system-ui, sans-serif; font-weight: 700; font-size: 18px; color: #111; }
.cc-banner p { margin: 6px 0 0; font-size: 14px; line-height: 1.6; color: #555; }
.cc-banner a, .cc-more a { color: #0474D4; font-weight: 600; }
.cc-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.cc-btn { font: 600 14.5px "Poppins", system-ui, sans-serif; border-radius: 999px; padding: 12px 20px; cursor: pointer; border: 2px solid transparent; line-height: 1; transition: background-color .2s, color .2s; }
.cc-primary { background: #0474D4; color: #fff; }
.cc-primary:hover { background: #035BA8; }
.cc-outline { background: #fff; color: #1B1B1B; border-color: #1B1B1B; }
.cc-outline:hover { background: #1B1B1B; color: #fff; }
.cc-link { background: none; color: #555; padding-inline: 10px; }
.cc-link:hover { color: #0474D4; }
.cc-btn:focus-visible, .cc-x:focus-visible, .cc-switch input:focus-visible + i { outline: 3px solid #D3E4F8; outline-offset: 2px; }
.cc-modal { position: fixed; inset: 0; z-index: 3100; background: rgba(10, 20, 35, .45); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; }
.cc-modal[hidden] { display: none; }
.cc-box { position: relative; width: min(100%, 540px); max-height: calc(100vh - 32px); overflow-y: auto; background: #fff; border-radius: 24px; padding: 30px 26px 22px; font-family: "Poppins", system-ui, sans-serif; box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.cc-x { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #F2F2F2; font-size: 22px; cursor: pointer; color: #111; }
.cc-lead { margin: 6px 0 0; font-size: 14px; color: #666; }
.cc-cats { display: grid; gap: 10px; margin-top: 18px; }
.cc-cat { display: flex; gap: 16px; align-items: center; justify-content: space-between; background: #F7F9FC; border-radius: 16px; padding: 14px 16px; cursor: pointer; }
.cc-cat-txt { display: grid; gap: 2px; min-width: 0; }
.cc-cat-txt b { font-size: 15px; color: #111; }
.cc-cat-txt span { font-size: 13px; color: #666; line-height: 1.5; }
.cc-switch { position: relative; flex: none; width: 46px; height: 26px; }
.cc-switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.cc-switch i { position: absolute; inset: 0; background: #D1D5DB; border-radius: 999px; transition: background .2s; pointer-events: none; }
.cc-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.cc-switch input:checked + i { background: #0474D4; }
.cc-switch input:checked + i::after { transform: translateX(20px); }
.cc-switch input:disabled + i { opacity: .55; }
.cc-btns-modal { justify-content: flex-end; }
.cc-more { margin: 14px 0 0; font-size: 13px; color: #8a8f96; text-align: center; }
/* Mapa až po souhlasu */
@media (max-width: 560px) {
  .cc-banner { padding: 18px 16px 14px; border-radius: 20px; }
  .cc-banner .cc-btn { flex: 1 1 auto; text-align: center; }
  .cc-btns-modal .cc-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .cc-banner { animation: none; } }
