:root{
  --rrlj-blue: #0a3cff;
  --rrlj-blue-2: #0a2fd1;
  --rrlj-white: #ffffff;
  --rrlj-text: #0f172a;
  --rrlj-muted: #475569;
  --rrlj-border: rgba(15, 23, 42, .12);
  --rrlj-shadow: 0 20px 60px rgba(2, 6, 23, .25);
}

/* Lock scroll cuando el modal está activo */
body.rrlj-agegate-lock{
  overflow: hidden !important;
}

/* Age Gate */
.rrlj-agegate{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
}

.rrlj-agegate.is-open{
  display: block;
}

.rrlj-agegate__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, .75);
  backdrop-filter: blur(2px);
}

.rrlj-agegate__dialog{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(520px, calc(100% - 32px));
  background: var(--rrlj-white);
  border: 1px solid var(--rrlj-border);
  border-radius: 18px;
  box-shadow: var(--rrlj-shadow);
  padding: 22px 22px 18px;
  outline: none;
}

.rrlj-agegate__brand{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.rrlj-agegate__mark{
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--rrlj-blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .5px;
}

.rrlj-agegate__kicker{
  font-size: 12px;
  color: var(--rrlj-muted);
  line-height: 1.1;
}

.rrlj-agegate__name{
  font-size: 18px;
  font-weight: 800;
  color: var(--rrlj-text);
  line-height: 1.15;
}

.rrlj-agegate__title{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: var(--rrlj-text);
}

.rrlj-agegate__desc{
  margin: 0 0 16px;
  color: var(--rrlj-muted);
  line-height: 1.5;
}

.rrlj-agegate__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.rrlj-btn{
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 11px 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .05s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}

.rrlj-btn:active{
  transform: translateY(1px);
}

.rrlj-btn--primary{
  background: var(--rrlj-blue);
  color: #fff;
}

.rrlj-btn--primary:hover{
  background: var(--rrlj-blue-2);
}

.rrlj-btn--ghost{
  background: #fff;
  color: var(--rrlj-text);
  border-color: var(--rrlj-border);
}

.rrlj-btn--ghost:hover{
  border-color: rgba(15, 23, 42, .22);
}

.rrlj-agegate__fineprint{
  margin: 12px 0 0;
  font-size: 12px;
  color: rgba(71, 85, 105, .9);
}

/* Cart: class helper (no invasivo) */
.woocommerce-cart-form.rrlj-cart-updating{
  opacity: 0.98;
}
