/* 15&15 Arquitetura: navegação dentro da ampliação das fotos (Anterior / Próximo).
   Complementa o lightbox que já existe no site. Usa os tokens do site. */

.lightbox .lb-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
}
.lightbox .lb-step {
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, .5);
  background: transparent;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}
.lightbox .lb-step:hover { background: #fff; color: var(--ink); }
.lightbox .lb-step:active { transform: translateY(1px); }
.lightbox .lb-step:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 3px; }
.lightbox .lb-step[disabled] { opacity: .4; cursor: default; }
.lightbox .lb-count {
  min-width: 5.5ch;
  text-align: center;
  color: var(--mist-200);
  font-variant-numeric: tabular-nums;
}
/* Deixa espaço para os botões Anterior / Próximo abaixo da foto */
.lightbox > img {
  max-height: calc(100dvh - 210px);
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  .lightbox .lb-step { padding: 0 16px; }
}
