/* Cookie consent banner — Meta Pixel / GTM gated behind Accept all */
.cookie-consent {
  position: fixed;
  z-index: 10000;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  pointer-events: none;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__panel {
  pointer-events: auto;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.15rem 1.25rem 1.25rem;
  background: #ffffff;
  color: #14110e;
  border: 1px solid rgba(20, 17, 14, 0.12);
  border-radius: 8px;
  box-shadow: 0 -8px 32px rgba(20, 17, 14, 0.12);
  font-family: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
}

.cookie-consent__title {
  margin: 0 0 0.4rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: #14110e;
}

.cookie-consent__text {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(20, 17, 14, 0.72);
}

.cookie-consent__text a {
  color: #b89028;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
  color: #c79d32;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cookie-consent__btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.65rem 1.1rem;
  border-radius: 20px;
  transition: background 0.18s ease, color 0.18s ease;
}

.cookie-consent__btn--accept {
  background: #c79d32;
  color: #0a0a0a;
}

.cookie-consent__btn--accept:hover {
  background: #b89028;
}

.cookie-consent__btn--necessary {
  background: transparent;
  color: rgba(20, 17, 14, 0.72);
  border: 1px solid rgba(20, 17, 14, 0.18);
}

.cookie-consent__btn--necessary:hover {
  color: #14110e;
  border-color: rgba(20, 17, 14, 0.35);
}

.cookie-consent__btn:focus-visible {
  outline: 2px solid #c79d32;
  outline-offset: 2px;
}

@media (max-width: 520px) {
  .cookie-consent {
    padding: 0.75rem;
  }

  .cookie-consent__actions {
    flex-direction: column;
  }

  .cookie-consent__btn {
    width: 100%;
    text-align: center;
  }
}

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