/* =========================================================
   Seasonal theme: Christmas (body.theme-xmas)
   Toggled from Admin → Ajustes → "Tema de temporada".
   ========================================================= */

/* ---------- announcement bar: deep red velvet with gold stars ---------- */
.theme-xmas .announce{background:linear-gradient(90deg,#8f0c19 0%,#c4142a 30%,#d81e34 50%,#c4142a 70%,#8f0c19 100%);box-shadow:inset 0 -1px 0 rgba(255,215,120,.35)}
.theme-xmas .announce span::before{width:10px;height:10px;border-radius:0;background:#ffd34d;box-shadow:none;filter:drop-shadow(0 0 4px rgba(255,211,77,.8));
  clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}

/* ---------- glass lights hanging under the sticky nav ---------- */
.xm-lights{position:absolute;left:0;right:0;top:100%;height:44px;overflow:hidden;pointer-events:none;z-index:1}
.xm-lights svg{display:block}
.xm-halo{animation:xmGlow var(--t,2.6s) ease-in-out infinite;animation-delay:var(--d,0s)}
.xm-glass{animation:xmBulb var(--t,2.6s) ease-in-out infinite;animation-delay:var(--d,0s)}
@keyframes xmGlow{0%,100%{opacity:1}50%{opacity:.25}}
@keyframes xmBulb{0%,100%{opacity:1}50%{opacity:.72}}

/* ---------- Santa hat on the logo ---------- */
nav.top .logo{position:relative;display:inline-block}
.xm-hat{position:absolute;width:36px;height:32px;left:-12px;top:-10px;transform:rotate(-22deg);pointer-events:none;filter:drop-shadow(0 3px 4px rgba(7,19,65,.28));transition:transform .4s cubic-bezier(.34,1.56,.64,1)}
nav.top .logo:hover .xm-hat{transform:rotate(-32deg) translateY(-3px)}

/* ---------- hero: snow, ornaments, snowbank ---------- */
.xm-snow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.xm-orns{position:absolute;left:0;right:0;top:0;height:0;pointer-events:none}
.xm-orn{position:absolute;top:0;transform-origin:50% 0;animation:xmSwing var(--dur,5s) ease-in-out infinite;animation-delay:var(--del,0s);filter:drop-shadow(0 10px 12px rgba(10,30,90,.22))}
.xm-orn svg{display:block;height:auto}
@keyframes xmSwing{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}
@media (max-width:1240px){.xm-orn.xm-wide{display:none}}
.xm-drift{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:78px;pointer-events:none;filter:drop-shadow(0 -4px 8px rgba(20,60,160,.12))}

/* holiday ribbon under the eyebrow (phones only; desktop uses the tag on the image) */
.xm-pill{display:none}
/* holiday tag on the hero image (desktop) */
.xm-tag .ic{background:linear-gradient(135deg,#1fb463,#0b6b37);color:#fff;box-shadow:0 8px 18px -8px rgba(11,107,55,.8)}
.xm-tag .ic svg{stroke:#fff}
.xm-tag > div > span{color:#c4142a}

/* ---------- phones ---------- */
@media (max-width:640px){
  .xm-hat{width:29px;height:26px;left:-9px;top:-8px}
  .xm-lights{height:36px}
  .xm-drift{height:48px}
  .xm-pill{display:flex;align-items:center;gap:8px;width:max-content;max-width:100%;margin-top:10px;padding:7px 14px 7px 7px;border-radius:99px;
    background:linear-gradient(90deg,#a30d1d,#d81e34);color:#fff;font-size:12.5px;font-weight:600;box-shadow:0 10px 24px -12px rgba(163,13,29,.8);
    animation:xmPillIn .6s cubic-bezier(.34,1.56,.64,1) .2s backwards}
  .xm-pill b{font-weight:800}
  .xm-pill .xm-t2{opacity:.85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .xm-pill .xm-t2::before{content:'·';margin-right:8px;opacity:.7}
  .xm-pill-ic{width:24px;height:24px;border-radius:50%;background:#fff;color:#0f7a3e;display:grid;place-items:center;flex-shrink:0}
  .xm-pill-ic svg{width:14px;height:14px}
}
@keyframes xmPillIn{from{opacity:0;transform:translateY(8px) scale(.94)}to{opacity:1;transform:none}}

@media (prefers-reduced-motion:reduce){.xm-halo,.xm-glass,.xm-orn,.xm-pill{animation:none!important}}
