/*
Theme Name: Éclat d’Humeur
Template: storefront
Version: 0.1
Description: Thème d'essai local de la boutique.
*/
@font-face{font-family:Knewave;src:url("fonts/Knewave-Regular.ttf");font-display:swap}
:root{--nuit:#000;--carte:#111;--ivoire:#f5f0e6;--jaune:#f2c230;--gris:#b6ad9f;--trait:#2c2823;
  --marque:#f2c230;--marque-fg:#17120a;--entete:transparent;--survol:#2a2621;--bouton-bg:#f2c230;--bouton-fg:#17120a;--bouton-bord:#f2c230;--bouton-hover:#ffd552;
  --entree:#221f1b;--entree-bord:#4a4339;--alerte:#24201a;--mark-bg:#3a2f0c;--mark-fg:#ffd552}
/* thème Moutarde : fond jaune de la marque, texte noir */
:root[data-theme="moutarde"]{--nuit:#f2c230;--carte:#f8d45a;--ivoire:#17120a;--jaune:#fffaf0;--gris:#4a3d0e;--trait:#c99a12;
  --marque:#17120a;--marque-fg:#f2c230;--entete:#f2c230f5;--survol:#e2b01f;--bouton-bg:#17120a;--bouton-fg:#f2c230;--bouton-bord:#17120a;--bouton-hover:#2b2310;
  --entree:#ffe58a;--entree-bord:#b98a0a;--alerte:#ffe07a;--mark-bg:#17120a;--mark-fg:#f2c230}
/* thème Crème : fond crème, texte noir, jaune en accent */
:root[data-theme="creme"]{--nuit:#efe7da;--carte:#e4dac8;--ivoire:#17120a;--jaune:#b37900;--gris:#5b5140;--trait:#cfc3ad;
  --marque:#f2c230;--marque-fg:#17120a;--entete:#efe7daf5;--survol:#e2d8c5;--bouton-bg:#f2c230;--bouton-fg:#17120a;--bouton-bord:#17120a;--bouton-hover:#ffd552;
  --entree:#f8f2e7;--entree-bord:#a99b82;--alerte:#e9dcb8;--mark-bg:#17120a;--mark-fg:#f2c230}
html{scroll-behavior:smooth}
body,body.custom-background{background:var(--nuit);color:var(--ivoire);font:16px/1.55 system-ui,"Segoe UI",sans-serif;margin:0}
body a,body a:hover,body a:visited{color:var(--ivoire)}
h1,h2,h3,body h1,body h2,body h3,.marque b{font-family:Knewave,system-ui;font-weight:400;color:var(--ivoire);letter-spacing:.01em;line-height:1.25}
h1 span,h2 span,.marque b span{color:var(--jaune)}
.larg{max-width:1100px;margin:auto;padding:0 16px;box-sizing:border-box}
.essai{background:var(--marque);color:var(--marque-fg);text-align:center;font-size:.85rem;font-weight:600;padding:5px 10px}
.haut{position:sticky;top:0;z-index:50;background:var(--entete);border-bottom:1px solid var(--trait);backdrop-filter:blur(6px)}
.haut .larg{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding-top:6px;padding-bottom:6px}
.marque{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:1.35rem}
.marque img{width:58px;height:59px}
.haut nav{display:flex;gap:4px;flex-wrap:wrap}
.haut nav a{text-decoration:none;padding:8px 12px;border-radius:999px}
.haut nav a:hover,.haut nav a:focus-visible{background:var(--survol)}
.hero{display:grid;grid-template-columns:1.05fr 1fr;gap:20px;align-items:center;padding-top:28px;padding-bottom:20px}
.hero img{width:100%;max-width:500px;height:auto;display:block;margin:auto}
.hero h1{font-size:clamp(2.1rem,6vw,3.7rem);line-height:1.2;margin:0 0 14px}
.hero p{color:var(--gris);font-size:1.1rem;max-width:34ch}
.titre{font-size:clamp(1.6rem,4vw,2.3rem);text-align:center;margin:46px 0 4px}
.sous{text-align:center;color:var(--gris);margin:0 0 22px}
.mascotte{display:grid;grid-template-columns:300px 1fr;gap:24px;align-items:center;background:var(--carte);border-radius:18px;padding:22px;margin-top:46px}
.mascotte img{width:100%;height:auto}
.mascotte h2{margin:0 0 8px}
.bas{text-align:center;color:var(--gris);font-size:.85rem;padding:34px 16px 24px}

/* Storefront : pas de colonne flottante ni de barre latérale */
body .content-area{width:100%!important;float:none!important;margin:0!important}
.bas{clear:both}
body div.product::before,body div.product::after{display:none!important}

/* pages d'information */
.liens{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px;margin-bottom:12px}
.liens a{text-decoration:underline;padding:4px 0}
body .entry-content{max-width:760px;margin:auto}
body .entry-content h2{font-size:1.4rem;margin:26px 0 8px}
body .entry-content table,body .entry-content th,body .entry-content td{background:var(--carte)!important;color:var(--ivoire);border:1px solid var(--trait);text-align:left;padding:8px;vertical-align:top}
body .entry-content blockquote{background:var(--carte);border-left:4px solid var(--jaune);margin:0;padding:6px 16px;color:var(--ivoire);font-style:normal}
body .entry-content mark{background:var(--mark-bg);color:var(--mark-fg);padding:1px 4px;border-radius:4px;overflow-wrap:anywhere}
.brouillon{border:2px dashed var(--jaune);border-radius:12px;padding:10px 14px;color:var(--jaune);font-weight:600}

/* boutons */
body .button,body button.button,body a.button,body button.single_add_to_cart_button,body .button.alt,body a.checkout-button{
  font:600 1rem system-ui,"Segoe UI",sans-serif;background:var(--bouton-bg);color:var(--bouton-fg);border:2px solid var(--bouton-bord);border-radius:999px;padding:11px 22px;text-decoration:none}
body .button:hover,body button.button:hover,body a.button:hover,body .button.alt:hover{background:var(--bouton-hover);color:var(--bouton-fg)}
body a.button:visited{color:var(--bouton-fg)}
body .button.disabled,body .button:disabled{opacity:.5}

/* cartes produits */
body .woocommerce ul.products,body ul.products{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:0;padding:0;list-style:none}
body ul.products::before,body ul.products::after{display:none}
body ul.products li.product,.page-template-default ul.products li.product{flex:0 1 330px;width:auto!important;float:none!important;margin:0!important;background:var(--carte);border:2px solid transparent;border-radius:18px;padding:10px;text-align:left;transition:transform .2s,border-color .2s}
body ul.products li.product:hover{transform:translateY(-4px);border-color:var(--jaune)}
body ul.products li.product img{width:100%;height:auto;border-radius:12px;margin:0 0 8px}
body ul.products li.product .woocommerce-loop-product__title{font:600 1.02rem system-ui,"Segoe UI",sans-serif;padding:0 6px;margin:0}
body ul.products li.product .price{color:var(--gris);padding:0 6px;display:block;margin:4px 0 10px}
body ul.products li.product .button{margin:0 6px 6px;display:inline-block;padding:8px 18px}

/* fiche produit */
.contenu{max-width:1100px;margin:auto;padding:20px 16px;box-sizing:border-box}
body .woocommerce-breadcrumb{background:transparent;color:var(--gris);margin:0 0 16px;padding:0}
body div.product{display:grid;grid-template-columns:1.1fr 1fr;gap:26px;align-items:start}
body div.product>.woocommerce-notices-wrapper{grid-column:1/-1}
body div.product div.images,body div.product div.summary{width:100%!important;float:none!important;margin:0!important}
body div.product div.images img{border-radius:14px;width:100%;height:auto}
body div.product .product_title{font-size:clamp(1.4rem,3.4vw,2rem);margin:0 0 10px}
body div.product p.price,body div.product .price{color:var(--jaune);font-size:1.4rem}
body table.variations,body table.variations td,body table.variations th{background:transparent!important;border:0;color:var(--ivoire);text-align:left;padding:6px 8px 6px 0}
body select,body input.input-text,body input[type=number],body .quantity .qty{background:var(--entree);color:var(--ivoire);border:1px solid var(--entree-bord);border-radius:10px;padding:9px;box-shadow:none}
body .product_meta,body .woocommerce-variation-description{color:var(--gris);font-size:.85rem}

/* panier, messages, tableaux */
body .woocommerce-message,body .woocommerce-info,body .woocommerce-error,body .woocommerce-noreviews{background:var(--alerte);color:var(--ivoire);border-left:4px solid var(--jaune);border-radius:10px;padding:12px 16px;list-style:none}
body .woocommerce-message::before,body .woocommerce-info::before,body .woocommerce-error::before{display:none}
body table.shop_table,body table.shop_table th,body table.shop_table td,body .cart_totals th,body .cart_totals td{background:var(--carte)!important;color:var(--ivoire);border-color:var(--trait)}
body table.shop_table,body table.shop_table tbody,body table.shop_table tr{background:var(--carte)!important;border-color:var(--trait)!important}
body table.cart td.actions::before,body table.cart td.actions::after,body table.cart td.actions .coupon{display:none}
body table.cart td.actions{border-top-width:0!important}
body table.cart td.product-thumbnail img{max-width:84px;border-radius:8px}
body .cart-collaterals,body .cart_totals{width:100%!important;float:none!important}
.paiement-ferme{display:block;text-align:center;border:2px dashed var(--jaune);border-radius:14px;padding:14px;color:var(--jaune);font-weight:600}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}

@media (max-width:720px){
  .hero,.mascotte,body div.product{grid-template-columns:1fr}
  .hero,.mascotte{text-align:center}.hero p{margin-left:auto;margin-right:auto}
  .mascotte img{max-width:260px;margin:auto}
  .marque{font-size:1.15rem}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}ul.products li.product{transition:none}}

/* détails de la fiche et rétractation */
body .infos{border-top:1px solid var(--trait);padding:10px 0;clear:both}
body .infos summary{cursor:pointer;font-weight:600}
body .infos ul{margin:8px 0 0 1.2em}
body .infos table{width:100%;margin:6px 0 0;border-collapse:collapse}
body .infos table th,body .infos table td{background:var(--carte)!important;color:var(--ivoire);border:1px solid var(--trait);padding:6px 8px;text-align:left}
body .infos mark{background:var(--mark-bg);color:var(--mark-fg);padding:1px 4px;border-radius:4px}
body .retract label{display:block;margin-bottom:4px}
body .retract input.input-text{width:100%;box-sizing:border-box}
body .retract dt{color:var(--gris)}
body .retract dd{margin:0 0 10px;overflow-wrap:anywhere}
.liens a[href*="retractation"],body .liens a[href*="retractation"]{color:var(--jaune);font-weight:600}

/* ===== Accueil éditorial (inspiré d'OUTFIT) ===== */
body,.haut,.essai,body .button,.mascotte{transition:background-color .5s,color .5s,border-color .5s}
.themes{display:flex;gap:8px;align-items:center}
.themes button{width:20px;height:20px;border-radius:50%;border:2px solid var(--ivoire);padding:0;cursor:pointer;opacity:.55;transition:opacity .2s,transform .2s}
.themes button[data-t=nuit]{background:#0e0d0c;box-shadow:inset -6px 0 0 #f2c230}
.themes button[data-t=moutarde]{background:#f2c230;box-shadow:inset -6px 0 0 #17120a}
.themes button[data-t=creme]{background:#efe7da;box-shadow:inset -6px 0 0 #f2c230}
.themes button[aria-pressed=true]{opacity:1;transform:scale(1.25)}
.themes button:hover{opacity:1}
.home .contenu{max-width:none;padding:0}
.ouverture{padding:4vw 2.5vw 2vw;overflow:hidden}
.geant{margin:0;font-family:Knewave,system-ui;font-weight:400;font-size:11.6vw;line-height:1;text-align:center;white-space:nowrap;color:var(--ivoire)}
.geant .j{color:var(--jaune)}
.filet{height:3px;background:var(--marque);margin:2vw 0 14px;border-radius:2px}
.meta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;font-size:.95rem;color:var(--gris)}
.meta a{text-decoration:none;font-weight:600;color:var(--ivoire)}
.grille-photos{display:grid;grid-template-columns:1fr 1fr;gap:2.5vw;padding:3vw 2.5vw}
.photo{display:block;text-decoration:none}
.photo .cadre{display:block;aspect-ratio:3/4;overflow:hidden;background:var(--carte);border-radius:6px}
.photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.photo:hover img{transform:scale(1.04)}
.photo .legende{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:10px 2px 0;font-size:1.05rem}
.photo .legende i{font-style:normal;color:var(--gris)}
.home .mascotte{margin:3vw 2.5vw}
@media (max-width:720px){.grille-photos{grid-template-columns:1fr;gap:5vw}.geant{font-size:11.2vw}.themes{order:3}}


/* fiche produit : même présentation */
.single-product .contenu{max-width:none;padding:0 2.5vw 3vw}
.single-product .woocommerce-breadcrumb{padding-top:14px}
.single-product div.product{grid-template-columns:1.25fr 1fr;gap:3vw}
.single-product div.product div.images{position:sticky;top:70px;border-radius:6px;overflow:hidden;background:var(--carte)}
.single-product div.product div.images img{border-radius:0;transition:transform .9s cubic-bezier(.2,.7,.2,1)}
.single-product div.product div.images:hover img{transform:scale(1.03)}
.single-product .product_title{font-size:clamp(2.2rem,6.5vw,5.2rem);line-height:1;margin:0 0 14px}
.single-product .product_title::after{content:"";display:block;height:3px;background:var(--marque);margin-top:14px;border-radius:2px}
.single-product .related h2,.single-product .upsells h2{font-size:clamp(1.6rem,4vw,2.6rem);margin:5vw 0 2vw}
.single-product .related ul.products,.single-product .upsells ul.products{display:grid;grid-template-columns:1fr 1fr;gap:2.5vw}
.single-product ul.products li.product{flex:none;background:transparent;padding:0;border-color:transparent}
.single-product ul.products li.product:hover{transform:none}
.single-product ul.products li.product img{border-radius:6px;aspect-ratio:3/4;object-fit:cover}
@media (max-width:720px){.single-product div.product{grid-template-columns:1fr}.single-product div.product div.images{position:static}}

/* ===== Même mise en scène que la référence ===== */
.haut{position:fixed;left:0;right:0;top:0;border:0;backdrop-filter:none}
:root:not([data-theme]) .haut,:root[data-theme="nuit"] .haut{mix-blend-mode:difference}
:root:not([data-theme]) .haut a,:root[data-theme="nuit"] .haut a,:root:not([data-theme]) .haut b,:root[data-theme="nuit"] .haut b{color:#fff}
.haut .larg{max-width:none;padding:14px 2.5vw}
.marque img{width:40px;height:41px}
.haut nav{margin-left:auto;margin-right:22px}
.haut nav a{background:none!important;padding:6px 10px}
.haut nav a:hover{text-decoration:underline}
.themes button{border-color:currentColor}
:root:not([data-theme]) .themes button,:root[data-theme="nuit"] .themes button{border-color:#fff}
.contenu{padding-top:74px}
.home .contenu{padding-top:0}
.ouverture{padding:84px 2.5vw 0}
.geant .m{display:inline-block;overflow:hidden;vertical-align:top;padding:0 .02em .14em}
.geant .m>span{display:inline-block;animation:monte 1s cubic-bezier(.2,.8,.2,1) .2s both}
.geant .m.j>span{animation-delay:.32s}
html.pre .geant .m>span{animation-delay:2.9s}
html.pre .geant .m.j>span{animation-delay:3.02s}
@keyframes monte{from{transform:translateY(110%)}to{transform:none}}
.filet{margin:.6vw 0 14px;height:2px;transform-origin:left;animation:filet 1.1s cubic-bezier(.2,.8,.2,1) .5s both}
html.pre .filet{animation-delay:3.1s}
@keyframes filet{from{transform:scaleX(0)}to{transform:none}}
.grille-photos{gap:6px;padding:40px 6px 6px}
.photo{opacity:0;transform:translateY(40px);transition:opacity .9s ease,transform 1.1s cubic-bezier(.2,.8,.2,1)}
.photo.vu{opacity:1;transform:none}
.photo .cadre{border-radius:0}
.photo .cadre img{transform:scale(1.12);transition:transform 1.4s cubic-bezier(.2,.8,.2,1)}
.photo.vu .cadre img{transform:scale(1)}
.photo:hover .cadre img{transform:scale(1.05)}
.photo .legende{padding:8px 2px 0;font-size:1rem}
.photo .legende b{font-weight:500}
.photo .cat{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.06em;color:var(--gris);padding:2px 2px 18px}
.home .mascotte{margin:6px}
#rideau{position:fixed;inset:0;z-index:200;background:var(--ivoire);pointer-events:none;clip-path:inset(100% 0 0 0)}
#rideau.entre{clip-path:inset(0);transition:clip-path .65s cubic-bezier(.7,0,.2,1);pointer-events:all}
html.go #rideau{clip-path:inset(0);transition:none}
html.go.sort #rideau{clip-path:inset(0 0 100% 0);transition:clip-path .8s cubic-bezier(.7,0,.2,1)}
#pre{display:none}
html.pre #pre{display:flex;position:fixed;inset:0;z-index:150;background:#000;color:#fff;align-items:center;justify-content:center;clip-path:inset(0);transition:clip-path 1s cubic-bezier(.7,0,.2,1)}
html.pre #pre.fin{clip-path:inset(0 0 100% 0)}
#pre .pile{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
#pre .pile img{position:absolute;width:13vw;min-width:110px;aspect-ratio:3/4;object-fit:cover;opacity:0;transform:scale(.7) rotate(0);transition:opacity .25s,transform .5s cubic-bezier(.2,.8,.2,1)}
#pre .pile img.on{opacity:1;transform:scale(1) rotate(var(--r,0deg))}
.pre-mot{position:relative;font:400 clamp(2rem,6vw,5rem)/1 Knewave,system-ui;color:#f2c230;text-align:center}
.pre-mot small{font:600 .9rem system-ui;color:#fff;vertical-align:top;margin-left:.6em}
html.pre,html.pre body{overflow:hidden}
.retour{display:inline-block;font-size:.85rem;text-decoration:none;margin:6px 0 12px 2.5vw}
.single-product .contenu{padding:80px 6px 3vw}
.single-product div.product{gap:6px}
.single-product div.product div.summary{padding:0 2.5vw}
.single-product div.product div.images{border-radius:0}
.single-product .woocommerce-breadcrumb{display:none}
.single-product div.product .price{font-size:1.6rem;color:var(--ivoire)}
@media (max-width:720px){.grille-photos{padding-top:24px}.geant{font-size:11.2vw}.haut nav{display:none}}
@media (prefers-reduced-motion:reduce){.geant .m>span,.filet{animation:none}.photo{opacity:1;transform:none;transition:none}#rideau,#pre{display:none!important}}

/* bascule vers la photo portée (comme la référence) */
.photo .cadre{position:relative}
.photo .cadre img.porte{position:absolute;inset:0;transform:scale(1.08);clip-path:inset(100% 0 0 0);transition:clip-path .8s cubic-bezier(.7,0,.2,1),transform 1.2s cubic-bezier(.2,.8,.2,1)}
.photo:hover .cadre img.porte,.photo:focus-visible .cadre img.porte{clip-path:inset(0);transform:scale(1)}
.photo.vu:hover .cadre img:not(.porte){transform:scale(1)}
.photo-porte{grid-column:1/-1;order:9;overflow:hidden;opacity:0;transform:translateY(40px);transition:opacity .9s,transform 1.1s cubic-bezier(.2,.8,.2,1)}
.photo-porte.vu{opacity:1;transform:none}
.photo-porte img{width:100%;display:block}
@media (hover:none){.photo .cadre img.porte{animation:bascule 6s ease-in-out infinite 2s}}
@keyframes bascule{0%,40%{clip-path:inset(100% 0 0 0)}50%,90%{clip-path:inset(0)}100%{clip-path:inset(100% 0 0 0)}}

/* intro : même bascule photo à plat -> photo portée */
#pre .pile .duo{position:absolute;display:block;width:16vw;min-width:120px;aspect-ratio:3/4;overflow:hidden;opacity:1;background:#111;clip-path:inset(100% 0 0 0);transform:scale(1.04);transition:clip-path .7s cubic-bezier(.7,0,.2,1),transform 1s cubic-bezier(.2,.8,.2,1)}
#pre .pile .duo.on{clip-path:inset(0);transform:rotate(var(--r,0deg))}
#pre .pile .duo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:1;transform:none;transition:none}
#pre .pile .duo img+img{clip-path:inset(100% 0 0 0);transition:clip-path .8s cubic-bezier(.7,0,.2,1) .4s}
#pre .pile .duo.on img+img{clip-path:inset(0)}

/* ===== Bascule identique à la référence : balayage gauche->droite + flash de lumière + zoom 1,2 -> 1 ===== */
.photo .cadre img.porte,#pre .pile .duo img+img{clip-path:polygon(0% 0%,0% 0%,0% 100%,0% 100%);transform:scale(1.2);filter:brightness(400%) contrast(150%);transition:all .5s cubic-bezier(.87,0,.13,1)}
.photo:hover .cadre img.porte,.photo:focus-visible .cadre img.porte{clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 100%);transform:scale(1);filter:brightness(100%) contrast(100%)}
@keyframes bascule{0%,40%{clip-path:polygon(0% 0%,0% 0%,0% 100%,0% 100%);transform:scale(1.2);filter:brightness(400%) contrast(150%)}50%,90%{clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 100%);transform:scale(1);filter:none}100%{clip-path:polygon(0% 0%,0% 0%,0% 100%,0% 100%);transform:scale(1.2);filter:brightness(400%) contrast(150%)}}
#pre .pile .duo.on img+img{clip-path:polygon(0% 0%,100% 0%,100% 100%,0% 100%);transform:scale(1);filter:brightness(100%) contrast(100%);transition:all .5s cubic-bezier(.87,0,.13,1) .45s}
/* apparition des photos : bloc de couleur qui glisse (comme la référence) */
.photo{opacity:1;transform:none;transition:none}
.photo .cadre::after{content:"";position:absolute;inset:0;background:#d2cac3;transform:translateX(0);transition:transform .9s cubic-bezier(.87,0,.13,1);z-index:2;pointer-events:none}
.photo.vu .cadre::after{transform:translateX(101%)}
.photo .cadre img:not(.porte){transform:scale(1.2);transition:transform 1.2s cubic-bezier(.87,0,.13,1)}
.photo.vu .cadre img:not(.porte){transform:scale(1)}
.photo.vu:hover .cadre img:not(.porte){transform:scale(1)}
.photo-porte{transition:opacity .9s,transform 1.1s cubic-bezier(.87,0,.13,1)}
@media (prefers-reduced-motion:reduce){.photo .cadre::after{display:none}}

/* grille de 4 produits comme la référence */
.grille-photos{grid-template-columns:repeat(4,1fr);gap:1.8vw;padding:40px 1.8vw 1.8vw}
.photo .legende{font-size:clamp(1rem,1.45vw,1.5rem);padding-top:12px}
.photo .cat{font-size:.7rem;padding-bottom:28px}
@media (max-width:1000px){.grille-photos{grid-template-columns:repeat(2,1fr)}}
@media (max-width:720px){.grille-photos{grid-template-columns:1fr;gap:6vw}.photo .legende{font-size:1.2rem}}

/* ===== Disposition éditoriale à 16 colonnes (comme la référence) ===== */
.collection{padding:40px 1.7vw 0}
.bloc{margin-bottom:9vw}
.bloc4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.7vw;align-items:start}
.bloc16{display:grid;grid-template-columns:repeat(16,1fr);gap:1.7vw;align-items:start}
.bloc16 .photo{grid-column:var(--c)}
.grille-photos{display:none}
.collection .photo .cadre{aspect-ratio:var(--a,3/4)}
#curseur{position:fixed;left:0;top:0;z-index:120;width:100px;height:100px;margin:-50px 0 0 -50px;border-radius:50%;background:#e30000;color:#fff;display:flex;align-items:center;justify-content:center;font:600 .8rem system-ui;letter-spacing:.04em;pointer-events:none;transform:translate(-100px,-100px);scale:0;transition:scale .3s cubic-bezier(.87,0,.13,1)}
#curseur.on{scale:1}
@media (max-width:1000px){.bloc4,.bloc16{grid-template-columns:repeat(2,1fr);gap:3vw}.bloc16 .photo{grid-column:auto}.collection .photo .cadre{aspect-ratio:3/4}.bloc{margin-bottom:6vw}#curseur{display:none}}
@media (max-width:520px){.bloc4,.bloc16{grid-template-columns:1fr}}

/* titre d'accueil moins gros */
.geant{font-size:8.2vw}
@media (max-width:720px){.geant{font-size:9.6vw}}

/* titre encore plus petit, accent de « Éclat » visible */
.geant{font-size:6.6vw;line-height:1.1}
.geant .m{padding:.3em .03em .16em;margin-top:-.3em}
html body .ouverture{padding-top:132px}
@media (max-width:720px){.geant{font-size:8.6vw}}

/* tête du chat à côté du titre */
.geant .m.chat>span{animation-delay:.1s}
html.pre .geant .m.chat>span{animation-delay:2.8s}
.geant .chat img{height:1.35em;width:auto;display:block;margin:-.2em .05em -.1em 0}
.geant .m.chat{padding-top:.3em}

.ap{font-style:normal;margin:0 -.03em 0 .07em}

/* taches d'encre du titre (placées à la main) */
.mot{position:relative;display:inline-block;vertical-align:top}
.mot::after{content:"";position:absolute;left:50%;transform:translateX(-50%);background:currentColor;pointer-events:none;opacity:0;animation:tache .9s ease 1.2s both;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%}
.mot.e::after{width:3.214em;height:2.069em;top:-.55em;-webkit-mask-image:url(images/taches_eclat.png);mask-image:url(images/taches_eclat.png)}
.mot.h::after{width:5.221em;height:1.831em;top:-.25em;-webkit-mask-image:url(images/taches_humeur.png);mask-image:url(images/taches_humeur.png)}
html.pre .mot::after{animation-delay:3.5s}
@keyframes tache{from{opacity:0}to{opacity:1}}

/* page Noël */
.ouverture-noel .geant{color:#e03a34}
.ouverture-noel .filet{background:#e03a34}
.bloc5{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1vw;padding:40px 6px 6px}
.bloc5 .photo .cadre{aspect-ratio:var(--a)}
@media (max-width:1000px){.bloc5{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.bloc5{grid-template-columns:1fr}}

.ouverture-noel .geant .m,.ouverture-noel .geant .m>span,.ouverture-noel .geant .ap{color:#e03a34}
.ouverture-noel .geant .m.j,.ouverture-noel .geant .m.j>span,.ouverture-noel .geant .m.j .ap{color:#fff}
:root[data-theme="creme"] .ouverture-noel .geant .m.j,:root[data-theme="creme"] .ouverture-noel .geant .m.j>span,:root[data-theme="creme"] .ouverture-noel .geant .m.j .ap{color:var(--ivoire)}

/* sans choix de couleurs : le menu reste à droite */
.haut nav{margin-right:0}

/* « Noël » : la pointe du l dépassait du masque ; prix sous le nom dans la grille serrée de Noël */
.ouverture-noel .geant .m{padding-right:.16em;margin-right:-.12em}
.bloc5 .legende{display:block}
.bloc5 .legende b,.bloc5 .legende i{display:block}

/* téléphone : menu visible et produits sur deux colonnes, comme sur ordinateur */
@media (max-width:720px){
html:root:not([data-theme]) .haut{mix-blend-mode:normal;background:#000}
.haut .larg{padding:8px 4vw}
.haut nav{display:flex;width:100%;justify-content:space-between;gap:4px;margin:4px 0 0}
.haut nav a{padding:6px 2px;font-size:.95rem}
.bloc4,.bloc16,.bloc5{grid-template-columns:repeat(2,minmax(0,1fr));gap:3vw}
.collection{padding-left:3vw;padding-right:3vw}
.collection .photo .legende,.bloc5 .photo .legende{display:block;font-size:.85rem;line-height:1.3;padding-top:8px}
.photo .legende b,.photo .legende i{display:block}
.photo .cat{padding-bottom:14px}
html body .ouverture{padding-top:132px}
}

/* téléphone : 3 produits par ligne, à la suite (les rangées d'ordinateur sont fondues en une seule grille) */
@media (max-width:720px){
.collection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4vw 2vw;align-items:start;padding-left:2vw;padding-right:2vw}
.collection .bloc{display:contents}
.collection .photo{grid-column:auto}
.collection .photo .legende,.bloc5 .photo .legende{font-size:.72rem;line-height:1.25;padding-top:6px;overflow-wrap:anywhere}
.collection .photo .cat{font-size:.58rem;padding-bottom:4px}
}
