/* ═══════════════════════════════════════════════════════════════
   KIT NOËL 2026 — chargé seulement pendant la période (voir _mt-noel.tpl).
   Toutes les règles dépendent de body.theme-noel : sans la classe, rien ne change.
   Rien ici ne bloque un clic (pointer-events:none) ; tout s'arrête avec
   « réduire les animations ».
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Logo à la tuque ─────────────────────────────────────────
   Le SVG Noël est plus haut (viewBox agrandi vers le haut de 34/136 = +25 %).
   On l'agrandit d'autant et on remonte d'autant : le logo garde
   exactement sa place, seule la tuque dépasse au-dessus. */
.theme-noel .mth-logo img.mtn-logo{height:55px!important;margin-top:-11px}
.theme-noel .mthd-head img.mtn-logo{height:37.5px!important;margin-top:-7.5px}
.theme-noel #mt-f2 .f2-logo img.mtn-logo{height:45px!important;margin-top:-9px}
@media (max-width:1023px){
  .theme-noel .mth-logo img.mtn-logo{height:40px!important;margin-top:-8px}
}

/* ── 2. Guirlande : bande blanche collée sous l'en-tête (elle le suit au défilement) ── */
.theme-noel #mt-header.mth-main::after{
  content:"";position:absolute;left:0;right:0;top:calc(100% + 1px);height:20px;pointer-events:none;
  background:#fff url(guirlande.svg) 0 0/120px 20px repeat-x;
  box-shadow:0 3px 6px -3px rgba(20,40,20,.18);
}
/* place réservée sous l'en-tête pour la guirlande */
.theme-noel #mtn-wrap{height:20px}

/* ── 3. Neige ─────────────────────────────────────────────────── */
.theme-noel #mt-hero,
.theme-noel .mtb-head,
.theme-noel .category-header,
.theme-noel #mt-reservation{position:relative}
.theme-noel .mtn-neige{position:absolute;top:0;left:0;right:0;bottom:0;overflow:hidden;pointer-events:none}
/* la neige passe DERRIÈRE le texte et les boutons (couche insérée en premier + contenu positionné) */
.theme-noel #mt-hero > :not(.mtn-neige),
.theme-noel .mtb-head > :not(.mtn-neige),
.theme-noel .category-header > :not(.mtn-neige),
.theme-noel .mt-res-title,.theme-noel .mt-res-subtitle{position:relative}
.theme-noel .mtn-neige span{
  position:absolute;top:-20px;border-radius:50%;background:radial-gradient(circle at 40% 35%,#fff 50%,#E3ECF4);
  box-shadow:0 0 3px 1px rgba(100,135,170,.45);
  animation-name:mtn-chute,mtn-balance;
  animation-timing-function:linear,ease-in-out;
  animation-iteration-count:infinite,infinite;
  animation-direction:normal,alternate;
}
.theme-noel .mtn-neige span.mtn-cristal{
  border-radius:0;box-shadow:none;background:url(flocon.svg) center/contain no-repeat;
}
@keyframes mtn-chute{from{top:-20px;transform:rotate(0)}to{top:100%;transform:rotate(200deg)}}
@keyframes mtn-balance{from{margin-left:-10px}to{margin-left:14px}}

/* ── 4. Accueil : boules qui se balancent sur la photo ── */
.theme-noel .mt-hero-right{position:relative}
.theme-noel .mtn-boules{position:absolute;top:0;left:0;right:0;height:0;pointer-events:none;z-index:3}
.theme-noel .mtn-pend{position:absolute;top:0;width:30px;margin-left:-15px;transform-origin:50% 0;
  animation:mtn-swing 3.6s ease-in-out infinite alternate}
.theme-noel .mtn-pend i{display:block;width:2px;margin:0 auto;background:#C9A227}
.theme-noel .mtn-pend b{display:block;position:relative;width:30px;height:30px;border-radius:50%;margin-top:4px;
  box-shadow:0 4px 8px rgba(0,0,0,.25)}
.theme-noel .mtn-pend b::before{content:"";position:absolute;left:10px;top:-6px;width:10px;height:7px;border-radius:2px;
  background:linear-gradient(90deg,#B8901F,#F2D27A,#B8901F)}
.theme-noel .mtn-pend b::after{content:"";position:absolute;left:7px;top:6px;width:8px;height:6px;border-radius:50%;
  background:rgba(255,255,255,.7);transform:rotate(-30deg)}
.theme-noel .mtn-pend.r b{background:radial-gradient(circle at 40% 35%,#FF6B6B,#D32F2F 55%,#8E1C1C)}
.theme-noel .mtn-pend.o b{background:radial-gradient(circle at 40% 35%,#FFE08A,#E0A92E 55%,#9A6E12)}
.theme-noel .mtn-pend.v b{background:radial-gradient(circle at 40% 35%,#6FD08F,#2E8B4E 55%,#1B5631)}
.theme-noel .mtn-pend.p b{width:22px;height:22px;margin-left:4px}
.theme-noel .mtn-pend.p b::before{left:6px;width:10px}
.theme-noel .mtn-pend.p b::after{left:5px;top:4px;width:6px;height:5px}
@keyframes mtn-swing{from{transform:rotate(-7deg)}to{transform:rotate(7deg)}}

/* ── 5. Calottes de neige : tuiles de l'accueil, tuiles marques/modèles, étapes de la réservation ── */
.theme-noel .mt-hero-cat,
.theme-noel .mtb-card.mtb-brand,
.theme-noel .mtb-card.mtb-model,
.theme-noel .mt-res-section{position:relative}
.theme-noel .mt-hero-cat::before,
.theme-noel .mtb-card.mtb-brand::before,
.theme-noel .mtb-card.mtb-model::before,
.theme-noel .mt-res-section::before{
  content:"";position:absolute;left:8px;right:8px;top:-9px;height:22px;pointer-events:none;z-index:3;
  background:
    radial-gradient(ellipse 4px 7px at 50% 0,#fff 98%,transparent) 11px 8px/37px 14px repeat-x,
    radial-gradient(ellipse 3px 5px at 50% 0,#fff 98%,transparent) 27px 8px/53px 12px repeat-x,
    linear-gradient(#fff,#fff) 0 4px/100% 6px no-repeat,
    radial-gradient(circle at 9px 9px,#fff 8.5px,transparent 9px) 0 0/18px 12px repeat-x;
  filter:drop-shadow(0 1px 0 rgba(110,140,170,.45)) drop-shadow(0 2px 3px rgba(30,50,70,.22));
}
.theme-noel .mt-res-section::before{left:16px;right:16px}

/* ── 6. Réservation : houx à côté du titre ── */
.theme-noel .mtn-houx{display:inline-block;width:46px;height:31px;margin-left:10px;vertical-align:-4px;
  background:url(houx.svg) center/contain no-repeat}
@media (max-width:600px){.theme-noel .mtn-houx{width:36px;height:24px;margin-left:6px}}

/* ── 7. Pied de page : bord de neige + ligne festive ── */
.theme-noel #mt-f2{position:relative}
.theme-noel #mt-f2::before{
  content:"";position:absolute;left:0;right:0;top:-10px;height:22px;pointer-events:none;z-index:1;
  background:
    radial-gradient(circle at 20px 18px,#fff 17px,transparent 17.5px) 0 0/46px 22px repeat-x,
    radial-gradient(circle at 12px 16px,#fff 11px,transparent 11.5px) 23px 2px/46px 20px repeat-x;
  filter:drop-shadow(0 -1px 1px rgba(110,140,170,.35));
}
.theme-noel #mt-f2 .mtn-pied{
  display:flex;align-items:center;justify-content:center;gap:12px;
  margin:0;padding:18px 0;text-align:center;font-size:16px;font-weight:700;color:#C62828;
  border-top:1px solid #E1E8D7;
}
.theme-noel #mt-f2 .mtn-pied::before,
.theme-noel #mt-f2 .mtn-pied::after{content:"";flex:none;width:40px;height:27px;background:url(houx.svg) center/contain no-repeat}

/* ── Réduire les animations : rien ne bouge ── */
@media (prefers-reduced-motion:reduce){
  .theme-noel #mt-header.mth-main::after{background-image:url(guirlande-fixe.svg)}
  .theme-noel .mtn-neige{display:none}
  .theme-noel .mtn-pend{animation:none}
}
