button.hamburger {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.gallery-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  width: fit-content;
  max-width: 94vw;
  max-height: 94vh;
  padding: 44px 48px 30px;
  border: 0;
  background: #161616;
  color: #fff;
  box-sizing: border-box;
}

.gallery-dialog::backdrop { background: rgb(0 0 0 / 80%); }
.gallery-dialog img { display: block; max-width: 100%; max-height: 75vh; object-fit: contain; }
.gallery-dialog button { position: absolute; border: 0; background: transparent; color: #fff; padding: 10px; font-size: 24px; cursor: pointer; }
.gallery-close { top: 0; right: 4px; }
.gallery-prev { top: 45%; left: 0; }
.gallery-next { top: 45%; right: 0; }
.gallery-counter { margin: 8px 0 0; text-align: center; font: 14px Arial, sans-serif; }
