@charset "utf-8";
/* ==========================
   FIX para GLightbox
   ========================== */

/* Fondo oscuro sólido */
html body .glightbox-container,
html body .goverlay {
  background-color: rgba(0, 0, 0, 0.95) !important;
}

/* Botones de navegación (prev, next, close) */
html body .glightbox-container .gbtn svg,
html body .glightbox-container .gbtn path {
  fill: #ffffff !important;     /* Botones blancos */
  stroke: #ffffff !important;
  stroke-width: 2px !important;
  width: 40px !important;       /* Tamaño más grande */
  height: 40px !important;
  opacity: 1 !important;
}

/* Hover en botones */
html body .glightbox-container .gbtn:hover svg,
html body .glightbox-container .gbtn:hover path {
  fill: #ffcc00 !important;     /* Amarillo al pasar el mouse */
  stroke: #ffcc00 !important;
}

/* Títulos y descripciones dentro del lightbox */
html body .glightbox-container .gslide-title,
html body .glightbox-container .gslide-desc,
html body .glightbox-container .gdesc-inner {
  color: #ffffff !important;    /* Texto blanco */
  font-size: 16px !important;
  line-height: 1.4 !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7) !important;
}

/* Imagen centrada con espacio */
html body .glightbox-container .gslide-image img {
  border-radius: 6px !important;
  max-height: 90vh !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.8) !important;
}

/* ==========================
   Corrección contra el * global de white.css
   ========================== */

/* Evitar que el overlay quede blanco */
html body .glightbox-container *,
html body .goverlay * {
  background: transparent !important;
  background-color: transparent !important;
}

/* Asegurar que los botones existan y se vean */
html body .glightbox-container .gbtn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 50px !important;
  height: 50px !important;
  background: rgba(0,0,0,0.4) !important; /* círculo oscuro detrás */
  border-radius: 50% !important;
}

/* Iconos visibles en blanco */
html body .glightbox-container .gbtn svg,
html body .glightbox-container .gbtn path {
  fill: #ffffff !important;
  stroke: #ffffff !important;
  stroke-width: 2px !important;
  width: 24px !important;
  height: 24px !important;
}
