.gift-card-page .gift-card-main {
  min-height: 100dvh;
  padding: 0 20px 64px;
  background: var(--color-light-text);
}

.gift-card-hero {
  margin: 0 -20px;
  padding: 161px 20px 6px;
}

.gift-card-page .gift-card-title {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  color: #be3c13;
  font-size: clamp(2rem, 7vw, 3.9rem);
  line-height: 1.15;
}

.gift-card-page .gift-card-title::after {
  display: none;
}

.gift-card-how {
  width: min(100%, 640px);
  margin: 32px auto 0;
  color: #3b3b3d;
}

.gift-card-how h2 {
  margin: 0 0 22px;
  color: #be3c13;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.gift-card-form + .gift-card-how {
  margin-top: 60px;
}

#gift-card-notes-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.gift-card-how-steps,
.gift-card-facts {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gift-card-how h3 {
  margin: 0 0 3px;
  color: #be3c13;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.gift-card-facts h3 {
  width: 80%;
  margin: 0 auto 3px;
  text-align: left;
}

.gift-card-how-steps li:nth-child(2) h3 {
  letter-spacing: 0.08em;
}

.gift-card-how p {
  width: 80%;
  margin: 0 auto;
  text-align: justify;
  font-size: 0.85rem;
  line-height: 1.5;
}

.gift-card-form {
  width: min(100%, 640px);
  margin: 32px auto 0;
  padding: 24px 18px;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #3b3b3d;
  box-shadow: 0 4px 16px rgba(59, 59, 61, 0.07);
}

.gift-card-section {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.gift-card-section legend {
  width: 100%;
  padding: 0;
  margin-bottom: 20px;
  color: #be3c13;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.gift-card-fields {
  display: grid;
  gap: 18px;
}

.gift-card-fields label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.gift-card-fields input,
.gift-card-custom-input input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid rgba(190, 60, 19, 0.2);
  border-radius: 4px;
  background: #fcfaf6;
  color: #3b3b3d;
  font: inherit;
  font-size: 1rem;
}

.gift-card-fields input {
  min-height: 36px;
  padding: 7px 14px;
}

.gift-card-form input:focus-visible,
.gift-card-form a:focus-visible,
.gift-card-pay:focus-visible {
  outline: 2px solid #be3c13;
  outline-offset: 3px;
}

.gift-card-amount-section {
  margin-top: 32px;
  padding-top: 3px;
  border-top: 1px solid rgba(190, 60, 19, 0.2);
}

.gift-card-amount-section legend {
  margin-bottom: 0;
}

.gift-card-copy {
  margin: 0 0 18px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.gift-card-amounts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.gift-card-choice {
  position: relative;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.gift-card-choice-face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: 70px;
  padding: 8px;
  border: 1px solid rgba(190, 60, 19, 0.2);
  border-radius: 8px;
  background: #fcfaf6;
  text-align: center;
}

.gift-card-choice-face strong {
  color: #be3c13;
  font-size: 1.45rem;
}

.gift-card-choice-face > span {
  font-family: "Jost", "Segoe UI", sans-serif;
  font-size: 0.78rem;
}

.gift-card-choice[aria-pressed="true"] .gift-card-choice-face {
  border-color: #be3c13;
  background: #be3c13;
  color: #fff;
}

.gift-card-choice[aria-pressed="true"] .gift-card-choice-face strong {
  color: #fff;
}

.gift-card-choice:focus-visible {
  outline: 2px solid #be3c13;
  outline-offset: 3px;
}

.gift-card-custom {
  margin-top: 20px;
}

.gift-card-custom-choice,
.gift-card-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.gift-card-custom-choice {
  font-weight: 400;
}

.gift-card-consent input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #be3c13;
  cursor: pointer;
}

.gift-card-custom-input {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 220px;
  margin-top: 10px;
  font-size: 1.15rem;
}

.gift-card-hint {
  margin: 8px 0 0;
  font-size: 0.85rem;
  font-style: italic;
}

.gift-card-consent {
  margin-top: 30px;
  font-size: 0.9rem;
}

.gift-card-consent a {
  color: #be3c13;
  text-underline-offset: 3px;
}

.gift-card-pay {
  width: 100%;
  min-height: 50px;
  margin-top: 24px;
  padding: 14px 12px;
  border: 0;
  border-radius: 4px;
  background: #be3c13;
  color: #fff;
  font: 700 0.9rem "League Spartan", "Segoe UI", sans-serif;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.gift-card-pay:disabled,
.gift-card-pay[aria-disabled="true"] {
  background: #cfbeb4;
  cursor: not-allowed;
}

.gift-card-feedback {
  margin: 14px 0 0;
  color: #be3c13;
  font-size: 0.9rem;
  line-height: 1.5;
}

.gift-card-feedback:empty {
  display: none;
}

.gift-card-confirmation-page {
  min-height: 100dvh;
  background: var(--color-light-text);
}

.gift-card-confirmation-main {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.gift-card-confirmation-card {
  width: min(100%, 620px);
  padding: 36px 24px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(59, 59, 61, 0.09);
  text-align: center;
}

.gift-card-confirmation-kicker,
.gift-card-confirmation-card h1 {
  color: #be3c13;
}

.gift-card-confirmation-kicker {
  margin: 0 0 32px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.gift-card-confirmation-card h1 {
  margin: 0 0 5px;
  font-size: clamp(1.2rem, 3.5vw, 1.7rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gift-card-confirmation-card > p:not(.gift-card-confirmation-kicker) {
  line-height: 1.5;
}

#gift-confirmation-message {
  margin-top: 0;
}

.gift-card-confirmation-code {
  margin: 22px 0;
  color: #be3c13;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.gift-card-confirmation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin-top: 22px;
  text-decoration: none;
  letter-spacing: 0.12em;
}

@media (min-width: 1024px) {
  .gift-card-form + .gift-card-how {
    margin-top: 72px;
  }

  .gift-card-page .gift-card-main {
    padding-bottom: 84px;
  }

  #gift-card-notes-title {
    margin-bottom: 40px;
  }

  .gift-card-facts {
    gap: 22px;
  }

  #gift-card-notes-title {
    font-size: 2.25rem;
  }

  .gift-card-facts h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    width: 90%;
  }

  .gift-card-facts p {
    font-size: 1rem;
    width: 90%;
    text-align: justify;
  }

  .gift-card-form {
    margin-top: 52px;
    box-shadow: 0 6px 24px rgba(59, 59, 61, 0.08);
  }

  .gift-card-how-steps p {
    width: 100%;
    text-align: center;
    font-size: 1rem;
  }

  .gift-card-how-steps h3 {
    font-size: 1.3rem;
  }

  .gift-card-hero + .gift-card-how {
    width: min(100%, 1200px);
    margin-top: 52px;
  }

  .gift-card-how-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (min-width: 641px) {
  .gift-card-hero {
    padding-top: 202px;
  }

  .gift-card-form {
    padding: 32px;
  }
}
