.gift-card-recipient-fields,
.gift-card-recipient-field,
.gift-card-recipient-notes,
.gift-card-recipient-edit form {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.gift-card-recipient-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gift-card-recipient-purchase {
  border-block: 1px solid color-mix(in srgb, var(--store-text) 15%, transparent);
  margin-block: 20px;
  padding-block: 18px;
}

.gift-card-recipient-field label {
  color: var(--store-text);
  font-weight: 700;
}

.gift-card-recipient-field input {
  background: var(--store-surface);
  border: 1px solid color-mix(in srgb, var(--store-text) 25%, transparent);
  border-radius: max(6px, calc(var(--store-radius) / 2));
  box-sizing: border-box;
  color: var(--store-text);
  font: inherit;
  font-size: 16px;
  min-height: 44px;
  min-width: 0;
  padding: 10px 12px;
  width: 100%;
}

.gift-card-recipient-field input:focus-visible,
.gift-card-recipient-edit summary:focus-visible,
.gift-card-redemption-fields summary:focus-visible {
  outline: 2px solid var(--store-accent);
  outline-offset: 3px;
}

.gift-card-recipient-field small,
.gift-card-recipient-notes p,
.gift-card-redemption-help,
.gift-card-checkout-note {
  color: var(--store-text);
  font-size: .86rem;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: anywhere;
}

.gift-card-recipient-notes {
  gap: 6px;
  margin-top: 14px;
}

.gift-card-recipient-error {
  border-inline-start: 3px solid currentColor;
  color: var(--store-text);
  font-size: .86rem;
  margin: 0;
  padding-inline-start: 10px;
}

.gift-card-recipient-summary,
.gift-card-checkout-recipient {
  color: var(--store-text);
  font-size: .86rem;
  line-height: 1.6;
  margin-block: 10px;
  overflow-wrap: anywhere;
}

.gift-card-recipient-edit {
  margin-top: 8px;
}

.gift-card-recipient-edit summary {
  color: var(--store-text);
  cursor: pointer;
  font-size: .86rem;
  min-height: 44px;
  padding-block: 10px;
}

.gift-card-recipient-edit form .storefront-button {
  justify-self: start;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
}

.gift-card-redemption-help {
  margin-block: 10px;
}

.gift-card-checkout-note {
  grid-column: 1 / -1;
}

.gift-card-redemption-fields {
  margin-block: 12px;
}

.gift-card-redemption-fields summary {
  cursor: pointer;
  min-height: 44px;
  padding-block: 10px;
}

.gift-card-redemption-fields .gift-card-recipient-fields {
  grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 600px) {
  .gift-card-recipient-fields {
    grid-template-columns: minmax(0, 1fr);
  }
}
