/* All rules deliberately scoped; never transforms or binds pointer events on the site's logo. */
#lapc-christmas-stage.lapc-stage {
  position:fixed!important; display:block; z-index:8000!important;
  margin:0!important; padding:0!important; border:0!important;
  overflow:visible!important; pointer-events:none!important;
  user-select:none!important; -webkit-user-select:none!important;
  will-change:opacity; contain:style; isolation:isolate;
}
#lapc-christmas-stage[hidden],
#lapc-christmas-stage .lapc-ground-bag[hidden] {display:none!important}
#lapc-christmas-stage *, #lapc-christmas-stage *::before, #lapc-christmas-stage *::after {box-sizing:border-box!important; pointer-events:none!important}
#lapc-christmas-stage .lapc-stage-glow {
  position:absolute; width:78%; height:47%; left:11%; bottom:3px;
  background:radial-gradient(ellipse,rgba(218,178,102,.15),transparent 66%);
  filter:blur(15px); opacity:.7;
}
#lapc-christmas-stage .lapc-actor {
  z-index:3;position:absolute; bottom:1px; left:0; width:var(--lapc-actor-width,75px);
  aspect-ratio:120/160; transform-origin:50% 93%;
  will-change:transform; filter:drop-shadow(0 6px 5px rgba(38,25,14,.16));
}
#lapc-christmas-stage .lapc-actor-inner {width:100%;height:100%;transform-origin:center center;transition:transform .16s ease-out}
#lapc-christmas-stage .lapc-actor-inner.lapc-facing-left {transform:scaleX(-1)}
#lapc-christmas-stage .lapc-santa {width:100%!important;height:100%!important;overflow:visible;display:block}
#lapc-christmas-stage .lapc-eyes {animation:lapc-blink 2.7s ease-in-out infinite;transform-origin:62px 50px}
#lapc-christmas-stage .lapc-running .lapc-santa {animation:lapc-trot .20s ease-in-out infinite alternate}
#lapc-christmas-stage .lapc-running .lapc-leg--near {animation:lapc-kick-a .28s ease-in-out infinite alternate}
#lapc-christmas-stage .lapc-running .lapc-leg--far {animation:lapc-kick-b .28s ease-in-out infinite alternate}
#lapc-christmas-stage .lapc-running .lapc-arm--front {animation:lapc-swing-a .32s ease-in-out infinite alternate}
#lapc-christmas-stage .lapc-running .lapc-arm--back {animation:lapc-swing-b .32s ease-in-out infinite alternate}
#lapc-christmas-stage .lapc-running .lapc-hat {animation:lapc-hat-bounce .25s ease-in-out infinite alternate;transform-origin:60px 35px}
#lapc-christmas-stage .lapc-leg {transform-box:fill-box;transform-origin:50% 3%}
#lapc-christmas-stage .lapc-bag-carried {transform-origin:27px 78px;animation:lapc-sack-sway .43s ease-in-out infinite alternate}
#lapc-christmas-stage .lapc-arm {transform-box:fill-box;transform-origin:50% 5%}
#lapc-christmas-stage .lapc-surprised .lapc-head {animation:lapc-shock .38s cubic-bezier(.26,1.8,.6,1) 1;transform-origin:center 70%}
#lapc-christmas-stage .lapc-surprised .lapc-arm--front {transform:rotate(-35deg)}
#lapc-christmas-stage .lapc-surprised .lapc-arm--back {transform:rotate(35deg)}
#lapc-christmas-stage .lapc-picking .lapc-santa {animation:lapc-lift .9s ease-in-out 1;transform-origin:center bottom}
#lapc-christmas-stage .lapc-lifting .lapc-santa {animation:lapc-lift-up .7s ease-out 1;transform-origin:center bottom}
#lapc-christmas-stage.lapc-sack-lost .lapc-bag-carried {opacity:0}
#lapc-christmas-stage .lapc-ground-bag {
  z-index:2;position:absolute;left:0;bottom:2px;width:var(--lapc-gold-sack,48px);
  aspect-ratio:88/82; filter:drop-shadow(0 4px 4px rgba(56,35,9,.22));
  transform-origin:center bottom;will-change:transform;
}
#lapc-christmas-stage .lapc-ground-bag svg {width:100%;height:100%;display:block}
#lapc-christmas-stage .lapc-ground-bag--drop {animation:lapc-sack-drop .65s cubic-bezier(.2,.7,.25,1.13) both}
#lapc-christmas-stage .lapc-ground-bag--lift {animation:lapc-sack-lift .36s ease-in-out both}
#lapc-christmas-stage .lapc-sparks {position:absolute;left:0;bottom:34px;width:50px;height:60px;opacity:0;transition:opacity .3s}
#lapc-christmas-stage .lapc-sparks--active {opacity:1}
#lapc-christmas-stage .lapc-sparks i {position:absolute;display:block;width:3px;height:3px;border-radius:50%;background:#CAAA6B;box-shadow:0 0 7px rgba(221,183,94,.85);animation:lapc-twinkle 1s ease-in-out infinite alternate}
#lapc-christmas-stage .lapc-sparks i:nth-child(1){left:5px;top:37px;animation-delay:-.5s}
#lapc-christmas-stage .lapc-sparks i:nth-child(2){left:16px;top:10px;width:2px;height:2px;animation-delay:-.9s}
#lapc-christmas-stage .lapc-sparks i:nth-child(3){left:36px;top:35px;animation-delay:-.2s}
#lapc-christmas-stage .lapc-sparks i:nth-child(4){left:25px;top:56px;width:2px;height:2px;animation-delay:-.7s}
#lapc-christmas-stage .lapc-sparks i:nth-child(5){left:40px;top:8px;animation-delay:-.3s}
#lapc-christmas-stage .lapc-sparks i:nth-child(6){left:10px;top:55px;width:2px;height:2px;animation-delay:-.8s}
@keyframes lapc-sack-sway {from{transform:translate(-3px,-3px) rotate(-3deg) scale(1.16)}to{transform:translate(-3px,-5px) rotate(2deg) scale(1.16)}}
@keyframes lapc-look {from{transform:rotate(-7deg)}to{transform:rotate(7deg)}}
@keyframes lapc-look-lively {0%{transform:rotate(-10deg)} 24%{transform:rotate(7deg)} 45%{transform:rotate(1deg)} 73%{transform:rotate(10deg)} 100%{transform:rotate(-4deg)}}
@keyframes lapc-mouth-smile {0%,100%{transform:translateY(0) scaleX(1)} 50%{transform:translateY(-1px) scaleX(1.08)}}
@keyframes lapc-blink {0%,38%,44%,100%{transform:scaleY(1)}40%,42%{transform:scaleY(.1)}}
@keyframes lapc-trot {from{transform:translateY(0) rotate(-2deg)}to{transform:translateY(-4px) rotate(2deg)}}
@keyframes lapc-kick-a {from{transform:rotate(-23deg)}to{transform:rotate(30deg)}}
@keyframes lapc-kick-b {from{transform:rotate(31deg)}to{transform:rotate(-24deg)}}
@keyframes lapc-swing-a {from{transform:rotate(-22deg)}to{transform:rotate(22deg)}}
@keyframes lapc-swing-b {from{transform:rotate(25deg)}to{transform:rotate(-23deg)}}
@keyframes lapc-hat-bounce {from{transform:rotate(-3deg)}to{transform:rotate(4deg)}}
@keyframes lapc-shock {0%{transform:scale(1)}45%{transform:scale(1.13)}100%{transform:scale(1)}}
@keyframes lapc-lift {0%{transform:rotate(0)}35%,64%{transform:rotate(21deg)}100%{transform:rotate(0)}}
@keyframes lapc-lift-up {0%{transform:translateY(0) rotate(18deg)}55%{transform:translateY(-4px) rotate(9deg)}100%{transform:translateY(0) rotate(0deg)}}
@keyframes lapc-sack-drop {0%{transform:translateY(-61px) rotate(-32deg) scale(.8);opacity:.7}65%{transform:translateY(6px) rotate(10deg) scale(1.08,.84);opacity:1}85%{transform:translateY(-7px) rotate(-6deg) scale(.94,1.05)}100%{transform:translateY(0) rotate(0deg) scale(1);opacity:1}}
@keyframes lapc-sack-lift {from{transform:translateY(0) scale(1);opacity:1}to{transform:translateY(-35px) rotate(-8deg) scale(.72);opacity:0}}
@keyframes lapc-twinkle {from{opacity:.14;transform:translate(0,0) scale(.5)}to{opacity:1;transform:translate(-11px,-10px) scale(1.4)}}
@media (max-width:767px) {
  #lapc-christmas-stage .lapc-stage-glow {opacity:.3;filter:blur(10px)}
  #lapc-christmas-stage .lapc-sparks i:nth-child(n+4){display:none}
}
@media (prefers-reduced-motion:reduce) {
  #lapc-christmas-stage {display:none!important}
}

/* Marketing modal compatibility (Golden Secret / Luxury Product Trigger).
   Keep Santa above the Woodmart logo but always BELOW store marketing overlays.
   When either popup opens, hide the Santa decoration until the popup closes.
   The animation, hover effects and logo interactions are unchanged. */
body.lgs-modal-open #lapc-christmas-stage.lapc-stage,
body:has(#lgs-root .lgs-overlay.is-visible) #lapc-christmas-stage.lapc-stage,
body:has(#lap-lpt.is-visible) #lapc-christmas-stage.lapc-stage {
  visibility: hidden !important;
}
