/* Photo viewer, styled like Wix's own: dark screen, photo, title, thin arrows. */
.bt-zoom {
  position: fixed; inset: 0; z-index: 100000; display: none;
  align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.85); font-family: "Helvetica Neue", Arial, sans-serif;
}
.bt-zoom.bt-open { display: flex; }
html.bt-zoom-lock, html.bt-zoom-lock body { overflow: hidden !important; }
.bt-zoom figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.bt-zoom img {
  display: block; max-width: calc(100vw - 200px); max-height: calc(100vh - 140px);
  object-fit: contain; background: #111;
}
.bt-zoom figcaption { color: #fff; font-size: 17px; margin-top: 18px; text-align: center; }
.bt-zoom button {
  position: absolute; background: none; border: 0; color: #fff; cursor: pointer;
  font: 300 64px/1 "Helvetica Neue", Arial, sans-serif; padding: 10px 18px;
}
.bt-zoom button:focus-visible { outline: 2px solid #fff; }
.bt-zoom-close { top: 22px; right: 30px; font-size: 32px !important; }
.bt-zoom-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.bt-zoom-next { right: 30px; top: 50%; transform: translateY(-50%); }
.bt-zoom [hidden] { display: none; }
@media (max-width: 767px) {
  .bt-zoom { background: #000; }
  .bt-zoom img { max-width: 100vw; max-height: calc(100vh - 160px); background: none; }
  .bt-zoom figcaption { position: fixed; bottom: 24px; left: 0; right: 0; }
  .bt-zoom-close { top: 10px; right: 10px; }
  .bt-zoom-prev { left: 4px; }
  .bt-zoom-next { right: 4px; }
  .bt-zoom-prev, .bt-zoom-next { font-size: 54px; text-shadow: 0 0 4px #000; }
}
