#SECTION39.wedding-gift{height:auto;min-height:480px;padding:54px 24px 48px;background:#f7f8f2;color:#274c39;box-sizing:border-box;text-align:center}
.wedding-gift .gift-content{max-width:580px;margin:auto}
.wedding-gift h2,.gift-dialog h2{font:600 28px/1.4 Georgia,serif;letter-spacing:2px;margin:6px 0 16px;color:#274c39}
.gift-flourish{display:block;font:32px/1.2 Georgia,serif;color:#7ba381}
.wedding-gift .gift-trigger{position:relative;display:block;width:260px;height:280px;margin:10px auto 24px;padding:0;border:0;background:transparent;color:#464646;cursor:pointer;overflow:visible}
.gift-trigger .gift-stage{position:relative;display:flex;width:100%;height:100%;align-items:flex-end;justify-content:center;padding-bottom:26px;box-sizing:border-box}
.gift-trigger .gift-bob{position:relative;display:block;width:200px;height:220px;animation:gift-bob 3s ease-in-out infinite}
.gift-trigger img{position:absolute;pointer-events:none;object-fit:contain;filter:drop-shadow(0 2px 3px #0004)}
.gift-trigger .gift-box{left:50%;bottom:0;width:170px;max-height:220px;margin-left:-85px;z-index:2;filter:drop-shadow(0 10px 18px #0004);transform-origin:50% 100%}
.gift-shadow{position:absolute;left:50%;bottom:-8px;width:144px;height:12px;margin-left:-72px;border-radius:50%;background:#0007;filter:blur(4px);animation:gift-shadow 3s ease-in-out infinite}
.gift-trigger .gift-decor{z-index:1}
.gift-trigger .gift-decor-1{left:-20px;top:10px;width:34px;transform:rotate(-22deg);--fly-x:-14px;--fly-y:-55px;--delay:0s;--duration:1.6s}
.gift-trigger .gift-decor-2{left:168px;top:2px;width:38px;transform:rotate(20deg);--fly-x:14px;--fly-y:-60px;--delay:.15s;--duration:1.8s}
.gift-trigger .gift-decor-3{left:-16px;top:120px;width:26px;transform:rotate(-18deg);--fly-x:-10px;--fly-y:-65px;--delay:.3s;--duration:1.4s}
.gift-trigger .gift-decor-4{left:182px;top:114px;width:24px;transform:rotate(14deg);--fly-x:12px;--fly-y:-70px;--delay:.45s;--duration:1.7s}
.gift-trigger .gift-decor-5{left:-8px;top:172px;width:44px;z-index:3;transform:rotate(8deg);--fly-x:-8px;--fly-y:-80px;--delay:.1s;--duration:1.9s}
.gift-trigger .gift-decor-6{left:26px;top:182px;width:26px;z-index:3;transform:rotate(-10deg);--fly-x:10px;--fly-y:-75px;--delay:.35s;--duration:1.3s}
.gift-trigger .gift-decor-7{left:118px;top:176px;width:40px;z-index:3;transform:rotate(-14deg);--fly-x:14px;--fly-y:-72px;--delay:.2s;--duration:1.7s}
.gift-sparkle{position:absolute;color:#7cb882;z-index:4;pointer-events:none;animation:gift-sparkle 2s ease-in-out infinite}
.gift-sparkle-0{top:8%;left:14%;font-size:22px}.gift-sparkle-1{top:18%;right:10%;font-size:16px;animation-delay:.6s}.gift-sparkle-2{top:32%;left:5%;font-size:14px;animation-delay:1.2s}.gift-sparkle-3{top:26%;right:5%;font-size:14px;animation-delay:1.7s}
.gift-trigger .gift-hint{position:absolute;bottom:0;left:0;width:100%;font:500 13px/1.5 sans-serif;animation:gift-hint 2s ease-in-out infinite}
.gift-confetti{position:absolute;left:50%;bottom:187px;pointer-events:none;z-index:4}
.gift-confetti i{position:absolute;opacity:0;width:10px;height:6px;background:#7cb882;border-radius:2px;--x:-55px;--y:-130px}
.gift-confetti i:nth-child(2){--x:46px;--y:-150px;background:#ec4899;border-radius:50%}.gift-confetti i:nth-child(3){--x:-12px;--y:-160px;background:#22c55e}.gift-confetti i:nth-child(4){--x:28px;--y:-115px;background:#3b82f6;border-radius:50%}.gift-confetti i:nth-child(5){--x:-34px;--y:-105px;background:#a855f7}.gift-confetti i:nth-child(6){--x:58px;--y:-88px;background:#facc15;clip-path:polygon(50% 0,100% 100%,0 100%);height:10px}.gift-confetti i:nth-child(7){--x:8px;--y:-170px;background:#1f3a25}.gift-confetti i:nth-child(8){--x:-46px;--y:-78px;background:#f97316;border-radius:50%}
.gift-trigger:is(:hover,:focus-visible,.is-opening) .gift-box{animation:gift-pop .7s cubic-bezier(.34,1.56,.64,1) forwards}
.gift-trigger:is(:hover,:focus-visible,.is-opening) .gift-decor{animation:gift-decor var(--duration) ease-in-out var(--delay) infinite}
.gift-trigger:is(:hover,:focus-visible,.is-opening) .gift-confetti i{animation:gift-confetti 1.1s ease-out calc(var(--i)*.06s) infinite}
.wedding-gift .gift-message{font:15px/1.8 Georgia,serif;margin:0 auto;max-width:440px;color:#596a5e}
.gift-dialog{position:fixed;inset:0;margin:auto;width:min(440px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:90vh;max-height:90dvh;padding:0;border:1px solid #d8e2d5;border-radius:20px;background:#f7f8f2;color:#274c39;overflow:auto;box-sizing:border-box;box-shadow:0 24px 80px #0004}
.gift-dialog.has-two-accounts{width:min(800px,calc(100vw - 32px))}
.gift-dialog .gift-accounts{display:grid;grid-template-columns:minmax(0,1fr);gap:20px}
.gift-dialog.has-two-accounts .gift-accounts{grid-template-columns:repeat(2,minmax(0,1fr))}
.gift-dialog .gift-recipient{font:600 20px/1.5 Georgia,serif;margin:0 0 14px;color:#274c39}
.gift-dialog:not([open]){display:none}
.gift-dialog::backdrop{background:#102a1fcc;backdrop-filter:blur(4px)}
.gift-dialog .gift-dialog-content{position:relative;padding:30px 28px;text-align:center}
.gift-dialog h2{font-size:26px;letter-spacing:.5px;margin-bottom:8px}
.gift-dialog .gift-dialog-intro{font:14px/1.6 sans-serif;color:#657566;margin:0 0 20px}
.gift-dialog .gift-close{position:absolute;top:10px;right:12px;width:36px;height:36px;border:0;border-radius:50%;background:#e8eee5;color:#274c39;font:28px/1 sans-serif;cursor:pointer}
.gift-dialog .gift-account{min-width:0;padding:20px;border:1px solid #dce5d7;border-radius:14px;background:#fff}
.gift-dialog .gift-qr{display:block;width:min(260px,100%);height:auto;aspect-ratio:1;object-fit:contain;margin:0 auto 16px}
.gift-dialog .gift-bank{overflow-wrap:anywhere;font:600 16px/1.5 sans-serif;margin:0 0 4px}
.gift-dialog .gift-account-number{font:600 21px/1.5 sans-serif;letter-spacing:1px;margin:0 0 4px;overflow-wrap:anywhere}
.gift-dialog .gift-account-name{font:14px/1.6 sans-serif;margin:0 0 18px;overflow-wrap:anywhere}
.gift-dialog .gift-save{display:inline-block;padding:11px 28px;border-radius:24px;background:#274c39;color:white;text-decoration:none;font:500 15px/1.5 sans-serif}
.gift-trigger:focus-visible,.gift-dialog :is(button,a):focus-visible{outline:3px solid #b18b4d;outline-offset:4px}
html.gift-modal-open{overflow:hidden}
@keyframes gift-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes gift-shadow{0%,100%{transform:scaleX(1);opacity:.3}50%{transform:scaleX(.9);opacity:.18}}
@keyframes gift-sparkle{0%,100%{opacity:0;transform:scale(.4)}50%{opacity:1;transform:scale(1.15)}}
@keyframes gift-hint{0%,100%{opacity:.45}50%{opacity:1}}
@keyframes gift-pop{0%{transform:translateY(0) scale(1) rotate(0)}45%{transform:translateY(-14px) scale(1.08) rotate(-3deg)}100%{transform:translateY(-8px) scale(1.05)}}
@keyframes gift-decor{0%{translate:0 0;opacity:1}55%{translate:calc(var(--fly-x)*.4) calc(var(--fly-y)*.5);opacity:1}80%{translate:var(--fly-x) var(--fly-y);opacity:0}81%{translate:0 0;opacity:0}100%{translate:0 0;opacity:1}}
@keyframes gift-confetti{0%{transform:translate(0,0) rotate(0);opacity:0}15%{opacity:1}100%{transform:translate(var(--x),var(--y)) rotate(540deg);opacity:0}}
@media(max-width:767px){.gift-dialog.has-two-accounts .gift-accounts{grid-template-columns:minmax(0,1fr)}#SECTION39.wedding-gift{padding:40px 20px}.wedding-gift h2{font-size:25px}.gift-dialog .gift-dialog-content{padding:26px 18px}.gift-dialog .gift-account{min-width:0;padding:16px}}
@media(prefers-reduced-motion:reduce){.gift-trigger *,.gift-trigger:is(:hover,:focus-visible,.is-opening) *{animation:none!important;transition:none!important}.gift-trigger .gift-sparkle{opacity:.6}}
