/* ════════════════════════════════════════════════
   ГК ПОКРАСКА — уведомление об использовании cookies
   Подключается на всех страницах вместе с cookie-notice.js
   ════════════════════════════════════════════════ */

.cookie-notice {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  padding: 16px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(22, 14, 6, .97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(242, 216, 145, .18);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, .22);
  transform: translateY(102%);
  transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}

.cookie-notice.is-visible { transform: translateY(0); }

.cookie-notice-text {
  flex: 1 1 380px;
  max-width: 780px;
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  font-weight: 300;
  color: rgba(250, 247, 242, .72);
}

.cookie-notice-text a {
  color: #E8D49A;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 212, 154, .4);
}

.cookie-notice-text a:hover { border-bottom-color: #E8D49A; }

.cookie-notice-btn {
  flex: 0 0 auto;
  padding: 12px 30px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4d785, #bd8428);
  color: #2A1F12;
  font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.cookie-notice-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(189, 132, 40, .35);
}

/* пока висит уведомление — прячем кнопку «наверх», чтобы не перекрывались */
body.cookie-open .scroll-top {
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-notice { transition: none; }
}

@media (max-width: 640px) {
  .cookie-notice { padding: 15px 16px; gap: 12px; }
  .cookie-notice-text { flex-basis: 100%; font-size: 13px; }
  .cookie-notice-btn { width: 100%; padding: 13px 20px; }
}
