/* Age verification gate */

html.sbul-age-gate-open,
html.sbul-age-gate-open body {
  overflow: hidden;
}

.sbul-age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.sbul-age-gate.is-active {
  display: flex;
}

.sbul-age-gate[hidden] {
  display: none !important;
}

.sbul-age-gate__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
}

.sbul-age-gate__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 640px);
  background: #fff;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
}

.sbul-age-gate__title {
  margin: 0 0 1.25rem;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
  color: #12141a;
  text-transform: uppercase;
}

.sbul-age-gate__text {
  margin: 0 0 2rem;
  font-family: Inter, Arial, sans-serif;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  line-height: 1.65;
  text-align: center;
  color: #12141a;
}

.sbul-age-gate__actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.sbul-age-gate__btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  padding: 0.85rem 1.25rem;
  border: 2px solid #12141a;
  font-family: Inter, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.sbul-age-gate__btn--confirm {
  background: #12141a;
  color: #fff;
}

.sbul-age-gate__btn--confirm:hover,
.sbul-age-gate__btn--confirm:focus-visible {
  background: #2a2d36;
  border-color: #2a2d36;
}

.sbul-age-gate__btn--decline {
  background: #fff;
  color: #12141a;
}

.sbul-age-gate__btn--decline:hover,
.sbul-age-gate__btn--decline:focus-visible {
  background: #f3f4f6;
}

.sbul-age-gate__step--denied .sbul-age-gate__text {
  margin-bottom: 0;
}

@media (max-width: 520px) {
  .sbul-age-gate__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sbul-age-gate__btn {
    max-width: none;
  }
}
