/* Mycotrop : habillage de Noël psychédélique 2026, v2 = portage fidèle de la maquette v4 validée (30/11/2026).
   Remplace entièrement mycotrop-noel-20261130g.css. Tout est sous html.mt-noel (posé par le bloc head.tpl, jamais sur le tunnel). */

@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-grey:#666;
  --n-poster:"Kablammo","Cooper Black",Georgia,serif; --n-op:"Monoton","Kablammo",Georgia,serif; --n-body:"Karla",system-ui,-apple-system,"Segoe UI",sans-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");
}
html.mt-noel .noel-hide{display:none!important}
html.mt-noel body#index .elementor-element-7zrag81{display:none!important}

/* ---------- 1. bandeau du haut ---------- */
.noel-topbar,.noel-garland,.noel-home,.noel-riley,.noel-deadline,.noel-hat{display:none}
html.mt-noel .noel-topbar{display:block;background:var(--n-velvet);color:var(--n-chart);font:700 12.5px/1.4 var(--n-body);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 (ETS mega menu) ---------- */
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}

/* guirlande : dessinée en JS à la largeur réelle (pas d'étirement), ordinateur et téléphone */
html.mt-noel .noel-garland{display:block;position:relative;height:30px;margin-bottom:-30px;z-index:30;pointer-events:none;overflow:hidden}
.noel-garland svg{display:block;height:30px}
/* 30-11-2026 : hors accueil, la guirlande ne recouvre ni le fil d'Ariane ni le titre de la page */
html.mt-noel body:not(#index) .noel-garland{margin-bottom:0}
@media (min-width:768px){html.mt-noel .noel-garland-m{display:none}}
@media (max-width:767px){html.mt-noel .noel-garland-d{display:none}}

/* bonnet sur le logo (ordinateur + téléphone) */
/* 30-11-2026 (client : « c'est moche ») : vrai bonnet de Père Noël, posé sur la première bosse du m ; en % pour suivre la taille du logo */
html.mt-noel .noel-hat{display:block;position:absolute;left:4.2%;top:-7%;width:12%;transform:rotate(-13deg);transform-origin:50% 80%;pointer-events:none;z-index:5;line-height:0}
html.mt-noel .noel-hat svg{display:block;width:100%;height:auto}
html.mt-noel .noel-hat-m{left:4.2%;top:-7%;width:12%}

/* ---------- 3. bloc d'accueil (porté de la maquette) ---------- */
html.mt-noel .noel-home{display:block;font-family:var(--n-body);color:#212529}
.noel-wrap{max-width:1200px;margin:0 auto;padding-left:max(16px,env(safe-area-inset-left,0px));padding-right:max(16px,env(safe-area-inset-right,0px))}

/* 3a. bannière light show */
.noel-hero{position:relative;overflow:hidden;background:var(--n-velvet);color:var(--n-spore);min-height:440px;display:grid;align-items:center}
.noel-hero canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.noel-hero canvas.noel-oil{z-index:0}
.noel-hero canvas.noel-snow{z-index:1;pointer-events:none}
.noel-hero .noel-in{position:relative;z-index:2;padding-block:44px;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);line-height:1.2}
.noel-title{display:block;font-family:var(--n-poster);font-weight:400;color:var(--n-chart);font-size:clamp(38px,6vw,70px);line-height:.98;letter-spacing:-.01em;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:360px;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}
.noel-art .noel-amanita{z-index:1}
@keyframes noelSpin{to{transform:rotate(360deg)}}
.noel-lid{transform:scaleY(0);animation:noelBlink 5s infinite;transform-origin:100px 150px}
@keyframes noelBlink{0%,92%,100%{transform:scaleY(0)}95%{transform:scaleY(1)}}

/* 3b. vagues op art */
html.mt-noel .noel-riley{display:block;height:26px;width:100%;background:var(--n-velvet)}
.noel-riley svg{display:block;width:100%;height:100%}

/* 3c. bande buvard + date limite */
html.mt-noel .noel-deadline{display:flex;flex-wrap:wrap;gap:10px 18px;align-items:center;justify-content:center;padding:18px 16px;background-color:var(--n-green);background-image:var(--n-blotter);background-size:44px 44px,44px 44px,44px 44px;font:700 15px/1.3 var(--n-body);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:18px;font-variant-numeric:tabular-nums;text-shadow:0 0 10px rgba(198,255,0,.8)}
html.mt-noel #product .noel-deadline{justify-content:flex-start;border-radius:10px;margin:10px 0;padding:10px 12px}
html.mt-noel #product .noel-deadline span{font-size:14px}
html.mt-noel #product .noel-deadline b{color:var(--n-chart)}

/* 3d. bande de réassurance nuit */
.noel-reassure{background:var(--n-velvet);color:#d9cdf2}
.noel-reassure .noel-wrap{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding-block:18px;font-size:13px;text-align:center}
.noel-reassure b{display:block;font-size:14px;color:var(--n-pink)}

/* 3e. titres de section */
.noel-block{padding-block:34px}
.noel-block .noel-h2{font-family:var(--n-poster)!important;font-weight:400!important;font-size:32px!important;line-height:1.15!important;color:var(--n-velvet)!important;margin:0 0 6px!important;text-transform:none!important;letter-spacing:0!important;text-align:left!important}
.noel-h2 em{font-style:normal;color:var(--n-velvet);background:var(--n-chart);padding:0 .25em;border-radius:.3em}
.noel-sub{color:var(--n-grey);margin:0 0 20px;font-size:15px}

/* 3f. rangée idées cadeaux (vrais produits du site) */
.noel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.noel-card{position:relative;display:flex;flex-direction:column;gap:6px;color:#212529!important;text-decoration:none!important}
.noel-card .noel-thumb{position:relative;aspect-ratio:1/1;border-radius:58% 42% 52% 48% / 46% 54% 46% 54%;background:radial-gradient(circle,#fff 55%,#f0e6ff);box-shadow:0 0 0 3px var(--n-velvet),0 0 0 6px var(--n-chart);overflow:hidden;margin:8px;transition:border-radius .8s,box-shadow .3s}
.noel-card .noel-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;transform:scale(1.5)} /* 30-11-2026 : le kit est au centre de la photo, agrandi pour remplir le rond comme sur la maquette */
.noel-card:hover .noel-thumb{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)}
.noel-card:hover .noel-thumb img{animation:noelTrip 2.4s ease-in-out infinite}
@keyframes noelTrip{50%{filter:hue-rotate(150deg) saturate(1.8)}}
.noel-tag{position:absolute;top:2px;left:4px;z-index:2;background:var(--n-pinkdeep);color:#fff;font-weight:700;font-size:11.5px;padding:5px 11px;border-radius:999px 999px 999px 0;transform:rotate(-5deg);box-shadow:0 0 12px rgba(255,47,160,.7)}
.noel-tag.hot{background:var(--n-chart);color:var(--n-velvet);box-shadow:0 0 12px rgba(198,255,0,.8)}
.noel-card h3{font-size:14.5px!important;margin:6px 0 0!important;font-weight:700!important;line-height:1.3!important;color:#212529!important;font-family:var(--n-body)!important;text-align:left!important}
.noel-card .noel-price{color:#ad1f00;font-weight:700}
.noel-card .noel-price s{color:#777;font-weight:400;margin-left:6px}
.noel-card .noel-add{margin-top:6px;background:var(--n-velvet);color:#fff;text-align:center;font-weight:700;font-size:13px;padding:10px;border-radius:999px}
.noel-card:hover .noel-add{background:var(--n-pinkdeep)}

/* 3g. le coin des lutins : feuille de buvard */
.noel-sheet{position:relative;border-radius:16px;overflow:hidden;background:var(--n-velvet)}
.noel-sheet canvas{position:absolute;inset:0;width:100%;height:100%;display:block}
.noel-cats{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.noel-cat{min-height:190px;padding:26px 20px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;color:var(--n-spore)!important;text-decoration:none!important;border-right:2px dashed rgba(255,246,230,.7)}
.noel-cat:last-child{border-right:0}
.noel-cat b,.noel-cat span{background:var(--n-velvet);align-self:flex-start;padding:3px 8px}
.noel-cat b{font-size:18px}
.noel-cat span{font-size:13px;color:#efe6ff}
.noel-cat:hover b{color:var(--n-chart)}

/* ---------- 4. vignettes produit partout : rond psychédélique SANS couper la photo ---------- */
html.mt-noel .product-miniature .thumbnail-container .product-thumbnail{display:block!important;position:relative;aspect-ratio:1/1;overflow:hidden;border-radius:58% 42% 52% 48% / 46% 54% 46% 54%!important;background:radial-gradient(circle,#fff 55%,#f0e6ff)!important;border:3px solid var(--n-velvet)!important;box-shadow:inset 0 0 0 4px var(--n-chart)!important;transition:border-radius .8s,border-color .3s}
html.mt-noel .product-miniature .thumbnail-container .product-thumbnail picture{display:block!important;position:absolute!important;top:9%!important;left:9%!important;right:9%!important;bottom:9%!important;width:auto!important;height:auto!important;margin:0!important}
html.mt-noel .product-miniature .thumbnail-container .product-thumbnail img{width:100%!important;height:100%!important;object-fit:contain!important;mix-blend-mode:multiply}
html.mt-noel .product-miniature:hover .thumbnail-container .product-thumbnail{border-radius:42% 58% 46% 54% / 56% 44% 56% 44%!important;border-color:var(--n-pinkdeep)!important;box-shadow:inset 0 0 0 4px var(--n-pink)!important}
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}
html.mt-noel body#index .elementor-button.btn-secondary{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 body#index .elementor-button.btn-secondary:hover{background:var(--n-pinkdeep)!important;border-color:var(--n-pinkdeep)!important}

/* ---------- 5. 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}

/* ---------- 6. catégories : en-tête light show ---------- */
html.mt-noel .noel-cathead{position:relative;overflow:hidden;background:var(--n-velvet);border-radius:14px;padding:40px 28px!important;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 hr{display:none!important}
html.mt-noel .noel-cathead h1{font-family:var(--n-poster)!important;font-weight:400!important;color:var(--n-chart)!important;font-size:clamp(32px,4.6vw,50px)!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)}

/* ---------- 7. panier (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)}

/* ---------- 8. pied de page nuit ---------- */
html.mt-noel #footer{background:var(--n-velvet)!important}
html.mt-noel #footer *:not(img):not(svg):not(path):not(input):not(button):not(.btn):not(select){background-color:transparent!important;border-color:rgba(255,255,255,.14)!important}
html.mt-noel #footer,html.mt-noel #footer p,html.mt-noel #footer span,html.mt-noel #footer li,html.mt-noel #footer div,html.mt-noel #footer h3,html.mt-noel #footer h4,html.mt-noel #footer h5,html.mt-noel #footer strong{color:#e6dcf7!important}
html.mt-noel #footer a{color:#fff!important}
html.mt-noel #footer a:hover{color:var(--n-chart)!important}

/* ---------- 9. téléphone ---------- */
@media (max-width:767px){
  html.mt-noel .noel-topbar{font-size:12px;letter-spacing:.02em;padding:6px 12px}
  .noel-hero{min-height:0}
  .noel-hero .noel-in{grid-template-columns:1fr;gap:10px;padding-block:28px}
  .noel-title{font-size:36px;line-height:1.12}
  .noel-title .ch{transform:none}
  .noel-art{max-width:190px}
  html.mt-noel .noel-deadline{gap:6px 8px;padding:12px 10px}
  html.mt-noel .noel-deadline span{font-size:13px}
  html.mt-noel .noel-deadline > span:first-child{flex-basis:100%}
  .noel-reassure .noel-wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .noel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .noel-cats{grid-template-columns:1fr}
  .noel-cat{border-right:0;border-bottom:2px dashed rgba(255,246,230,.7);min-height:120px}
  .noel-cat:last-child{border-bottom:0}
  .noel-block .noel-h2{font-size:26px!important}
}
@media (prefers-reduced-motion:reduce){
  .noel-title .ch,.noel-art .noel-mandala,.noel-lid,.noel-card:hover .noel-thumb img{animation:none}
}
