body.lock-scroll {
  overflow: hidden;
}
.lightbox {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}
.lightboxOverlay {
  background: rgba(0, 0, 0, 0.85) !important;
}

.lb-image {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  max-width: 90%;
  max-height: 85vh;
}

.lb-data .lb-close {
  background: none !important;
  color: #18d26e !important;
  font-size: 32px;
  font-weight: bold;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.lb-data .lb-close:hover {
  opacity: 1;
}
.lb-data .lb-close:after {
  content: "✕";
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
  opacity: 0.9 !important;
}

.lb-cancel {
  background: none !important;
  width: 60px;
  height: 20px;
  position: relative;
  margin: 0 auto;
}

.lb-cancel:before,
.lb-cancel:after,
.lb-cancel div {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #18d26e;
  animation: bounce 1.2s infinite ease-in-out;
}

.lb-cancel:before {
  left: 0;
  animation-delay: -0.24s;
}

.lb-cancel div {
  left: 24px;
  animation-delay: -0.12s;
}

.lb-cancel:after {
  left: 48px;
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}
.lb-cancel {
  background: none !important;
  width: 60px;
  height: 20px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lb-cancel span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #18d26e;
  animation: bounce 1.2s infinite ease-in-out;
}

.lb-cancel span:nth-child(1) {
  animation-delay: -0.24s;
}
.lb-cancel span:nth-child(2) {
  animation-delay: -0.12s;
}
.lb-cancel span:nth-child(3) {
  animation-delay: 0;
}

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

/* overlay */
.lightboxOverlay {
  background: rgba(0, 0, 0, 0.85) !important;
}

/* estilo imagen */
.lb-image {
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  max-width: 90%;
  max-height: 85vh;
}

/* X cerrar */
.lb-data .lb-close {
  background: none !important;
  color: #18d26e !important;
  font-size: 32px;
  font-weight: bold;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.lb-data .lb-close:hover { opacity: 1; }
.lb-data .lb-close:after { content: "✕"; }

/* mantener flechas visibles */
.lb-nav a.lb-prev,
.lb-nav a.lb-next { opacity: 0.9 !important; }

/* Loader: trabajamos con .lb-cancel (Lightbox2) y .lb-loader por compatibilidad */
.lb-cancel {
  background: none !important;
  width: 80px;
  height: 24px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 100001 !important;
}

.lb-cancel .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #18d26e;
  animation: lb-bounce 1.2s infinite ease-in-out;
}

.lb-cancel .dot:nth-child(1) { animation-delay: -0.24s; }
.lb-cancel .dot:nth-child(2) { animation-delay: -0.12s; }
.lb-cancel .dot:nth-child(3) { animation-delay: 0s; }

@keyframes lb-bounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.25; }
  40% { transform: scale(1); opacity: 1; }
}

/* puntos */
.custom-dot-loader .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #18d26e;
  animation: lb-bounce 1.2s infinite ease-in-out;
  transform-origin: center center;
}

.custom-dot-loader .dot:nth-child(1) { animation-delay: -0.24s; }
.custom-dot-loader .dot:nth-child(2) { animation-delay: -0.12s; }
.custom-dot-loader .dot:nth-child(3) { animation-delay: 0s; }

@keyframes lb-bounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.25; }
  40% { transform: scale(1); opacity: 1; }
}
.lb-outerContainer {
  position: relative;
}