/* GENERATED by node scripts/build-styles.mjs. Edit Styles modules, not this file. */
/* Source: Styles/features/gifts-mvc.css */
/* Gift pages share the public palette, typography and button primitives. */
.public-ui-gift-catalog-intro { padding: var(--ui-space-4) 0; max-width: 780px; }
.public-ui-gift-catalog-intro h1 { margin-bottom: var(--ui-space-2); font-size: var(--ui-title-page); line-height: var(--ui-leading-heading); }
@media (max-width: 600px) { .public-ui-gift-catalog-intro h1 { font-size: var(--ui-title-compact); } }
.page-section .public-ui-gift-catalog-intro p { margin: 0; font-size: var(--ui-text-base); line-height: var(--ui-leading-body); }
.gift-shell { background: var(--color-warm-surface); color: var(--color-brand-brown); }
.gift-brand { display: inline-flex; align-items: center; white-space: nowrap; font-size: 22px; font-weight: 800; }
.gift-brand img { width: 42px; height: 42px; object-fit: contain; vertical-align: middle; margin-right: 8px; }
.gift-brand span { color: var(--ui-link); font-size: 30px; vertical-align: middle; margin-right: 6px; }
.gift-page { max-width: var(--ui-page-max); margin: auto; padding: 42px 28px 60px; }
.gift-footer { text-align: center; font-size: 13px; line-height: 2; padding: 25px; color: var(--color-text-muted-dark); }
.gift-footer a { color: inherit; }
.gift-back { display: inline-block; margin-bottom: var(--ui-space-4); color: var(--color-brand-brown); }
.gift-heading { max-width: 740px; margin-bottom: var(--ui-space-2); }
.gift-heading h1 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 var(--ui-space-3); color: var(--color-brand-brown); }
.gift-heading p { font-size: 16px; line-height: 1.65; color: var(--color-text-muted-dark); margin: 0; }
.gift-eyebrow, .gift-preview-label { display: block; color: var(--ui-link); font-size: 11px; font-weight: 700; letter-spacing: .13em; line-height: 1.5; }
.gift-builder-grid, .gift-manage-grid { display: grid; align-items: start; }
.gift-manage-grid { gap: var(--ui-space-8); }
.gift-form, .gift-panel { background: var(--gift-form-bg, var(--color-white)); border: 1px solid var(--color-warm-border); border-radius: var(--gift-form-radius, var(--ui-radius-surface)); padding: var(--ui-space-5); min-width: 0; }
.gift-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.gift-form legend { font-size: 22px; font-weight: 700; padding: 0; margin-bottom: var(--ui-space-3); color: var(--color-brand-brown); }
.gift-form [hidden], .gift-shell [hidden], .gift-dialog [hidden] { display: none !important; }
.gift-account-login { display: grid; gap: 12px; padding: 16px; margin: 16px 0; border: 1px solid var(--color-warm-border); border-radius: var(--radius-xl); background: var(--color-brand-yellow-soft); }
.gift-account-login p { margin: 0; font-size: 14px; line-height: 1.6; }
.gift-account-login .btn { justify-self: start; min-height: 44px; }
.gift-steps { padding: 0 0 26px; margin: 0 0 26px; list-style: none; display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--color-warm-border); }
.gift-steps li { font-size: 12px; color: var(--color-text-muted-dark); display: flex; align-items: center; gap: 7px; }
.gift-steps span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--color-neutral-100); }
.gift-steps [aria-current] { color: var(--color-brand-brown); font-weight: 700; }
.gift-steps [aria-current] span { background: var(--color-brand-yellow); }
.gift-field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; margin: var(--ui-space-2) 0; color: var(--color-brand-brown); }
.gift-field textarea { resize: vertical; line-height: 1.5; }
.gift-field small, .gift-optional { color: var(--color-text-muted-dark); font-size: 12px; line-height: 1.5; font-weight: 400; }
.gift-check { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; margin: 20px 0; }
.gift-check input { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; accent-color: var(--color-brand-orange); }
.gift-check a, .gift-panel a:not(.btn) { color: var(--ui-link); }
.gift-choices { display: flex; gap: 8px; flex-wrap: wrap; }
.gift-choices label { position: relative; cursor: pointer; }
.gift-choices input { position: absolute; opacity: 0; }
.gift-choices span { display: block; padding: 11px 15px; border: 1px solid var(--color-neutral-border); border-radius: var(--radius-pill); font-size: 13px; }
.gift-choices input:checked + span { background: var(--color-brand-yellow-soft); border-color: var(--color-brand-yellow); color: var(--color-brand-brown); }
.gift-choices input:focus-visible + span { outline: 2px solid var(--color-brand-orange); outline-offset: 2px; }
.gift-lot-mini { display: flex; gap: var(--ui-space-3); padding: var(--ui-space-2); background: var(--color-neutral-50); border-radius: var(--radius-3xl); }
.gift-lot-mini img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-lg); }
.gift-lot-mini strong { display: block; font-size: 14px; line-height: 1.5; margin: 3px 0; }
.gift-lot-mini small, .gift-lot-mini a { font-size: 11px; color: var(--color-text-muted-dark); }
.gift-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.gift-presets button, .gift-text-button { border: 1px solid var(--color-warm-border); background: var(--color-warm-surface); color: var(--color-brand-brown); padding: 9px 13px; border-radius: var(--radius-pill); font: inherit; font-size: 12px; cursor: pointer; }
.gift-presets button:hover { background: var(--color-brand-yellow-soft); }
.gift-muted { color: var(--color-text-muted-dark); font-size: 12px; line-height: 1.6; margin: 16px 0; }
.gift-form-bottom { border-top: 1px solid var(--color-warm-border); margin-top: var(--ui-space-3); padding-top: var(--ui-space-2); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gift-form-bottom strong { font-size: 20px; }
.gift-form-bottom > span { font-size: 11px; color: var(--color-text-muted-dark); }
.gift-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--ui-space-2); }
.gift-actions .btn { flex: 1; white-space: normal; line-height: 1.4; min-height: 46px; }
.gift-actions .btn:disabled { opacity: .6; cursor: wait; }
.gift-live-preview { position: sticky; top: 25px; }
.gift-preview-label { text-align: center; margin: 0 0 14px; color: var(--color-text-muted-dark); font-size: 10px; }
.gift-card { position: relative; overflow: hidden; border: 1px solid var(--color-warm-border); border-radius: 26px; background: var(--color-brand-yellow-soft); padding: 44px 40px 32px; text-align: center; box-shadow: 0 12px 34px rgba(84,53,22,.07); overflow-wrap: anywhere; }
.gift-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 7px; background: var(--color-brand-yellow); }
.gift-card-heart { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 50%; background: var(--color-white); color: var(--ui-link); font-size: 40px; margin: 0 auto 22px; transform: rotate(-9deg); }
.gift-card h1, .gift-card h2 { color: var(--color-brand-brown); font-size: clamp(26px, 3vw, 40px); line-height: 1.2; letter-spacing: -.03em; margin: 24px 0 20px; }
.gift-card p { font-size: 14px; line-height: 1.7; margin: 16px 0; }
.gift-card-lot { display: block; font-size: 19px; line-height: 1.4; }
.gift-card-message { white-space: pre-wrap; padding: 20px 0; border-top: 1px solid var(--color-warm-border); border-bottom: 1px solid var(--color-warm-border); }
.gift-card .gift-card-sign { margin: 24px 0 32px; font-weight: 600; }
.gift-card-foot { display: block; font-size: 10px; letter-spacing: .04em; color: var(--color-text-muted-dark); }
.gift-card--preview { transform: rotate(1deg); }
.gift-card--preview h2 { font-size: 30px; }
.gift-demo { display: block; background: var(--color-orange-50); border: 1px solid var(--color-orange-200); color: var(--color-orange-800); border-radius: var(--radius-xl); padding: var(--ui-space-2) var(--ui-space-4); font-size: 12px; line-height: 1.6; margin: var(--ui-space-2) 0 var(--ui-space-3); }
.gift-error { background: var(--color-red-50); color: var(--color-red-700); padding: 12px; border-radius: var(--radius-lg); font-size: 13px; }
.gift-status { display: inline-block; padding: 7px 12px; background: var(--color-brand-yellow-soft); border-radius: var(--radius-pill); font-size: 13px; margin: 14px 0; }
.gift-panel h2 { font-size: 23px; margin: 0 0 12px; }
.gift-panel > p { line-height: 1.6; }
.gift-panel > .btn { margin-top: 18px; }
.gift-downloads { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 28px 0; font-size: 14px; }
.gift-private-note { font-size: 12px; padding: 16px; background: var(--color-neutral-50); border-radius: var(--radius-xl); color: var(--color-text-muted-dark); margin-top: 24px; }
.gift-payment-summary { display: grid; gap: 8px; }
.gift-payment-summary > span { font-size: 14px; color: var(--color-text-muted-dark); }
.gift-payment-summary strong { font-size: 32px; line-height: 1.2; }
.gift-payment-summary p, .gift-payment-hint { margin: 0; font-size: 14px; line-height: 1.65; color: var(--color-text-muted-dark); }
.gift-payment-retry { display: grid; gap: 12px; margin: 0; }
.gift-payment-retry .btn, .gift-manage-tools > .btn { min-height: 48px; white-space: normal; line-height: 1.4; }
.gift-payment-retry .gift-error { margin: 0; color: var(--color-red-700); }
.gift-form input[readonly] { background: var(--color-neutral-50); color: var(--color-text-muted-dark); }
.gift-manage-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.gift-manage-tools { display: flex; flex-direction: column; gap: 20px; }
.gift-manage-tools > h2, .gift-manage-tools > .gift-field, .gift-manage-tools > .gift-actions, .gift-manage-tools > .gift-downloads, .gift-manage-tools > .gift-muted, .gift-manage-tools > .gift-private-note, .gift-manage-tools > .btn { margin: 0; }
.gift-delivery-status { min-width: 0; }
.gift-delivery-status .gift-status { max-width: 100%; box-sizing: border-box; margin: 0; line-height: 1.6; }
.gift-delivery-status > p:not(.gift-status) { margin: 12px 0 0; font-size: 14px; line-height: 1.65; overflow-wrap: anywhere; }
.gift-manage-tools .gift-actions .btn { flex-basis: 150px; }
.gift-manage-tools .gift-downloads { justify-content: flex-start; gap: 12px 24px; }
.gift-manage-tools .gift-downloads a { display: inline-flex; align-items: center; min-height: 44px; }
.gift-manage-preview { min-width: 0; }
.gift-recipient { max-width: 900px; }
.gift-recipient > .gift-card { padding: 55px 60px 40px; }
.gift-dialog { border: none; border-radius: 24px; padding: 0; width: min(1100px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow: hidden; background: var(--color-warm-surface); box-sizing: border-box; margin: auto; color: var(--color-brand-brown); }
.gift-dialog::backdrop { background: rgba(40,30,15,.55); }
.gift-dialog[open] { display: flex; flex-direction: column; }
.gift-dialog__header { display: flex; flex: 0 0 auto; justify-content: flex-end; padding: var(--ui-space-1) var(--ui-space-4); }
.gift-dialog__content { min-height: 0; overflow-y: auto; padding: 0 var(--ui-space-5) var(--ui-space-5); }
.gift-dialog-close { flex: 0 0 auto; width: var(--ui-control-height); height: var(--ui-control-height); border: 1px solid var(--color-warm-border); border-radius: 50%; background: var(--color-white); color: var(--color-brand-brown); font-size: 26px; cursor: pointer; }
.gift-dialog .gift-heading { max-width: none; }
.gift-dialog .gift-heading h1 { font-size: var(--ui-title-page); }
@media (max-width: 800px) {
    .gift-builder-grid, .gift-manage-grid { grid-template-columns: 1fr; gap: 28px; }
    .gift-live-preview { position: static; }
    .gift-card--preview { transform: none; }
    .gift-page { padding: 28px 18px 40px; }
    .gift-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); }
    .gift-form, .gift-panel { padding: var(--ui-space-4); }
    .gift-dialog__content { padding: 0 var(--ui-space-3) var(--ui-space-4); }
    .gift-form legend { font-size: 20px; }
    .gift-brand { font-size: 17px; }
    .gift-brand img { width: 32px; height: 32px; margin-right: 4px; }
    .gift-card, .gift-recipient > .gift-card { padding: 32px 22px; }
    .gift-steps { gap: 5px; }
    .gift-steps li { font-size: 11px; gap: 4px; }
    .gift-dialog .gift-heading h1 { font-size: var(--ui-title-page); }
}
@media (prefers-reduced-motion: reduce) { .gift-card--preview { transform: none; } }

.gift-admin-preview-note { margin-bottom: 24px; }
.gift-admin-preview-note a { display: inline-flex; align-items: center; min-height: 44px; }

.gift-next { margin-top: 24px; }
.gift-next h2 { margin: 0 0 12px; font-size: 24px; }
.gift-next p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; }

.gift-manage-tools .giving-share { border:0; padding:0; margin:0; }
.gift-manage-tools [data-share-card] { width:100%; min-height:48px; }
.gift-recipient-preview-link { display:flex; align-items:center; justify-content:center; min-height:44px; margin:0 0 14px; color: var(--ui-link); text-align:center; text-underline-offset:3px; }
.gift-recipient-preview-link:hover { text-decoration:underline; }
.gift-access-note { border-top:1px solid var(--color-warm-border); padding-top:8px; }
.gift-access-note summary { cursor:pointer; min-height:44px; align-content:center; font-size:13px; color:var(--color-text-muted-dark); }
.gift-access-note .gift-private-note { margin:8px 0 0; }
.gift-access-note summary:focus-visible { outline:2px solid var(--color-brand-brown); outline-offset:3px; }

.gift-form .gift-muted { margin-block: var(--ui-space-2); }
