/**
 * Lightbox: al hacer clic en una imagen se abre en grande y se puede cerrar
 */
.servilleta-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
  cursor: pointer;
}
.servilleta-lightbox.activo {
  display: flex;
}
.servilleta-lightbox img {
  max-width: 95vw;
  max-height: 95vh;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}
.servilleta-lightbox-cerrar {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
  pointer-events: auto;
}
.servilleta-lightbox-cerrar:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Flechas anterior/siguiente (portafolio) */
.servilleta-lightbox-prev,
.servilleta-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background 0.2s;
  pointer-events: auto;
  z-index: 1;
}
.servilleta-lightbox-prev:hover,
.servilleta-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.35);
}
.servilleta-lightbox-prev {
  left: 1.5rem;
}
.servilleta-lightbox-next {
  right: 1.5rem;
}
.servilleta-lightbox.con-flechas .servilleta-lightbox-prev,
.servilleta-lightbox.con-flechas .servilleta-lightbox-next {
  display: flex;
}
