.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 18;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 70px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background 0.3s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 15;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 18px;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 20px;
}

.zoom-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  background: rgba(0, 0, 0, 0.7);
  padding: 10px;
  border-radius: 25px;
}

.zoom-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.zoom-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.zoom-level {
  color: white;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-weight: bold;
}

.xk7bqv {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  box-sizing: border-box;
  background: #0e0e0e;
  border-radius: 8px;
  overflow: hidden;
}

.xk7bqv::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.045) 50%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: bvq2shim 1.6s ease-in-out infinite;
}

@keyframes bvq2shim {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.fnqr3x {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.fnqr3x .pz1r {
  flex: 1;
  border-radius: 6px;
  background: #1e1e1e;
}

.fnqr3x .dw5k {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.fnqr3x .dw5k span {
  height: 14px;
  border-radius: 4px;
  background: #1e1e1e;
}

.lightbox {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

#media-lightbox-img {
  transition: opacity 0.25s ease;
}

.lightbox-nav {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-content {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(0.95);
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.fnqr3x .dw5k span:nth-child(1) { width: 38%; }
.fnqr3x .dw5k span:nth-child(2) { width: 22%; }
.fnqr3x .dw5k span:nth-child(3) { width: 15%; margin-left: auto; }