.analytics-preferences[hidden],
.analytics-consent[hidden],
.analytics-choice[hidden] {
  display: none;
}

.analytics-preferences {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.analytics-reservation {
  padding: .5rem 1rem 1rem;
  color: var(--wine, #43212d);
  font-size: .875rem;
  text-align: center;
}

.analytics-consent {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 1000;
  width: min(24rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1rem;
  border: 1px solid #775c65;
  border-radius: .75rem;
  background: #fffaf2;
  color: #43212d;
  box-shadow: 0 8px 32px #25131a30;
  font: 400 .875rem/1.5 var(--sans, system-ui);
}

.analytics-consent h2 {
  margin: 0 0 .375rem;
  font: 600 1.125rem/1.3 var(--sans, system-ui);
}

.analytics-consent p {
  margin: 0 0 .75rem;
}

.analytics-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .5rem;
}

.analytics-consent__actions button {
  min-height: 44px;
  border: 1px solid #43212d;
  border-radius: .25rem;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.analytics-consent__actions button:hover {
  background: #f0e6dd;
}
