/* Existing brand tokens, typography and .pill controls remain the source of truth. */
.gift-announcement{display:flex;align-items:center;justify-content:center;gap:12px;min-height:36px;padding:8px 16px;background:var(--cream);border-bottom:1px solid #51352918;color:var(--ink);font-size:.8125rem;font-weight:700;text-align:center;line-height:1.4}
.gift-announcement[hidden]{display:none}.gift-announcement>span:first-child{color:var(--orange);font-size:18px}.gift-announcement:hover{text-decoration:underline;text-underline-offset:4px}
.gift-event-card{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(24px,4vw,60px);padding:clamp(24px,4vw,48px);border:1px solid #51352918;border-radius:28px;background:var(--cream);margin:24px 0}
.gift-event-art{display:grid;gap:12px;min-width:0}.gift-event-art img{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:contain;border-radius:18px}
.gift-event-copy h3{font-size:clamp(1.8rem,3vw,2.65rem);line-height:1.15;letter-spacing:-.025em;margin:18px 0 10px}.gift-event-date{font-size:.875rem;margin:0 0 20px;color:var(--mocha)}
.gift-rewards{display:grid;gap:12px;margin:20px 0 24px}.gift-rewards>div{display:flex;align-items:center;gap:18px;padding:18px 20px;border:1px solid #51352918;border-radius:18px;background:color-mix(in srgb,var(--yellow) 16%,var(--cream))}.gift-rewards>div+div{background:color-mix(in srgb,var(--meadow) 20%,var(--cream))}.gift-rewards strong{font-size:1.45rem;flex:0 0 84px;letter-spacing:-.025em}.gift-rewards span{font-weight:700;line-height:1.4}.gift-rewards small{display:block;font-size:.8125rem;font-weight:400;color:var(--mocha);margin-top:4px}
.gift-story h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.13;letter-spacing:-.035em;max-width:850px;margin:22px 0}.gift-story-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center;margin-top:30px}.gift-story .gift-terms{font-size:.8125rem;line-height:1.65;margin-top:22px}
#details .bag-gifts{margin:22px 0;padding:22px;border-radius:20px;border:1px solid #51352918;background:color-mix(in srgb,var(--yellow) 12%,var(--cream));color:var(--ink)}
.gift-heading{display:flex;align-items:flex-start;gap:12px}.gift-heading>span{font-size:25px;line-height:1.15;color:var(--orange)}#details .gift-heading h3{font-size:1.05rem;line-height:1.4;letter-spacing:0;margin:0}#details .gift-heading p{font-size:.875rem;margin:5px 0 0;line-height:1.5}
.gift-progress{display:block;width:100%;height:7px;border:0;border-radius:99px;overflow:hidden;appearance:none;background:#51352918;margin:20px 0 10px}.gift-progress::-webkit-progress-bar{background:#51352918;border-radius:99px}.gift-progress::-webkit-progress-value{background:var(--orange);border-radius:99px}.gift-progress::-moz-progress-bar{background:var(--orange);border-radius:99px}.gift-milestones{display:flex;justify-content:space-between;gap:12px;color:var(--mocha);font-size:.75rem}.gift-milestones .is-unlocked{color:var(--ink);font-weight:700}
.gift-picker{min-width:0;border:0;padding:0;margin:24px 0 14px}.gift-picker legend{font-size:.9375rem;font-weight:700;margin-bottom:12px;padding:0}.gift-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.gift-option{position:relative;cursor:pointer;min-width:0;text-align:center;font-size:.6875rem;line-height:1.4}.gift-option input{position:absolute;inset:4px auto auto 4px;width:16px;height:16px;opacity:0}.gift-option>span:last-child{display:block;padding:7px 0}.gift-card-photo{display:block;position:relative;overflow:hidden;aspect-ratio:2/3;border:2px solid transparent;border-radius:10px;background:var(--cream)}.gift-card-photo img{position:absolute!important;width:100%!important;max-width:none!important;height:100%!important;object-fit:contain;left:0;top:0;border-radius:0!important}.gift-check{display:none;position:absolute;right:3px;top:3px;background:var(--ink);color:var(--cream);border-radius:50%;width:20px;height:20px;line-height:20px;font-size:12px}.gift-option:has(input:checked) .gift-card-photo{border-color:var(--orange)}.gift-option:has(input:checked) .gift-check{display:block}.gift-option:has(input:focus-visible) .gift-card-photo{outline:3px solid var(--ink);outline-offset:3px}.gift-option:has(input:disabled){opacity:.65;cursor:wait}
.gift-summary{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:.8125rem;padding:12px 0;border-block:1px solid #51352918}.gift-summary strong{color:var(--ink);font-size:.75rem}#details .gift-selection-status{font-size:.75rem;line-height:1.5;margin:10px 0 0}.gift-terms-details{margin-top:14px;font-size:.75rem;line-height:1.6}.gift-terms-details summary{cursor:pointer;min-height:36px;display:list-item;padding:8px 0;color:var(--mocha)}#details .gift-terms-details p{font-size:.75rem}.gift-details-link{display:inline-block;font-size:.8125rem;text-decoration:underline;text-underline-offset:4px;margin-top:10px}
@media(max-width:640px){.gift-announcement{gap:8px;font-size:.6875rem;min-height:34px;padding:7px 12px}.gift-event-card{grid-template-columns:1fr;gap:20px;padding:22px;border-radius:22px;margin:20px 0}.gift-event-card .gift-event-art{grid-template-columns:1fr 1fr;gap:8px}.gift-event-card .gift-event-art img{aspect-ratio:1.2;object-fit:cover;border-radius:12px}.gift-event-copy h3{font-size:1.8rem;margin-top:14px}.gift-rewards{gap:10px;margin:16px 0 20px}.gift-rewards>div{padding:14px;gap:12px}.gift-rewards strong{font-size:1.25rem;flex-basis:68px}.gift-rewards span{font-size:.875rem}.gift-rewards small{font-size:.75rem}.gift-story-grid{grid-template-columns:1fr;gap:16px;margin-top:20px}.gift-story-grid .gift-event-art{grid-template-columns:1fr 1fr;gap:8px}.gift-story-grid .gift-event-art img{border-radius:12px}.gift-story h1{font-size:2rem}.gift-story .event-story-lead{font-size:1rem}#details .bag-gifts{padding:16px;margin:18px 0;border-radius:16px}.gift-options{gap:7px}.gift-heading{gap:9px}#details .gift-heading h3{font-size:.9375rem}.gift-milestones{font-size:.6875rem}.gift-card-photo{border-radius:8px}.gift-option>span:last-child{min-height:36px}.gift-terms-details summary{min-height:44px}}
/* Compact mobile empty state: a small illustration, one short paragraph. */
.events-mobile-copy{display:none}
@media(max-width:700px){#events .events-stay-tuned{grid-template-columns:1fr;padding:24px 20px;margin-top:20px;border-radius:24px;gap:14px;text-align:center}#events .events-stay-tuned>img{width:104px;height:122px;max-height:122px;margin:auto}#events .events-stay-tuned .event-status{font-size:.75rem;padding:7px 13px}#events .events-stay-tuned h3{font-size:clamp(1.4rem,5.5vw,1.8rem);line-height:1.2;margin:12px auto;max-width:310px}#events .events-stay-tuned .events-desktop-copy{display:none}#events .events-stay-tuned .events-mobile-copy{display:block;font-size:.875rem;line-height:1.6;max-width:310px;margin:10px auto}#events .events-stay-tuned .events-thanks{display:block;margin-top:14px;font-size:.875rem}#events:has(.events-stay-tuned){padding-bottom:36px}}
/* Interactive gift showcase. The gallery is a preview; gift selection stays in Bag. */
.gift-story-heading{max-width:780px;margin-bottom:32px}.gift-story-heading .gift-date{display:inline-block;font-size:.8125rem;color:var(--mocha);margin-left:16px}.gift-story-heading h1{margin:22px 0 16px}.gift-story-heading h1 em{font-style:normal;color:#aa5d36}.gift-story-heading .event-story-lead{font-size:1.0625rem;max-width:600px;margin:0}
.gift-story-grid{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:clamp(28px,5vw,72px);align-items:center;margin-top:0}.gift-story-offer{min-width:0}.gift-eyebrow{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--mocha)}.gift-story-offer h2{font-size:clamp(1.6rem,2.7vw,2.25rem);line-height:1.2;margin:12px 0 24px}.gift-story-offer>p{font-size:.9375rem;line-height:1.7}.gift-story-offer .gift-offer-note{font-size:.75rem;color:var(--mocha);margin-top:14px}.gift-story-offer .gift-terms-details{border-top:1px solid #51352920;padding-top:8px}
.gift-showcase{min-width:0;padding:18px;border:1px solid #51352918;border-radius:28px;background:#f4f0e5;color:var(--ink)}.gift-showcase [hidden]{display:none!important}.gift-showcase button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation}.gift-showcase button:focus-visible{outline:3px solid var(--orange);outline-offset:3px}.gift-view-tabs{display:flex;padding:4px;background:#e9e5d9;border-radius:50px;gap:4px}.gift-view-tabs button{flex:1;border:0;background:transparent;min-height:48px;border-radius:50px;font-weight:700;font-size:.875rem}.gift-view-tabs small{font-size:.6875rem;display:inline-block;font-weight:400;margin-left:6px}.gift-view-tabs button[aria-pressed=true]{background:var(--cream);box-shadow:0 2px 6px #5135290d}
.gift-stage{height:392px;position:relative;display:flex;align-items:center;justify-content:center;perspective:1000px;touch-action:pan-y;margin:14px 0 0;isolation:isolate;background:radial-gradient(ellipse at center,#fffaf0 0%,#fffaf000 70%)}.gift-stage-note{position:absolute;top:10px;left:12px;font-size:.6875rem;color:var(--mocha);writing-mode:vertical-rl;letter-spacing:.06em}.gift-postcard-object{width:214px;aspect-ratio:1240/1748;margin-bottom:32px;transform:rotate(-4deg)}.gift-flipper{position:relative;width:100%;height:100%;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.2,.7,.2,1)}.gift-flipper.is-flipped{transform:rotateY(180deg)}.gift-showcase .gift-flipper img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;border-radius:3px;backface-visibility:hidden;box-shadow:0 16px 30px #51352924;user-select:none}.gift-back{transform:rotateY(180deg)}.gift-arrow{position:absolute;top:45%;width:44px;height:44px;border-radius:50%;border:1px solid #51352926;background:var(--cream);font-size:20px!important;display:grid;place-items:center}.gift-prev{left:4px}.gift-next{right:4px}.gift-arrow:hover{background:var(--peach,#ffe1c4)}.gift-flip-button{position:absolute;bottom:6px;left:50%;transform:translateX(-50%);background:var(--cream);border:1px solid #51352930;border-radius:50px;min-height:40px;padding:8px 18px;font-size:.8125rem!important;white-space:nowrap}.gift-gallery-caption{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:14px 6px 12px}.gift-gallery-caption strong{font-size:.9375rem}.gift-gallery-caption>span{font-size:.6875rem;color:var(--mocha);white-space:nowrap}.gift-thumbnails{display:flex;justify-content:center;gap:12px}.gift-thumbnails button{padding:4px;border:2px solid transparent;border-radius:9px;background:transparent;position:relative;min-width:48px}.gift-thumbnails button[aria-pressed=true]{border-color:var(--orange);background:var(--cream)}.gift-thumbnails img{display:block;width:45px;height:63px;object-fit:contain;border-radius:3px}.gift-thumbnails span{display:none}.gift-gallery-hint{text-align:center!important;font-size:.6875rem!important;color:var(--mocha);margin:12px 0 0!important}.gift-showcase .gift-tote-object{width:90%;height:335px;object-fit:contain;mix-blend-mode:multiply;user-select:none;animation:gift-view-in .3s ease}.gift-showcase .gift-tote-object.is-folded{height:auto;max-height:335px;border-radius:14px;mix-blend-mode:normal}.gift-tote-views{display:flex;justify-content:center;gap:8px;margin:18px 0}.gift-tote-views button{border:1px solid #51352930;background:transparent;border-radius:50px;min-height:44px;padding:8px 22px;font-size:.8125rem}.gift-tote-views button[aria-pressed=true]{background:var(--ink);color:var(--cream)}
@keyframes gift-view-in{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:none}}
@media(max-width:700px){.gift-story-heading{margin-bottom:24px}.gift-story-heading h1{font-size:2.15rem;line-height:1.12;margin:18px 0 12px}.gift-story-heading .event-story-lead{font-size:.9375rem}.gift-story-heading .gift-date{display:block;margin:10px 0 0;font-size:.75rem}.gift-story-grid{grid-template-columns:1fr;gap:28px}.gift-showcase{padding:12px;border-radius:22px}.gift-view-tabs button{font-size:.8125rem;min-height:44px}.gift-view-tabs small{font-size:.625rem;margin-left:3px}.gift-stage{height:330px;margin-top:8px}.gift-postcard-object{width:174px;margin-bottom:30px}.gift-stage-note{left:5px;top:12px;font-size:.625rem}.gift-arrow{width:42px;height:44px}.gift-prev{left:0}.gift-next{right:0}.gift-gallery-caption{margin-top:12px}.gift-gallery-caption strong{font-size:.875rem}.gift-thumbnails img{width:38px;height:54px}.gift-thumbnails{gap:10px}.gift-showcase .gift-tote-object{height:290px}.gift-showcase .gift-tote-object.is-folded{max-height:290px}.gift-story-offer h2{font-size:1.7rem;margin:10px 0 18px}.gift-story-offer .pill{display:flex;justify-content:center;width:100%;text-align:center}.gift-event-card{grid-template-columns:1fr;padding:18px}.gift-stage-note{pointer-events:none}}
@media(prefers-reduced-motion:reduce){.gift-flipper{transition:none}.gift-showcase .gift-tote-object{animation:none}}
.gift-showcase[data-mode=tote] .gift-stage{background:#f4f0e5}

/* Matching photography for both tote views; no color blending or faded artwork. */
.gift-showcase[data-mode=tote] .gift-stage{height:auto;aspect-ratio:1;border-radius:16px;overflow:hidden;background:#f5e6d4}
.gift-showcase[data-mode=tote] .gift-stage-note{display:none}
.gift-showcase[data-mode=tote] .gift-tote-object,.gift-showcase[data-mode=tote] .gift-tote-object.is-folded{display:block;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:16px;mix-blend-mode:normal;animation:none}
.gift-tote-views{gap:12px;margin:14px 0 4px}.gift-tote-views button{display:flex;align-items:center;gap:9px;padding:6px 14px 6px 6px;border-radius:14px;background:var(--cream)}.gift-tote-views button img{width:40px;height:40px;object-fit:cover;border-radius:8px}
/* The Events listing uses the same image / caption / action structure as ACE. */
#events .gift-list-card{display:block;padding:0;overflow:hidden}
.gift-list-art{display:block;width:100%;overflow:hidden;background:#f5e6d4}
.gift-list-art>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain}
#events .gift-list-card .event-update-copy>.event-mini-excerpt{display:none}
.gift-preview-label{display:block;font-size:.6875rem;font-weight:700;color:var(--mocha);margin-bottom:7px;letter-spacing:.03em}
.gift-heading p strong{color:var(--ink);font-size:1.1em}
.gift-picker legend small{font-size:.6875rem;color:var(--mocha);font-weight:400;margin-left:8px}
.gift-progress{height:9px;margin-top:18px}
@media(max-width:760px){#events .gift-list-card{padding:10px}.gift-list-art{border-radius:12px}#events .gift-list-card .event-update-copy>.event-mini-excerpt{display:block}#events .gift-list-card .event-update-copy>.event-desktop-excerpt{display:none}}

/* Keep gift selection small; expand only while choosing a design. */
#details .bag-gifts{padding:16px 18px;margin:16px 0}
#details .bag-gifts .gift-heading h3{font-size:1rem}
#details .bag-gifts .gift-heading p{font-size:.8125rem;margin-top:3px}
.gift-preview-label{margin-bottom:3px;font-size:.625rem}
.gift-choice-drawer{margin-top:12px;border-top:1px solid #51352918}
.gift-choice-drawer>summary{display:flex;align-items:center;gap:10px;cursor:pointer;min-height:56px;padding:10px 0 0;list-style:none;font-size:.8125rem}
.gift-choice-drawer>summary::-webkit-details-marker{display:none}
.gift-choice-drawer>summary img{width:32px;height:45px;object-fit:contain;border-radius:3px}
.gift-choice-drawer>summary small{display:block;font-size:.6875rem;color:var(--mocha);font-weight:400;margin-top:2px}
.gift-change{margin-left:auto;white-space:nowrap;text-decoration:underline;text-underline-offset:3px;font-size:.75rem}
.gift-choice-drawer[open] .gift-change{visibility:hidden}
#details .bag-gifts .gift-picker{margin:10px 0 0}
#details .bag-gifts .gift-picker legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#details .bag-gifts .gift-options{grid-template-columns:repeat(4,minmax(0,100px));justify-content:start;gap:12px}
#details .bag-gifts .gift-card-photo{height:112px;aspect-ratio:auto;width:100%;background:transparent}
#details .bag-gifts .gift-option>span:last-child{font-size:.625rem;min-height:0;padding:4px 0}
#details .bag-gifts .gift-terms-details{margin-top:8px}
#details .bag-gifts .gift-terms-details summary{min-height:30px;padding:6px 0;font-size:.6875rem}
#details .bag-detail #shop-checkout{position:sticky;bottom:0;z-index:3;display:flex;justify-content:center;box-shadow:0 0 0 8px var(--cream);margin:14px 0 8px}
@media(max-width:640px){#details .bag-gifts{padding:12px;margin:12px 0}#details .bag-gifts .gift-options{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}#details .bag-gifts .gift-card-photo{height:86px}.gift-choice-drawer>summary{gap:8px}.gift-change{font-size:.6875rem}#details .bag-gifts .gift-heading h3{font-size:.875rem}}

/* Quiet movement and an editorial stage for both gifts. */
.gift-stage{cursor:grab;overflow:hidden;border-radius:18px}.gift-stage:active{cursor:grabbing}.gift-stage:focus-visible{outline:2px solid var(--orange);outline-offset:4px}
.gift-postcard-object{will-change:transform}.gift-flip-button{cursor:pointer}
.gift-auto-toggle{display:block;margin:10px auto 0;padding:5px 12px;min-height:32px;border:0;background:transparent;font-size:.625rem!important;color:var(--mocha)!important;text-decoration:underline;text-underline-offset:3px}
.gift-showcase[data-mode=tote]{background:linear-gradient(145deg,#f9efdc,#eee7d8)}
.gift-showcase[data-mode=tote] .gift-stage{position:relative;aspect-ratio:1.12;background:radial-gradient(ellipse at 50% 35%,#fff9ee 0%,#f0dec2 75%);border:1px solid #ffffff90;isolation:isolate}
.gift-showcase[data-mode=tote] .gift-stage:before{content:'A LITTLE JOY, TO GO';position:absolute;top:16px;left:0;right:0;z-index:2;text-align:center;font-size:.625rem;letter-spacing:.19em;color:#806348;pointer-events:none}
.gift-showcase[data-mode=tote] .gift-stage:after{content:'✿';position:absolute;right:18px;bottom:10px;font-size:38px;color:#d58045;opacity:.6;pointer-events:none;transform:rotate(-12deg)}
.gift-showcase[data-mode=tote] .gift-tote-object,.gift-showcase[data-mode=tote] .gift-tote-object.is-folded{width:88%;height:88%;margin-top:18px;object-fit:contain;mix-blend-mode:multiply;border-radius:22px;animation:gift-tote-float 6s ease-in-out infinite}
.gift-showcase[data-mode=tote] .gift-tote-object.is-folded{width:84%;height:84%;transform:rotate(-4deg)}
.gift-showcase[data-mode=tote] .gift-gallery-caption strong{font-size:1.0625rem}
.gift-showcase[data-paused=true] .gift-tote-object{animation-play-state:paused}
@keyframes gift-tote-float{0%,100%{translate:0 0}50%{translate:0 -7px}}
@media(prefers-reduced-motion:reduce){.gift-showcase[data-mode=tote] .gift-tote-object{animation:none}.gift-auto-toggle{display:none}}

/* One sliding pill, with the cutout tote floating on the site palette. */
.gift-view-tabs{position:relative;isolation:isolate;gap:0}
.gift-view-tabs:before{content:'';position:absolute;z-index:0;left:4px;top:4px;bottom:4px;width:calc((100% - 8px)/2);border-radius:50px;background:var(--cream);box-shadow:0 2px 6px #5135290d;transform:translateX(0);transition:transform .42s cubic-bezier(.22,.8,.25,1);pointer-events:none}
.gift-showcase[data-mode=tote] .gift-view-tabs:before{transform:translateX(100%)}
.gift-view-tabs button,.gift-view-tabs button[aria-pressed=true]{position:relative;z-index:1;background:transparent;box-shadow:none}
.gift-showcase[data-mode=tote] .gift-tote-object,.gift-showcase[data-mode=tote] .gift-tote-object.is-folded{mix-blend-mode:normal;border-radius:0;filter:drop-shadow(0 16px 12px #73554826)}
.gift-tote-views button img{background:transparent;object-fit:contain}
@media(prefers-reduced-motion:reduce){.gift-view-tabs:before{transition:none}}
/* Identical gallery rows prevent layout jumps between postcard and tote tabs. */
.gift-showcase{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:56px 392px 32px 88px 36px;gap:10px}
.gift-showcase .gift-view-tabs{grid-row:1}
.gift-showcase .gift-stage,.gift-showcase[data-mode=tote] .gift-stage{grid-row:2;height:392px;aspect-ratio:auto;width:100%;margin:0;box-sizing:border-box}
.gift-showcase .gift-gallery-caption{grid-row:3;margin:0 6px;min-width:0}
.gift-showcase .gift-thumbnails,.gift-showcase .gift-tote-views{grid-row:4;margin:0;align-items:center;justify-content:center}
.gift-showcase .gift-gallery-hint{grid-row:5;align-self:center;line-height:1.5}
.gift-showcase .gift-gallery-caption strong,.gift-showcase[data-mode=tote] .gift-gallery-caption strong{font-size:.9375rem}
.gift-showcase[data-mode=tote] .gift-tote-object,.gift-showcase[data-mode=tote] .gift-tote-object.is-folded{max-height:340px}
@media(max-width:700px){.gift-showcase{grid-template-rows:52px 330px 32px 76px 36px;gap:8px}.gift-showcase .gift-stage,.gift-showcase[data-mode=tote] .gift-stage{height:330px}.gift-showcase[data-mode=tote] .gift-tote-object,.gift-showcase[data-mode=tote] .gift-tote-object.is-folded{max-height:286px}.gift-showcase .gift-gallery-caption strong,.gift-showcase[data-mode=tote] .gift-gallery-caption strong{font-size:.875rem}}

/* A compact glimpse of the next reward, and a visible tote once unlocked. */
.gift-invitation{display:flex;align-items:center;justify-content:space-between;gap:18px}
.gift-invitation .gift-heading{flex:1;min-width:0}
.gift-next-preview{flex:0 0 108px;text-align:center;align-self:center}
.gift-next-preview small{display:block;font-size:.625rem;color:var(--mocha);margin-top:5px}
.gift-mini-fan{display:block;position:relative;width:108px;height:65px;margin:auto}
.gift-mini-fan img{position:absolute;top:2px;width:37px;height:54px;object-fit:cover;border-radius:3px;border:1px solid #fffaf0;box-shadow:0 3px 6px #51352924}
.gift-mini-fan img:nth-child(1){left:4px;transform:rotate(-15deg)}.gift-mini-fan img:nth-child(2){left:25px;top:0;transform:rotate(-5deg)}.gift-mini-fan img:nth-child(3){left:48px;top:0;transform:rotate(5deg)}.gift-mini-fan img:nth-child(4){left:69px;transform:rotate(15deg)}
#details .gift-next-tote{display:block;width:70px;height:74px;object-fit:contain;margin:auto;filter:drop-shadow(0 3px 3px #51352920)}
.gift-tote-reward{display:flex;align-items:center;gap:10px;min-height:64px;padding:10px 0 0;margin-top:8px;border-top:1px solid #51352918;font-size:.8125rem}
#details .gift-tote-reward img{width:42px;height:52px;object-fit:contain;background:transparent}
.gift-tote-reward>span{flex:1;min-width:0}.gift-tote-reward small{display:block;color:var(--mocha);font-size:.6875rem;margin-top:3px;line-height:1.4}
.gift-free-badge{font-size:.625rem;letter-spacing:.05em;border-radius:20px;background:#e6edcf;color:#4e6038;padding:5px 9px}
@media(max-width:640px){.gift-invitation{gap:8px}.gift-next-preview{flex-basis:88px}.gift-mini-fan{transform:scale(.8);transform-origin:center;width:108px;margin-left:-10px;height:58px}.gift-invitation .gift-heading>span{display:none}#details .gift-next-tote{width:58px;height:64px}.gift-next-preview small{margin-top:0}.gift-tote-reward small{font-size:.625rem}}

/* Real postcard artwork stays separate from the generated product-photo background.
   Each print retains the source 1240:1748 ratio, with no crop or image filters. */
.gift-promo-scene{display:block;position:relative;isolation:isolate;width:100%;aspect-ratio:3/2;overflow:hidden;background:#f3e5d1;container-type:inline-size}
.gift-promo-scene>.gift-promo-background{display:block;position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain!important;border-radius:0}
.gift-promo-print{display:block;position:absolute;z-index:1;width:20.5%;aspect-ratio:1240/1748;padding:.45%;box-sizing:content-box;background:#fffaf0;box-shadow:0 .45cqw .8cqw #593a2540;transform-origin:center}
.gift-promo-print-1{left:49%;top:4.6%;rotate:-3deg}
.gift-promo-print-2{left:74%;top:5.6%;rotate:3deg}
.gift-promo-print-3{left:49.4%;top:51.7%;rotate:-2deg}
.gift-promo-print-4{left:74%;top:52%;rotate:3deg}
.gift-promo-scene .gift-promo-print>img{display:block;position:absolute;inset:2.1%;width:95.8%;height:95.8%;max-height:none;object-fit:contain!important;border-radius:0;transform:none;filter:none}
.gift-promo-scene.media-loading::before{z-index:2}
.gift-promo-scene.media-error::after{content:"Image unavailable";position:absolute;inset:0;z-index:2;display:grid;place-items:center;background:#f3e5d1;color:var(--mocha)}
#event-teaser.event-scrapbook .gift-promo-scene{aspect-ratio:3/2}
#event-teaser.event-scrapbook.event-smooth .event-post-slide .gift-promo-cover{height:auto;max-height:none;aspect-ratio:auto}
#event-teaser.event-scrapbook.event-smooth .event-post-slide .gift-promo-scene .gift-promo-print>img{inset:2.1%;width:95.8%;height:95.8%;object-fit:contain!important}
