/* Cookie consent banner: fixed bar, expands in place into a preferences panel. */
.cookie-consent {
  position: fixed;
  inset: auto 0 0;
  z-index: 90;
  display: flex;
  justify-content: center;
  padding: 16px;
  pointer-events: none;
}
.cookie-consent[hidden] {
  display: none;
}
.cookie-consent__panel {
  pointer-events: auto;
  width: 100%;
  max-width: 900px;
  background: var(--charcoal);
  color: var(--blush);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgb(0 0 0 / 0.35);
  padding: 28px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-consent.is-visible .cookie-consent__panel {
  transform: translateY(0);
  opacity: 1;
}
.cookie-consent__view[hidden] {
  display: none;
}
.cookie-consent__copy h2,
.cookie-consent__prefs h2 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
}
.cookie-consent__copy p,
.cookie-consent__prefs > p {
  font-size: 14px;
  line-height: 1.6;
  color: rgb(249 239 237 / 0.8);
}
.cookie-consent a {
  color: var(--blush);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.cookie-consent .button {
  padding: 13px 22px;
  font-size: 12.5px;
}
.cookie-consent .button--sage {
  background: transparent;
  color: var(--blush);
  border: 1px solid rgb(249 239 237 / 0.35);
}
.cookie-consent__prefs {
  display: flex;
  flex-direction: column;
}
.cookie-consent__category {
  border-top: 1px solid rgb(249 239 237 / 0.15);
  padding-block: 14px;
}
.cookie-consent__category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-consent__category-head label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.cookie-consent__category-head input {
  width: 18px;
  height: 18px;
  accent-color: var(--sage);
}
.cookie-consent__category p {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.55;
  color: rgb(249 239 237 / 0.65);
}
.cookie-consent__always {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgb(249 239 237 / 0.5);
}
@media (max-width: 699px) {
  .cookie-consent {
    padding: 10px;
  }
  .cookie-consent__panel {
    padding: 20px;
    border-radius: 16px;
  }
  .cookie-consent__actions {
    flex-direction: column;
  }
  .cookie-consent__actions .button {
    width: 100%;
  }
}
