/* Image lightbox (GLightbox auto-gallery): click hint + counter badge */
a.zbc-lb {
  position: relative;
  display: inline-block;
  max-width: 100%;
  cursor: zoom-in;
  text-decoration: none;
  border-bottom: 0 !important;
}
/* Product main-image link is a flex centering container; keep it */
.pv-img .pv-main-link.zbc-lb { display: flex; }

a.zbc-lb > img { transition: opacity .18s ease; }
a.zbc-lb:hover > img { opacity: .9; }
/* Suppress the legacy hover zoom; keep a plain fade-in */
.rich a.zbc-lb:hover > img,
a.zbc-lb:hover > img { transform: none; }

.lb-badge {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  z-index: 2;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: rgba(142, 27, 34, .72);
  color: #fff;
  font-size: .6875rem;
  line-height: 1.5;
  letter-spacing: .02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateY(2px);
  transition: opacity .18s ease, transform .18s ease;
}
a.zbc-lb:hover .lb-badge { opacity: 1; transform: translateY(0); }

@media (hover: none), (max-width: 767px) {
  .lb-badge { opacity: .72; transform: none; padding: .1rem .35rem; font-size: .625rem; }
}

/* Lightbox caption: dark gradient so white text stays readable */
.glightbox-container .gslide-description {
  background: linear-gradient(to bottom, rgba(31, 33, 36, 0) 0%, rgba(31, 33, 36, .88) 100%) !important;
}
.gslide-title { font-size: .9375rem !important; font-weight: 600 !important; color: #fff !important; }
.gslide-desc  { font-size: .8125rem !important; color: #e7e9ec !important; }
