/* by ED (Euro Distribution), 27/10/2026 : LE NOUVEAU CATALOGUE, la page d'une rubrique (catalogue, collections,
   sous-rubriques) et ce qu'elle partage avec la fiche (cartes, boutons, planche « Fig. »). Dessin validé par le client sur
   la maquette refonte/catalogue-esquisses/esquisse-4-accueil (style.css de la maquette + /style.css et /accueil.css de
   l'accueil, dont les règles utiles sont reprises ici, rangées sous des classes préfixées ed-). Chargée par
   _partials/ed-catalogue-tete.tpl sur les seules pages category et product au nouveau dessin : les règles de page
   (#category, #product) ne touchent donc rien d'autre. La boutique (theme.css de Classic, custom.css, ed-custom.css)
   reste chargée : les règles qui la contredisent sont neutralisées ici, au plus près (voir « 1 »).
   Deux modes : html.ed-cat-anime (les arrivées se jouent) ; sinon tout est affiché d'emblée (moins d'animations,
   script absent). Mise en page de la fiche : ed-catalogue-fiche.css. */

/* ---------- 0. polices (déjà sur le site) et couleurs ---------- */
@font-face { font-family: 'Archivo'; src: url('/assets/fonts/archivo-variable-latin.woff2') format('woff2-variations'); font-weight: 400 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: 'Forum'; src: url('/assets/fonts/forum-v19-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Questrial'; src: url('/assets/fonts/questrial-v19-latin-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --edc-noir: #020202; --edc-creme: #f4f2ea; --edc-olive-800: #23281a; --edc-olive-900: #14170f;
  --edc-orange: #f1531a; --edc-orange-fonce: #b8400d; --edc-orange-btn: #cf4716;
  --edc-gouttiere: clamp(16px, 4vw, 64px); --edc-courbe: cubic-bezier(.2, .85, .2, 1); --edc-entete: 84px;
  --edc-f-titre: "Archivo", "Helvetica Neue", Arial, sans-serif; --edc-f-serif: "Forum", Georgia, serif;
  --edc-f-corps: "Questrial", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 1. la page : fond noir, pleine largeur ; ce que la boutique imposait ---------- */
body#category, body#product { background: var(--edc-noir); color: var(--edc-creme); }
body#category #wrapper, body#product #wrapper { background: var(--edc-noir); padding: 0; box-shadow: none; }
body#category #wrapper > .container, body#product #wrapper > .container { width: 100%; max-width: none; padding: 0; margin: 0; }
body#category #wrapper > .container > .row, body#product #wrapper > .container > .row { margin: 0; display: block; }
body#category #content-wrapper, body#product #content-wrapper { width: 100%; max-width: none; padding: 0; float: none; flex: none; }
/* ed-custom.css (l. 238, 507, 511, 646, 673, 1578) : marges de 48 px, colonne à 79 % ; ici, toute la largeur */
body#category.page-category #wrapper > .container, body#product.page-product #wrapper > .container { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
body#category.page-category #wrapper > .container > .row, body#product.page-product #wrapper > .container > .row { margin: 0 !important; display: block !important; }
body#category.page-category #content-wrapper.ed-cat-contenu, body#product.page-product #content-wrapper.js-content-wrapper { flex: none !important; width: 100% !important; max-width: none !important; padding: 0 !important; margin: 0 !important; }
/* l'en-tête de l'accueil (ed-entete-site.tpl) : sur ces pages, le noir presque opaque de la maquette dès qu'on défile */
body#category #header .ed-entete-site::before, body#product #header .ed-entete-site::before {
  background: rgba(0, 0, 0, .96); border-bottom-color: rgba(244, 242, 234, .1);
}
body#category main > #header, body#product main > #header { background: transparent; }
.ed-cat, .ed-fiche, .ed-cat-bf, .ed-fiche-autres, .ed-fiche-loupe, .ed-fiche-collant {
  font-family: var(--edc-f-corps); font-size: 16px; line-height: 1.6; color: var(--edc-creme);
  -webkit-font-smoothing: antialiased; text-align: left;
}
.ed-cat *, .ed-fiche *, .ed-cat-bf *, .ed-fiche-autres *, .ed-fiche-loupe *, .ed-fiche-collant * { box-sizing: border-box; }
/* custom.css donne #050505 et Questrial à tout <p>, Forum !important à tout titre ; ed-custom.css, l'orange au survol */
.ed-cat p, .ed-fiche p, .ed-cat-bf p, .ed-fiche-autres p, .ed-cat button, .ed-fiche button, .ed-cat-bf button { color: inherit; font-family: inherit; }
.ed-cat h1, .ed-cat h2, .ed-cat h3, .ed-fiche h1, .ed-fiche h2, .ed-fiche h3, .ed-cat-bf h2, .ed-fiche-autres h2, .ed-fiche-autres h3 { font-family: inherit !important; margin: 0; color: inherit; }
/* 27/10 : les titres en Archivo passent devant les deux règles « inherit » ci-dessus (classe doublée = poids plus fort) ;
   sans cela « Les collections », « Filtres », le grand mot et le compteur sortaient en Questrial. */
.ed-display.ed-display, .ed-cat-mot.ed-cat-mot, .ed-cat-compte.ed-cat-compte, .ed-cat-panneau__titre.ed-cat-panneau__titre, .ed-affichage__titre.ed-affichage__titre { font-family: var(--edc-f-titre) !important; }
.ed-cat .ed-cat-titre, .ed-carte .ed-carte__nom { letter-spacing: normal; text-transform: none; }
.ed-cat a, .ed-fiche a, .ed-cat-bf a, .ed-fiche-autres a { color: inherit; }
.ed-cat img, .ed-fiche img, .ed-fiche-autres img { max-width: 100%; display: block; }
.ed-cat ul, .ed-cat ol, .ed-fiche-autres ul { margin: 0; padding: 0; }
.ed-density { display: none !important; }   /* l'ancien choix 2-3-4 d'ed-grid.js : remplacé par « Affichage » */

/* ---------- 2. les pièces de l'accueil ---------- */
.ed-hors-ecran { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ed-surtitre {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-family: var(--edc-f-corps); font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--edc-orange) !important;
}
.ed-surtitre::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.ed-surtitre--fonce { color: var(--edc-orange-fonce) !important; }
.ed-display {
  margin: 0; font-family: var(--edc-f-titre) !important; font-weight: 800; font-stretch: 112%;
  text-transform: uppercase !important; line-height: .92; letter-spacing: -.01em; font-size: clamp(34px, 5vw, 84px);
}
.ed-ligne { display: block; overflow: hidden; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
@supports (overflow: clip) { .ed-ligne { overflow: visible; overflow-y: clip; } }
.ed-ligne > span { display: inline-block; }
.ed-lead { max-width: 46ch; margin: 22px 0 0; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.55; color: rgba(244, 242, 234, .78) !important; }
.ed-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 6px;
  border: 1px solid transparent; font: inherit; font-size: 14px; letter-spacing: .06em; line-height: 1.2; text-decoration: none !important;
  cursor: pointer; transition: transform .25s ease, background .25s, color .25s, border-color .25s;
}
.ed-btn:hover { transform: translateY(-2px); }
.ed-btn:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 4px; }
.ed-btn--plein, .ed-btn--plein:hover, .ed-btn--plein:focus { background: var(--edc-orange-btn); color: #fff !important; }
.ed-btn--plein:hover { background: var(--edc-orange-fonce); }
.ed-btn--contour, .ed-btn--contour:hover, .ed-btn--contour:focus { background: transparent; border-color: rgba(244, 242, 234, .4); color: var(--edc-creme) !important; }
.ed-btn--contour:hover { border-color: var(--edc-creme); }
.ed-btn--clair, .ed-btn--clair:hover, .ed-btn--clair:focus { background: transparent; border-color: rgba(35, 40, 26, .4); color: var(--edc-olive-800) !important; }
.ed-btn--clair:hover { border-color: var(--edc-olive-800); }
.ed-btn:disabled { opacity: .45; cursor: default; transform: none; }
.ed-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* le fil d'Ariane, dans le style des sur-titres orange */
.ed-ariane ol {
  list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--edc-orange);
}
.ed-ariane ol::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.ed-ariane li { display: block; }
.ed-ariane li + li::before { content: "\203A"; margin-right: 12px; letter-spacing: 0; opacity: .8; }
.ed-ariane a { color: var(--edc-orange) !important; text-decoration: none !important; border-bottom: 1px solid rgba(241, 83, 26, .35); }
.ed-ariane a:hover { border-color: currentColor; }
.ed-ariane a:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 4px; }
.ed-ariane [aria-current] { color: var(--edc-orange); }
/* « Défiler » */
.ed-indice {
  position: absolute; left: 50%; bottom: 28px; z-index: 3; transform: translateX(-50%); display: flex; flex-direction: column;
  align-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(244, 242, 234, .6);
  transition: opacity .8s ease;
}
.ed-indice i { width: 1px; height: 46px; background: linear-gradient(var(--edc-orange), transparent); transform-origin: top; animation: ed-indice 1.8s ease-in-out 2; }
@keyframes ed-indice { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
/* le grain de papier des sections crème */
.ed-grain::after, .ed-cat-filtres::after, .ed-raisons::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .06; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='g'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .14 0 0 0 0 .16 0 0 0 0 .1 0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23g)'/></svg>");
}
/* le compteur mécanique (« 1 semaine » de l'accueil) */
.ed-compteur { display: inline-flex; align-items: flex-start; font-variant-numeric: tabular-nums; }
.ed-compteur__chiffre { display: inline-block; height: 1em; overflow: hidden; }
.ed-compteur__bande { display: flex; flex-direction: column; will-change: transform; transition: transform 1.2s var(--edc-courbe); }
.ed-compteur__bande > span { display: block; height: 1em; line-height: 1; text-align: center; }
/* les étiquettes numérotées et leur barre qui se remplit (onglets de « Pourquoi commander chez nous ? ») */
.ed-etiq {
  display: flex; align-items: baseline; gap: .8em; font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 110%;
  font-size: 13px; letter-spacing: .2em; line-height: 1.45; text-transform: uppercase;
}
.ed-etiq > span { transition: color .3s ease; }
.ed-etiq__num { flex: none; color: var(--edc-orange); }
.ed-barre { position: relative; display: block; height: 2px; overflow: hidden; background: rgba(244, 242, 234, .2); }
.ed-barre b { position: absolute; inset: 0; background: var(--edc-orange); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--edc-courbe); }
/* la pastille numérotée, qui s'allume en orange */
.ed-puce {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(35, 40, 26, .5);
  font-family: var(--edc-f-titre); font-weight: 700; font-size: 11px; line-height: 1; color: var(--edc-olive-800);
  transition: background-color .4s ease, border-color .4s ease, color .4s ease, box-shadow .4s ease;
}
.ed-puce.est-allumee { background: var(--edc-orange-btn); border-color: var(--edc-orange-btn); color: #fff; box-shadow: 0 0 0 5px rgba(241, 83, 26, .16); }
/* l'encadré « Fig. » à repères de coupe : la grille fine, le filet qui se trace, les quatre coins orange */
.ed-planche { --edc-air-planche: clamp(24px, 2.6vw, 40px); position: relative; z-index: 1; margin: 0 19px; background: rgba(255, 255, 255, 0); transition: background-color 1s ease; }
.ed-planche::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease .3s;
  background-image: linear-gradient(to right, rgba(35, 40, 26, .055) 1px, transparent 1px), linear-gradient(to bottom, rgba(35, 40, 26, .055) 1px, transparent 1px);
  background-size: 32px 32px;
}
.ed-bord { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ed-bord rect { fill: none; stroke: rgba(35, 40, 26, .5); stroke-width: 1.25; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--edc-courbe); }
.ed-bord path { fill: none; stroke: var(--edc-orange); stroke-width: 1.2; opacity: 0; transition: opacity .8s ease .9s; }
.ed-planche.is-in { background: rgba(255, 255, 255, .34); }
.ed-planche.is-in::before { opacity: 1; }
.ed-planche.is-in .ed-bord rect { stroke-dashoffset: 0; }
.ed-planche.is-in .ed-bord path { opacity: 1; }
.ed-legende {
  position: relative; display: flex; justify-content: space-between; gap: 16px; margin: 0 var(--edc-air-planche); padding: 13px 0 15px;
  border-top: 1px solid rgba(35, 40, 26, .14); opacity: 0; transition: opacity 1s ease .6s;
  font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 108%; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
}
.ed-legende span:last-child { color: var(--edc-orange-fonce); white-space: nowrap; }
.ed-planche.is-in .ed-legende { opacity: 1; }
/* « Lire la suite » : le « + » dans un cercle, qui pivote en « × » */
.ed-lire {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 12px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; letter-spacing: .06em; color: var(--edc-creme);
}
.ed-lire[hidden] { display: none; }
.ed-rond { position: relative; display: block; flex: none; width: 30px; height: 30px; border: 1px solid rgba(244, 242, 234, .45); border-radius: 50%; transition: transform .25s ease, border-color .2s; }
.ed-rond::before, .ed-rond::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--edc-creme); transform: translate(-50%, -50%); }
.ed-rond::after { transform: translate(-50%, -50%) rotate(90deg); }
.ed-lire:hover .ed-rond { border-color: var(--edc-orange); }
.ed-lire[aria-expanded="true"] .ed-rond { transform: rotate(45deg); border-color: var(--edc-orange); }
.ed-lire:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 4px; }
/* titres et blocs qui montent à l'arrivée à l'écran (accueil.css, .revele) */
html.ed-cat-anime .ed-revele .ed-ligne > span { transform: translateY(118%); transition: transform 1s var(--edc-courbe); }
html.ed-cat-anime .ed-revele.is-in .ed-ligne > span { transform: none; }
html.ed-cat-anime .ed-revele > :not(h2) { opacity: 0; transform: translateY(18px); transition: opacity .8s ease .22s, transform .9s var(--edc-courbe) .22s; }
html.ed-cat-anime .ed-revele.is-in > :not(h2) { opacity: 1; transform: none; }

/* ---------- 3. la carte d'un article (miniatures/ed-carte.tpl) : les « Nouveautés de la saison » de l'accueil ---------- */
.ed-cel, #js-product-list .products .ed-cel { position: relative; min-width: 0; margin: 0 !important; padding: 0; width: auto; max-width: none; float: none; }
/* ed-custom.css pose une requête de conteneur sur .product-miniature : elle empêcherait les rangées alignées (subgrid) */
.product-miniature.ed-carte, #js-product-list .products .product-miniature.ed-carte { container-type: normal !important; }
#js-product-list .product-miniature.ed-carte, .product-miniature.ed-carte {
  display: flex; flex-direction: column; margin: 0; padding: 0; background: transparent !important; border: 0 !important; box-shadow: none !important;
  overflow: visible !important; color: var(--edc-creme); text-align: left;
}
.ed-carte__visuel { position: relative; }
.ed-carte__photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #000; }
.ed-carte__photo img, #js-product-list .ed-carte .ed-carte__photo img {
  width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; transition: transform .7s var(--edc-courbe);
}
.ed-carte__entete {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid rgba(244, 242, 234, .16); transition: border-color .3s ease;
}
.ed-carte .ed-carte__nom { min-width: 0; margin: 0; font-family: var(--edc-f-corps) !important; font-size: 14px; font-weight: 400; line-height: 1.45; letter-spacing: 0; }
.ed-carte__lien, .ed-carte__lien:visited { color: rgba(244, 242, 234, .88) !important; text-decoration: none !important; }
.ed-carte__lien::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* toute la carte mène à la fiche */
.ed-carte { position: relative; }
.ed-carte .ed-carte__type { flex: none; margin: 0; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 242, 234, .5); }
.ed-carte:hover .ed-carte__photo img { transform: scale(1.045); }
.ed-carte:hover .ed-carte__entete { border-color: var(--edc-orange); }
.ed-carte:hover .ed-carte__lien, .ed-carte .ed-carte__lien:focus { color: #fff !important; }
.ed-carte__lien:focus-visible { outline: none; }
.ed-carte__lien:focus-visible::after { outline: 2px solid var(--edc-orange); outline-offset: 6px; border-radius: 6px; }
.ed-carte__infos { position: relative; z-index: 2; pointer-events: none; }
.ed-carte__infos a, .ed-carte__infos button { pointer-events: auto; }
.ed-carte__prix, #js-product-list .ed-carte .product-price-and-shipping { margin: 8px 0 0 !important; padding: 0 !important; text-align: left; }
.ed-carte .price, .ed-carte .price span {
  font-family: var(--edc-f-titre) !important; font-weight: 700 !important; font-stretch: 108%; font-size: 15px !important;
  letter-spacing: .03em; color: var(--edc-orange) !important;
}
.ed-carte .regular-price { color: rgba(244, 242, 234, .5); text-decoration: line-through; margin-right: 6px; font-size: 13px; }
.ed-carte .ed-carte__boite, .ed-carte .ed-carte__stock { margin: 6px 0 0; font-size: 13px; line-height: 1.45; color: rgba(244, 242, 234, .64); }
.ed-carte .ed-carte__stock { margin-top: 2px; }
.ed-carte .ed-carte__boite[hidden] { display: none; }
.ed-carte .ed-carte__stock.est-bas { color: rgba(244, 242, 234, .88); }
.ed-carte .ed-carte__stock.est-rupture { color: var(--edc-orange); }
.ed-carte .ed-carte__connexion { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: rgba(244, 242, 234, .78); }
.ed-carte__connexion a { color: var(--edc-creme) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 242, 234, .4); }
.ed-carte__connexion a:hover, .ed-carte__connexion a:focus-visible { color: var(--edc-orange) !important; text-decoration-color: currentColor; }
/* « Aperçu » : petit bouton sur la photo ; il ouvre l'aperçu de l'article (ed-catalogue-apercu-article.js, section 11) */
.ed-carte__apercu {
  position: absolute; top: 10px; right: 10px; z-index: 3; display: inline-flex; align-items: center; min-height: 30px; padding: 0 13px;
  border-radius: 999px; border: 1px solid rgba(244, 242, 234, .35); background: rgba(2, 2, 2, .72); color: var(--edc-creme);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: inherit; font-size: 12px; letter-spacing: .06em; cursor: pointer;
  opacity: .88; transition: opacity .2s ease, border-color .2s ease;
}
.ed-carte__apercu:hover, .ed-carte__apercu:focus-visible { opacity: 1; border-color: var(--edc-orange); color: var(--edc-creme) !important; }
.ed-carte__apercu:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 2px; }
html:not(.ed-cat-js) .ed-carte__apercu { display: none; }   /* sans script, pas d'aperçu : la carte mène à la fiche */
/* le conteneur caché où le module blockwishlist glisse son bouton « cœur » (pas de cœur dans la maquette) : jamais affiché,
   même si une règle de la boutique (.product-miniature .thumbnail-container { display: block }) passait devant [hidden] */
.ed-carte .ed-carte__envies { display: none !important; }
/* les drapeaux de la boutique (« Rupture », « Nouveau »…), en petites capitales sur la photo */
.ed-carte .product-flags, .ed-fiche .product-flags { position: absolute; top: 10px; left: 10px; z-index: 2; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.ed-carte .product-flags li.product-flag, .ed-fiche .product-flags li.product-flag {
  position: static; margin: 0 !important; min-height: 0 !important; padding: 5px 10px !important; border-radius: 999px;
  background: rgba(2, 2, 2, .9) !important; color: var(--edc-creme) !important; box-shadow: none;
  font-family: var(--edc-f-titre); font-weight: 700; font-size: 10.5px !important; letter-spacing: .14em !important; text-transform: uppercase;
}
/* 27/10, demande du client : pas d'étiquette « Rupture » sur la photo, la rupture est déjà écrite sous la photo et sur
   le bouton (cartes et fiche) ; les autres drapeaux (« Nouveau »…) restent */
.ed-carte .product-flags li.out_of_stock, .ed-fiche .product-flags li.out_of_stock { display: none !important; }
/* le bouton « Ajouter au panier » d'ed-grid.js (ED-TILE-CART-HANDLER), rangé sous la carte, au style des boutons de l'accueil */
.ed-carte__achat, #js-product-list .product-miniature.ed-carte .thumbnail-top { position: relative; z-index: 2; margin: 14px 0 0 !important; border-radius: 0 !important; overflow: visible !important; }
.ed-carte__achat:empty { display: none; }
.ed-carte .ed-tile-cart, .ed-carte .ed-tile-cart-over {
  position: static !important; inset: auto !important; display: flex; opacity: 1 !important; transform: none !important;
  pointer-events: auto !important; margin: 0 !important; padding: 0 !important; justify-content: flex-start !important;
}
.ed-carte .ed-tile-cart-btn {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; width: auto !important; min-height: 40px; height: auto !important;
  padding: 0 18px !important; border: 0; border-radius: 6px !important; background: var(--edc-orange-btn) !important; color: #fff !important;
  font-family: var(--edc-f-corps) !important; font-size: 13px !important; font-weight: 400 !important; letter-spacing: .06em !important;
  text-transform: none !important; line-height: 1.2 !important; box-shadow: none !important; transition: background .25s, transform .25s;
}
.ed-carte .ed-tile-cart-btn:hover { background: var(--edc-orange-fonce) !important; transform: translateY(-2px); }
.ed-carte .ed-tile-cart-btn:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 3px; }
.ed-carte .ed-tile-cart-btn .ed-cart-ic { display: none !important; }
.ed-carte .ed-tile-cart-btn.ed-cart-ok { background: var(--edc-olive-800) !important; }
.ed-carte .ed-tile-cart-out {
  display: inline-grid !important; width: auto !important; min-height: 40px; padding: 0 18px !important; border-radius: 6px !important;
  background: transparent !important; border: 1px solid rgba(244, 242, 234, .2) !important; color: rgba(244, 242, 234, .6) !important;
  font: 13px/1.2 var(--edc-f-corps) !important; letter-spacing: .06em !important; text-transform: none !important; box-shadow: none !important; align-items: center;
}
/* la quantité en boîtes (− 1 +, maquette) devant le bouton d'ed-grid.js ; « boîte(s) » à côté */
.ed-carte__achat { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.ed-qte { display: inline-flex; align-items: center; height: 40px; padding: 0 3px; border-radius: 999px; border: 1px solid rgba(244, 242, 234, .4); }
.ed-qte[hidden], .ed-qte[hidden] + .ed-qte__unite { display: none; }
.ed-qte button {
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  font: inherit; font-size: 18px; line-height: 1; color: var(--edc-creme); background: transparent; transition: color .2s ease;
}
.ed-qte button:hover { color: var(--edc-orange); }
.ed-qte button:focus-visible, .ed-qte input:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 1px; }
.ed-carte .ed-qte input {
  width: 2.6em; height: 32px; padding: 0; border: 0; border-radius: 4px; text-align: center; background: transparent; color: var(--edc-creme);
  font-family: var(--edc-f-titre); font-weight: 700; font-size: 15px; -moz-appearance: textfield; appearance: textfield; box-shadow: none;
}
.ed-qte input::-webkit-outer-spin-button, .ed-qte input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ed-qte__unite { font-size: 13px; color: rgba(244, 242, 234, .72); }
.est-etroite .ed-qte { flex: 1 1 auto; justify-content: space-between; }
.est-etroite .ed-qte__unite, .est-moyenne .ed-qte__unite { display: none; }
/* « Retour en haut » de la liste (Classic : téléphone et tablette seulement, .hidden-md-up) */
.ed-cat-liste .ed-cat-haut { margin-top: 28px; }
.ed-cat-liste .ed-cat-haut .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(244, 242, 234, .45); background: transparent !important; color: var(--edc-creme) !important; font: 13px/1.2 var(--edc-f-corps); letter-spacing: .06em; text-transform: none; box-shadow: none; }
.ed-cat-liste .ed-cat-haut .btn:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 3px; }
/* une carte étroite (5 par ligne à 1440, 3 sur tablette, 2 sur téléphone : moins de 300 px, classe posée par
   ed-catalogue-rubrique.js) se resserre : le type passe sous le nom, le bouton prend toute la largeur */
.est-etroite .ed-carte__entete { flex-direction: column; gap: 2px; }
.est-etroite .ed-carte .ed-carte__nom { font-size: 13px; }
.est-etroite .ed-carte .ed-carte__type { font-size: 10px; }
.est-etroite .ed-carte .price, .est-etroite .ed-carte .price span { font-size: 14px !important; }
.est-etroite .ed-carte .ed-carte__boite, .est-etroite .ed-carte .ed-carte__stock, .est-etroite .ed-carte .ed-carte__connexion { font-size: 12.5px; }
.est-etroite .ed-carte .ed-tile-cart, .est-etroite .ed-carte .ed-tile-cart-btn, .est-etroite .ed-carte .ed-tile-cart-out { flex: 1 0 100%; width: 100% !important; padding: 0 8px !important; }
.est-etroite .ed-carte__apercu { top: 6px; right: 6px; min-height: 28px; padding: 0 10px; font-size: 11px; }

/* ---------- 4. ① l'ouverture : fond noir pur, le grand mot, la photo qui se pose ---------- */
.ed-cat-ouverture {
  position: relative; isolation: isolate; overflow: hidden; background: var(--edc-noir);
  min-height: calc(100vh - var(--edc-entete)); min-height: calc(100svh - var(--edc-entete));
}
.ed-cat-ouverture__grille {
  position: relative; z-index: 2; min-height: inherit; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 36px; align-items: center; padding: 24px var(--edc-gouttiere) 72px;
}
html:not(.ed-cat-js) .ed-cat-ouverture__grille { grid-template-columns: minmax(0, 1fr); }
.ed-cat-ouverture__texte { position: relative; z-index: 2; min-width: 0; }
/* le mot : l'ombre d'« IMPORTATEUR » ; posé à gauche, environ la taille où « IMPORTATEUR » s'arrête, avec une part en rem
   pour grossir avec le zoom du navigateur (ed-catalogue-rubrique.js le réduit s'il ne tient pas dans sa colonne) */
.ed-cat-mot {
  margin: 0; font-family: var(--edc-f-titre); font-weight: 800; font-stretch: 112%; text-transform: uppercase; line-height: .92;
  color: var(--edc-creme) !important; letter-spacing: -.02em; font-kerning: none; white-space: nowrap;
  font-size: clamp(34px, 1.5rem + 3.5vw, 120px); transform-origin: 50% 50%;
  text-shadow: 0 2px 28px rgba(2, 2, 2, .55), 0 1px 3px rgba(2, 2, 2, .4);
}
html:not(.ed-cat-js) .ed-cat-mot { font-size: clamp(44px, 1rem + 8vw, 150px); white-space: normal; }
.ed-cat-suite { margin-top: 20px; }
.ed-cat .ed-cat-titre { margin: 0; max-width: 17em; font-family: var(--edc-f-serif) !important; font-weight: 400; font-size: clamp(26px, 2.7vw, 46px); line-height: 1.1; color: var(--edc-creme); }
.ed-cat-suite .ed-lead { margin-top: 14px; max-width: 44ch; }
.ed-cat-suite .ed-cta { margin-top: 24px; }
.ed-cat-vedette { position: relative; z-index: 1; margin: 0; min-width: 0; }
.ed-cat-vedette[hidden] { display: none; }
.ed-cat-vedette a { display: block; color: rgba(244, 242, 234, .88) !important; text-decoration: none !important; }
.ed-cat-vedette__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #000; }
.ed-cat-vedette__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--edc-courbe); }
.ed-cat-vedette a:hover img { transform: scale(1.03); }
.ed-cat-vedette a:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 6px; border-radius: 6px; }
.ed-cat-vedette .ed-carte__entete { font-size: 14px; }
.ed-cat-vedette small { flex: none; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 242, 234, .5); }
/* le défilé de l'arrivée : les photos des articles, une piste qui file de droite à gauche */
.ed-cat-piste { position: absolute; left: 0; top: 0; z-index: 1; display: none; gap: var(--ed-gap, 3vw); pointer-events: none; will-change: transform; }
.ed-cat-piste .ed-cat-piste__carte { flex: 0 0 var(--ed-cw, 600px); transform-origin: 50% 55%; will-change: transform, opacity; }
.ed-cat-piste .ed-cat-vedette__image img { transition: none; }
html.ed-cat-anime .ed-cat-ouverture.en-arrivee .ed-cat-piste { display: flex; }
html.ed-cat-anime .ed-cat-ouverture.en-arrivee .ed-cat-vedette { visibility: hidden; }
.ed-cat-voile {
  position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(46% 42% at 50% 50%, rgba(2, 2, 2, .84) 0%, rgba(2, 2, 2, .62) 48%, rgba(2, 2, 2, 0) 100%);
}
html.ed-cat-anime .ed-cat-ouverture:not(.est-arrivee) .ed-cat-mot .ed-ligne > span { transform: translateY(118%); }
html.ed-cat-anime .ed-cat-ouverture:not(.est-arrivee) .ed-apparait { opacity: 0; }
html.ed-cat-anime .ed-cat-ouverture:not(.est-arrivee) .ed-indice { opacity: 0; }
html:not(.ed-cat-anime) .ed-cat-piste, html:not(.ed-cat-anime) .ed-cat-voile { display: none !important; }
/* téléphone et tablette tenus debout : la photo en haut, le mot et la suite en bas, centrés (comme l'accueil) */
@media (max-aspect-ratio: 11/10) {
  .ed-cat-ouverture__grille { grid-template-columns: minmax(0, 1fr); align-content: space-between; row-gap: 22px; padding: 20px var(--edc-gouttiere) max(22px, 3.5vh); text-align: center; }
  .ed-cat-vedette { order: -1; width: min(100%, 680px); justify-self: center; }
  .ed-cat .ed-ariane ol { justify-content: center; }
  .ed-cat-mot { font-size: clamp(44px, 1rem + 22vw, 150px); }
  .ed-cat .ed-cat-titre { margin-left: auto; margin-right: auto; font-size: clamp(24px, 6.8vw, 34px); }
  .ed-cat-suite .ed-lead { margin-left: auto; margin-right: auto; font-size: 14px; }
  .ed-cat-suite .ed-cta { justify-content: center; margin-top: 18px; }
  .ed-cat-voile { background: radial-gradient(60% 34% at 50% 50%, rgba(2, 2, 2, .84) 0%, rgba(2, 2, 2, .6) 50%, rgba(2, 2, 2, 0) 100%); }
  .ed-cat-ouverture .ed-indice { display: none; }
}
@media (max-width: 860px) { .ed-cat-mot { font-stretch: 108%; } }

/* ---------- 5. ② sous-rubriques (ou collections) et description ---------- */
.ed-cat-rubriques { position: relative; z-index: 2; background: var(--edc-noir); padding: clamp(84px, 13vh, 170px) var(--edc-gouttiere) clamp(56px, 8vh, 110px); }
.ed-cat-rubriques--seule { padding-top: clamp(64px, 9vh, 120px); padding-bottom: clamp(44px, 6vh, 80px); }
.ed-cat-tete { max-width: 1100px; }
.ed-cat-description { margin-top: 26px; }
.ed-cat-rubriques--seule .ed-cat-description { margin-top: 10px; }
.ed-cat-description__texte {
  position: relative; max-width: 64ch; max-height: 4.1em; overflow: hidden; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6;
  color: rgba(244, 242, 234, .78);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent); mask-image: linear-gradient(to bottom, #000 62%, transparent);
}
html:not(.ed-cat-js) .ed-cat-description__texte, .ed-cat-description.est-ouverte .ed-cat-description__texte { max-height: none; -webkit-mask-image: none; mask-image: none; }
.ed-cat-description__texte h2 { margin: 0 0 .4em !important; font-family: var(--edc-f-serif) !important; font-size: 1.25em !important; font-weight: 400; line-height: 1.25; color: var(--edc-creme) !important; text-transform: none !important; }
.ed-cat-description__texte p { margin: 0 0 .7em; color: inherit !important; font-family: inherit; font-size: inherit; }
.ed-cat-description__texte b, .ed-cat-description__texte strong { color: var(--edc-creme); font-weight: 400; }
.ed-cat-description__texte a { color: var(--edc-creme) !important; text-decoration: underline; text-underline-offset: 3px; }
/* les flèches et le fil des rangées qui défilent (E.rail, ed-catalogue-commun.js) ; sur écran tactile, le doigt suffit */
.ed-rail__fleches { display: flex; gap: 10px; flex: none; }
.ed-rail__fleches[hidden], .ed-rail__fil[hidden] { display: none; }
.ed-rail__fleche { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(244, 242, 234, .4); border-radius: 50%; background: transparent; color: var(--edc-creme); font-size: 18px; line-height: 1; cursor: pointer; transition: background-color .3s ease, border-color .3s ease, opacity .3s ease; }
.ed-rail__fleche:hover:not(:disabled) { background: var(--edc-orange-btn); border-color: var(--edc-orange-btn); color: #fff; }
.ed-rail__fleche:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 3px; }
.ed-rail__fleche:disabled { opacity: .28; cursor: default; }
.ed-rail__fil { height: 1px; margin-top: clamp(20px, 3vh, 32px); background: rgba(244, 242, 234, .16); }
.ed-rail__fil i { display: block; height: 100%; background: var(--edc-orange); transform: scaleX(0); transform-origin: left; transition: transform .2s linear; }
.est-prise { scroll-snap-type: none !important; cursor: grabbing; -webkit-user-select: none; user-select: none; }
.est-prise * { cursor: grabbing !important; }
@media (hover: none) { .ed-rail__fleches { display: none !important; } }
.ed-cat-sr { position: relative; margin-top: clamp(40px, 6vh, 64px); }
.ed-cat-sr__fleches { position: absolute; right: 0; bottom: 100%; margin-bottom: 14px; }
/* sur toutes les pages, une seule ligne de petites cartes (client, 03/11) ; au-delà de cinq, la rangée défile */
.ed-cat-sr__liste {
  --ecart: clamp(14px, 1.6vw, 28px); list-style: none; display: flex; gap: var(--ecart); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scrollbar-width: none; margin: -8px; padding: 8px; scroll-padding-inline: 8px;
}
.ed-cat-sr__liste::-webkit-scrollbar { display: none; }
.ed-cat-sr__item { flex: 1 0 calc((100% - 4 * var(--ecart)) / 5); max-width: calc((100% - 3 * var(--ecart)) / 4); scroll-snap-align: start; }
.ed-sr { position: relative; display: block; color: rgba(244, 242, 234, .88) !important; text-decoration: none !important; }
.ed-sr .ed-carte__image { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #0b0c09; }
.ed-sr .ed-carte__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--edc-courbe); }
.ed-sr .ed-carte__nom { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(244, 242, 234, .16); font-size: 14px; line-height: 1.45; transition: border-color .3s ease; }
.ed-sr .ed-carte__prix { display: block; min-height: 1.5em; margin: 8px 0 0; font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 108%; font-size: 15px; letter-spacing: .03em; color: var(--edc-orange); }
.ed-sr:hover img { transform: scale(1.045); }
.ed-sr:hover .ed-carte__nom { border-color: var(--edc-orange); color: #fff; }
.ed-sr:hover, .ed-sr:focus { color: #fff !important; }
.ed-sr:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 6px; border-radius: 6px; }
.ed-sr__titre { display: block; margin-top: 10px; max-width: 34ch; font-family: var(--edc-f-serif); font-size: clamp(15px, 1.15vw, 19px); line-height: 1.25; color: rgba(244, 242, 234, .86); }
.ed-cat-rubriques--collections .ed-carte__nom { font-size: clamp(13px, 1.05vw, 16px); }
.ed-cat-rubriques--collections .ed-carte__prix { font-size: clamp(15px, 1.15vw, 18px); }
html.ed-cat-anime .ed-cat-sr__liste > li { transition: opacity .8s ease, transform 1s var(--edc-courbe); transition-delay: calc(var(--i, 0) * .07s); }
html.ed-cat-anime .ed-cat-sr__liste:not(.is-in) > li { opacity: 0; transform: translateY(26px); }
@media (max-width: 1100px) {
  .ed-cat-sr__item { flex: 0 0 calc((100% - 2 * var(--ecart)) / 3); max-width: none; }
}
/* téléphone : le défilé, au doigt */
@media (max-width: 860px) {
  .ed-cat-sr__liste {
    --ecart: 14px; scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * var(--edc-gouttiere)); padding: 4px var(--edc-gouttiere) 10px; scroll-padding-inline: var(--edc-gouttiere);
  }
  .ed-cat-sr__item { flex: 0 0 56vw; }
  .ed-sr__titre { font-size: 15px; }
}

/* ---------- 6. ③ filtres et tri, sur le crème de « Pourquoi commander chez nous ? » ---------- */
.ed-cat-filtres { position: relative; z-index: 2; background: var(--edc-creme); color: var(--edc-olive-800); padding: clamp(56px, 9vh, 100px) var(--edc-gouttiere) clamp(48px, 7vh, 84px); }
.ed-cat-filtres:focus { outline: none; }
.ed-cat-filtres__cadre { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 5vw; row-gap: clamp(26px, 4vh, 44px); align-items: start; }
.ed-cat-filtres__haut { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.ed-cat-filtres__haut .ed-surtitre { margin: 0 0 12px; }
.ed-cat-compte { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .12em; margin: 0; font-family: var(--edc-f-titre); font-weight: 800; font-stretch: 112%; line-height: .9; letter-spacing: -.03em; font-size: clamp(76px, min(15vh, 10vw), 156px); color: var(--edc-olive-800) !important; }
.ed-cat-compte__unite { font-family: var(--edc-f-serif); font-weight: 400; font-stretch: 100%; letter-spacing: 0; font-size: .32em; line-height: 1; color: var(--edc-orange-fonce); }
.ed-cat .ed-cat-compte__note { margin: 14px 0 0; max-width: 34ch; font-size: 14px; line-height: 1.55; color: rgba(35, 40, 26, .76); }
.ed-cat-commandes__ligne { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; margin-top: 26px; }
.ed-cat-tri { display: grid; gap: 6px; min-width: 0; text-align: left; }
.ed-cat .ed-cat-tri label { text-align: left !important; width: auto; }
.ed-cat-tri label, .ed-cat-panneau__titre, .ed-affichage__titre {
  margin: 0; font-family: var(--edc-f-titre) !important; font-weight: 700; font-stretch: 108%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--edc-olive-800);
}
.ed-cat-tri select {
  -webkit-appearance: none; appearance: none; min-height: 44px; max-width: 100%; padding: 8px 30px 8px 0; font: inherit; font-size: 15px;
  color: var(--edc-olive-800); background-color: transparent; border: 0; border-bottom: 1px solid rgba(35, 40, 26, .35); border-radius: 0; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23b8400d' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 4px center;
}
.ed-cat-tri select:focus-visible { outline: 2px solid var(--edc-orange-fonce); outline-offset: 3px; }
.ed-cat-tri__liens { list-style: none; margin: 8px 0 0; padding: 0; font-size: 14px; }
.ed-cat-filtrer, .ed-cat-bf__filtrer {
  display: none; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 6px; cursor: pointer;
  font: inherit; font-size: 14px; letter-spacing: .06em; color: var(--edc-olive-800); background: transparent; border: 1px solid rgba(35, 40, 26, .45);
}
.ed-cat-filtrer__nb { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--edc-orange-btn); color: #fff; font-family: var(--edc-f-titre); font-weight: 700; font-size: 11px; }
.ed-cat-filtrer__nb[hidden] { display: none; }
.ed-cat-filtrer:focus-visible { outline: 2px solid var(--edc-orange-fonce); outline-offset: 3px; }
/* « Affichage » : 3 · 4 · 5 (ordinateur), 2 · 3 (tablette), 1 · 2 (téléphone), le choix souligné d'orange */
.ed-affichage { display: flex; align-items: center; gap: 2px; flex: none; color: var(--edc-olive-800); }
.ed-affichage:empty { display: none; }
.ed-affichage__titre { margin-right: 8px; }
.ed-affichage button {
  position: relative; display: inline-grid; place-items: center; min-width: 32px; height: 40px; padding: 0 7px; cursor: pointer; border: 0; background: none;
  color: inherit; opacity: .75; transition: opacity .2s ease; font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 108%; font-size: 14px; letter-spacing: .08em;
}
.ed-affichage button::after { content: ""; position: absolute; left: 7px; right: 7px; bottom: 5px; height: 2px; background: var(--edc-orange); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--edc-courbe); }
.ed-affichage button:hover, .ed-affichage button[aria-pressed="true"] { opacity: 1; }
.ed-affichage button[aria-pressed="true"]::after { transform: scaleX(1); }
.ed-affichage button:focus-visible { outline: 2px solid var(--edc-orange-fonce); outline-offset: 1px; }
.ed-affichage__ico { display: none; }
/* les onglets numérotés : un groupe de filtres à la fois sur ordinateur */
.ed-cat-onglets { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 24px; }
.ed-cat-onglets[hidden] { display: none; }
.ed-onglet { display: grid; gap: 9px; min-width: 96px; padding: 4px 0 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--edc-olive-800); font: inherit; }
.ed-onglet .ed-etiq { font-size: 11.5px; letter-spacing: .18em; }
.ed-onglet .ed-etiq > span:not(.ed-etiq__num):not(.ed-onglet__nb) { color: rgba(35, 40, 26, .72); }
.ed-onglet .ed-etiq__num, .ed-onglet__nb { color: var(--edc-orange-fonce); }
.ed-onglet .ed-barre { background: rgba(35, 40, 26, .2); }
.ed-onglet:hover .ed-etiq > span:not(.ed-etiq__num):not(.ed-onglet__nb), .ed-onglet[aria-expanded="true"] .ed-etiq > span:not(.ed-etiq__num):not(.ed-onglet__nb) { color: var(--edc-olive-800); }
.ed-onglet:hover .ed-barre b { transform: scaleX(.18); }
.ed-onglet[aria-expanded="true"] .ed-barre b { transform: scaleX(1); }
.ed-onglet:focus-visible { outline: 2px solid var(--edc-orange-fonce); outline-offset: 5px; }
/* le panneau : les choix du groupe ouvert, sur les pastilles numérotées ; les filtres actifs dessous */
.ed-cat-panneau { min-width: 0; color: var(--edc-olive-800); }
.ed-cat-panneau__tete, .ed-cat-panneau__pied { display: none; }
.ed-cat-panneau__corps:empty, .ed-cat-panneau:has(#search_filters[hidden]) { display: none; }
.ed-facettes { margin: 0; }
.ed-groupe { margin: 0; padding: 0; border: 0; min-width: 0; }
.ed-groupe.est-cache { display: none; }
.ed-groupe, #search_filters .ed-groupe.facet { margin: 0; padding: 0; border: 0; min-width: 0; background: none; box-shadow: none; }
#search_filters.ed-facettes { margin: 0; padding: 0; background: none; box-shadow: none; text-align: left; }
.ed-choix, .ed-choix * { text-align: left; }
.ed-groupe__legende { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; float: none; font: inherit; }
.ed-groupe .ed-groupe__titre.facet-title { margin: 0; padding: 0; font: inherit; color: inherit; text-transform: none; letter-spacing: inherit; }
.ed-options { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: 28px; border-top: 1px solid rgba(35, 40, 26, .14); }
.ed-options li { border-bottom: 1px solid rgba(35, 40, 26, .14); }
.ed-choix { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; column-gap: 12px; margin: 0; padding: 9px 0 10px; cursor: pointer; }
.ed-choix input { position: absolute; left: 0; top: 50%; width: 30px; height: 30px; margin: -15px 0 0; opacity: 0; cursor: pointer; }
.ed-choix .ed-puce { pointer-events: none; }
.ed-choix__texte, .ed-choix__texte:hover, .ed-choix__texte:focus {
  font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 108%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; line-height: 1.4;
  color: var(--edc-olive-800) !important; text-decoration: none !important;
}
.ed-choix input:checked + .ed-puce { background: var(--edc-orange-btn); border-color: var(--edc-orange-btn); color: #fff; box-shadow: 0 0 0 5px rgba(241, 83, 26, .16); }
.ed-choix input:focus-visible + .ed-puce { outline: 2px solid var(--edc-orange-fonce); outline-offset: 3px; }
.ed-choix:hover .ed-puce { border-color: var(--edc-orange-fonce); }
.ed-choix.est-vide { opacity: .42; }
.ed-curseur { list-style: none; margin: 0; padding: 10px 6px 4px; }
.ed-curseur p { margin: 0 0 12px; font-size: 14px; color: var(--edc-olive-800); }
.ed-actifs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.ed-actif, .ed-actif:hover, .ed-actif:focus {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px 0 14px; border-radius: 999px; cursor: pointer; font-size: 13px;
  color: var(--edc-olive-800) !important; text-decoration: none !important; background: rgba(255, 255, 255, .45); border: 1px solid rgba(35, 40, 26, .3);
}
.ed-actif:hover { border-color: var(--edc-orange-fonce); }
.ed-actif svg { color: var(--edc-orange-fonce); }
.ed-actifs__effacer { padding: 6px 4px; font: inherit; font-size: 13px; color: var(--edc-olive-800); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ed-actif:focus-visible, .ed-actifs__effacer:focus-visible { outline: 2px solid var(--edc-orange-fonce); outline-offset: 2px; }
@media (max-width: 1100px) { .ed-cat-filtres__cadre { grid-template-columns: minmax(0, 1fr); } }
/* téléphone (et tablette debout) : « Filtrer » ouvre le panneau plein écran, tous les groupes en accordéon */
@media (max-width: 860px), (max-aspect-ratio: 11/10) and (max-width: 1100px) {
  .ed-cat-compte { font-size: clamp(60px, 19vw, 92px); }
  .ed-cat-filtrer, .ed-cat-bf__filtrer { display: inline-flex; }
  .ed-cat-tri { flex: 1 1 150px; }
  .ed-cat-tri select { width: 100%; }
  .ed-cat-panneau, .ed-cat-onglets { display: none; }
  .ed-cat-filtres__haut .ed-surtitre { margin: 0; }
}
html.ed-cat-feuille { overflow: hidden; }
html.ed-cat-feuille .ed-cat-filtres { z-index: 1200; }
html.ed-cat-feuille .ed-cat-panneau { display: block; position: fixed; inset: 0; z-index: 1200; overflow-y: auto; overscroll-behavior: contain; padding: 18px var(--edc-gouttiere) 110px; background: var(--edc-creme); }
html.ed-cat-feuille .ed-cat-panneau__tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ed-cat-panneau__fermer, .ed-cat-bf__fermer { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer; color: var(--edc-olive-800); background: transparent; border: 1px solid rgba(35, 40, 26, .4); }
.ed-cat-panneau__fermer:focus-visible, .ed-cat-bf__fermer:focus-visible { outline: 2px solid var(--edc-orange-fonce); outline-offset: 2px; }
html.ed-cat-feuille .ed-groupe, html.ed-cat-feuille .ed-groupe.est-cache { display: block; border-top: 1px solid rgba(35, 40, 26, .14); }
html.ed-cat-feuille .ed-groupe:last-of-type { border-bottom: 1px solid rgba(35, 40, 26, .14); }
html.ed-cat-feuille .ed-groupe__legende { position: static; width: 100%; height: auto; margin: 0; overflow: visible; clip: auto; white-space: normal; }
html.ed-cat-feuille .ed-groupe:not(.est-deplie) .ed-groupe__corps { display: none; }
html.ed-cat-feuille .ed-groupe__corps { padding-bottom: 16px; }
.ed-acc { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--edc-olive-800); font: inherit; text-align: left; }
.ed-acc .ed-etiq { font-size: 12px; letter-spacing: .14em; }
.ed-acc .ed-etiq__num, .ed-acc__nb { color: var(--edc-orange-fonce); }
.ed-acc__fleche { flex: none; width: 9px; height: 9px; margin-right: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--edc-courbe); }
.ed-groupe.est-deplie .ed-acc__fleche { transform: translateY(2px) rotate(-135deg); }
.ed-acc:focus-visible { outline: 2px solid var(--edc-orange-fonce); outline-offset: 2px; }
html.ed-cat-feuille .ed-cat-panneau__pied { display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1201; padding: 12px var(--edc-gouttiere) calc(12px + env(safe-area-inset-bottom)); background: var(--edc-creme); border-top: 1px solid rgba(35, 40, 26, .14); box-shadow: 0 -10px 24px rgba(35, 40, 26, .08); }
.ed-cat-panneau__pied .ed-btn { flex: 1 1 0; min-height: 48px; padding: 0 12px; }
.ed-cat-panneau__pied .ed-cat-voir { flex-grow: 1.6; }

/* ---------- 7. la barre de filtres : dans la zone des articles, elle descend sous l'en-tête dès qu'on remonte ---------- */
.ed-cat-bf {
  position: fixed; left: 0; right: 0; top: calc(var(--edc-entete) - 1px); z-index: 999; padding: 0 var(--edc-gouttiere); color: var(--edc-creme);
  background: rgba(0, 0, 0, .96); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(244, 242, 234, .16);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate3d(0, -100%, 0);
  transition: transform .45s var(--edc-courbe), opacity .3s ease, visibility 0s linear .45s;
}
.ed-cat-bf[hidden] { display: none; }
.ed-cat-bf.est-visible { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: transform .45s var(--edc-courbe), opacity .3s ease, visibility 0s; }
.ed-cat-bf__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; min-height: 56px; }
.ed-cat-bf__groupes { list-style: none; margin: 0; padding: 8px 4px 6px; display: flex; gap: 18px; flex: 1 1 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ed-cat-bf__groupes::-webkit-scrollbar { display: none; }
.ed-bf-groupe { display: grid; gap: 8px; padding: 2px 0 0; border: 0; background: none; cursor: pointer; color: var(--edc-creme); font: inherit; text-align: left; white-space: nowrap; }
.ed-bf-groupe .ed-etiq { gap: .7em; font-size: 11px; letter-spacing: .13em; }
.ed-bf-groupe .ed-etiq > span:not(.ed-etiq__num):not(.ed-bf-groupe__nb) { color: rgba(244, 242, 234, .72); }
.ed-bf-groupe__nb { color: var(--edc-orange); }
.ed-bf-groupe .ed-barre { background: rgba(244, 242, 234, .14); }
.ed-bf-groupe:hover .ed-etiq > span:not(.ed-etiq__num):not(.ed-bf-groupe__nb), .ed-bf-groupe[aria-expanded="true"] .ed-etiq > span:not(.ed-etiq__num):not(.ed-bf-groupe__nb),
.ed-bf-groupe.est-actif .ed-etiq > span:not(.ed-etiq__num):not(.ed-bf-groupe__nb) { color: var(--edc-creme); }
.ed-bf-groupe[aria-expanded="true"] .ed-barre { background: rgba(244, 242, 234, .55); }
.ed-bf-groupe:hover .ed-barre b { transform: scaleX(.18); }
.ed-bf-groupe.est-actif .ed-barre b { transform: scaleX(1); }
.ed-bf-groupe:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 4px; }
.ed-cat-bf__actifs { order: 2; flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 6px 0 8px; }
.ed-cat-bf__actifs[hidden] { display: none; }
.ed-cat-bf .ed-actif, .ed-cat-bf .ed-actif:hover, .ed-cat-bf .ed-actif:focus { min-height: 30px; font-size: 12.5px; color: var(--edc-creme) !important; background: rgba(244, 242, 234, .06); border-color: rgba(244, 242, 234, .3); }
.ed-cat-bf .ed-actif svg { color: var(--edc-orange); }
.ed-cat-bf .ed-actif:hover { border-color: var(--edc-orange); }
.ed-cat-bf .ed-actifs__effacer { color: var(--edc-creme); }
.ed-cat-bf__compte { order: 3; margin: 0 0 0 auto !important; font-size: 13px; color: rgba(244, 242, 234, .72) !important; white-space: nowrap; }
.ed-cat-bf__tri { order: 4; position: relative; display: flex; align-items: center; gap: 10px; flex: none; margin: 0; }
.ed-cat-bf__tri-long { font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 108%; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 242, 234, .72); white-space: nowrap; }
.ed-cat-bf__tri-court { display: none; }
.ed-cat-bf__tri select {
  -webkit-appearance: none; appearance: none; width: 172px; min-height: 38px; padding: 4px 26px 4px 0; cursor: pointer; text-overflow: ellipsis; font: inherit; font-size: 14px;
  color: var(--edc-creme); background-color: transparent; border: 0; border-bottom: 1px solid rgba(244, 242, 234, .3); border-radius: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23f1531a' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat; background-position: right 4px center;
}
.ed-cat-bf__tri select option { color: var(--edc-olive-800); background: var(--edc-creme); }
.ed-cat-bf__tri select:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 3px; }
.ed-cat-bf__affichage { order: 5; color: var(--edc-creme); }
.ed-cat-bf__affichage .ed-affichage__titre { font-size: 11px; color: rgba(244, 242, 234, .72); }
.ed-cat-bf__affichage button:focus-visible { outline-color: var(--edc-orange); }
@media (min-width: 1600px) { .ed-cat-bf__groupes { flex: 1 1 auto; } .ed-cat-bf__actifs { order: 6; flex: 1 1 100%; padding-top: 0; } }
/* le panneau d'un groupe, sous la barre : le crème de la bande ; les filtres de la page y sont déplacés le temps de choisir */
.ed-cat-bf__panneau {
  position: absolute; top: calc(100% + 1px); left: var(--edc-gouttiere); right: var(--edc-gouttiere); max-height: calc(100vh - var(--edc-entete) - 96px);
  overflow-y: auto; overscroll-behavior: contain; padding: 20px 28px 24px; background-color: var(--edc-creme); color: var(--edc-olive-800); isolation: isolate;
  border: 1px solid rgba(35, 40, 26, .14); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .7);
}
.ed-cat-bf__panneau[hidden] { display: none; }
.ed-cat-bf__panneau > * { position: relative; z-index: 1; }
.ed-cat-bf__tete { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.ed-cat-bf .ed-cat-bf__titre { display: flex; gap: .8em; margin: 0; font-family: var(--edc-f-titre) !important; font-weight: 700; font-stretch: 108%; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--edc-olive-800); }
.ed-cat-bf__titre .ed-etiq__num { color: var(--edc-orange-fonce); }
.ed-cat-bf__fermer { width: 38px; height: 38px; }
.ed-cat-bf__corps .ed-actifs { display: none; }
@media (max-width: 1399px) {
  .ed-cat-bf__ligne { gap: 10px 16px; }
  .ed-cat-bf__groupes { gap: 15px; }
  .ed-bf-groupe .ed-etiq { gap: .55em; font-size: 10.5px; letter-spacing: .09em; }
  .ed-cat-bf__tri select { width: 138px; font-size: 13px; }
  .ed-cat-bf__groupes.deborde { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
}
@media (max-width: 860px), (max-aspect-ratio: 11/10) and (max-width: 1100px) {
  .ed-cat-bf__groupes, .ed-cat-bf__panneau, .ed-cat-bf__actifs { display: none !important; }
  .ed-cat-bf__ligne { gap: 8px; min-height: 60px; flex-wrap: nowrap; }
  .ed-cat-bf__filtrer, .ed-cat-bf__tri { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 6px; border: 1px solid rgba(244, 242, 234, .45); background: transparent; color: var(--edc-creme); font: inherit; font-size: 13.5px; letter-spacing: .04em; cursor: pointer; }
  .ed-cat-bf__filtrer { order: 1; }
  .ed-cat-bf__filtrer:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 2px; }
  .ed-cat-bf__tri { order: 2; }
  .ed-cat-bf__tri-long { display: none; }
  .ed-cat-bf__tri-court { display: inline; }
  .ed-cat-bf__tri-court::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 9px; border-right: 1.5px solid var(--edc-orange); border-bottom: 1.5px solid var(--edc-orange); transform: translateY(-3px) rotate(45deg); }
  .ed-cat-bf__tri select { position: absolute; inset: 0; width: 100%; max-width: none; height: 100%; opacity: 0; padding: 0; border: 0; }
  .ed-cat-bf__tri:focus-within { outline: 2px solid var(--edc-orange); outline-offset: 2px; }
  .ed-cat-bf__compte { order: 4; font-size: 12.5px; }
  .ed-cat-bf__affichage { order: 3; }
  .ed-cat-bf__affichage .ed-affichage__titre, .ed-cat-bf__affichage .ed-affichage__n { display: none; }
  .ed-cat-bf__affichage .ed-affichage__ico { display: block; }
  .ed-cat-bf__affichage button { min-width: 34px; padding: 0 7px; }
}
@media (max-width: 359px) { .ed-cat-bf__compte { display: none; } }

/* ---------- 8. ④ la grille des articles, sur fond noir ---------- */
.ed-cat-grille { position: relative; z-index: 2; background: var(--edc-noir); padding: clamp(52px, 8vh, 96px) var(--edc-gouttiere) clamp(76px, 11vh, 140px); }
.ed-cat .ed-cat-invite { margin: 0 0 34px; font-size: 15px; line-height: 1.5; color: rgba(244, 242, 234, .78); }
.ed-cat-invite a { color: var(--edc-creme) !important; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(244, 242, 234, .4); }
.ed-cat-invite a:hover, .ed-cat-invite a:focus-visible { color: var(--edc-orange) !important; }
#js-product-list .ed-cat-articles, .ed-cat-articles {
  --colonnes: 4; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--colonnes), minmax(0, 1fr));
  gap: clamp(36px, 4.2vw, 60px) clamp(14px, 1.6vw, 28px);
}
#js-product-list .ed-cat-articles::before, #js-product-list .ed-cat-articles::after { display: none; }
/* les rangées d'une même ligne s'alignent (photo, nom, prix, bouton) quelle que soit la longueur du nom */
@supports (grid-template-rows: subgrid) {
  .ed-cat-articles > .ed-cel { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
  .ed-cat-articles > .ed-cel > .ed-carte { display: grid !important; grid-template-rows: subgrid; grid-row: 1 / span 4; row-gap: 0; align-content: start; }
  .ed-cat-articles .ed-carte__achat:empty { display: block; }
}
@media (max-width: 1180px) { .ed-cat-articles { --colonnes: 3; } }
@media (max-width: 860px) { #js-product-list .ed-cat-articles, .ed-cat-articles { row-gap: 40px; } }
@media (max-width: 819px) { .ed-cat-articles { --colonnes: 2; } }
html.ed-cat-anime .ed-cat-articles > .ed-cel { transition: opacity .8s ease, transform 1s var(--edc-courbe); transition-delay: var(--d, 0s); }
html.ed-cat-anime .ed-cat-articles > .ed-cel.a-entrer:not(.is-in) { opacity: 0; transform: translateY(26px); }
.ed-cat-liste .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 48px 0 0; color: rgba(244, 242, 234, .72); font-size: 14px; }
.ed-cat-liste .pagination > div { width: auto; max-width: none; flex: none; padding: 0; margin: 0; }
.ed-cat-liste .pagination .page-list { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; background: none; box-shadow: none; }
.ed-cat-liste .pagination a { color: var(--edc-creme) !important; }
#ed-inf-sentinel { color: rgba(244, 242, 234, .62) !important; }
.ed-cat .ed-cat-liste .not-found, .ed-cat #js-product-list .not-found { background: transparent; color: var(--edc-creme); }

/* ---------- 9. ⑤ « Commander pour Noël » / « Commander chez nous » ---------- */
.ed-raisons { position: relative; z-index: 2; background: var(--edc-creme); color: var(--edc-olive-800); padding: clamp(96px, 14vh, 180px) var(--edc-gouttiere); }
.ed-raisons__tete { position: relative; z-index: 1; margin-bottom: clamp(40px, 6vh, 64px); }
.ed-raisons .ed-display { color: var(--edc-olive-800); }
/* .ed-planche devant : « .ed-cat ol » (mise à plat de la page) annulait ce retrait, et le texte touchait le cadre (client, 03/11) */
.ed-planche .ed-arguments { position: relative; list-style: none; margin: 0; padding: clamp(34px, 5.5vh, 56px) var(--edc-air-planche) clamp(30px, 4.5vh, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ed-arg { padding: 0 clamp(16px, 2vw, 30px); border-left: 1px solid rgba(35, 40, 26, .14); }
.ed-arg:first-child { padding-left: 0; border-left: 0; }
.ed-arg:last-child { padding-right: 0; }
.ed-raisons .ed-puce { width: 26px; height: 26px; }
.ed-raisons .ed-num { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 110%; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; }
.ed-num span { color: var(--edc-orange-fonce); }
.ed-num i { width: 36px; height: 1px; background: currentColor; opacity: .35; }
.ed-raisons .ed-signe { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: .12em; margin: 0; min-height: 1em; font-family: var(--edc-f-titre); font-weight: 800; font-stretch: 112%; line-height: .9; letter-spacing: -.03em; font-size: clamp(56px, 6vw, 104px); }
.ed-unite { font-family: var(--edc-f-serif); font-weight: 400; font-stretch: 100%; letter-spacing: 0; font-size: .32em; line-height: 1; color: var(--edc-orange-fonce); }
.ed-raisons .ed-signe--mot { align-items: flex-start; }
.ed-mot-signe { font-size: .4em; line-height: .96; text-transform: uppercase; }
.ed-raisons .ed-arg__texte { margin: 16px 0 0; max-width: 22ch; font-family: var(--edc-f-serif); font-size: clamp(19px, 1.5vw, 24px); line-height: 1.2; }
html.ed-cat-anime .ed-arg { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .9s var(--edc-courbe); transition-delay: calc(.35s + var(--i, 0) * .12s); }
html.ed-cat-anime .ed-planche.is-in .ed-arg { opacity: 1; transform: none; }
@media (max-width: 1100px) {
  .ed-planche .ed-arguments { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .ed-arg:nth-child(3) { padding-left: 0; border-left: 0; }
  .ed-arg:nth-child(2) { padding-right: 0; }
}
@media (max-width: 620px) {
  .ed-planche { margin: 0 12px; }
  .ed-planche .ed-arguments { grid-template-columns: minmax(0, 1fr); row-gap: 0; padding: 18px 18px 8px; }
  .ed-arg, .ed-arg:nth-child(n) { padding: 22px 0; border-left: 0; border-top: 1px solid rgba(35, 40, 26, .14); }
  .ed-arg:first-child { border-top: 0; padding-top: 6px; }
  .ed-legende { margin: 0 18px; flex-direction: column; gap: 4px; }
}

/* ---------- 10. « réduire les animations » : tout est affiché d'emblée, rien ne bouge ---------- */
@media (prefers-reduced-motion: reduce) {
  .ed-rond, .ed-barre b, .ed-puce, .ed-etiq, .ed-compteur__bande, .ed-bord rect, .ed-bord path, .ed-planche, .ed-planche::before, .ed-legende,
  .ed-indice, .ed-carte__photo img, .ed-sr img, .ed-cat-vedette img, .ed-acc__fleche, .ed-btn, .ed-affichage button::after,
  .ed-carte .ed-tile-cart-btn, .ed-cat-bf, .ed-cat-bf.est-visible { transition: none !important; }
  .ed-cat-bf, .ed-cat-bf.est-visible { transform: none; }
  .ed-indice i { animation: none; }
  .ed-btn:hover, .ed-carte .ed-tile-cart-btn:hover { transform: none; }
}

/* ---------- accessibilité : ordre des filtres, défilement au clavier, petits écrans couchés ---------- */
/* ED-FACET-TWEAKS (ed-grid.js) donne un « order » aux groupes de l'ancienne colonne : ici, l'ordre du code */
#search_filters.ed-facettes > * { order: 0 !important; }
/* un élément atteint au clavier ne se cache pas sous l'en-tête et la barre des filtres */
html:has(body#category) { scroll-padding-top: calc(var(--edc-entete) + 90px); }
/* téléphone couché (moins de 480 px de haut) : pas de barre collée */
@media (max-height: 480px) { .ed-cat-bf { display: none !important; } }

/* ---------- 11. l'aperçu d'un article (bouton « Aperçu » des cartes) : plein écran noir, comme le visuel de l'accueil ----------
   Maquette : esquisse-4-accueil, ⑥ L'APERÇU D'UN ARTICLE (classes g4-apercu*). Construit par ed-catalogue-apercu-article.js
   avec ce que la carte contient ; posé directement dans <body>, au-dessus de l'en-tête (1000), des filtres (1200) et des
   menus ; la fenêtre « ajouté au panier » de la boutique passe au-dessus de lui si elle s'ouvre. */
html.ed-apercu-ouvert { overflow: hidden; }
html.ed-apercu-ouvert #ed-cookie { display: none !important; }   /* le bandeau des cookies revient à la fermeture */
html.ed-apercu-ouvert #blockcart-modal { z-index: 2010; }
html.ed-apercu-ouvert .modal-backdrop { z-index: 2005; }
.ed-apercu {
  position: fixed; inset: 0; z-index: 2000; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; outline: none;
  background: var(--edc-noir); color: var(--edc-creme); opacity: 0; transition: opacity .3s ease;
  font-family: var(--edc-f-corps); font-size: 16px; line-height: 1.6; text-align: left; -webkit-font-smoothing: antialiased;
}
.ed-apercu[hidden] { display: none; }
.ed-apercu.est-ouvert { opacity: 1; }
.ed-apercu * { box-sizing: border-box; }
.ed-apercu p, .ed-apercu dl, .ed-apercu dd, .ed-apercu button, .ed-apercu input { color: inherit; font-family: inherit; }
.ed-apercu__fermer {
  position: fixed; top: 21px; right: var(--edc-gouttiere); z-index: 2; display: inline-grid; place-items: center; width: 42px; height: 42px;
  padding: 0; border-radius: 999px; border: 1px solid currentColor; background: rgba(9, 11, 7, .42); color: var(--edc-creme) !important;
  cursor: pointer; transition: color .2s ease, border-color .2s ease;
}
.ed-apercu__fermer:hover { color: var(--edc-orange) !important; border-color: var(--edc-orange); }
.ed-apercu__fermer:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 3px; }
.ed-apercu__cadre {
  min-height: 100%; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(28px, 4vw, 64px);
  align-items: center; padding: 96px var(--edc-gouttiere) 64px;
}
.ed-apercu__photo { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 6px; background: #000; }
.ed-apercu__photo picture, .ed-apercu__photo img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ed-apercu__texte { min-width: 0; overflow-wrap: break-word; }
.ed-apercu__texte .ed-surtitre { margin-bottom: 16px; }
.ed-apercu .ed-apercu__nom.ed-apercu__nom {
  margin: 0; font-family: var(--edc-f-titre) !important; font-weight: 800; font-stretch: 112%; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(28px, 3.1vw, 50px); line-height: .95; color: var(--edc-creme);
}
.ed-apercu .ed-apercu__ref {
  margin: 12px 0 0; font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 108%; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(244, 242, 234, .62);
}
.ed-apercu__carac { display: grid; gap: 12px; margin: 24px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(244, 242, 234, .16); }
.ed-apercu__carac div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.ed-apercu .ed-apercu__carac dt {
  margin: 0; font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 110%; font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(244, 242, 234, .62);
}
.ed-apercu .ed-apercu__carac dd { margin: 0; font-size: 15px; line-height: 1.45; color: rgba(244, 242, 234, .88); }
.ed-apercu__infos { margin-top: 22px; }
.ed-apercu .ed-apercu__prix {
  margin: 0; font-family: var(--edc-f-titre); font-weight: 700; font-stretch: 108%; font-size: 22px; line-height: 1.3;
  letter-spacing: .03em; color: var(--edc-orange);
}
.ed-apercu .ed-apercu__boite, .ed-apercu .ed-apercu__stock { margin: 6px 0 0; font-size: 14px; line-height: 1.45; color: rgba(244, 242, 234, .64); }
.ed-apercu .ed-apercu__stock { margin-top: 2px; }
.ed-apercu .ed-apercu__stock.est-bas { color: rgba(244, 242, 234, .88); }
.ed-apercu .ed-apercu__stock.est-rupture { color: var(--edc-orange); }
.ed-apercu .ed-apercu__connexion { margin: 0; font-size: 15px; line-height: 1.5; color: rgba(244, 242, 234, .78); }
.ed-apercu__ajout { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; }
.ed-apercu .ed-qte input {
  width: 2.6em; height: 32px; padding: 0; border: 0; border-radius: 4px; text-align: center; background: transparent; color: var(--edc-creme);
  font-family: var(--edc-f-titre); font-weight: 700; font-size: 15px; -moz-appearance: textfield; appearance: textfield; box-shadow: none;
}
.ed-apercu .ed-qte__unite { color: rgba(244, 242, 234, .72); }
.ed-apercu .ed-apercu__ajouter { min-height: 44px; padding: 0 22px; font-size: 14px; }
.ed-apercu .ed-apercu__ajouter[aria-disabled="true"] { opacity: .45; cursor: default; transform: none; }
.ed-apercu .ed-apercu__ajouter.est-ajoute { background: var(--edc-olive-800); opacity: 1; }
.ed-apercu .ed-apercu__ajouter.est-rupture { background: transparent; border-color: rgba(244, 242, 234, .2); color: rgba(244, 242, 234, .6) !important; opacity: 1; }
.ed-apercu .ed-apercu__message { flex: 1 0 100%; margin: 0; font-size: 13px; line-height: 1.4; color: rgba(244, 242, 234, .84); }
.ed-apercu .ed-apercu__message:empty { display: none; }
.ed-apercu .ed-cta { margin-top: 20px; }
.ed-apercu .ed-apercu__complete { margin: 26px 0 0; }
.ed-apercu__lien {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 14px; letter-spacing: .06em; line-height: 1.3;
  color: var(--edc-creme) !important; text-decoration: none !important; border-bottom: 1px solid rgba(244, 242, 234, .35);
  transition: border-color .25s ease, gap .3s var(--edc-courbe);
}
.ed-apercu__lien::after { content: "\2192"; color: var(--edc-orange); font-size: 17px; line-height: 1; }
.ed-apercu__lien:hover { border-color: var(--edc-orange); gap: 18px; }
.ed-apercu__lien:focus-visible { outline: 2px solid var(--edc-orange); outline-offset: 4px; }
/* l'entrée : la photo et la fiche montent un temps après le fond (comme la maquette) */
html.ed-cat-anime .ed-apercu__photo, html.ed-cat-anime .ed-apercu__texte > * { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .9s var(--edc-courbe); }
html.ed-cat-anime .ed-apercu.est-ouvert .ed-apercu__photo, html.ed-cat-anime .ed-apercu.est-ouvert .ed-apercu__texte > * { opacity: 1; transform: none; }
html.ed-cat-anime .ed-apercu.est-ouvert .ed-apercu__texte > :nth-child(1) { transition-delay: .08s; }
html.ed-cat-anime .ed-apercu.est-ouvert .ed-apercu__texte > :nth-child(2) { transition-delay: .14s; }
html.ed-cat-anime .ed-apercu.est-ouvert .ed-apercu__texte > :nth-child(3) { transition-delay: .2s; }
html.ed-cat-anime .ed-apercu.est-ouvert .ed-apercu__texte > :nth-child(n+4) { transition-delay: .26s; }
@media (max-width: 860px) {
  .ed-apercu__cadre { grid-template-columns: minmax(0, 1fr); row-gap: 26px; align-items: start; align-content: start; padding: 84px var(--edc-gouttiere) 40px; }
  .ed-apercu__carac div { grid-template-columns: 110px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .ed-apercu, .ed-apercu__photo, .ed-apercu__texte > *, .ed-apercu__lien, .ed-apercu__fermer { transition: none !important; }
  .ed-apercu__photo, .ed-apercu__texte > * { opacity: 1 !important; transform: none !important; }
  .ed-apercu__lien:hover { gap: 12px; }
}
