html.gift-popup-open,
html.gift-popup-open body {
  overflow: hidden !important;
}

#gift-choice-overlay,
#gift-choice-overlay * {
  box-sizing: border-box;
}

#gift-choice-overlay[hidden] {
  display: none !important;
}

#gift-choice-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(24, 5, 12, 0.78);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

#gift-choice-overlay.is-open {
  opacity: 1;
}

.gift-choice-dialog {
  width: min(720px, 100%);
  max-height: calc(100dvh - 36px);
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(111, 23, 53, 0.12);
  border-radius: 26px;
  background: #fffafb;
  box-shadow: 0 28px 85px rgba(21, 4, 10, 0.42);
  opacity: 0;
  transform: translateY(18px) scale(0.97);
  transition: opacity 0.22s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
}

#gift-choice-overlay.is-open .gift-choice-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gift-choice-close {
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(30, 6, 15, 0.28);
  color: #fff;
  cursor: pointer;
  font-family: Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  transition: background 0.18s ease, transform 0.18s ease;
}

.gift-choice-close:hover {
  background: rgba(30, 6, 15, 0.52);
  transform: scale(1.05);
}

.gift-choice-close:focus-visible,
.gift-choice-card:focus-visible {
  outline: 3px solid #ffd75a;
  outline-offset: 3px;
}

.gift-choice-header {
  position: relative;
  overflow: hidden;
  padding: 30px 68px 28px 30px;
  background:
    radial-gradient(circle at 85% 12%, rgba(255, 222, 113, 0.2), transparent 28%),
    linear-gradient(128deg, #35101c 0%, #761a39 58%, #a92753 100%);
  color: #fff;
}

.gift-choice-header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(120deg, transparent 0 45px, rgba(255, 255, 255, 0.035) 46px 48px);
}

.gift-choice-kicker,
.gift-choice-header h2,
.gift-choice-header p {
  position: relative;
  z-index: 1;
}

.gift-choice-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: #ffe47f;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.gift-choice-header h2 {
  margin: 0 0 7px;
  max-width: 560px;
  color: #fff;
  font-family: 'Inter', Arial, sans-serif;
  font-size: clamp(29px, 4vw, 42px);
  font-weight: 950;
  letter-spacing: -1.4px;
  line-height: 1.02;
}

.gift-choice-header h2 span {
  color: #ffe06a;
}

.gift-choice-header p {
  margin: 0;
  max-width: 570px;
  color: rgba(255, 255, 255, 0.84);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.45;
}

.gift-choice-body {
  padding: 22px 24px 18px;
}

.gift-choice-instruction {
  margin: 0 0 13px;
  color: #4a1a2a;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-align: center;
  text-transform: uppercase;
}

.gift-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.gift-choice-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  position: relative;
  padding: 12px;
  border: 1px solid #ead9df;
  border-radius: 18px;
  background: #fff;
  color: #3c1422;
  text-decoration: none !important;
  box-shadow: 0 7px 22px rgba(73, 17, 37, 0.07);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.gift-choice-card:hover {
  border-color: #a92753;
  box-shadow: 0 12px 28px rgba(91, 21, 46, 0.15);
  transform: translateY(-2px);
}

.gift-choice-visual {
  height: 144px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(145deg, #fff 0%, #f9edf1 100%);
}

.gift-choice-visual img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  display: block;
  margin: auto;
  padding: 7px;
  object-fit: contain !important;
  object-position: center center !important;
  transition: none;
}

.gift-choice-card:hover .gift-choice-visual img {
  transform: none;
}

.gift-choice-free {
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #7b193b;
  color: #fff;
  box-shadow: 0 3px 10px rgba(83, 14, 39, 0.22);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.6px;
}

.gift-choice-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.gift-choice-copy h3 {
  margin: 0 0 5px;
  color: #431626;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.45px;
  line-height: 1.05;
}

.gift-choice-copy p {
  margin: 0;
  color: #756169;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 550;
  line-height: 1.35;
}

.gift-choice-value {
  margin-top: 7px;
  color: #861b40;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.gift-choice-cta {
  width: 100%;
  min-height: 40px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 8px;
  padding: 8px 9px;
  border-radius: 10px;
  background: linear-gradient(135deg, #6f1735, #a7224d);
  color: #fff;
  box-shadow: 0 6px 15px rgba(113, 22, 53, 0.22);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.35px;
  text-align: center;
  text-transform: uppercase;
}

.gift-choice-cta::after {
  content: '';
  position: absolute;
  top: -60%;
  left: 0;
  width: 28%;
  height: 220%;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.58) 50%, transparent 100%);
  opacity: 0;
  transform: translateX(-360%) rotate(12deg);
  animation: giftCtaShine 3.8s ease-in-out infinite;
}

@keyframes giftCtaShine {
  0%, 68% {
    opacity: 0;
    transform: translateX(-360%) rotate(12deg);
  }

  74% {
    opacity: 0.22;
  }

  84% {
    opacity: 0.62;
  }

  94%, 100% {
    opacity: 0;
    transform: translateX(520%) rotate(12deg);
  }
}

.gift-choice-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin: 14px 0 0;
  color: #6b565e;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 10.5px;
  font-weight: 750;
}

.gift-choice-trust span::before {
  content: '✓';
  margin-right: 5px;
  color: #8f1b43;
  font-weight: 950;
}

@media (max-width: 620px) {
  #gift-choice-overlay {
    align-items: center;
    padding: 10px;
  }

  .gift-choice-dialog {
    width: 100%;
    max-height: calc(100dvh - 20px);
    border-radius: 24px;
  }

  .gift-choice-header {
    padding: 21px 54px 19px 18px;
  }

  .gift-choice-kicker {
    margin-bottom: 7px;
    padding: 5px 9px;
    font-size: 9px;
  }

  .gift-choice-header h2 {
    margin-bottom: 6px;
    font-size: clamp(25px, 8vw, 32px);
    letter-spacing: -1px;
  }

  .gift-choice-header p {
    font-size: 12px;
    line-height: 1.38;
  }

  .gift-choice-close {
    top: 9px;
    right: 9px;
  }

  .gift-choice-body {
    padding: 15px 11px 12px;
  }

  .gift-choice-instruction {
    margin-bottom: 9px;
    font-size: 10.5px;
  }

  .gift-choice-grid {
    gap: 8px;
  }

  .gift-choice-card {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 7px;
    border-radius: 14px;
  }

  .gift-choice-visual {
    width: 100%;
    height: 104px;
    border-radius: 10px;
  }

  .gift-choice-visual img {
    padding: 4px;
  }

  .gift-choice-free {
    top: 5px;
    left: 5px;
    padding: 3px 6px;
    font-size: 7.5px;
  }

  .gift-choice-copy {
    width: 100%;
    flex: 1;
    align-items: center;
    text-align: center;
  }

  .gift-choice-copy h3 {
    min-height: 34px;
    display: flex;
    align-items: center;
    margin-bottom: 3px;
    font-size: 16px;
  }

  .gift-choice-copy p {
    min-height: 31px;
    font-size: 10px;
    line-height: 1.28;
  }

  .gift-choice-value {
    margin-top: 5px;
    font-size: 9.5px;
  }

  .gift-choice-cta {
    min-height: 40px;
    margin-top: 6px;
    padding: 7px 5px;
    border-radius: 9px;
    font-size: 9.5px;
  }

  .gift-choice-trust {
    gap: 5px 10px;
    margin-top: 10px;
    font-size: 9px;
  }
}

@media (max-width: 350px) {
  .gift-choice-header {
    padding-left: 14px;
  }

  .gift-choice-body {
    padding-left: 8px;
    padding-right: 8px;
  }

  .gift-choice-grid {
    gap: 6px;
  }

  .gift-choice-copy h3 {
    font-size: 14px;
  }

  .gift-choice-copy p {
    font-size: 9px;
  }

  .gift-choice-cta {
    font-size: 8.8px;
  }
}

@media (max-height: 610px) and (max-width: 620px) {
  .gift-choice-header {
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .gift-choice-kicker {
    margin-bottom: 4px;
  }

  .gift-choice-header h2 {
    font-size: 24px;
  }

  .gift-choice-header p {
    font-size: 10.5px;
  }

  .gift-choice-body {
    padding-top: 9px;
  }

  .gift-choice-instruction {
    display: none;
  }

  .gift-choice-visual {
    height: 76px;
  }

  .gift-choice-copy p {
    display: none;
  }

  .gift-choice-copy h3 {
    min-height: 30px;
  }

  .gift-choice-trust {
    margin-top: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #gift-choice-overlay,
  .gift-choice-dialog,
  .gift-choice-card,
  .gift-choice-visual img {
    transition: none !important;
  }

  .gift-choice-cta::after {
    display: none;
    animation: none !important;
  }
}