/* Lady Lex — cookie consent banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 400;
  background: rgba(246, 243, 238, 0.97);
  border-top: 3px solid #0f766e;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  padding: 20px clamp(16px, 4vw, 40px) 22px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

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

.cookie-banner-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1 1 280px;
  max-width: 42rem;
  margin: 0;
  /* Same serif family as page headings / taglines (Cormorant loads on every page) */
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: #0a3d28;
  -webkit-font-smoothing: antialiased;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-banner-link {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
  text-decoration: none;
  white-space: nowrap;
}

.cookie-banner-link:hover {
  color: #0b5f58;
  text-decoration: underline;
}

.cookie-banner-accept {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.cookie-banner-reject {
  background: transparent;
  border: 2px solid #0a3d28;
  color: #0a3d28;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.22s, color 0.22s;
}

.cookie-banner-reject:hover {
  background: #0a3d28;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner-actions {
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition-duration: 0.01ms;
  }
}