/* ---- kojuharovi rebuild: корекции (не пипат оригиналния скин) ---- */

/* Галерия: 3 колони (както в оригинала). 3 x (100px + 2*20px margin) = 420px */
.GalleryGrid { width: 430px; }

/* Собствен lightbox (замяна на счупения prettyPhoto) */
#lb-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.88);
  z-index: 10000; display: none; align-items: center; justify-content: center;
}
#lb-overlay.open { display: flex; }
#lb-overlay img {
  max-width: 92vw; max-height: 88vh; border: 3px solid #fff; box-shadow: 0 0 40px #000;
}
#lb-overlay .lb-nav {
  position: absolute; top: 0; bottom: 0; width: 22%;
  display: flex; align-items: center; cursor: pointer; color: #fff;
  font: bold 44px/1 Arial, sans-serif; text-decoration: none; user-select: none; opacity: .7;
}
#lb-overlay .lb-nav:hover { opacity: 1; }
#lb-overlay .lb-prev { left: 0; justify-content: flex-start; padding-left: 20px; }
#lb-overlay .lb-next { right: 0; justify-content: flex-end; padding-right: 20px; }
#lb-overlay .lb-close {
  position: absolute; top: 14px; right: 22px; color: #fff;
  font: 40px/1 Arial, sans-serif; cursor: pointer; opacity: .85;
  z-index: 10002; width: 44px; height: 44px; text-align: center;
}
#lb-overlay .lb-close:hover { opacity: 1; }
.ThumbContainer a.ThumbImage { cursor: pointer; }
