.gift-page {
  max-width: 680px;
  padding-block: clamp(40px, 7vw, 96px);
}

.gift-intro {
  text-align: center;
}

.gift-intro img {
  max-width: min(100%, 440px);
  margin: 0 auto 24px;
}

.gift-intro h1 {
  font-size: clamp(32px, 6vw, 54px);
  white-space: normal;
  text-wrap: balance;
}

.gift-intro p {
  margin: 16px auto 0;
  max-width: 54ch;
}

.gift-form,
.gift-review {
  margin-top: 40px;
}

.gift-form fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 28px;
  min-width: 0;
}

.gift-form legend {
  padding: 0;
  margin-bottom: 12px;
  color: var(--ink);
  font: 24px/1.3 Prata, Georgia, serif;
}

.gift-form label {
  display: block;
}

.gift-form input:not([type="radio"]),
.gift-form textarea {
  display: block;
  width: 100%;
  margin: 4px 0 12px;
  padding: 10px 12px;
  border: var(--editorial-border);
  border-radius: 0;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.gift-form textarea {
  resize: vertical;
}

.gift-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gift-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border: var(--editorial-border);
  cursor: pointer;
}

.gift-options label:has(:checked) {
  border-color: var(--ink);
  color: var(--ink);
  font-weight: 500;
}

.gift-options input {
  flex: none;
  accent-color: var(--ink);
}

.gift-note {
  margin-top: 12px;
  font-size: 14px;
}

.gift-review h2 {
  font-size: clamp(28px, 5vw, 38px);
}

.gift-review dt {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 500;
}

.gift-review dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  .gift-options {
    grid-template-columns: 1fr;
  }
}

.gift-included {
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 32px);
  margin-bottom: 28px;
}

.gift-included img {
  width: min(100%, 124px);
  height: auto;
}

.gift-included h2 {
  font-size: clamp(20px, 4vw, 25px);
}

.gift-included p {
  margin: 4px 0 0;
}

.gift-included .gift-included-price {
  color: var(--ink);
  font: 20px/1.3 Prata, Georgia, serif;
  margin-top: 8px;
}

@media (max-width: 520px) {
  .gift-included {
    flex-direction: column;
    text-align: center;
  }
}

#checkout-gift[hidden] {
  display: none;
}

#gift-checkout-status:empty {
  margin: 0;
}

@media (min-width: 521px) {
  .gift-delivery-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.gift-form #giver-shipping-name {
  margin-bottom: 0;
}

.gift-form .gift-shipping-name-label {
  font: inherit;
  font-weight: 500;
}
