.shops-photo-dialog {
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 56px 64px 48px;
  border: 0;
  background: #0a101b;
  color: #fff;
  overflow: hidden;
}
.shops-photo-dialog[open] { display: grid; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
.shops-photo-dialog::backdrop { background: rgba(4, 10, 19, .93); }
.shops-photo-stage { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; overflow: hidden; }
.shops-photo-stage img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.shops-photo-dialog button { position: absolute; z-index: 1; display: grid; place-items: center; padding: 0; border: 1px solid #64748b; border-radius: 50%; background: #1b2b43; color: #fff; cursor: pointer; }
.shops-photo-dialog button:focus-visible { outline: 3px solid #f4ad88; outline-offset: 3px; }
.shops-photo-close { top: 12px; right: 12px; width: 48px; height: 48px; border: 2px solid #f4ad88 !important; font-size: 32px; line-height: 1; }
.shops-photo-prev, .shops-photo-next { top: 50%; width: 48px; height: 48px; transform: translateY(-50%); font-size: 34px; line-height: 1; }
.shops-photo-prev { left: 8px; }
.shops-photo-next { right: 8px; }
.shops-photo-dialog button[hidden] { display: none; }
.shops-photo-count { align-self: center; justify-self: center; padding-top: 16px; font: 14px/1.2 Arial, sans-serif; }
@media (max-width: 620px) {
  .shops-photo-dialog { padding: 56px 42px 42px; }
  .shops-photo-close { width: 44px; height: 44px; }
  .shops-photo-prev, .shops-photo-next { width: 40px; height: 48px; }
  .shops-photo-prev { left: 0; }
  .shops-photo-next { right: 0; }
}
