.gift-card-image { display: block; aspect-ratio: 1 / 1; }
.gift-card-image img { object-fit: cover; }
a.gift-card-image { cursor: zoom-in; }
a.gift-card-image:focus-visible { outline: 3px solid #735422; outline-offset: 3px; }
a.gift-card-image::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: rgba(16, 46, 69, .76) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 20 20M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 17px no-repeat;
  pointer-events: none;
}

.gift-image-dialog {
  width: min(900px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 44px 16px 16px;
  border: 0;
  border-top: 3px solid var(--gold);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
}
.gift-image-dialog:not([open]) { display: none; }
.gift-image-dialog[open] { display: flex; flex-direction: column; align-items: center; }
.gift-image-dialog::backdrop { background: rgba(7, 25, 39, .78); }
.gift-image-close {
  position: absolute;
  top: 4px;
  right: 9px;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.gift-image-close:focus-visible { outline: 3px solid #735422; }
.gift-image-full { display: block; max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; }
.gift-image-dialog p { margin: 12px 0 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 23px; font-weight: 600; line-height: 1.2; text-align: center; }
