[data-viewable-photo] {
  cursor: zoom-in;
}

[data-viewable-photo]:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -4px;
}

.hero-shade,
.brand-curtain {
  pointer-events: none;
}

.photo-viewer {
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

.photo-viewer::backdrop {
  background: rgb(12 12 12 / 92%);
}

.photo-viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 7rem);
  object-fit: contain;
}

.photo-viewer button {
  display: block;
  min-height: 44px;
  margin: 0 0 0.75rem auto;
  padding: 0.45rem 0.9rem;
  border: 1px solid #fff;
  border-radius: 4px;
  color: #fff;
  background: #222;
  font: inherit;
  cursor: pointer;
}

.photo-viewer button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
