/* Cookie consent — v1.9 (24.10.2026) */
/* Нижний блок по ширине контента сайта (1140 px), страницу не блокирует */
.cc-banner {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 12px;
  width: 1140px;
  max-width: calc(100% - 24px);
  z-index: 9999;
  background: #fff;
  color: #333;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  padding: 14px 20px;
  font-size: 14px;
  line-height: 1.45;
  box-sizing: border-box;
  font-family: inherit;
  text-align: left;
  max-height: 60vh;
  overflow-y: auto;
}
.cc-banner .cc-text p { margin: 0; }
.cc-banner .cc-link { color: #66834c; text-decoration: underline; }
.cc-banner .cc-buttons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cc-banner .cc-buttons .cc-btn { min-width: 120px; }
.cc-banner .cc-panel { margin-top: 12px; padding-top: 10px; border-top: 1px solid #eee; max-width: 720px; }
.cc-banner .cc-row { display: flex; gap: 6px; align-items: flex-start; margin-bottom: 8px; font-weight: normal; cursor: pointer; }
.cc-banner .cc-row input { margin-top: 3px; }
.cc-banner .cc-btn {
  border: 1px solid #66834c;
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: #fff;
  color: #66834c;
}
.cc-banner .cc-btn:hover { background: #f1f5ed; }
.cc-banner .cc-btn-primary { background: #66834c; color: #fff; }
.cc-banner .cc-btn-primary:hover { background: #536f3c; }
.cc-banner .cc-save { width: 100%; margin-top: 4px; }
@media (min-width: 900px) {
  .cc-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; }
  .cc-banner .cc-text { flex: 1 1 420px; }
  .cc-banner .cc-buttons { margin-top: 0; flex: 0 0 auto; }
  .cc-banner .cc-panel { flex: 0 0 100%; }
}
@media (max-width: 899px) {
  .cc-banner { bottom: 8px; }
  .cc-banner .cc-buttons { flex-wrap: wrap; }
  .cc-banner .cc-buttons .cc-btn { flex: 1 1 0; min-width: 0; }
}
