/* ===== Cookie banner (FRIGOLOG style-ish) ===== */
:root{
  --cb-bg:#0b1220;
  --cb-bg2:#111c2e;
  --cb-text:#e5e7eb;
  --cb-muted:#cbd5e1;
  --cb-blue:#1e64f0;
  --cb-border: rgba(255,255,255,.10);
  --cb-radius: 16px;
  --cb-shadow: 0 18px 55px rgba(15,23,42,.35);
}

.cookie-banner{
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 9999;

  display: none; /* JS prepne na flex */
  gap: 14px;
  align-items: flex-start;

  padding: 16px 16px;
  border-radius: var(--cb-radius);
  background: radial-gradient(900px 520px at 20% 15%, rgba(30,100,240,.20), transparent 55%),
              linear-gradient(180deg, var(--cb-bg), var(--cb-bg2));
  box-shadow: var(--cb-shadow);
  border: 1px solid var(--cb-border);
  color: var(--cb-text);
}

.cookie-banner.is-visible{ display: flex; }

.cookie-banner__text{
  flex: 1 1 auto;
  min-width: 220px;
}

.cookie-banner__title{
  font-weight: 900;
  font-size: 14px;
  margin: 0 0 6px 0;
  letter-spacing: .2px;
}

.cookie-banner__desc{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--cb-muted);
}

.cookie-banner__links{
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-banner__links a{
  color: #dbeafe;
  text-decoration: underline;
  font-weight: 800;
  font-size: 12.5px;
}

.cookie-banner__actions{
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.cb-btn{
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 950;
  font-size: 12.5px;
  letter-spacing: .2px;
  transition: transform .08s ease, opacity .15s ease;
}

.cb-btn:active{ transform: translateY(1px); }

.cb-btn.primary{
  background: #fff;
  color: #0f172a;
}

.cb-btn.secondary{
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
}

.cb-btn.ghost{
  background: transparent;
  color: #dbeafe;
  border: 1px solid rgba(219,234,254,.28);
}

/* panel nastavení */
.cookie-modal{
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(2,6,23,.55);
  backdrop-filter: blur(4px);
}

.cookie-modal.is-open{ display: flex; }

.cookie-modal__card{
  width: min(720px, 100%);
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(226,232,240,.95);
  box-shadow: 0 28px 80px rgba(15,23,42,.25);
  overflow: hidden;
}

.cookie-modal__head{
  padding: 18px 18px 10px;
  border-bottom: 1px solid rgba(226,232,240,.9);
}

.cookie-modal__head h3{
  margin: 0;
  font-size: 16px;
  font-weight: 950;
  color: #0f172a;
}

.cookie-modal__head p{
  margin: 8px 0 0;
  font-size: 13px;
  color: #475569;
  line-height: 1.55;
}

.cookie-modal__body{
  padding: 14px 18px 6px;
}

.cb-row{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid rgba(226,232,240,.85);
}

.cb-row:first-child{ border-top: 0; }

.cb-row strong{
  display: block;
  color: #0f172a;
  font-weight: 950;
  font-size: 13.5px;
}

.cb-row span{
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 12.5px;
  line-height: 1.45;
}

.cb-toggle{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 12.5px;
  color: #0f172a;
}

.cb-toggle input{
  width: 18px;
  height: 18px;
}

.cookie-modal__foot{
  padding: 14px 18px 18px;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  border-top: 1px solid rgba(226,232,240,.9);
}

.cookie-modal__foot .cb-btn{
  border-radius: 12px;
  padding: 10px 14px;
}

.cookie-modal__foot .primary{
  background: var(--cb-blue);
  color: #fff;
}

.cookie-modal__foot .secondary{
  background: #eaf2ff;
  color: #1e40af;
  border: 1px solid rgba(37,99,235,.22);
}

.cookie-modal__foot .ghost{
  background: transparent;
  color: #0f172a;
  border: 1px solid rgba(15,23,42,.18);
}

@media (max-width: 650px){
  .cookie-banner{ left: 12px; right: 12px; bottom: 12px; flex-direction: column; }
  .cookie-banner__actions{ justify-content: flex-start; }
}