/* Work examples stay transparent and preserve each original photograph. */
body.redesign-ui #bookingWorkGallery {
  --work-image-max-height: 280px;
  min-width: 0;
  width: 100%;
  margin: 0;
  background: transparent;
}
body.redesign-ui #bookingWorkGallery .work-gallery-viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: var(--work-image-max-height);
  gap: 4px;
  margin: 0 auto;
  background: transparent;
  touch-action: pan-y pinch-zoom;
}
body.redesign-ui #bookingWorkGallery .work-gallery-open {
  position: relative;
  display: block;
  flex: 0 1 auto;
  min-width: 0;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  cursor: zoom-in;
}
body.redesign-ui #bookingWorkGallery .work-gallery-open[hidden],
body.redesign-ui #bookingWorkGallery .work-gallery-arrow[hidden],
body.redesign-ui #bookingWorkGallery .work-gallery-controls[hidden],
body.redesign-ui #bookingWorkGallery .work-gallery-pause[hidden],
body.redesign-ui #bookingWorkGallery .work-gallery-placeholder[hidden],
body.redesign-ui #bookingWorkGallery img[hidden],
body.redesign-ui .booking-work-lightbox [hidden] { display: none; }
body.redesign-ui #bookingWorkGallery .work-gallery-open:focus-visible,
body.redesign-ui #bookingWorkGallery .work-gallery-arrow:focus-visible,
body.redesign-ui #bookingWorkGallery .work-gallery-pause:focus-visible,
body.redesign-ui .booking-work-lightbox .work-lightbox-close:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: -3px;
}
body.redesign-ui #bookingWorkGallery img {
  position: absolute;
  inset: 0;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  object-position: center;
}
body.redesign-ui #bookingWorkGallery img.work-gallery-active { z-index: 1; opacity: 1; }
body.redesign-ui #bookingWorkGallery img.work-gallery-incoming {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}
body.redesign-ui #bookingWorkGallery .is-crossfading > .work-gallery-active { animation: isekai-work-out 500ms ease both; }
body.redesign-ui #bookingWorkGallery .is-crossfading > .work-gallery-incoming { animation: isekai-work-in 500ms ease both; }
@keyframes isekai-work-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes isekai-work-in { from { opacity: 0; } to { opacity: 1; } }
body.redesign-ui :is(#bookingWorkGallery,.booking-work-lightbox) .work-gallery-placeholder {
  margin: 0;
  padding: 24px;
  color: var(--muted);
  font: 400 14px/1.6 var(--isekai-body);
  letter-spacing: .005em;
  text-align: center;
}
body.redesign-ui #bookingWorkGallery .work-gallery-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  margin-top: 0;
}
body.redesign-ui #bookingWorkGallery :is(.work-gallery-arrow,.work-gallery-pause) {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--isekai-radius);
  background: transparent;
  color: var(--text);
  font: 300 26px/1 var(--isekai-body);
  cursor: pointer;
}
body.redesign-ui #bookingWorkGallery .work-gallery-pause {
  color: var(--muted);
  font-size: 16px;
}
body.redesign-ui #bookingWorkGallery .work-gallery-count {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
body.redesign-ui .booking-work-lightbox {
  position: fixed;
  inset: 20px;
  box-sizing: border-box;
  width: min(960px,calc(100% - 40px));
  max-width: none;
  height: calc(100dvh - 40px);
  max-height: none;
  margin: auto;
  padding: 58px 16px 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text);
  overflow: hidden;
}
body.redesign-ui .booking-work-lightbox[open] { display: grid; place-items: center; }
body.redesign-ui .booking-work-lightbox::backdrop { background: rgba(0,0,0,.65); }
body.redesign-ui .booking-work-lightbox > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
  object-position: center;
}
body.redesign-ui .booking-work-lightbox .work-lightbox-close {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--isekai-radius);
  background: transparent;
  color: var(--text);
  font: 300 22px/1 "Avenir Next",Avenir,"Helvetica Neue",Helvetica,Arial,sans-serif;
  cursor: pointer;
}
@media (max-width: 599px) {
  body.redesign-ui #bookingWorkGallery { --work-image-max-height: 220px; }
  body.redesign-ui .booking-work-lightbox {
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100dvh - 20px);
    padding-right: 8px;
    padding-left: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.redesign-ui #bookingWorkGallery .work-gallery-open { transition: none; }
  body.redesign-ui #bookingWorkGallery .is-crossfading > img { animation: none; }
}
