.gift-screen { color: #1c1c1a; font: 500 14px/1.55 var(--font-text); }
.gift-screen [hidden] { display: none !important; }
.gift-screen h1, .gift-screen h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.025em; }
.gift-screen h1 { margin: 7px 0 10px; font-size: clamp(32px, 10.3vw, 52px); line-height: 1.05; text-wrap: balance; }
.gift-screen h2 { margin: 0 0 7px; font-size: 28px; line-height: 1.1; }
.gift-screen :focus-visible { outline: 2px solid #6269bb; outline-offset: 2px; }
.gift-lead { margin: 0 0 18px; color: #4d4c48; }
.gift-panel { padding: 15px; background: white; border: 1px solid #e8e5de; border-radius: 16px; }
.gift-fields,.gift-choices { padding: 0; margin: 0; border: 0; min-width: 0; }
.gift-fields,.gift-panel [data-kind="amount"] { display: grid; gap: 14px; }
.gift-choices legend { margin-bottom: 6px; font-weight: 600; }
.gift-switch { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid #e8e5de; padding: 4px; background: #fbfaf6; border-radius: 10px; }
.gift-switch label { position: relative; cursor: pointer; }
.gift-switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.gift-switch span { display: grid; min-height: 44px; place-items: center; text-align: center; padding: 3px; border-radius: 7px; line-height: 1.2; font-size: 12px; }
.gift-switch input:checked+span { background: #c0c4f4; font-weight: 600; }
.gift-switch input:focus-visible+span { outline: 2px solid #6269bb; outline-offset: -2px; }
.gift-description { margin: 0; color: #4d4c48; font-size: 13px; }
.gift-grid { display: grid; gap: 10px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.gift-wide { grid-column: 1/-1; }
.gift-panel label:not(.gift-agreement,.gift-switch label) { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.gift-panel input:not([type=radio],[type=checkbox]),.gift-panel select,.gift-panel textarea {
  display: block; min-height: 44px; min-width: 0; width: 100%; padding: 8px 10px; border: 1px solid #aaa69b;
  border-radius: 8px; background: white; color: #1c1c1a; font: 400 16px/1.3 var(--font-text);
}
.gift-panel textarea { resize: vertical; }
.gift-small,.gift-agreement,.gift-status { color: #4d4c48; font-size: 12px; font-weight: 500; }
.gift-panel a { color: #30366d; text-decoration: underline; text-underline-offset: .2em; }
.gift-total { border-top: 1px solid #e8e5de; padding-top: 10px; display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.gift-total output { font-size: 23px; font-weight: 650; }
.gift-agreement { display: grid; align-items: start; grid-template-columns: 18px 1fr; gap: 9px; line-height: 1.5; }
.gift-agreement input { width: 17px; height: 17px; margin: 2px 0 0; accent-color: #6269bb; }
.gift-primary { min-height: 48px; width: 100%; border: 0; background: #1c1c1a; color: white; border-radius: 8px; font: 600 14px var(--font-text); cursor: pointer; }
.gift-checkout>.gift-primary { margin-top: 13px; }
.gift-primary:disabled { opacity: .54; cursor: wait; }
.gift-primary:active:not(:disabled) { background: #37364b; }
.gift-link { min-height: 44px; padding: 6px 0; border: 0; background: none; color: #30366d; font: 600 13px/1.4 var(--font-text); text-decoration: underline; text-align: left; text-underline-offset: .23em; }
.gift-status { margin: 10px 0 0; line-height: 1.55; }
[data-gift-help] { display: inline-flex; align-items: center; }
.gift-aside { margin: 16px 0 0; border-radius: 16px; padding: 16px; background: #eef0ff; }
.gift-usage { margin-top: 18px; padding-top: 12px; border-top: 1px solid #e8e5de; }
.gift-usage p { color: #4d4c48; font-size: 13px; }
@media(max-width:355px){
  .gift-grid { grid-template-columns: 1fr; }
  .gift-panel { padding: 13px; }
}
