/* ---------- Hero gift box button ---------- */
.elementor-element-d2ac970 .hero-gift {
  pointer-events: auto;
  margin-top: 8px;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  background: none !important; border: 0 !important; padding: 0 !important;
  cursor: pointer; color: #fff !important;
  -webkit-tap-highlight-color: transparent;
}
.elementor-element-d2ac970 .hero-gift:focus { outline: none; }
.elementor-element-d2ac970 .hero-gift:focus-visible .hero-gift__box { outline: 2px solid #f6d37a; outline-offset: 6px; border-radius: 12px; }
.hero-gift__box {
  display: block; width: 92px; height: 92px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.45)) drop-shadow(0 0 18px rgba(246,211,122,.35));
  animation: heroGiftWiggle 2.6s ease-in-out infinite;
  transform-origin: 50% 100%;
}
.hero-gift__box svg { width: 100%; height: 100%; overflow: visible; display: block; }
.hero-gift__lid { transform-origin: 60px 52px; transition: transform .35s cubic-bezier(.2,.9,.3,1.4); }
.hero-gift:hover .hero-gift__lid,
.hero-gift:focus-visible .hero-gift__lid { transform: translateY(-10px) rotate(-8deg); }
.hero-gift__label {
  font-family: 'Montserrat', sans-serif !important; font-weight: 600; font-size: 14px;
  letter-spacing: .14em; text-transform: uppercase; color: #fff !important;
  padding: 8px 18px; border-radius: 30px;
  background: rgba(165,13,38,.82); border: 1px solid rgba(246,211,122,.7);
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: background .3s ease, transform .3s ease;
}
.hero-gift:hover .hero-gift__label { background: rgba(200,16,46,.95); transform: translateY(-2px); }
@keyframes heroGiftWiggle {
  0%, 60%, 100% { transform: rotate(0) scale(1); }
  66% { transform: rotate(-7deg) scale(1.04); }
  72% { transform: rotate(6deg) scale(1.06); }
  78% { transform: rotate(-4deg) scale(1.04); }
  84% { transform: rotate(2deg) scale(1.02); }
}
@media (max-width: 767px) {
  .hero-gift__box { width: 72px; height: 72px; }
  .hero-gift__label { font-size: 12px; padding: 7px 14px; }
}

/* ---------- Christmas show overlay ---------- */
.xg-overlay {
  position: fixed; inset: 0; z-index: 2147483000;
  background: radial-gradient(ellipse at center, rgba(20,30,60,.78) 0%, rgba(5,8,20,.92) 100%);
  overflow: hidden; opacity: 0; transition: opacity .4s ease;
  font-family: 'Montserrat', sans-serif;
}
.xg-overlay.is-open { opacity: 1; }
.xg-stars { position: absolute; inset: 0; pointer-events: none; }
.xg-star {
  position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff;
  animation: xgTwinkle 2s ease-in-out infinite;
}
@keyframes xgTwinkle { 0%,100% { opacity: .2; } 50% { opacity: 1; } }

/* Sleigh */
.xg-sleigh {
  position: absolute; left: 50%; top: 42%;
  width: min(560px, 92vw);
  transform: translate(calc(-50vw - 100%), -50%);
  animation: xgSleighIn 2.8s cubic-bezier(.22,.8,.3,1) forwards;
  z-index: 2;
}
.xg-sleigh.is-leaving { animation: xgSleighOut 1.6s cubic-bezier(.5,0,.8,.4) forwards; }
.xg-sleigh__bob { animation: xgBob .7s ease-in-out infinite alternate; }
.xg-sleigh svg { width: 100%; height: auto; display: block; overflow: visible; filter: drop-shadow(0 10px 20px rgba(0,0,0,.5)); }
.xg-leg { transform-box: fill-box; transform-origin: 50% 0; animation: xgGallop .35s ease-in-out infinite alternate; }
.xg-leg--b { animation-delay: -.175s; }
.xg-sleigh.is-stopped .xg-leg { animation-play-state: paused; }
.xg-nose { animation: xgNose .8s ease-in-out infinite alternate; }
.xg-trail {
  position: absolute; width: 6px; height: 6px; border-radius: 50%;
  background: #fff6c8; box-shadow: 0 0 8px 2px rgba(246,211,122,.9);
  pointer-events: none; animation: xgTrail 1.2s ease-out forwards; z-index: 1;
}
@keyframes xgSleighIn {
  0%   { transform: translate(calc(-50vw - 100%), -10%) rotate(-4deg); }
  80%  { transform: translate(-46%, -50%) rotate(1deg); }
  100% { transform: translate(-50%, -50%) rotate(0); }
}
@keyframes xgSleighOut {
  0%   { transform: translate(-50%, -50%) rotate(0); opacity: 1; }
  100% { transform: translate(calc(50vw + 10%), -160%) rotate(-12deg); opacity: 0; }
}
@keyframes xgBob { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@keyframes xgGallop { from { transform: rotate(-22deg); } to { transform: rotate(22deg); } }
@keyframes xgNose { from { opacity: .7; } to { opacity: 1; filter: drop-shadow(0 0 6px #ff2d2d); } }
@keyframes xgTrail { from { opacity: 1; transform: scale(1); } to { opacity: 0; transform: translateY(18px) scale(.2); } }

/* Gift burst */
.xg-burst { position: absolute; left: 50%; top: 46%; width: 0; height: 0; z-index: 3; pointer-events: none; }
.xg-flash {
  position: absolute; left: -160px; top: -160px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,246,200,.95) 0%, rgba(246,211,122,.5) 35%, rgba(246,211,122,0) 70%);
  animation: xgFlash .9s ease-out forwards;
}
@keyframes xgFlash { from { transform: scale(.1); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.xg-gift {
  position: absolute; left: 0; top: 0; width: var(--s, 30px); height: var(--s, 30px);
  margin: calc(var(--s, 30px) / -2) 0 0 calc(var(--s, 30px) / -2);
  background: var(--c, #c8102e); border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0,0,0,.35);
  animation: xgGiftFly 1.6s cubic-bezier(.15,.7,.3,1) forwards;
  animation-delay: var(--d, 0s);
  opacity: 0;
}
.xg-gift::before, .xg-gift::after { content: ""; position: absolute; background: var(--r, #f6d37a); }
.xg-gift::before { left: 42%; top: 0; width: 16%; height: 100%; }
.xg-gift::after { top: 38%; left: 0; height: 16%; width: 100%; }
.xg-gift i {
  position: absolute; left: 50%; top: -28%; width: 44%; height: 34%; transform: translateX(-50%);
  border: 3px solid var(--r, #f6d37a); border-radius: 50% 50% 10% 10%; box-sizing: border-box;
}
.xg-confetti {
  position: absolute; left: 0; top: 0; width: 8px; height: 14px; border-radius: 2px;
  background: var(--c); opacity: 0;
  animation: xgGiftFly 1.8s cubic-bezier(.15,.7,.3,1) forwards; animation-delay: var(--d, 0s);
}
@keyframes xgGiftFly {
  0%   { opacity: 1; transform: translate(0,0) rotate(0) scale(.3); }
  60%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--rot)) scale(1); }
}

/* Gift card */
.xg-card {
  position: absolute; left: 50%; top: 50%; z-index: 4;
  width: min(440px, 88vw);
  max-height: 94vh;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  transform: translate(-50%, -50%) scale(.05) rotate(-20deg);
  opacity: 0; pointer-events: none;
}
.xg-card.is-shown {
  animation: xgCardPop .8s cubic-bezier(.2,1.4,.4,1) forwards;
  pointer-events: auto;
}
@keyframes xgCardPop {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.05) rotate(-20deg); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(0); }
}
.xg-card__img {
  display: block; width: 100%; height: auto;
  max-height: calc(94vh - 90px); object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6), 0 0 40px rgba(246,211,122,.35);
}
.xg-card__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.xg-btn {
  display: inline-block; padding: 12px 26px; border-radius: 40px;
  font-family: 'Montserrat', sans-serif !important; font-weight: 600; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none !important;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.xg-btn--primary { background: #c8102e; color: #fff !important; border: 1px solid #f6d37a; }
.xg-btn--ghost { background: rgba(255,255,255,.1); color: #fff !important; border: 1px solid rgba(255,255,255,.6); }
.xg-btn:hover, .xg-btn:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.45); }
.xg-btn--primary:hover { background: #e0193a; }
.xg-close {
  position: absolute; top: 14px; right: 16px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.12) !important; border: 1px solid rgba(255,255,255,.5) !important;
  color: #fff !important; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 !important;
  display: flex; align-items: center; justify-content: center;
}
.xg-close:hover { background: rgba(255,255,255,.25) !important; }
html.xg-lock, html.xg-lock body { overflow: hidden !important; }

@media (prefers-reduced-motion: reduce) {
  .hero-gift__box { animation: none; }
  .xg-sleigh, .xg-burst, .xg-trail { display: none !important; }
  .xg-card.is-shown { animation: none; opacity: 1; transform: translate(-50%, -50%); }
}
