/* Casa Serra · visor de galería */
.gallery img.lb-thumb { cursor: zoom-in; }
.gallery img.lb-thumb:focus-visible { outline: 2px solid #E8D7C4; outline-offset: 2px; }
html.lb-open, html.lb-open body { overflow: hidden; }
.lb[hidden] { display: none; }
.lb {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(28, 23, 18, .94);
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
}
.lb-fig { margin: 0; max-width: 92vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 92vw; max-height: 84vh; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.lb-cap { color: #E8D7C4; font: 400 13px/1.4 'Manrope', system-ui, sans-serif; margin-top: 10px; letter-spacing: .04em; }
.lb-btn {
  position: absolute; background: transparent; border: 0; color: #E8D7C4;
  font: 400 44px/1 'Cormorant Garamond', Georgia, serif; cursor: pointer;
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background .2s;
}
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(232, 215, 196, .15); outline: none; }
.lb-close { top: 12px; right: 12px; font-size: 38px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) {
  .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
  .lb-img { max-height: 76vh; }
}
