.site-popup {
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  overflow: clip;
  color: var(--cream);
  background: var(--bronze);
}

.site-popup::backdrop {
  background: rgb(16 12 8 / 78%);
}

html:has(.site-popup[open]) {
  overflow: hidden;
}

.popup-close {
  position: absolute;
  z-index: 1;
  top: 8px;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--cream);
  background: #2b2116;
  font: 28px/1 sans-serif;
  cursor: pointer;
}

/* Coordinates follow the center and size of SHOP NOW in the supplied artwork. */
.gift-promotion {
  width: min(750px, calc(100vw - 24px), calc((100dvh - 24px) * 5 / 3));
  background: #533b1f;
}

.gift-promotion img {
  display: block;
  width: 100%;
  height: auto;
}

.gift-promotion-shop {
  position: absolute;
  top: min(86.9%, calc(100% - 22px));
  left: 26.75%;
  width: max(18.2%, 44px);
  height: max(9.2%, 44px);
  padding: 0;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.gift-promotion-shop:focus-visible {
  outline-offset: -2px !important;
}

.gift-notice h2 {
  margin: 0 0 8px;
  font: 600 clamp(20px, 3vw, 26px)/1.15 Georgia, serif;
  text-transform: uppercase;
}

.gift-notice {
  width: 550px;
  padding: clamp(24px, 12dvh, 94px) clamp(14px, 5vw, 44px);
  color: #fff3c9;
  text-align: center;
}

.gift-notice h2 {
  margin-bottom: 16px;
  letter-spacing: .06em;
}

.gift-notice p {
  max-width: 30ch;
  margin: 0 auto clamp(14px, 4dvh, 30px);
  font-size: 18px;
  line-height: 1.35;
}

.gift-notice-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px clamp(12px, 4vw, 40px);
}

.gift-notice .action {
  letter-spacing: 0;
  text-transform: none;
}

.gift-notice .action.secondary {
  color: inherit;
  text-shadow: none;
}

.gift-notice .action.secondary:hover {
  color: var(--ink);
}

@media (max-height: 300px) {
  .gift-notice {
    padding-block: 16px;
  }

  .gift-notice .action {
    padding-inline: 12px;
  }
}
