.tal-gallery-link { display: block; line-height: 0; border: 0; outline: 0; cursor: zoom-in; }
.tal-gallery-link img { pointer-events: none; }

#tal-lightbox {
  display: none; position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
}
#tal-lightbox.open { display: flex; }
#tal-lightbox img {
  max-width: 92vw; max-height: 88vh; object-fit: contain;
  box-shadow: 0 0 40px rgba(0,0,0,.6); user-select: none;
}
#tal-lb-close {
  position: fixed; top: 18px; right: 24px; color: #fff; font-size: 36px;
  cursor: pointer; line-height: 1; background: none; border: none; padding: 0;
  opacity: .8; transition: opacity .15s;
}
#tal-lb-close:hover { opacity: 1; }
#tal-lb-prev, #tal-lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  color: #fff; font-size: 42px; cursor: pointer; background: none;
  border: none; padding: 0 16px; opacity: .7; transition: opacity .15s;
  user-select: none;
}
#tal-lb-prev { left: 8px; }
#tal-lb-next { right: 8px; }
#tal-lb-prev:hover, #tal-lb-next:hover { opacity: 1; }
#tal-lb-counter {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 13px; font-family: sans-serif;
}
