/* Cookie consent — matches CrossPaths dark editorial look */
.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  z-index: 120;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.cookie-consent__inner {
  pointer-events: auto;
  max-width: var(--max, 1120px);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-elevated, rgba(16, 16, 20, 0.94));
  border: 1px solid var(--line, rgba(244, 241, 234, 0.08));
  border-radius: calc(var(--radius, 18px) + 2px);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  backdrop-filter: blur(16px);
  animation: cookieIn 0.4s var(--ease, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

@keyframes cookieIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cookie-consent__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.cookie-consent__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display, "Syne", sans-serif);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--ink, #f4f1ea);
}

.cookie-consent__text {
  margin: 0;
  color: var(--ink-soft, rgba(244, 241, 234, 0.72));
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 52rem;
}

.cookie-consent__text a {
  color: var(--accent, #d4a574);
}

.cookie-consent__text a:hover {
  color: var(--accent-hot, #e8c49a);
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  flex-shrink: 0;
}

.cookie-consent__actions .btn {
  font: inherit;
  min-width: 7.5rem;
}

@media (max-width: 640px) {
  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.05rem;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__actions .btn {
    flex: 1 1 auto;
  }
}

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