.gift-gallery-link {
  display: block;
  max-width: min(100%, 560px);
  margin: 16px auto 0;
  color: inherit;
  text-align: center;
  text-decoration: none;
}
.gift-gallery-link img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.gift-gallery-link span { display: block; margin: 9px 0; text-decoration: underline; }
.gift-gallery-link:hover span, .gift-gallery-link:active span { color: #963a29; }
.gift-gallery-link:focus-visible, .gift-gallery button:focus-visible, .gift-gallery a:focus-visible {
  outline: 2px solid #963a29;
  outline-offset: 4px;
}
.gift-gallery {
  width: min(1020px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  padding: clamp(12px, 3vw, 24px);
  border: 0;
  border-radius: 18px;
  background: #fffaf3;
  color: #34251f;
}
.gift-gallery::backdrop { background: #261914c9; }
.gift-gallery header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.gift-gallery h2 { margin: 0; font: 700 clamp(16px, 3vw, 22px)/1.25 system-ui, sans-serif; }
.gift-gallery button {
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #d8b5a3;
  border-radius: 23px;
  background: white;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.gift-gallery button:hover, .gift-gallery button:active { background: #f5e4d8; }
.gift-gallery img {
  display: block;
  width: 100%;
  height: calc(100dvh - 182px);
  max-height: 82vh;
  object-fit: contain;
  margin: 12px auto;
}
.gift-gallery > a { display: block; width: fit-content; margin: 0 auto; color: inherit; text-decoration: underline; }
.gift-gallery { box-sizing: border-box; margin: auto; }
