.gift-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  padding-block: 48px 56px;
}
.gift-hero h1 {
  font-size: clamp(42px, 5.8vw, 74px);
  line-height: 1.06;
  letter-spacing: -.055em;
  margin-bottom: 16px;
}
#gift-hero-copy { font-size: clamp(16px, 2vw, 21px); }
.gift-hero-note { color: var(--muted); margin-top: 6px; font-size: 14px; }
.gift-hero .actions { align-items: center; gap: 12px 20px; margin-top: 20px; }
.gift-hero .text-link { font-size: 12px; }
.gift-hero-art { padding: 20px; }
.gift-hero .gift-card {
  aspect-ratio: 1.58;
  width: 100%;
  max-width: 390px;
  margin-inline: auto;
  padding: 26px;
  background: linear-gradient(135deg, #302238, #121116 75%);
  border-color: #b387ca65;
  transform: rotate(-8deg);
  box-shadow: none;
}
.gift-hero .gift-card::before { width: 65px; right: 45px; opacity: .85; }
.gift-hero .gift-card img { width: 180px; position: relative; margin-bottom: 18px; }
.gift-hero .gift-card strong { font-size: 30px; position: relative; margin: 12px 0; }
.gift-hero .gift-card small, .gift-hero .gift-card > span { font-size: 7px; position: relative; }
.gift-activity-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.gift-activity-grid a { min-width: 0; }
.gift-activity-grid img { width: 100%; aspect-ratio: 1.2; object-fit: cover; border-radius: var(--radius); }
.gift-activity-grid h3 { font-size: 19px; font-weight: 800; line-height: 1.3; margin: 14px 0 0; }
.gift-activity-grid a:hover h3 { color: #da9ef2; }

.gift-checkout { padding-block: 16px 40px; }
.gift-checkout [hidden] { display: none !important; }
.gift-checkout-heading { margin-bottom: 18px; }
.gift-checkout-heading h2 { font-size: clamp(27px, 3.8vw, 44px); line-height: 1.15; margin-bottom: 0; }
.gift-checkout-heading .checkout-preview { font-size: 13px; color: #e2c4f1; margin-top: 8px; }
.gift-checkout-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.gift-checkout fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.gift-sr-only { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.gift-order-line + .gift-order-line { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.gift-line-title { display: flex; justify-content: space-between; align-items: center; }
.gift-type-selection, .gift-amounts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gift-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gift-option { display: grid; position: relative; min-width: 0; cursor: pointer; }
.gift-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gift-option-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 46px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  line-height: 1.25;
}
.gift-option-copy strong { font-size: 14px; overflow-wrap: anywhere; }
.gift-amounts .gift-option-copy { min-height: 65px; }
.gift-amounts .gift-option-copy strong { font-size: 17px; }
.gift-option-copy small { color: #e3b3ff; font-size: 11px; margin-top: 3px; }
.gift-option input:checked + .gift-option-copy { border-color: #cc90fa; background: #a247ef26; }
.gift-option input:focus-visible + .gift-option-copy { outline: 2px solid #e5b7ff; outline-offset: 2px; }
.gift-line-validity { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 8px 0 12px; }
.gift-custom-amount, .gift-quantity { display: flex; flex-direction: column; gap: 4px; margin-top: 12px; font-size: 13px; }
.gift-quantity { max-width: 115px; }
.gift-custom-amount input, .gift-quantity input { min-height: 44px; }
.gift-custom-amount small { font-size: 12px; color: var(--muted); }
.gift-custom-amount .gift-input-error { color: #ffc1cd; }
.gift-order-actions { display: flex; }
.gift-text-button { min-height: 44px; padding: 0; border: 0; background: transparent; color: #e2baf8; font-size: 13px; text-decoration: underline; cursor: pointer; }
.gift-customer { margin-top: 9px !important; }
.gift-customer legend { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.gift-customer .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.gift-customer .form-grid .full { grid-column: 1 / -1; }
.gift-customer label { display: grid; gap: 4px; font-size: 13px; min-width: 0; }
.gift-customer input { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; padding-block: 8px; }

.gift-order-summary { position: sticky; top: 112px; padding: 22px; background: var(--surface); border-radius: var(--radius); }
#gift-summary-lines { padding-bottom: 10px; }
#gift-summary-lines p { font-size: 12px; line-height: 1.5; margin: 0 0 5px; }
.gift-total { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.gift-total div { display: grid; }
.gift-total span { font-size: 13px; }
.gift-total strong { font-size: clamp(17px, 3.7vw, 27px); font-weight: 800; overflow-wrap: anywhere; }
#gift-value-total { color: #e5b7ff; }
.gift-terms { display: flex; align-items: flex-start; gap: 9px; font-size: 12px; line-height: 1.5; padding-block: 8px; }
.gift-terms input { width: 18px; height: 18px; accent-color: var(--purple); margin: 0; flex-shrink: 0; }
.gift-terms a { text-decoration: underline; }
.gift-order-summary .button { width: 100%; min-height: 48px; margin-top: 6px; }
.gift-order-summary .button:disabled { opacity: .55; cursor: not-allowed; }
.gift-payment-hint { color: var(--muted); text-align: center; font-size: 12px; margin: 6px 0 0; }
#gift-checkout-status { font-size: 13px; color: #e2c4f1; margin: 10px 0 0; }
#gift-checkout-status:empty { display: none; }

@media (max-width: 900px) {
  .gift-activity-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .gift-hero { grid-template-columns: 1fr; padding-block: 30px 14px; }
  .gift-hero-art { display: none; }
  .gift-hero h1 { font-size: clamp(34px, 10vw, 48px); margin-bottom: 12px; }
  .gift-hero .actions { margin-top: 14px; }
  .gift-checkout-layout { grid-template-columns: 1fr; gap: 14px; }
  .gift-order-summary { position: static; padding: 14px; }
  .gift-activity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
}
@media (max-width: 355px) {
  .gift-amounts .gift-option-copy { padding-inline: 6px; }
  .gift-amounts .gift-option-copy strong { font-size: 14px; }
  .gift-option-copy small { font-size: 10px; }
}
