.gift-home {
  padding-top: 20px;
}

.gift-hero {
  position: relative;
  overflow: hidden;
  aspect-ratio: 346 / 320;
  border-radius: 24px;
  background: #ebf2fe;
}

.gift-hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gift-hero-badge {
  position: absolute;
  inset: 16px auto auto 15px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border-radius: 16px;
  color: #232323;
  background: #e1f593;
  font-size: 13px;
  font-weight: 600;
  line-height: 17px;
}

.gift-home-title,
.gift-screen-title {
  margin: 0;
  color: #232323;
  font-family: "Geologica", sans-serif;
  font-weight: 700;
  font-variation-settings: "CRSV" 0, "SHRP" 0;
  letter-spacing: 0;
}

.gift-home-title {
  margin-top: 28px;
  font-size: clamp(36px, 11.8vw, 46px);
  line-height: 1.109;
}

.gift-home-intro {
  max-width: 328px;
  margin: 19px 0 0 1px;
  color: #545d68;
  font-size: 17px;
  line-height: 24px;
}

.gift-promo {
  padding: 31px 0 24px;
}

.gift-screen-title {
  font-size: clamp(29px, 8.72vw, 34px);
  line-height: 41px;
}

.gift-screen-intro {
  margin-top: 9px;
  color: var(--muted);
  line-height: 22px;
}

.gift-code-form {
  display: grid;
  gap: 7px;
  margin-top: 36px;
  padding: 11px 15px;
  border: 1px solid var(--line);
  border-radius: 16px;
}

.gift-code-form:focus-within { border-color: var(--blue); }
.gift-code-form.invalid { border-color: #ac2b36; }
.gift-code-form.invalid .gift-code-label { color: #ac2b36; }

.gift-code-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 15px;
}

.gift-code-input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  font-size: 17px;
  line-height: 22px;
}

.gift-code-input::placeholder { color: var(--muted); opacity: 1; }

.gift-notice {
  display: grid;
  gap: 4px;
  margin-top: 21px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fceff0;
  color: #ac2b36;
  font-size: 14px;
  line-height: 19px;
}

.gift-notice strong { font-size: 16px; font-weight: 600; line-height: 20px; }

#screen[data-screen="promo"] + #actions button:disabled {
  background: #ebf2fe;
  color: var(--muted);
  filter: none;
  cursor: default;
}

.gift-reveal { padding: 25px 0 28px; }

.gift-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 0 13px 0 10px;
  border-radius: 16px;
  background: #f2f8de;
  color: #36561d;
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
}

.gift-reveal h1 {
  margin-top: 15px;
  font-size: clamp(32px, 9.5vw, 37px);
  line-height: 45px;
}

.gift-photo-frame {
  display: grid;
  place-items: center;
  margin-top: 17px;
  padding: 14px;
  border-radius: 24px;
  background: #f5f5f5;
}

.gift-photo {
  display: block;
  width: min(100%, 246px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.gift-photo-placeholder { object-fit: none; }
.gift-summary { display: grid; gap: 5px; margin-top: 23px; }
.gift-eyebrow { color: #1a3471; font-size: 13px; font-weight: 600; line-height: 17px; }
.gift-summary h2 { font-size: 24px; line-height: 30px; }
.gift-format { color: var(--muted); line-height: 22px; }
.gift-price { margin-top: 43px; color: var(--blue); font-weight: 600; line-height: 20px; }

.gift-change {
  display: block;
  width: 100%;
  margin: 51px 0 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: var(--blue);
  font-size: 15px;
  font-weight: 600;
  line-height: 19px;
}
