.eo-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483645;
  display: none;
}

.eo-lightbox-overlay.eo-open {
  display: block;
}

.eo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.eo-lightbox-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.eo-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.eo-lightbox-close,
.eo-lightbox-prev,
.eo-lightbox-next {
  position: absolute;
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.eo-lightbox-close {
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
}

.eo-lightbox-prev,
.eo-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.eo-lightbox-prev { left: 10px; }
.eo-lightbox-next { right: 10px; }

.eo-lightbox-counter {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  font-size: 13px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.eo-lightbox-close:focus,
.eo-lightbox-prev:focus,
.eo-lightbox-next:focus {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .eo-lightbox-stage {
    padding: 12px;
  }

  .eo-lightbox-prev,
  .eo-lightbox-next {
    width: 46px;
    height: 46px;
    font-size: 26px;
  }
}


/* Cursor de mano sobre imágenes que abren lightbox (doble click / doble tap) */
[data-eo-template-base-keys] img[data-eo-img-key],
[data-eo-template-base-keys] a,
#gallery01-c .grid-container-3 img[data-eo-img-key],
#gallery01-c .grid-container-3 a {
  cursor: pointer !important;
}
