body.age-gate-locked {
  overflow: hidden;
}

body.age-gate-locked .site-header,
body.age-gate-locked main,
body.age-gate-locked .site-footer {
  filter: blur(7px);
  pointer-events: none;
  user-select: none;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 22px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 17, 15, 0.74);
}

.age-gate__panel {
  position: relative;
  width: min(100%, 430px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: #f8f3ec;
  color: #211f1b;
  padding: clamp(24px, 4.5vw, 34px);
  text-align: center;
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.34);
}

.age-gate__heading {
  margin-bottom: 18px;
}

.age-gate__title {
  margin: 0;
  color: #332e28;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 4.8vw, 1.58rem);
  line-height: 1.32;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.age-gate__copy {
  margin-bottom: 24px;
  color: #514a42;
  font-size: 1rem;
  line-height: 1.62;
}

.age-gate__copy p {
  margin: 0;
}

.age-gate__copy p + p {
  margin-top: 9px;
  color: #665e55;
  font-size: 0.96rem;
}

.age-gate__form {
  display: grid;
  justify-items: center;
  gap: 11px;
}

.age-gate__button {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 9px;
  padding: 10px 24px;
  font-weight: 700;
  line-height: 1.28;
  text-align: center;
  text-decoration: none;
}

.age-gate__button span + span {
  margin-top: 2px;
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0.8;
}

.age-gate__button--primary {
  border: 1px solid #211f1b;
  background: #211f1b;
  color: #ffffff;
}

.age-gate__button--secondary {
  border: 1px solid #d5ccc0;
  background: #ffffff;
  color: #211f1b;
}

@media (max-width: 480px) {
  .age-gate {
    padding: 16px;
  }

  .age-gate__panel {
    padding: 24px 20px;
    border-radius: 12px;
  }

  .age-gate__heading {
    margin-bottom: 16px;
  }

  .age-gate__copy {
    margin-bottom: 22px;
    font-size: 0.98rem;
  }

  .age-gate__button {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
  }
}
