/* Advent pop-up (update 045): playful like a discount game – rays, confetti, a wobbling door, a countdown. */
.zsadv[hidden]{display:none}
.zsadv{position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:16px; background:rgba(20,45,48,.6); -webkit-backdrop-filter:blur(3px); backdrop-filter:blur(3px); opacity:0; transition:opacity .3s}
.zsadv.is-in{opacity:1}
.zsadv-card{
  position:relative; overflow:hidden; width:100%; max-width:380px; max-height:calc(100vh - 32px); overflow-y:auto;
  padding:30px 24px 20px; border-radius:28px; text-align:center; color:#fff;
  background:linear-gradient(160deg,#4f9198 0%,#2f6469 55%,#1f4a4e 100%);
  box-shadow:0 30px 70px -20px rgba(10,30,32,.65), inset 0 0 0 2px rgba(243,226,189,.35);
  font-family:"Nunito",system-ui,sans-serif; line-height:1.45;
  transform:scale(.6) translateY(30px);
}
.zsadv.is-in .zsadv-card{animation:zsadv-pop .55s cubic-bezier(.34,1.56,.64,1) forwards}
@keyframes zsadv-pop{0%{transform:scale(.6) translateY(30px)}100%{transform:scale(1) translateY(0)}}

/* Rays turning behind the door */
.zsadv-burst{position:absolute; left:50%; top:-150px; width:520px; height:520px; margin-left:-260px; border-radius:50%; pointer-events:none;
  background:repeating-conic-gradient(rgba(243,226,189,.16) 0 9deg, transparent 9deg 18deg);
  -webkit-mask:radial-gradient(circle, #000 0 30%, transparent 62%); mask:radial-gradient(circle, #000 0 30%, transparent 62%);
  animation:zsadv-spin 22s linear infinite}
@keyframes zsadv-spin{to{transform:rotate(360deg)}}

/* Confetti */
.zsadv-confetti{position:absolute; inset:0; pointer-events:none; overflow:hidden}
.zsadv-confetti i{position:absolute; top:-14px; width:8px; height:13px; border-radius:2px; background:#d6ad62; opacity:.9; animation:zsadv-fall 3.6s linear infinite}
.zsadv-confetti i:nth-child(3n){background:#f3e2bd; width:6px; height:10px}
.zsadv-confetti i:nth-child(3n+1){background:#c9785a}
.zsadv-confetti i:nth-child(4n){border-radius:50%; width:8px; height:8px}
.zsadv-confetti i:nth-child(1){left:6%; animation-delay:0s}
.zsadv-confetti i:nth-child(2){left:14%; animation-delay:1.1s; animation-duration:4.2s}
.zsadv-confetti i:nth-child(3){left:22%; animation-delay:2.3s}
.zsadv-confetti i:nth-child(4){left:30%; animation-delay:.6s; animation-duration:3.1s}
.zsadv-confetti i:nth-child(5){left:38%; animation-delay:1.8s}
.zsadv-confetti i:nth-child(6){left:46%; animation-delay:2.9s; animation-duration:4.4s}
.zsadv-confetti i:nth-child(7){left:54%; animation-delay:.3s}
.zsadv-confetti i:nth-child(8){left:62%; animation-delay:1.5s; animation-duration:3.3s}
.zsadv-confetti i:nth-child(9){left:70%; animation-delay:2.6s}
.zsadv-confetti i:nth-child(10){left:78%; animation-delay:.9s; animation-duration:4s}
.zsadv-confetti i:nth-child(11){left:86%; animation-delay:2s}
.zsadv-confetti i:nth-child(12){left:94%; animation-delay:3.2s; animation-duration:3.5s}
.zsadv-confetti i:nth-child(13){left:10%; animation-delay:3s; animation-duration:4.6s}
.zsadv-confetti i:nth-child(14){left:90%; animation-delay:.4s; animation-duration:4.1s}
@keyframes zsadv-fall{0%{transform:translateY(0) rotate(0)}100%{transform:translateY(620px) rotate(540deg)}}

.zsadv-x{position:absolute; top:12px; right:12px; z-index:2; width:36px; height:36px; border-radius:50%; border:0; cursor:pointer; background:rgba(255,255,255,.18); color:#fff; font-size:1.3rem; line-height:1}
.zsadv-x:hover{background:rgba(255,255,255,.3)}
.zsadv-door{position:relative; z-index:1; display:block; width:104px; height:auto; margin:0 auto 10px; filter:drop-shadow(0 12px 16px rgba(10,30,32,.45)); transform-origin:50% 90%; animation:zsadv-wobble 2.4s ease-in-out infinite}
@keyframes zsadv-wobble{0%,60%,100%{transform:rotate(0)}66%{transform:rotate(-7deg) scale(1.04)}72%{transform:rotate(6deg) scale(1.04)}78%{transform:rotate(-4deg)}84%{transform:rotate(2deg)}}
.zsadv-kicker{position:relative; margin:0; color:#f3e2bd; font-weight:700; font-size:.74rem; letter-spacing:.16em; text-transform:uppercase}
.zsadv-title{position:relative; margin:4px 0 8px; font-family:"Poppins","Segoe UI",sans-serif; font-weight:700; font-size:1.45rem; line-height:1.15; color:#fff}
.zsadv-text{position:relative; margin:0 0 14px; font-size:.95rem; opacity:.92}
.zsadv-status{position:relative; display:inline-flex; flex-wrap:wrap; justify-content:center; gap:4px 8px; margin:0 0 16px; padding:7px 14px; border-radius:999px; background:rgba(255,255,255,.14); font-weight:700; font-size:.88rem}
.zsadv-count{color:#f3e2bd; font-variant-numeric:tabular-nums}
.zsadv-go{position:relative; display:flex; justify-content:center; align-items:center; gap:8px; width:100%; padding:14px 20px; border-radius:999px; text-decoration:none; font-family:"Poppins","Segoe UI",sans-serif; font-weight:700; font-size:1.02rem; color:#1f4a4e; background:#d6ad62; box-shadow:0 0 0 0 rgba(214,173,98,.7); animation:zsadv-pulse 1.8s ease-out infinite; transition:background .2s, transform .2s}
.zsadv-go:hover{background:#f3e2bd; transform:translateY(-1px)}
@keyframes zsadv-pulse{0%{box-shadow:0 0 0 0 rgba(214,173,98,.7)}100%{box-shadow:0 0 0 16px rgba(214,173,98,0)}}
.zsadv-no{position:relative; margin-top:10px; border:0; background:none; cursor:pointer; color:rgba(255,255,255,.75); font:inherit; font-size:.86rem; text-decoration:underline; padding:6px 10px}
.zsadv-no:hover{color:#fff}
.zsadv-x:focus-visible,.zsadv-go:focus-visible,.zsadv-no:focus-visible{outline:3px solid #f3e2bd; outline-offset:3px}
@media (prefers-reduced-motion:reduce){
  .zsadv-burst,.zsadv-confetti i,.zsadv-door,.zsadv-go{animation:none}
  .zsadv.is-in .zsadv-card{animation:none; transform:none}
}
