/* The gift year's pages (/ge-bort/, /los-in/; ADR 0113): a card with the offer
   or the form, and how it works beside it. Uses home.css's tokens. */

.gift .lead {
  max-width: 40rem;
}

.gift-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}
@media (min-width: 860px) {
  .gift-layout {
    grid-template-columns: minmax(0, 26rem) minmax(0, 1fr);
  }
}

.gift-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--raised);
  box-shadow: var(--shadow);
}

.gift-price {
  margin: 0;
  color: var(--muted);
}
.gift-price b {
  display: block;
  font-family: var(--display);
  font-size: 2.4rem;
  color: var(--ink);
}

.gift-facts {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

.gift-field {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
}
.gift-field input,
.gift-field select {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
}
.gift-field input {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gift-field input::placeholder {
  letter-spacing: normal;
  text-transform: none;
}
.gift-help {
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--muted);
}

.gift-button {
  font: inherit;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85rem 1.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--lantern);
  color: #1b2a41;
  cursor: pointer;
}
.gift-button:hover {
  background: var(--lantern-edge);
  color: #fff;
}
.gift-button:focus-visible,
.gift-field input:focus-visible,
.gift-field select:focus-visible {
  outline: 3px solid var(--sea);
  outline-offset: 2px;
}

.gift-fine {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.gift-problem {
  margin: 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border-left: 4px solid var(--lantern-edge);
  background: var(--sunken);
}

.gift-done p {
  margin: 0;
}

.gift-how ol {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}

/* English: the terms are accepted here, not at Stripe's checkout (ADR 0132). */
.gift-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: start;
  font-size: 0.95rem;
  line-height: 1.45;
}
.gift-consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin: 0.15rem 0 0;
  accent-color: var(--aurora, #1d7a66);
}

/* Who the gift suits, under the offer. */
.gift-who {
  max-width: 40rem;
  margin-top: 3rem;
}
.gift-who p {
  margin: 0.8rem 0 0;
}
