/* Dear Breakfast — consent banner and privacy controls */
.consent-banner {
  position: fixed;
  z-index: 1000;
  left: 1.25rem;
  bottom: 1.25rem;
  display: block;
  width: min(31rem, calc(100vw - 2.5rem));
  padding: 1.1rem;
  border: 1px solid rgba(244, 238, 226, .22);
  border-radius: 4px;
  background: rgba(33, 27, 23, .97);
  color: #F4EEE2;
  box-shadow: 0 1.2rem 3.5rem rgba(16, 12, 9, .34);
  font-family: "Hanken Grotesk", sans-serif;
  text-align: left;
  backdrop-filter: blur(14px);
}

.consent-banner[hidden] { display: none; }

.consent-eyebrow {
  margin: 0 0 .35rem;
  color: #D5B878;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.consent-copy h2 {
  margin: 0;
  color: #F4EEE2;
  font-family: "Fraunces", serif;
  font-size: 1.22rem;
  font-weight: 450;
  line-height: 1.25;
}

.consent-copy > p:last-child {
  margin: .55rem 0 0;
  color: rgba(244, 238, 226, .78);
  font-size: .78rem;
  line-height: 1.5;
}

.consent-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .55rem;
  margin-top: .9rem;
}

.consent-actions button {
  min-height: 2.65rem;
  padding: .65rem .7rem;
  border: 1px solid #F4EEE2;
  border-radius: 3px;
  background: #F4EEE2;
  color: #211B17;
  cursor: pointer;
  font: 650 .68rem/1.2 "Hanken Grotesk", sans-serif;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.consent-actions [data-consent-reject] {
  background: transparent;
  color: #F4EEE2;
}

.consent-actions button:hover,
.consent-actions button:focus-visible {
  border-color: #D5B878;
  outline: 2px solid transparent;
  box-shadow: 0 0 0 2px #D5B878;
}

.consent-policy {
  display: inline-block;
  margin-top: .7rem;
  color: rgba(244, 238, 226, .78);
  font-size: .7rem;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-choice-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 540px) {
  .consent-banner {
    left: .65rem;
    bottom: .65rem;
    width: calc(100vw - 1.3rem);
    max-height: calc(100dvh - 1.3rem);
    overflow: auto;
    padding: .95rem;
  }

  .consent-copy h2 { font-size: 1.08rem; }
  .consent-copy > p:last-child { font-size: .74rem; }
  .consent-actions button { min-height: 2.85rem; font-size: .64rem; }
}

@media (prefers-reduced-motion: reduce) {
  .consent-banner { scroll-behavior: auto; }
}
