.gift-page {
  text-align: center;
  color: #a53860;
}
.gift-heading .overline {
  margin-bottom: 12px;
}
.gift-page #gift-title {
  font-size: clamp(38px, 11vw, 48px);
  margin-bottom: 0;
}
.gift-salam {
  width: 142px;
  height: 142px;
  margin: 44px auto 34px;
  border-radius: 50%;
  overflow: hidden;
  background: #eed1d1;
}
.gift-salam img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gift-message {
  font:
    italic 25px/1.4 'Cormorant Garamond',
    serif;
  max-width: 27ch;
  margin: 0 auto;
}
.gift-soft-note {
  font:
    italic 19px/1.5 'Cormorant Garamond',
    serif;
  max-width: 29ch;
  margin: 42px auto 32px;
}
.gift-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.gift-payment {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  padding: 26px 12px 24px;
  width: 100%;
  background: #fbf4e9;
  border-radius: 12px;
}
/* The standalone bank logo is separate from the original QR viewport. */
.gift-bank-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  max-width: 100%;
  min-height: 40px;
}
.gift-bank-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.gift-recipient {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  margin: 12px auto 14px;
  color: #a53860;
}
.gift-qr-link {
  display: block;
  width: min(100%, 224px);
  background: #fff;
  border-radius: 3px;
}
.gift-qr-crop {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
}
.gift-qr-crop img {
  position: absolute;
  max-width: none;
  width: 249.6875%;
  height: auto;
  left: -75%;
  top: -64.0625%;
}
.gift-qr-caption {
  margin: 13px 0 2px;
  color: #805261;
  font-size: 11px;
  line-height: 1.6;
}
.gift-qr-download {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  text-underline-offset: 4px;
  text-decoration: underline;
}
.gift-details {
  display: grid;
  gap: 8px;
  margin: 0 auto 28px;
  padding: 20px;
  border: 1px solid #e6cbd6;
  border-radius: 12px;
}
.gift-details code {
  font-size: 17px;
}
.gift-ideas {
  margin-top: 36px;
}
.gift-ideas > h3 {
  font:
    600 25px/1.2 'Cormorant Garamond',
    serif;
  margin: 0 auto 27px;
  color: #a53860;
}
.gift-wishlist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  row-gap: 28px;
}
.gift-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.gift-card-art {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 0.72;
  margin: 0;
  padding: 10px 5px 8px;
  background:
    radial-gradient(ellipse at 50% 30%, #dce2c966, transparent 60%),
    linear-gradient(#fffaf0, #f5e9d5);
}
.gift-card-arch {
  position: absolute;
  z-index: -1;
  inset: 9px 4px 10px;
  border: 1px solid #af9060;
  border-radius: 48% 48% 8px 8px / 34% 34% 8px 8px;
}
.gift-card-arch::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid #c9b58a99;
  border-radius: inherit;
}
.gift-card-art::before,
.gift-card-art::after {
  content: '';
  position: absolute;
  background: center / contain no-repeat url('/static/img/flora-v7/flora-02.png');
  pointer-events: none;
}
.gift-card-art::before {
  width: 43%;
  aspect-ratio: 1;
  bottom: 37px;
  left: -7px;
  z-index: 2;
}
.gift-card-art::after {
  width: 26%;
  aspect-ratio: 1;
  top: 30px;
  right: 2px;
  opacity: 0.45;
  rotate: 165deg;
  z-index: -1;
}
.gift-card-bow {
  position: absolute;
  z-index: 3;
  width: 55px;
  height: 30px;
  top: 0;
  left: 50%;
  translate: -50% 0;
  background: center / contain no-repeat
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 44'%3E%3Cg fill='%23c88d90' stroke='%238d3e50' stroke-width='2'%3E%3Cpath d='M40 19C25-6 0 1 13 15c7 7 21 8 27 4ZM40 19C55-6 80 1 67 15c-7 7-21 8-27 4Z'/%3E%3Cpath d='M38 21 22 42l-3-9-8 2 24-17M43 21l16 21 2-9 8 2-24-17'/%3E%3Cellipse cx='40' cy='20' rx='6' ry='5'/%3E%3C/g%3E%3C/svg%3E");
}
.gift-product {
  position: absolute;
  width: 94%;
  height: 72%;
  top: 15px;
  left: 3%;
  object-fit: contain;
  filter: drop-shadow(0 5px 5px #53432b22);
}
.gift-card-art figcaption {
  position: absolute;
  z-index: 3;
  left: 9px;
  right: 9px;
  bottom: 9px;
  display: grid;
  place-items: center;
  min-height: 49px;
  padding: 6px 3px;
  border: 1px solid #b9986a;
  border-radius: 10px 3px;
  outline: 1px solid #dfcda5;
  outline-offset: -4px;
  background: #fff8e9f2;
  color: #623638;
  font:
    600 clamp(16px, 4.9vw, 21px)/1.02 'Cormorant Garamond',
    serif;
}
.gift-buy-link {
  position: relative;
  z-index: 4;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 13px;
  margin-top: -3px;
  border-radius: 7px;
  background: #a53860;
  color: #fff9ee;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  transition:
    background 0.2s,
    translate 0.2s;
}
.gift-buy-link svg {
  width: 20px;
  height: 20px;
}
.gift-buy-link:hover {
  background: #8d2e51;
  translate: 0 -1px;
}
.gift-footer {
  font-size: 10px;
  line-height: 1.7;
  color: #805261;
  max-width: 35ch;
  margin: 30px auto 0;
}
@media (max-width: 350px) {
  .gift-wishlist {
    column-gap: 14px;
  }
  .gift-card-art figcaption {
    min-height: 47px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gift-buy-link {
    transition: none;
  }
}
