/* Cookie banner: a quiet card bottom-left on desktop, a bottom sheet on phones. Uses the theme's
   tokens when present. »Zavrni« and »Sprejmi vse« are equally prominent. */
.cc { position: fixed; z-index: 95; left: 20px; bottom: 20px; width: min(420px, calc(100% - 24px)); display: flex; flex-direction: column; gap: 16px; padding: 22px; border-radius: 24px; background: #fff; color: var(--ink, #0d1212); border: 1px solid var(--line, rgba(91, 130, 121, .2)); box-shadow: 0 30px 60px -24px rgba(13, 18, 18, .4); font: 400 15px/1.5 var(--font, system-ui, sans-serif); animation: cc-in .22s ease-out both; }
@keyframes cc-in { from { opacity: 0; transform: translateY(12px); } }
.cc[hidden] { display: none !important; }
.cc-h { margin: 0; font: 500 12px/1.3 var(--font, system-ui, sans-serif); letter-spacing: .06em; text-transform: uppercase; color: var(--eyebrow, #4d7569); }
.cc-t { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--text-2, #34484a); }
.cc-t a { color: var(--ink, #0d1212); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cc-prefs { display: flex; flex-direction: column; gap: 2px; margin: -4px 0 0; padding: 4px; border-radius: 18px; background: var(--mint, #edf4f2); max-height: 46vh; overflow-x: hidden; overflow-y: auto; }
.cc-cat { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; border-radius: 14px; cursor: pointer; }
.cc-cat:has(:disabled) { cursor: default; }
.cc-cat + .cc-cat { border-top: 1px solid rgba(91, 130, 121, .14); }
.cc-cat-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cc-cat-t b { font-weight: 600; font-size: 14.5px; }
.cc-cat-t small { font-size: 13px; line-height: 1.45; color: var(--muted, #4f625f); }
.cc input.cc-sw { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: #a9bab6; cursor: pointer; transition: background .15s; }
.cc input.cc-sw::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(13, 18, 18, .25); transition: transform .15s; }
.cc input.cc-sw:checked { background: var(--slate, #34484a); }
.cc input.cc-sw:checked::after { transform: translateX(18px); }
.cc input.cc-sw:disabled { opacity: .55; cursor: default; }
.cc input.cc-sw:focus-visible { outline: 3px solid var(--accent, #2fe0a0); outline-offset: 2px; }
.cc-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-btn { flex: 1 1 auto; min-height: 44px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--slate, #34484a); background: var(--slate, #34484a); color: #fff; font: 700 12px/1.2 var(--font, system-ui, sans-serif); letter-spacing: .04em; text-transform: uppercase; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.cc-btn:hover { background: var(--slate-2, #2a3a3c); border-color: var(--slate-2, #2a3a3c); }
.cc-btn[data-cc-act="prefs"] { order: 1; flex: 1 0 100%; min-height: 38px; border-color: transparent; background: transparent; color: var(--slate, #34484a); text-decoration: underline; text-underline-offset: 4px; }
.cc-btn[data-cc-act="prefs"]:hover { background: var(--mint, #edf4f2); }
.cc-btn[data-cc-act="save"] { background: #fff; color: var(--ink, #0d1212); border-color: var(--line, rgba(91, 130, 121, .3)); }
.cc-btn[data-cc-act="save"]:hover { background: var(--mint, #edf4f2); }
.cc-btn:focus-visible { outline: 3px solid var(--accent, #2fe0a0); outline-offset: 2px; }
@media (max-width: 560px) {
	.cc { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 18px 18px calc(18px + env(safe-area-inset-bottom)); border-radius: 22px; gap: 14px; }
	.cc-t { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .cc { animation: none; } }
@media print { .cc { display: none !important; } }
