
.cc-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1400;
  display: none;
  background: #fbf8f1;
  color: #16301e;
  border-top: 3px solid #123f24;
  box-shadow: 0 -12px 34px rgba(10, 34, 19, 0.24);
  font-family: 'Open Sans', sans-serif;
}
.cc-bar.cc-shown { display: block; }
.cc-bar__inner {
  width: min(94%, 1120px);
  margin-inline: auto;
  padding: 1.25rem 0 1.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.6rem;
}
.cc-bar__text { flex: 1 1 320px; }
.cc-bar__title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #123f24;
  margin-bottom: 0.25rem;
}
.cc-bar__desc { font-size: 0.875rem; line-height: 1.6; color: #445f4c; margin: 0; }
.cc-link { color: #1e6b3a; font-weight: 600; }
.cc-bar__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.cc-btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  border: 2px solid #123f24;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.3s ease, color 0.3s ease;
}
.cc-btn--accept { background: #1e6b3a; border-color: #1e6b3a; color: #fff; }
.cc-btn--accept:hover { background: #2a8b4b; }
.cc-btn--reject { background: #fbf8f1; color: #123f24; }
.cc-btn--reject:hover { background: #e7ddc8; }
.cc-btn--tune { background: transparent; border-color: #d4c6a8; color: #445f4c; }
.cc-btn--tune:hover { border-color: #c99a3b; color: #123f24; }
.cc-btn:focus-visible { outline: 3px solid #c99a3b; outline-offset: 2px; }

.cc-panel {
  position: fixed;
  inset: 0;
  z-index: 1450;
  display: none;
}
.cc-panel.cc-shown { display: block; }
.cc-panel__veil { position: absolute; inset: 0; background: rgba(10, 34, 19, 0.6); }
.cc-panel__card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(94vw, 540px);
  max-height: 88vh;
  overflow-y: auto;
  background: #fbf8f1;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 24px 60px rgba(10, 34, 19, 0.4);
}
.cc-panel__title {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.2rem;
  color: #123f24;
  margin-bottom: 1rem;
}
.cc-panel__x {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  color: #445f4c;
  cursor: pointer;
  border-radius: 50%;
}
.cc-panel__x:hover { background: #e7ddc8; }
.cc-cat {
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #e7ddc8;
}
.cc-cat:last-of-type { border-bottom: none; }
.cc-cat input { width: 20px; height: 20px; margin-top: 0.2rem; flex: none; accent-color: #1e6b3a; }
.cc-cat__name { font-weight: 700; color: #123f24; font-size: 0.95rem; }
.cc-cat__desc { font-size: 0.82rem; color: #445f4c; line-height: 1.55; margin: 0.15rem 0 0; }
.cc-panel__foot { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }

@media (max-width: 768px) {
  .cc-bar__inner { padding: 1rem 0 1.2rem; }
  .cc-bar__actions { width: 100%; }
  .cc-btn { flex: 1 1 130px; justify-content: center; }
}
