
.christmas-gift{box-sizing:border-box;width:min(460px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:0;border:1px solid #e8cfab;border-radius:30px;background:#fff9f1;color:#385647;box-shadow:0 28px 100px #102d3360;overflow:auto;isolation:isolate}
.christmas-gift::backdrop{background:#172f3eaa;backdrop-filter:blur(7px)}
.gift-layout{position:relative;display:flex;flex-direction:column;align-items:center;overflow:hidden;padding:34px 28px 22px;text-align:center;background:radial-gradient(ellipse at 12% 12%,#fae1e199,transparent 52%),radial-gradient(ellipse at 90% 50%,#d5e9ee88,transparent 50%),linear-gradient(#fff9f1,#fff6ee)}
.gift-layout:before{content:"";position:absolute;inset:0 0 auto;height:290px;background:linear-gradient(#fff9f155,#fff9f1),url('/assets/welcome-forest.webp') center 35%/cover;opacity:.28;z-index:-1;pointer-events:none}
.gift-layout:after{content:"";position:absolute;inset:9px;border:1px solid #d7b78070;border-radius:23px;pointer-events:none}
.gift-copy{position:relative;z-index:1;padding:0}.gift-eyebrow{display:block;font-family:Questrial,sans-serif;font-size:.61rem;letter-spacing:.12em;font-weight:700;margin:4px 8px 14px;color:#716049}.gift-copy h2{font-family:Fredoka,sans-serif;font-size:1.7rem;font-weight:600;line-height:1.14;letter-spacing:-.025em;margin:0 auto 13px;max-width:355px;color:#365443}.gift-copy h2 em{font-style:normal;color:#a45868}.gift-copy p{font-family:Questrial,sans-serif;font-size:.96rem;line-height:1.5;margin:0 0 8px;color:#53655d}
.gift-cover{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;padding:17px 0 10px}.gift-cover img{position:relative;display:block;width:clamp(145px,23vh,205px);height:auto;border-radius:7px;transform:rotate(-5deg);box-shadow:7px 10px 0 -3px #e9d8bd,10px 15px 25px #5d667333;z-index:1}.gift-halo{position:absolute;top:0;left:50%;width:270px;height:260px;transform:translateX(-50%);background:radial-gradient(ellipse,#ffe4acbb 0,#ffedcc88 35%,transparent 68%);filter:blur(5px)}.gift-cover-caption{position:relative;z-index:1;font-family:Questrial,sans-serif;font-size:.77rem;margin-top:21px;color:#766044}.gift-orbit{position:absolute;z-index:2;color:#be944e;text-shadow:0 0 14px #fff;font-size:30px;animation:gift-twinkle 4s ease-in-out infinite}.gift-orbit-one{left:15%;top:26%}.gift-orbit-two{right:13%;top:13%;color:#8baebc;font-size:23px;animation-delay:1s}.gift-orbit-three{right:15%;bottom:22%;color:#b86c7a;font-size:25px;animation-delay:2s}
.gift-actions{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;width:100%;padding-top:4px}.gift-cta.button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:210px;padding:12px 30px;border-radius:99px!important;background:linear-gradient(135deg,#a14e64,#84364d)!important;color:#fffaf2!important;box-shadow:0 6px 17px #a14e642b;font-family:Fredoka,sans-serif;font-size:1.05rem;text-decoration:none}.gift-footnote{font-family:Questrial,sans-serif;font-size:.7rem;color:#7c7064;margin:12px 0 5px}.gift-later{display:block;background:none;border:0;padding:8px 10px;color:#64766b;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:.72rem;cursor:pointer}.gift-close{position:absolute;z-index:4;top:14px;right:14px;width:34px;height:34px;border-radius:50%;border:1px solid #d8c5ac88;background:#fffbf4dd;color:#53655d;font-size:24px;line-height:1;cursor:pointer}.gift-stars{position:absolute;inset:0;pointer-events:none}.gift-stars span{position:absolute;color:#c3a16a;font-size:17px;animation:gift-twinkle 5s ease-in-out infinite}.gift-stars span:nth-child(1){left:7%;top:8%}.gift-stars span:nth-child(2){right:8%;top:33%;color:#9bb8c5;font-size:13px}.gift-stars span:nth-child(3){left:10%;top:63%;font-size:11px}.gift-stars span:nth-child(4){left:5%;top:36%;color:#9bb8c5;font-size:12px}.gift-stars span:nth-child(5){right:6%;top:73%}.gift-stars span:nth-child(6){right:13%;top:51%;font-size:12px;color:#c38d99}
.christmas-gift button:focus-visible,.christmas-gift a:focus-visible{outline:3px solid #447b98;outline-offset:3px}
@keyframes gift-twinkle{0%,100%{opacity:.45;transform:translateY(0)}50%{opacity:1;transform:translateY(-4px)}}
@media(max-width:480px){.gift-layout{padding:33px 22px 17px}.gift-copy h2{font-size:1.48rem}.gift-eyebrow{font-size:.54rem;margin-bottom:11px}.gift-copy p{font-size:.88rem}.gift-cover img{width:clamp(135px,23vh,185px)}.gift-cover{padding-top:12px}.gift-cover-caption{font-size:.7rem}.gift-orbit-one{left:10%}.gift-orbit-two{right:9%}}
@media(max-height:700px){.gift-layout{padding-top:27px;padding-bottom:13px}.gift-copy h2{font-size:1.4rem}.gift-copy p{font-size:.84rem;margin-bottom:2px}.gift-cover img{width:145px}.gift-cover-caption{margin-top:15px}.gift-cover{padding:10px 0 7px}.gift-eyebrow{margin-bottom:10px}.gift-footnote{margin-top:9px}}
@media(prefers-reduced-motion:reduce){.gift-orbit,.gift-stars span{animation:none}}

/* Two published books, with individual purchase links. */
.gift-books{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:20px;width:100%;max-width:340px}.gift-book{display:flex;flex-direction:column;align-items:center;gap:15px;color:#53655d;text-decoration:none;min-width:0}.gift-books .gift-book img{width:100%;max-width:150px;height:auto;transform:rotate(-4deg)}.gift-books .gift-book:nth-child(2) img{transform:rotate(4deg);max-width:123px}.gift-book span{font-family:Questrial,sans-serif;font-size:.75rem;line-height:1.25;min-height:2.5em}.gift-cover-caption{margin-top:10px}.gift-buy-options{display:flex;flex-direction:column;gap:8px;width:100%;align-items:center}.gift-buy-options .gift-cta.button{width:100%;max-width:300px;min-height:44px;font-size:.95rem;padding:10px 16px}.gift-buy-options .gift-cta:nth-child(2){background:linear-gradient(135deg,#52755e,#365443)!important}@media(max-width:380px){.gift-books{gap:15px}.gift-book span{font-size:.69rem}.gift-cover-caption{font-size:.66rem}}
