.azimut-lb {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.azimut-lb--open {
  display: flex;
}

body.azimut-lb-active {
  overflow: hidden;
}

.azimut-lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 4, 6, 0.97);
  backdrop-filter: blur(12px);
}

/* Stage */
.azimut-lb__stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: calc(100vh - 120px);
  padding: 60px 80px 0;
}

.azimut-lb__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.25s ease;
  cursor: zoom-in;
  user-select: none;
}

.azimut-lb__img--zoomed {
  cursor: zoom-out;
  transform: scale(2);
}

/* Close */
.azimut-lb__close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 10;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  cursor: pointer;
  transition: background 0.2s ease;
}
.azimut-lb__close:hover {
  background: rgba(255,255,255,0.18);
}

/* Prev/Next */
.azimut-lb__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.azimut-lb__nav:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(201,169,110,0.4);
}
.azimut-lb__nav--prev { left: 16px; }
.azimut-lb__nav--next { right: 16px; }

/* Counter */
.azimut-lb__counter {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

/* Thumbnails strip */
.azimut-lb__thumbs {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  background: rgba(0,0,0,0.6);
  overflow-x: auto;
  scrollbar-width: none;
}
.azimut-lb__thumbs::-webkit-scrollbar { display: none; }

.azimut-lb__thumb {
  flex-shrink: 0;
  width: 56px; height: 40px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.4;
  border: 1px solid transparent;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.azimut-lb__thumb:hover { opacity: 0.7; }
.azimut-lb__thumb--active {
  opacity: 1;
  border-color: var(--color-gold, #c9a96e);
}
.azimut-lb__thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}

@media (max-width: 768px) {
  .azimut-lb__nav--prev { left: 8px; }
  .azimut-lb__nav--next { right: 8px; }
  .azimut-lb__stage { padding: 60px 56px 0; }
  .azimut-lb__thumb { width: 44px; height: 32px; }
}
