html.ac-lb--noscroll, body.ac-lb--noscroll { overflow: hidden; }

#ac-lb.ac-lb{
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}
#ac-lb.ac-lb.is-open{ display:block; }

#ac-lb .ac-lb__backdrop{
  position: absolute;
  inset: 0;
  background: var(--ac-papel-fundo);
}

#ac-lb .ac-lb__dialog{
  position: relative;
  width: min(92vw, 980px);
  height: min(86vh, 760px);
  margin: 7vh auto;
  background: var(--ac-tinta);
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  overflow: hidden;
}

#ac-lb .ac-lb__close{
  position: absolute;
  top: 8px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  background: var(--ac-papel-fundo);
  color: var(--ac-papel-alto);
  font-size: var(--ac-t-2xl);
  line-height: 40px;
  border-radius: 10px;
  cursor: pointer;
  z-index: 3;
}

#ac-lb .ac-lb__img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--ac-tinta);
}

#ac-lb .ac-lb__caption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  color: rgba(255,255,255,.85);
  font-size: var(--ac-t-sm);
  background: var(--ac-papel-fundo);
  border-top: 1px solid rgba(255,255,255,.08);
  z-index: 2;
}

#ac-lb .ac-lb__nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 54px;
  border: 0;
  cursor: pointer;
  color: var(--ac-papel-alto);
  font-size: var(--ac-t-3xl);
  background: var(--ac-papel-fundo);
  border-radius: 12px;
  z-index: 3;
}
#ac-lb .ac-lb__prev{ left: 10px; }
#ac-lb .ac-lb__next{ right: 10px; }

/* Make uniforms feel clickable */
a.ac-uniforme-link img{ cursor: zoom-in; }
