/* Lightbox – Produkt-Telefon */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox:not([hidden]) { opacity: 1; }

.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.lightbox__caption {
  color: rgba(255,255,255,0.7);
  font-size: var(--font-size-sm);
  text-align: center;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: fixed;
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  width: 44px;
  height: 44px;
}

.lightbox__close { top: var(--space-5); right: var(--space-5); }
.lightbox__prev  { left: var(--space-5); top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: var(--space-5); top: 50%; transform: translateY(-50%); }

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.2); }

.lightbox__close:focus-visible,
.lightbox__prev:focus-visible,
.lightbox__next:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
