img[data-hook="gallery-item-image-img"],
.hh-gallery img.gallery-item-visible {
  object-fit: cover !important;
  object-position: center !important;
}

.gallery-item-container.clickable,
.gallery-item-hover,
.item-action {
  cursor: zoom-in !important;
}

.hh-fullscreen-wrapper,
#fullscreen-view,
.hh-fullscreen-inline-styles {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#hh-lb {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2147483646;
  background: rgba(12, 18, 16, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2.5rem 3.5rem 3.2rem;
}
#hh-lb.open { display: flex; }
#hh-lb img {
  max-width: min(96vw, 1400px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.45);
  background: #111;
}
#hh-lb .hh-lb-close,
#hh-lb .hh-lb-prev,
#hh-lb .hh-lb-next {
  position: absolute;
  background: transparent;
  border: 0;
  color: #f7f3ec;
  cursor: pointer;
  line-height: 1;
  font-family: Georgia, serif;
}
#hh-lb .hh-lb-close {
  top: 0.6rem;
  right: 0.9rem;
  font-size: 2.4rem;
}
#hh-lb .hh-lb-prev,
#hh-lb .hh-lb-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  padding: 0.4rem 0.6rem;
}
#hh-lb .hh-lb-prev { left: 0.4rem; }
#hh-lb .hh-lb-next { right: 0.4rem; }
#hh-lb .hh-lb-cap {
  position: absolute;
  bottom: 0.7rem;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(247, 243, 236, 0.8);
  font: 0.8rem/1.3 system-ui, sans-serif;
}
@media (max-width: 640px) {
  #hh-lb { padding: 3rem 0.6rem 2.4rem; }
  #hh-lb .hh-lb-prev, #hh-lb .hh-lb-next { font-size: 2.2rem; }
}
