/* ----------------------------------
   COOKIES & PRIVACY BANNER CSS
----------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-paper);
  border-top: 1px solid var(--color-line);
  padding: var(--margin-fluid);
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transform: translateY(100%);
  transition: transform 0.6s var(--curve-editorial), opacity 0.4s, visibility 0.6s;
}

.cookie-banner.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-content h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.cookie-content p {
  font-size: 0.875rem;
  color: rgba(15,15,15,0.7);
  margin-bottom: 1.5rem;
}

.cookie-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15,15,15,0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--margin-fluid);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.cookie-panel:not(.visually-hidden) {
  visibility: visible;
  opacity: 1;
}

.cookie-panel-content {
  background: var(--color-paper);
  padding: 3rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-panel-content h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cookie-option {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 1rem;
}

.cookie-option label {
  display: flex;
  justify-content: space-between;
  font-weight: 500;
  cursor: pointer;
}

.cookie-option p {
  font-size: 0.875rem;
  margin-top: 0.5rem;
  color: rgba(15,15,15,0.7);
}

.cookie-panel-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
