/* Mycotrop : habillage de Noël psychédélique 2026 (maquette v4 validée le 30/11/2026).
   Tout est sous html.mt-noel : la classe est posée par le petit script du <head> (dates + cookie),
   jamais sur le tunnel de commande (body#checkout, body#order-confirmation).
   Retirer la classe ou ce fichier = site d'origine. */

@font-face{font-family:"Kablammo";src:url("../fonts/noel/kablammo-latin-var.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Monoton";src:url("../fonts/noel/monoton-latin-400.woff2") format("woff2");font-weight:400;font-display:swap}

html.mt-noel{
  --n-velvet:#0c0716; --n-uv:#7b2cff; --n-pink:#ff2fa0; --n-pinkdeep:#c8006f; --n-chart:#c6ff00;
  --n-red:#ff2a3d; --n-green:#1fae4a; --n-spore:#fff6e6;
  --n-poster:"Kablammo","Cooper Black",Georgia,serif; --n-op:"Monoton","Kablammo",Georgia,serif;
  --n-blotter:linear-gradient(90deg,transparent calc(100% - 2px),rgba(12,7,22,.55) 0),linear-gradient(0deg,transparent calc(100% - 2px),rgba(12,7,22,.55) 0),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M17 30 Q16 24 18 21 L22 21 Q24 24 23 30Z' fill='%23fff6e6'/%3E%3Cpath d='M9 22 Q12 9 20 9 Q28 9 31 22 Q20 25 9 22Z' fill='%23ff2a3d'/%3E%3Ccircle cx='16' cy='15' r='1.8' fill='%23fff6e6'/%3E%3Ccircle cx='23' cy='13' r='1.4' fill='%23fff6e6'/%3E%3Ccircle cx='26' cy='18' r='1.2' fill='%23fff6e6'/%3E%3C/svg%3E");
}

/* ---------- 1. bandeau du haut (injecté, toutes pages sauf tunnel) ---------- */
.noel-topbar{display:none}
html.mt-noel .noel-topbar{display:block;background:var(--n-velvet);color:var(--n-chart);font:700 12.5px/1.4 Karla,system-ui,sans-serif;letter-spacing:.05em;text-align:center;padding:8px 16px;text-shadow:0 0 6px rgba(198,255,0,.8),0 0 18px rgba(198,255,0,.4)}

/* ---------- 2. menu (iqitmegamenu, thème Warehouse) ---------- */
/* 30-11-2026 : le site utilise le menu ETS (ets_mm_megamenu), pas iqitmegamenu. Barre du bureau seulement :
   sur téléphone le menu est un panneau latéral clair, il garde ses couleurs. */
@media (min-width:768px){
html.mt-noel #desktop-header .ets_mm_megamenu{background:var(--n-velvet)!important;border-color:var(--n-velvet)!important}
html.mt-noel #desktop-header .ets_mm_megamenu .ets_mm_megamenu_content,
html.mt-noel #desktop-header .ets_mm_megamenu .mm_menus_ul{background:transparent!important;border-color:transparent!important}
html.mt-noel #desktop-header .ets_mm_megamenu .mm_menus_ul > .mm_menus_li > a,
html.mt-noel #desktop-header .ets_mm_megamenu .mm_menus_ul > .mm_menus_li > a .mm_menu_content_title{color:var(--n-spore)!important;background:transparent!important}
html.mt-noel #desktop-header .ets_mm_megamenu .mm_menus_ul > .mm_menus_li:hover > a,
html.mt-noel #desktop-header .ets_mm_megamenu .mm_menus_ul > .mm_menus_li:hover > a .mm_menu_content_title,
html.mt-noel #desktop-header .ets_mm_megamenu .mm_menus_ul > .mm_menus_li.active > a .mm_menu_content_title{color:var(--n-chart)!important;background:transparent!important}
}
/* les sous-menus déroulants gardent leurs couleurs d'origine (texte foncé sur blanc) */
.noel-garland{display:none}
html.mt-noel .noel-garland{display:block;position:relative;height:22px;margin-bottom:-22px;z-index:20;pointer-events:none}
.noel-garland svg{display:block;width:100%;height:22px}
/* hors accueil, la guirlande ne recouvre pas le fil d'Ariane */
html.mt-noel body:not(#index) .noel-garland{margin-bottom:0}
/* téléphone : le menu est replié dans l'en-tête, la guirlande tomberait sur le logo */
@media (max-width:767px){html.mt-noel .noel-garland{display:none}}

/* ---------- 3. bannière d'accueil (injectée sur body#index, avant le contenu) ---------- */
.noel-hero{display:none}
html.mt-noel .noel-hero{display:block;position:relative;overflow:hidden;background:var(--n-velvet);color:var(--n-spore);margin:0 0 0;font-family:Karla,system-ui,sans-serif}
.noel-hero canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0;display:block}
.noel-hero .noel-in{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:44px max(16px,env(safe-area-inset-left,0px));display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:28px;align-items:center}
.noel-kicker{display:block;font-family:var(--n-op);font-size:clamp(22px,2.8vw,32px);color:var(--n-spore);margin:0 0 10px;letter-spacing:.06em;text-shadow:0 0 12px rgba(255,47,160,.7)}
.noel-title{display:block;font-family:var(--n-poster);font-weight:400;color:var(--n-chart);font-size:clamp(36px,6vw,70px);line-height:.98;margin:0 0 16px;text-shadow:3px 3px 0 var(--n-pink),0 0 24px rgba(255,47,160,.55)}
.noel-title .w{display:inline-block;white-space:nowrap}
.noel-title .ch{display:inline-block;transform-origin:50% 80%;transform:scaleY(var(--s,1));animation:noelMorf 5s ease-in-out infinite;animation-delay:calc(var(--i) * -.18s)}
@keyframes noelMorf{0%,100%{font-variation-settings:"MORF" 0}50%{font-variation-settings:"MORF" 16}}
.noel-hero p{color:#efe6ff;font-size:16px;line-height:1.55;max-width:48ch;margin:0 0 20px}
.noel-cta{display:inline-block;background:var(--n-chart);color:var(--n-velvet)!important;font-weight:700;padding:13px 22px;font-size:14px;border-radius:999px;text-decoration:none!important;box-shadow:0 0 0 3px var(--n-velvet),0 0 0 6px var(--n-pink),0 0 28px 6px rgba(255,47,160,.55)}
.noel-cta:hover,.noel-cta:focus-visible{background:var(--n-spore)}
.noel-art{position:relative;aspect-ratio:1/1;max-width:340px;width:100%;justify-self:center}
.noel-art svg{position:absolute;inset:0;width:100%;height:100%;display:block}
.noel-art .noel-mandala{inset:-6%;width:112%;height:112%;animation:noelSpin 80s linear infinite}
@keyframes noelSpin{to{transform:rotate(360deg)}}
.noel-lid{animation:noelBlink 5s infinite;transform-origin:100px 150px}
@keyframes noelBlink{0%,92%,100%{transform:scaleY(0)}95%{transform:scaleY(1)}}
@media (max-width:767px){
  .noel-hero .noel-in{grid-template-columns:1fr;padding-block:28px}
  .noel-art{max-width:200px}
}

/* 30-11-2026 (client : « j'ai 2 bannières sur la home ») : tant que le décor est actif, la bannière de Noël
   remplace le carrousel de l'accueil. Il revient tout seul quand la classe mt-noel disparaît (7 janvier). */
html.mt-noel body#index #content .elementor-widget:has(.ls-wp-container),
html.mt-noel body#index #content .noel-hide{display:none!important}

/* ---------- 4. bande « date limite » en buvard (si la date est réglée) ---------- */
.noel-deadline{display:none}
html.mt-noel .noel-deadline{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;justify-content:center;padding:14px 16px;background-color:var(--n-green);background-image:var(--n-blotter);background-size:44px 44px,44px 44px,44px 44px;font:700 14px/1.3 Karla,system-ui,sans-serif;text-align:center}
.noel-deadline span{background:var(--n-velvet);color:var(--n-spore);padding:6px 12px;border-radius:4px}
.noel-deadline .noel-days{color:var(--n-chart);font-size:17px;font-variant-numeric:tabular-nums;text-shadow:0 0 10px rgba(198,255,0,.8)}
#product .noel-deadline{justify-content:flex-start;border-radius:10px;margin:12px 0}

/* ---------- 5. vagues op art (injectées avant le pied de page) ---------- */
.noel-riley{display:none}
html.mt-noel .noel-riley{display:block;height:26px;background:var(--n-velvet)}
.noel-riley svg{display:block;width:100%;height:100%}

/* ---------- 6. vignettes produit (accueil, catégories, recherche, « ça va avec ») ---------- */
html.mt-noel .product-miniature .thumbnail-container .product-thumbnail,
html.mt-noel .product-miniature .thumbnail-container > a:first-child{display:block;overflow:hidden;border-radius:58% 42% 52% 48% / 46% 54% 46% 54%;box-shadow:0 0 0 3px var(--n-velvet),0 0 0 6px var(--n-chart);transition:border-radius .8s,box-shadow .3s;background:#fff}
/* marge pour que l'anneau ne soit pas rogné par la grille ou le carrousel */
html.mt-noel .product-miniature .thumbnail-container .product-thumbnail{margin:8px 8px 10px}
html.mt-noel .product-miniature:hover .thumbnail-container .product-thumbnail,
html.mt-noel .product-miniature:hover .thumbnail-container > a:first-child{border-radius:42% 58% 46% 54% / 56% 44% 56% 44%;box-shadow:0 0 0 3px var(--n-velvet),0 0 0 6px var(--n-pink),0 0 24px var(--n-pink)}
html.mt-noel .product-miniature .product-flags .product-flag{border-radius:999px 999px 999px 0;background:var(--n-pinkdeep)!important;color:#fff!important}
html.mt-noel .product-miniature .btn-product-list,
html.mt-noel .product-miniature .add-to-cart{border-radius:999px!important;background:var(--n-velvet)!important;border-color:var(--n-velvet)!important;color:#fff!important}
html.mt-noel .product-miniature .btn-product-list:hover,
html.mt-noel .product-miniature .add-to-cart:hover{background:var(--n-pinkdeep)!important;border-color:var(--n-pinkdeep)!important}

/* ---------- 7. fiche produit ---------- */
html.mt-noel #product .product-cover{border-radius:24px;overflow:hidden;box-shadow:0 0 0 3px var(--n-velvet),0 0 0 7px var(--n-chart)}
html.mt-noel #product .js-qv-product-images .thumb-container img,
html.mt-noel #product .product-images .thumb{border-radius:12px}
html.mt-noel #product .product-add-to-cart .add-to-cart{border-radius:999px!important;background:var(--n-velvet)!important;border-color:var(--n-velvet)!important;color:#fff!important;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--n-chart)}
html.mt-noel #product .product-add-to-cart .add-to-cart:hover{background:var(--n-pinkdeep)!important;border-color:var(--n-pinkdeep)!important}
html.mt-noel #product .product-description ul{list-style:none;padding-left:0}
html.mt-noel #product .product-description ul li{padding-left:26px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M8 17 Q7.5 13 9 11 L11 11 Q12.5 13 12 17Z' fill='%230c0716'/%3E%3Cpath d='M3 12 Q5 4 10 4 Q15 4 17 12 Q10 14 3 12Z' fill='%23ff2a3d'/%3E%3Ccircle cx='8' cy='8' r='1.2' fill='%23fff'/%3E%3Ccircle cx='12' cy='7' r='1' fill='%23fff'/%3E%3C/svg%3E") 0 .2em/18px no-repeat}
/* la description, les onglets et les avis gardent fond blanc et police du site */

/* ---------- 8. catégories : en-tête light show ---------- */
html.mt-noel .noel-cathead{position:relative;overflow:hidden;background:var(--n-velvet);border-radius:14px;padding:30px 24px;margin-bottom:18px}
html.mt-noel .noel-cathead canvas{position:absolute;inset:0;width:100%;height:100%;z-index:0}
html.mt-noel .noel-cathead > *:not(canvas){position:relative;z-index:1}
html.mt-noel .noel-cathead h1{font-family:var(--n-poster)!important;font-weight:400!important;color:var(--n-chart)!important;font-size:clamp(30px,4.4vw,48px)!important;text-shadow:3px 3px 0 var(--n-pinkdeep);margin:0!important}
html.mt-noel .noel-cathead,html.mt-noel .noel-cathead p,html.mt-noel .noel-cathead a{color:#f3ecff!important}
html.mt-noel #left-column input[type="checkbox"],html.mt-noel #left-column input[type="radio"]{accent-color:var(--n-pinkdeep)}
html.mt-noel .pagination .page-list li.current a{background:var(--n-velvet)!important;color:#fff!important;border-radius:999px;box-shadow:0 0 0 3px var(--n-chart)}

/* ---------- 9. panier : petite touche (le tunnel n'a jamais la classe) ---------- */
html.mt-noel body#cart .cart-summary{border-radius:14px;overflow:hidden;box-shadow:0 0 0 3px var(--n-velvet)}
html.mt-noel body#cart .cart-summary::before{content:"";display:block;height:34px;background-color:var(--n-green);background-image:var(--n-blotter);background-size:34px 34px}
html.mt-noel body#cart .cart-detailed-actions .btn-primary{border-radius:999px!important;background:var(--n-velvet)!important;border-color:var(--n-velvet)!important;color:#fff!important;box-shadow:0 0 0 3px #fff,0 0 0 5px var(--n-chart)}

/* ---------- 10. logo : petit bonnet (injecté) ---------- */
.noel-hat{display:none}
html.mt-noel .noel-hat{display:block;position:absolute;left:4px;top:-4px;width:30px;transform:rotate(-18deg);pointer-events:none;z-index:5}

@media (prefers-reduced-motion:reduce){
  .noel-title .ch,.noel-art .noel-mandala,.noel-lid{animation:none}
}
