/* ============================================================
   COOKIE CONSENT — zdieľané pre index.html aj všetky podstránky
   Markup generuje assets/ui-notice.js
   ============================================================ */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: rgba(0,0,0,.97); backdrop-filter: blur(14px); border-top: 1px solid rgba(254,80,0,.35); padding: 1.5rem 0; transition: transform .4s cubic-bezier(.2,.8,.3,1); box-shadow: 0 -12px 40px rgba(0,0,0,.6); }
.cookie-banner[hidden] { display: none; }
.cookie-banner.slide-out { transform: translateY(100%); }
.cookie-inner { max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.25rem,3vw,2.5rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.cookie-content h3 { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: .35rem; }
.cookie-content p { color: rgba(255,255,255,.72); font-size: .85rem; line-height: 1.5; margin: 0; max-width: 720px; }
.cookie-content p a { color: #FE5000; text-decoration: underline; }
.cookie-content p strong { color: #fff; font-weight: 500; }
.cookie-buttons { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }
.cookie-btn { padding: .7rem 1.25rem; font-size: .72rem; letter-spacing: .12em; font-weight: 600; cursor: pointer; border: 1px solid rgba(255,255,255,.15); background: transparent; color: rgba(255,255,255,.85); text-transform: uppercase; transition: all .25s ease; font-family: inherit; }
.cookie-btn:hover { border-color: #FE5000; color: #FE5000; }
.cookie-btn:focus-visible, .cookie-modal-close:focus-visible, .cookie-toggle input:focus-visible, .cookie-modal-link:focus-visible { outline: 2px solid #FE5000; outline-offset: 2px; }
.cookie-btn.cookie-accept { background: #FE5000; color: #fff; border-color: #FE5000; }
.cookie-btn.cookie-accept:hover { background: #d34400; color: #fff; }
@media (max-width: 900px) { .cookie-inner { grid-template-columns: 1fr; gap: 1rem; } .cookie-buttons { justify-content: stretch; } .cookie-btn { flex: 1; text-align: center; } }
.cookie-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.cookie-modal[hidden] { display: none; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(6px); }
.cookie-modal-panel { position: relative; background: #2B2B2B; border: 1px solid rgba(254,80,0,.3); max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 2.5rem 2rem; }
.cookie-modal-close { position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px; background: transparent; border: none; color: #fff; font-size: 1.8rem; cursor: pointer; opacity: .6; }
.cookie-modal-close:hover { opacity: 1; color: #FE5000; }
.cookie-modal-panel h2 { color: #fff; font-size: 1.4rem; margin-bottom: .5rem; }
.cookie-modal-intro { color: rgba(255,255,255,.7); font-size: .88rem; line-height: 1.6; margin-bottom: 1.5rem; }
.cookie-category { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.cookie-toggle { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; cursor: pointer; }
.cookie-toggle div { flex: 1; }
.cookie-toggle strong { color: #fff; font-size: .95rem; font-weight: 600; display: block; margin-bottom: .25rem; }
.cookie-toggle span { color: rgba(255,255,255,.6); font-size: .8rem; line-height: 1.5; }
.cookie-toggle input[type="checkbox"] { appearance: none; -webkit-appearance: none; width: 44px; height: 24px; background: rgba(255,255,255,.15); border-radius: 12px; cursor: pointer; position: relative; transition: background .2s; flex-shrink: 0; }
.cookie-toggle input[type="checkbox"]::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: #fff; border-radius: 50%; transition: transform .25s; }
.cookie-toggle input[type="checkbox"]:checked { background: #FE5000; }
.cookie-toggle input[type="checkbox"]:checked::after { transform: translateX(20px); }
.cookie-toggle input[type="checkbox"]:disabled { opacity: .5; cursor: not-allowed; }
.cookie-modal-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
/* vlastný štýl namiesto .btn-primary — ten existuje len na index.html */
.cookie-modal-save { flex: 1; min-width: 180px; justify-content: center; padding: .9rem 1.75rem; background: #FE5000; color: #fff; border: 1px solid #FE5000; font-family: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.cookie-modal-save:hover { background: #d34400; }
.cookie-modal-save:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cookie-modal-link { color: #a8a8a8; font-size: .75rem; text-decoration: underline; }
.cookie-modal-link:hover { color: #FE5000; }
@media (prefers-reduced-motion: reduce) { .cookie-banner, .cookie-btn, .cookie-toggle input[type="checkbox"], .cookie-toggle input[type="checkbox"]::after { transition: none; } }
