/* ============================================
   NOVARA — Cookie notice
   Paired with /new/js/new-cookie-consent.js
   Sits above the offer popup so it stays reachable either way.
   ============================================ */

.n-cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12500;
  display: none;
  padding: 0 var(--pad-page, 24px) 20px;
}
.n-cookie.is-on { display: block; }

.n-cookie__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 18px 22px;
  border-radius: 14px;
  background: rgba(13, 68, 56, 0.97);
  border: 1px solid rgba(201, 162, 74, 0.28);
  box-shadow: 0 20px 50px rgba(4, 20, 15, 0.5);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.35s var(--ease-out, ease), opacity 0.35s var(--ease-out, ease);
}
.n-cookie.is-visible .n-cookie__inner {
  transform: none;
  opacity: 1;
}

.n-cookie__text {
  flex: 1;
  min-width: 0;
  font-family: var(--font-small, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--cream-dim, rgba(247, 241, 230, 0.72));
}
.n-cookie__text a {
  color: var(--gold, #C9A24A);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.n-cookie__text a:hover { color: var(--gold-warm, #E0BF72); }

.n-cookie__accept {
  flex: none;
  padding: 12px 24px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold, #C9A24A), var(--gold-warm, #E0BF72));
  font-family: var(--font-small, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--forest-deep, #0D4438);
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.1s ease;
}
.n-cookie__accept:hover { filter: brightness(1.07); }
.n-cookie__accept:active { transform: scale(0.98); }

@media (max-width: 640px) {
  .n-cookie { padding: 0 12px calc(12px + env(safe-area-inset-bottom)); }
  .n-cookie__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 16px 18px;
  }
  .n-cookie__text { font-size: 12.5px; }
  .n-cookie__accept { width: 100%; padding: 13px; }
}

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