/* Gallery affordance and PhotoSwipe 5.4.4 presentation. */
.bespoke__photo-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--cream);
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}

.bespoke__photo-link:focus-visible {
  outline: 2px solid var(--copper-dark);
  outline-offset: 4px;
}

.bespoke__zoom-hint {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid rgb(255 250 246 / 78%);
  border-radius: 50%;
  background: rgb(41 38 36 / 78%);
  color: #fffaf6;
  pointer-events: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.bespoke__zoom-hint svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.bespoke__photo-link:hover .bespoke__zoom-hint,
.bespoke__photo-link:focus-visible .bespoke__zoom-hint {
  transform: scale(1.06);
  background: var(--copper-dark);
}

html.beres-pswp-open,
body.beres-pswp-open {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.pswp {
  --pswp-bg: #292624;
  --pswp-placeholder-bg: #292624;
  --pswp-icon-color: #fffaf6;
  --pswp-icon-color-secondary: var(--rose-gold-light);
  --pswp-error-text-color: #fffaf6;
}

.pswp__button--close,
.pswp__button--zoom,
.pswp__button--arrow {
  color: #fffaf6;
}

.pswp__button:focus-visible {
  outline: 2px solid var(--rose-gold-light);
  outline-offset: -4px;
}

.pswp__counter[role="status"] {
  color: #fffaf6;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 560px) {
  .bespoke__zoom-hint {
    right: 0.55rem;
    bottom: 0.55rem;
    width: 2.15rem;
    height: 2.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bespoke__zoom-hint {
    transition: none;
  }
}
