/* =========================
   Ron Barcelo Age Gate
   ========================= */

body.rb-age-gate-is-active {
  overflow: hidden;
}

.rb-age-gate {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.rb-age-gate.is-visible {
  display: block;
}

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

.rb-age-gate__dialog {
  position: relative;
  z-index: 2;
  width: min(690px, calc(100% - 32px));
  margin: min(10vh, 90px) auto 0;
  background: linear-gradient(180deg, #242424 0%, #1f1f1f 100%);
  color: #ffffff;
  padding: clamp(34px, 4vw, 64px) clamp(22px, 4vw, 56px);
  text-align: center;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45);
}

.rb-age-gate__logo-wrap {
  margin-bottom: 28px;
}

.rb-age-gate__logo {
  display: block;
  max-width: 170px;
  width: 100%;
  margin: 0 auto;
  height: auto;
}

.rb-age-gate__title {
  margin: 0 0 34px;
  /* font-family: Georgia, "Times New Roman", serif; */
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.35;
  font-weight: 600;
  color: #f5f1ea;
}

.rb-age-gate__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto 28px;
}

.rb-age-gate__btn {
  appearance: none;
  border: 0;
  min-height: 54px;
  padding: 14px 22px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  background: #a65a3a;
  transition: background 0.25s ease, transform 0.2s ease, opacity 0.2s ease;
}

.rb-age-gate__btn:hover {
  background: #b56542;
}

.rb-age-gate__btn:active {
  transform: translateY(1px);
}

.rb-age-gate__remember {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 28px;
  cursor: pointer;
  user-select: none;
  color: #c7c7c7;
  font-size: 14px;
}

.rb-age-gate__remember input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.rb-age-gate__checkbox {
  width: 18px;
  height: 18px;
  border: 1px solid #a65a3a;
  display: inline-block;
  position: relative;
  flex: 0 0 18px;
}

.rb-age-gate__remember input:checked + .rb-age-gate__checkbox::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #a65a3a;
}

.rb-age-gate__legal {
  max-width: 470px;
  margin: 0 auto;
  color: #bdbdbd;
  font-size: 12px;
  line-height: 1.55;
}

.rb-age-gate__legal p {
  margin: 0 0 6px;
}

.rb-age-gate__legal a {
  color: #bdbdbd;
  text-decoration: underline;
}

@media (max-width: 640px) {
  .rb-age-gate__dialog {
    width: calc(100% - 24px);
    padding: 28px 18px 32px;
    margin-top: 7vh;
  }

  .rb-age-gate__actions {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .rb-age-gate__title {
    font-size: 25px;
  }

  .rb-age-gate__logo {
    max-width: 140px;
  }
}