/* Approved Gift sender presentation. The existing checkout owns all prices. */
[data-gift-sender]{--gift-berry:#5b1f33;--gift-olive:#4c5229;--gift-line:#d3c6b5;--gift-muted:#756859;color:#272a21;font-family:Arial,Helvetica,sans-serif}
[data-gift-sender] h1,[data-gift-sender] h2,[data-gift-sender] h3{font-family:Impact,'Arial Black',Arial,sans-serif;letter-spacing:.01em;font-weight:400;line-height:1.05}
.gift-account-head{padding:32px 0 0}.gift-account-head h1{font-size:54px;color:var(--gift-berry);margin:0 0 24px}.gift-account-head .eyebrow{font-size:10px;letter-spacing:.15em;font-weight:700;margin:0 0 12px}
/* The account tab component, shared declaration for declaration with .account-tabs in account.css (tests/account-tabs-design.test.mjs). */
.gift-account-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0 0 26px;border-bottom:1px solid #d3c6b5}.gift-account-tabs a{display:inline-flex;align-items:center;min-height:44px;border:1px solid #b6a894;border-radius:5px;padding:12px 18px;background:transparent;color:#4c5229;font:400 13px/1.35 Arial,Helvetica,sans-serif;text-decoration:none;transition:background-color .16s ease,border-color .16s ease,color .16s ease}@media(hover:hover){.gift-account-tabs a:not([aria-current=page]):hover{border-color:#4c5229;background:#f3ebdd}}.gift-account-tabs a:not([aria-current=page]):active{background:#ebe1d1}.gift-account-tabs [aria-current=page]{border-color:#4c5229;background:#4c5229;color:#fff8ee}.gift-account-tabs a:focus-visible{outline:3px solid #2879c8;outline-offset:4px}
.gift-sender-intro{padding:32px 0 10px}.gift-sender-intro .eyebrow{font-size:10px;letter-spacing:.15em;font-weight:700;margin:0 0 16px}.gift-sender-intro h2{font-size:43px;color:var(--gift-berry);margin:0 0 16px;max-width:650px}.gift-sender-intro>p:last-child{font-size:14px;margin-bottom:16px}
.gift-sender-layout{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:52px;align-items:start}.gift-compose{min-width:0}.gift-compose fieldset{border:0;padding:0;margin:0;min-width:0}.gift-compose legend{font-family:Impact,'Arial Black',Arial,sans-serif;font-size:28px;line-height:1.15;letter-spacing:.01em;padding:0;margin:0 0 20px;max-width:100%}
.gift-steps{display:flex;list-style:none;gap:16px;padding:0;margin:16px 0 30px}.gift-steps li{flex:1;min-width:0;border-bottom:2px solid var(--gift-line);padding:10px 0 13px;font-size:12px;color:var(--gift-muted);margin:0}.gift-steps [aria-current=step]{color:var(--gift-olive);border-color:var(--gift-olive);font-weight:700}.gift-steps span{font-size:11px;display:block;margin-bottom:8px}
.gift-occasions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.gift-occasion{--gift-wrap:#ecdfc7;--gift-ribbon:#872d3a;display:flex!important;flex-direction:column;align-items:center;justify-content:center;border:1px solid var(--gift-line);border-radius:6px;background:#fffdf8;min-height:150px;padding:12px 6px!important;color:#272a21;font-size:12px;position:relative;text-align:center;cursor:pointer;margin:0!important;line-height:1.4}.gift-theme-birthday{--gift-wrap:#ebddbe;--gift-ribbon:#5b1f33}.gift-theme-just{--gift-wrap:#e8eadb;--gift-ribbon:#4c5229}.gift-occasion:has(input:checked){border:2px solid var(--gift-olive);padding:11px 5px!important;background:#eeeede}.gift-occasion:has(input:focus-visible){outline:3px solid #2879c8;outline-offset:4px}.gift-occasion input{position:absolute;inset:0;width:100%!important;height:100%!important;margin:0;z-index:1;opacity:0;cursor:pointer}.gift-mini-box{display:block;width:57px;height:50px;margin:20px auto 17px;background:var(--gift-wrap);position:relative;border-radius:2px;box-shadow:3px 5px #0001}.gift-mini-box:before{content:'';position:absolute;left:25px;width:8px;background:var(--gift-ribbon);height:100%;top:0}.gift-mini-box:after{content:'∞';font-family:Arial,sans-serif;color:var(--gift-ribbon);position:absolute;top:-37px;left:9px;font-size:48px;font-weight:700}.gift-occasion strong{font-weight:700}
.gift-package-note{padding:26px 0 18px;border-bottom:1px solid var(--gift-line)}.gift-package-note h3{font-size:25px;margin:0 0 12px}.gift-package-note p{font-size:14px;line-height:1.6;margin:0 0 14px}.gift-compose label:not(.gift-occasion){display:grid;gap:8px;font-size:13px;font-weight:700;margin:0 0 19px}.gift-compose input:not([type=radio]):not([type=checkbox]),.gift-compose textarea,.gift-compose select{display:block;width:100%;max-width:none;min-width:0;border:1px solid #a89a8b;border-radius:4px;padding:13px;background:#fffdf8;color:#272a21;font:16px Arial,Helvetica,sans-serif;min-height:49px;box-sizing:border-box;margin:0}.gift-compose textarea{min-height:130px;resize:vertical}.gift-compose small{font-size:12px;line-height:1.5;font-weight:400;color:var(--gift-muted)}.gift-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px;align-items:start}.gift-compose .gift-send-now{display:flex!important;gap:12px;align-items:center;border:1px solid #b5a894;border-radius:5px;padding:16px 14px;margin-bottom:24px!important;background:#ecefdf}.gift-send-now input{width:20px;height:20px;accent-color:var(--gift-olive);margin:0}.gift-schedule>.gift-fine{margin-top:0}.gift-notice{background:#eee4d7;border:1px solid var(--gift-line);padding:15px 17px;border-radius:5px;font-size:13px;line-height:1.6}.gift-fine{font-size:12px!important;line-height:1.6;color:var(--gift-muted)}.gift-rules summary{cursor:pointer;min-height:44px;padding:12px 0;font-size:13px}.gift-rules p{font-size:13px;line-height:1.6}.gift-review{background:#fffdf8;border:1px solid var(--gift-line);border-radius:6px;padding:20px;margin-bottom:20px}.gift-review p{margin:5px 0;font-size:14px;overflow-wrap:anywhere;white-space:pre-wrap}.gift-review p:nth-child(4){font-family:Caveat,cursive;font-size:27px;line-height:1.3;margin:20px 0}
[data-gift-sender] button,[data-gift-sender] a.gift-secondary{font-family:Arial,Helvetica,sans-serif;cursor:pointer;min-height:44px;border-radius:5px;font-size:13px;font-weight:700;padding:13px 18px;margin:0;text-decoration:none;line-height:1.4}.gift-primary,.gift-status-actions button:not(.gift-secondary){background:var(--gift-olive);color:#fff8ee;border:1px solid var(--gift-olive)}.gift-secondary{display:inline-flex;align-items:center;justify-content:center;border:1px solid #a89a8b;background:transparent;color:var(--gift-olive)}.gift-wizard-actions{display:flex;gap:12px;margin:25px 0}.gift-wizard-actions button{flex:1}.gift-compose [type=submit]{width:100%;display:flex;justify-content:center;gap:8px}.gift-compose>[role=status]{font-size:13px;color:#923029;line-height:1.6;overflow-wrap:anywhere}.gift-compose>[role=status]:empty{display:none}
.gift-preview-panel{position:sticky;top:25px;border:1px solid var(--gift-line);border-radius:8px;background:#ede5d8;padding:18px;margin-top:20px;min-width:0}.gift-preview-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:16px}.gift-preview-heading strong{font-size:12px;letter-spacing:.05em;text-transform:uppercase}.gift-preview-heading span{font-size:10px;color:var(--gift-muted);text-align:right;max-width:120px}.gift-preview-tabs{display:flex;gap:5px;margin-bottom:15px}.gift-preview-tabs button{flex:1;background:none;border:1px solid #b9ac98;border-radius:4px;padding:10px;font-size:13px;color:#272a21}.gift-preview-tabs button[aria-pressed=true]{background:#fff8ee;border-color:var(--gift-olive);color:var(--gift-olive);font-weight:700}.gift-preview-placeholder{background:#fff8ee;border-radius:4px;overflow:hidden;min-height:700px}.gift-preview-placeholder img{display:block;width:100%;height:auto}.gift-preview-placeholder p{font-size:13px;line-height:1.6;padding:25px;margin:0;color:var(--gift-muted)}.gift-preview-panel iframe{width:100%;height:700px;border:0;background:#fff8ee;border-radius:4px;display:block}.gift-preview-stage{position:relative}.gift-preview-panel iframe.gift-preview-incoming{position:absolute;top:0;left:0;opacity:0;pointer-events:none}.gift-preview-panel details{font-size:12px;line-height:1.6;margin:14px 0}.gift-preview-panel summary{min-height:44px;padding:10px 0;cursor:pointer}.gift-preview-panel pre{font:12px Arial,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;max-height:300px;overflow:auto}.gift-preview-panel>.gift-fine{margin:14px 0 0}
.gift-sender-history{margin:48px 0 20px;padding-top:32px;border-top:1px solid var(--gift-line)}.gift-sender-history>h2{font-size:36px;color:var(--gift-berry);margin:0 0 24px}.gift-status-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;list-style:none;padding:0;margin:0}.gift-status-card{border:1px solid var(--gift-line);border-radius:8px;padding:26px;background:#fffdf8;margin:0;min-width:0}.gift-status-top{display:flex;gap:12px;align-items:center;margin-bottom:16px}.gift-status-symbol{display:grid;place-items:center;width:38px;height:38px;background:#e9e9d8;color:var(--gift-olive);border-radius:50%;font-size:22px}.gift-status-label{font-size:11px;font-weight:700;letter-spacing:.04em;color:var(--gift-olive);margin:0;text-transform:uppercase}.gift-status-card h3{color:var(--gift-berry);font-size:29px;overflow-wrap:anywhere;margin:0 0 8px}.gift-status-card>p{font-size:13px;line-height:1.6}.gift-status-email{overflow-wrap:anywhere;color:var(--gift-muted)}.gift-status-row{display:flex;justify-content:space-between;gap:14px;padding:15px 0;border-top:1px solid var(--gift-line);font-size:12px;line-height:1.6}.gift-status-row time{text-align:right;color:var(--gift-olive);max-width:65%}.gift-status-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.gift-status-actions form{margin:0}.gift-status-actions button:disabled{cursor:default;opacity:.6}.gift-gang-card{display:flex;align-items:center;gap:25px;background:#e9e9d8;padding:25px;margin-top:25px;border-radius:6px}.gift-gang-card img{width:140px;height:auto;flex:none}.gift-gang-card h3{font-size:26px;margin:0 0 10px}.gift-gang-card p{font-size:13px;line-height:1.6;margin:0}
[data-gift-sender] :is(button,input,select,textarea,a,summary):focus-visible{outline:3px solid #2879c8;outline-offset:4px}[data-gift-sender] [hidden]{display:none!important}
@media(max-width:760px){.gift-account-head{padding-top:27px}.gift-account-head h1{font-size:42px;margin-bottom:22px}.gift-account-tabs{padding-bottom:20px}.gift-account-tabs a{padding:12px 11px;font-size:12px}.gift-sender-intro{padding-top:26px}.gift-sender-intro h2{font-size:36px}.gift-sender-layout{grid-template-columns:1fr;gap:15px}.gift-steps{gap:10px;margin-top:8px}.gift-steps li{font-size:11px}.gift-occasions{gap:7px}.gift-occasion{font-size:11px;min-height:137px}.gift-compose legend{font-size:27px}.gift-two-fields{grid-template-columns:1fr;gap:0}.gift-preview-panel{position:static;margin-top:0;padding:12px}.gift-preview-panel iframe{height:690px}.gift-preview-placeholder{min-height:690px}.gift-status-list{grid-template-columns:1fr}.gift-status-card{padding:23px}.gift-gang-card{flex-direction:column;align-items:flex-start;padding:20px}.gift-gang-card img{align-self:center;width:150px}}
@media(prefers-reduced-motion:reduce){[data-gift-sender] *,[data-gift-sender] *:before,[data-gift-sender] *:after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* "See it as the receiver": a clear button under the intro, and the note that says what it shows. The dialog itself is the public /gift preview's (gift-showcase.css). */
.gift-receiver-entry{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 20px;align-items:center;margin:0 0 22px;padding:16px 18px;border:1px solid var(--gift-line);border-radius:8px;background:#fffdf8}
[data-gift-sender] .gift-receiver-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 24px;background:var(--gift-berry);color:#fff8ee;border:1px solid var(--gift-berry);border-radius:5px;font-size:15px;line-height:1.2;text-align:left}
.gift-receiver-button::before{content:"";flex:none;width:0;height:0;border-style:solid;border-width:7px 0 7px 11px;border-color:transparent transparent transparent currentColor}
.gift-receiver-button[aria-busy=true]{opacity:.7;cursor:progress}
.gift-receiver-entry .gift-fine{margin:0;max-width:52ch}
[data-gift-sender] .gift-receiver-dialog :is(button,a):focus-visible{outline:3px solid #cdb98a;outline-offset:3px}
@media(max-width:760px){.gift-receiver-entry{grid-template-columns:1fr;padding:14px}.gift-receiver-button{width:100%}}
.gift-receiver-page .gift-receiver-entry{grid-template-columns:auto auto;justify-content:start;gap:12px 16px}
.gift-receiver-page .gift-receiver-return{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 22px;text-decoration:none}
.gift-receiver-dialog a.gift-primary{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;color:#fff8ee}
.gift-receiver-page .gift-notice{margin:0 0 22px}
@media(max-width:760px){.gift-receiver-page .gift-receiver-entry{grid-template-columns:1fr}.gift-receiver-page .gift-receiver-return{width:100%}}

/* Keep corrections beside the gift they change, with room for the existing preview. */
.gift-status-card.is-editing{grid-column:1/-1}.gift-status-card.is-editing .gift-sender-layout{margin-top:28px;padding-top:28px;border-top:1px solid var(--gift-line)}.gift-card-contents{padding-left:20px;line-height:1.6}.gift-card-total{font-weight:700}.gift-status-card [data-gift-card-status]:not(:empty){margin-top:16px;color:var(--gift-berry);font-weight:700;overflow-wrap:anywhere}
.gift-status-card.is-editing .gift-wizard-actions{flex-wrap:wrap;gap:12px}.gift-status-card.is-editing [data-gift-edit-cancel]{margin-left:auto}
.gift-invoice-details{margin:20px 0;padding:16px;border:1px solid var(--gift-line);border-radius:5px;overflow-wrap:anywhere}.gift-invoice-details summary{font-weight:700;cursor:pointer;min-height:36px}.gift-invoice-details p{font-size:14px;line-height:1.5}
