/* Cookie consent bar — bottom-fixed на странице, появляется только при
   первом визите (нет localStorage zernovoz.cookie_consent). Минимальный
   стиль без анимаций и оверлеев — функциональный, не рекламный. */

.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--surface, #ffffff);
  color: var(--text, #1a1a1a);
  border-top: 1px solid var(--border, #d4d4d8);
  padding: 14px 24px;
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-bar p {
  margin: 0;
  flex: 1 1 280px;
}

.cookie-bar a {
  color: var(--accent, #5c7d3f);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-bar button {
  padding: 8px 22px;
  border: 1px solid var(--accent, #5c7d3f);
  border-radius: 6px;
  background: var(--accent, #5c7d3f);
  color: #ffffff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 120ms;
}

.cookie-bar button:hover {
  opacity: 0.88;
}

@media (max-width: 600px) {
  .cookie-bar {
    flex-wrap: nowrap;
    padding: 6px 10px;
    gap: 8px;
    font-size: 12px;
    line-height: 1.3;
    box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.06);
  }
  .cookie-bar p {
    font-size: 12px;
    flex: 1 1 auto;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .cookie-bar-extra {
    display: none;
  }
  .cookie-actions {
    flex-shrink: 0;
  }
  .cookie-bar button {
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 5px;
  }
}
