/* ================= Cookie lišta ================= */
.cc-root {
  --cc-blue: #007bc0;
  --cc-blue-hover: #00629a;
  --cc-blue-active: #004975;
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  font-family: "Bosch Sans", boschsans, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #000;
  text-align: left;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
.cc-root[hidden] { display: none !important; }

.cc-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  animation: cc-fade 0.25s ease-out;
}

.cc-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: 100%;
  overflow-y: auto;
  background: #fff;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  animation: cc-slide 0.3s ease-out;
  outline: none;
}

.cc-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 20px 32px 32px;
}

.cc-root .cc-title {
  margin: 0 0 26px;
  padding: 0;
  font-family: inherit;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 700;
  color: #000;
}

.cc-root .cc-text p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #000;
}
.cc-root .cc-text p:last-child { margin-bottom: 0; }

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 20px;
}

.cc-root .cc-btn {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: 0;
  margin: 0;
  min-height: 48px;
  padding: 12px 18px;
  background: var(--cc-blue);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.cc-root .cc-btn:hover { background: var(--cc-blue-hover); }
.cc-root .cc-btn:active { background: var(--cc-blue-active); }

.cc-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 14px;
  color: #000;
}
.cc-root .cc-links a {
  color: var(--cc-blue);
  text-decoration: none;
}
.cc-root .cc-links a:hover {
  color: var(--cc-blue-hover);
  text-decoration: underline;
}

.cc-root .cc-btn:focus-visible,
.cc-root .cc-links a:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

/* Zamknout posouvání stránky, když je lišta otevřená */
html.cc-open,
html.cc-open body { overflow: hidden; }

@media (max-width: 640px) {
  .cc-inner { padding: 20px 16px 24px; }
  .cc-root .cc-title { font-size: 20px; margin-bottom: 16px; }
  .cc-actions { gap: 12px; }
  .cc-root .cc-btn { flex: 1 1 100%; }
  .cc-links { width: 100%; justify-content: center; margin-top: 4px; }
}

@keyframes cc-fade { from { opacity: 0; } }
@keyframes cc-slide { from { transform: translateY(100%); } }

@media (prefers-reduced-motion: reduce) {
  .cc-backdrop, .cc-panel { animation: none; }
}
