/* =====================================================================
   Ermax : thème du site e-commerce. Tokens et composants du kit d'intégration
   v1.2 (design system « Site e-commerce Ermax »), intégration WordPress et WooCommerce.
   Mobile d'abord : media queries en min-width (640 / 768 / 1024 / 1280).
   ===================================================================== */

/* ---------- Tokens ---------- */
:root, [data-theme="light"] {
  --black-950: #0c0c0c; --black-900: #161616; --black-850: #1c1c1c; --black-800: #2a2a2a;
  --grey-600: #6e6e6e; --grey-500: #8a8a8a; --grey-400: #9a9a9a; --grey-200: #e6e6e6; --grey-100: #f7f7f7;
  --white: #ffffff;
  --green-400: #3faf7a; --green-600: #2e8259; --green-700: #1e6b4a; --green-800: #17543a;
  --red-700: #b42318; --red-300: #ff8a80; --amber-700: #b45309; --amber-300: #f5b544;
  --flag-blue: #0055a4; --flag-red: #ef4135;
  --surface: var(--grey-100); --surface-raised: var(--white); --surface-muted: var(--grey-200);
  --ink: var(--black-950); --ink-muted: var(--grey-600);
  --line: var(--grey-200); --line-control: var(--grey-500);
  --accent: var(--green-700); --interactive: var(--green-400); --link: var(--black-950);
  --action: var(--green-400); --on-action: var(--black-950);
  --action-hover: var(--green-700); --on-action-hover: var(--white); --action-pressed: var(--green-800);
  --focus-ring: var(--green-700);
  --success: var(--green-700); --warning: var(--amber-700); --danger: var(--red-700);
  --infobar: var(--green-400); --ink-on-green: var(--black-950); --swatch-ring: var(--grey-500);
  --scrim: rgba(12, 12, 12, 0.9); --scrim-soft: rgba(12, 12, 12, 0.4);
  --media-top: var(--grey-100); --media-bottom: var(--grey-200);
  --shadow-overlay: 0 12px 32px rgba(12, 12, 12, 0.18);
  --shadow-sticky: 0 -4px 16px rgba(12, 12, 12, 0.12);
}
[data-theme="dark"] {
  --surface: var(--black-950); --surface-raised: var(--black-900); --surface-muted: var(--black-850);
  --ink: var(--white); --ink-muted: var(--grey-400);
  --line: var(--black-800); --line-control: var(--grey-600);
  --accent: var(--green-400); --interactive: var(--green-400); --link: var(--green-400);
  --focus-ring: var(--green-400);
  --success: var(--green-400); --warning: var(--amber-300); --danger: var(--red-300);
}
:root {
  --fs-hero: clamp(2.5rem, 1.4rem + 4.6vw, 4.875rem);
  --fs-section: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  --fs-tile: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  --fs-product: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
  --fs-figure: clamp(1.75rem, 1.1rem + 2.6vw, 3rem);
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --radius-sm: 4px; --radius-lg: 10px; --radius-full: 9999px;
  --container-max: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(48px, 6vw, 80px);
  --diag-h: clamp(40px, 7vw, 96px);
  --header-h: 72px;
  --target-min: 44px;
  --font-display: "Zalando Sans Expanded", "Arial Black", "Helvetica Neue", sans-serif;
  --font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Intégration WordPress ---------- */
body.ex-root { margin: 0; }
.wp-site-blocks { padding: 0 !important; }
/* Les parties d'en-tête et de pied n'enferment pas l'en-tête collant */
.wp-site-blocks > .wp-block-template-part { display: contents; }
.wp-site-blocks > * { margin-block: 0 !important; }
.ex-main { display: block; margin: 0; }
.ex-main > *, .ex-main .is-layout-flow > * { margin-block: 0; }
.ex-notices:empty, .ex-notices:not(:has(.wc-block-components-notice-banner, .woocommerce-message, .woocommerce-error, .woocommerce-info)) { display: none; }
.ex-notices { padding-top: var(--space-4); }

/* ---------- Base ---------- */
:where(.ex-root), :where(.ex-root) *, :where(.ex-root) *::before, :where(.ex-root) *::after { box-sizing: border-box; }
.ex-root {
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--surface);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
:where(.ex-root) img { max-width: 100%; display: block; height: auto; }
:where(.ex-root) a { color: inherit; }
:where(.ex-root) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.ex-root) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset) { margin: 0; }
:where(.ex-root) :where(.ex-header, .ex-footer, .ex-main) :where(ul, ol) { padding: 0; list-style: none; }
:where(.ex-root) fieldset { border: 0; padding: 0; min-width: 0; }
[data-theme] { background-color: var(--surface); color: var(--ink); }
html:has(.ex-header) { scroll-padding-top: calc(var(--header-h) + 24px); }
html:has(.ex-stickybuy) { scroll-padding-bottom: 96px; }

:where(.ex-root) :focus { outline: none; }
:where(.ex-root) :focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-sm); }

.ex-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ex-skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--action); color: var(--on-action); padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.ex-skip:focus-visible { top: 16px; }
.ex-icon { width: 24px; height: 24px; flex: none; display: inline-block; vertical-align: middle; }
.ex-nowrap { white-space: nowrap; }

/* ---------- Mise en page ---------- */
.ex-container { width: 100%; max-width: calc(var(--container-max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.ex-section { position: relative; background: var(--surface); color: var(--ink); padding-block: var(--section-y); overflow: hidden; }
.ex-section > .ex-container { position: relative; z-index: 1; }
.ex-section--diag-top { padding-top: calc(var(--section-y) + var(--diag-h)); }
.ex-section--diag-bottom { padding-bottom: calc(var(--section-y) + var(--diag-h)); }
.ex-section--diag-top::before, .ex-section--diag-bottom::after { content: ""; position: absolute; left: 0; right: 0; height: var(--diag-h); background: var(--diag-color, var(--grey-100)); z-index: 2; pointer-events: none; }
.ex-section--diag-top::before { top: -1px; clip-path: polygon(0 0, 0 100%, 100% 0); }
.ex-section--diag-bottom::after { bottom: -1px; clip-path: polygon(0 100%, 100% 100%, 100% 0); }
.ex-section__head { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: var(--space-12); }
.ex-section__head--start { justify-items: start; text-align: left; }
.ex-section__title { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-section); line-height: 1.15; text-transform: uppercase; text-wrap: balance; color: var(--ink); }
.ex-section__lead { color: var(--accent); font-size: 16px; max-width: 60ch; }
.ex-section__foot { display: flex; justify-content: center; margin-top: var(--space-12); }
.ex-grid { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 640px) { .ex-grid--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ex-grid--cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .ex-grid--cards { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Bouton ---------- */
.ex-btn {
  --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: 12px 28px; font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.25;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: var(--radius-sm);
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .3s ease-out, color .3s ease-out, border-color .3s ease-out;
}
.ex-btn .ex-icon { width: 20px; height: 20px; }
.ex-btn--primary { --btn-bg: var(--action); --btn-fg: var(--on-action); --btn-bd: var(--action); }
.ex-btn--primary:hover { --btn-bg: var(--action-hover); --btn-fg: var(--on-action-hover); --btn-bd: var(--action-hover); }
.ex-btn--primary:active { --btn-bg: var(--action-pressed); --btn-bd: var(--action-pressed); --btn-fg: var(--on-action-hover); }
.ex-btn--secondary { --btn-fg: var(--ink); --btn-bd: var(--ink); }
.ex-btn--secondary:hover { --btn-bg: var(--interactive); --btn-fg: var(--ink-on-green); --btn-bd: var(--interactive); }
.ex-btn--ghost { --btn-fg: var(--ink); padding-inline: 12px; }
.ex-btn--ghost:hover { --btn-bg: var(--surface-muted); --btn-fg: var(--ink); }
.ex-btn--lg { min-height: 56px; padding-inline: 32px; }
.ex-btn--caps { text-transform: uppercase; letter-spacing: .08em; }
.ex-btn--icon { min-height: var(--target-min); min-width: var(--target-min); padding: 0; border-radius: var(--radius-full); }
.ex-btn[disabled], .ex-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.ex-link { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-color: var(--interactive); text-underline-offset: 4px; text-decoration-thickness: 2px; display: inline-flex; align-items: center; gap: var(--space-2); }
.ex-link:hover { text-decoration-thickness: 3px; }
.ex-link .ex-icon { color: var(--interactive); width: 18px; height: 18px; }
.ex-link--button { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-weight: 600; min-height: 24px; }

/* ---------- Badges ---------- */
.ex-label { font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; }
.ex-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: .08em; text-transform: uppercase; background: var(--black-950); color: var(--white); }
.ex-badge--media { position: absolute; top: 0; right: 0; z-index: 2; border-radius: 0 0 0 var(--radius-sm); background: rgba(12, 12, 12, .8); }
.ex-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding-inline: 5px; border-radius: var(--radius-full); background: var(--action); color: var(--ink-on-green); font-size: 12px; font-weight: 700; line-height: 1; }

/* ---------- Pastilles de couleur ---------- */
.ex-swatches { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); }
.ex-swatch { width: 28px; height: 28px; border-radius: var(--radius-full); flex: none; background: var(--swatch); }
.ex-swatch--light { box-shadow: inset 0 0 0 1px var(--swatch-ring); }
[data-theme="dark"] .ex-swatch:not(.ex-swatch--light) { box-shadow: inset 0 0 0 1px var(--grey-600); }
.ex-swatches__count { font-size: 14px; color: var(--ink-muted); margin-left: var(--space-1); }
.ex-swatch-picker__legend { display: flex; gap: var(--space-2); align-items: baseline; margin-bottom: var(--space-3); font-size: 14px; padding: 0; }
.ex-swatch-picker__legend strong { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ex-swatch-picker__value { color: var(--ink-muted); }
.ex-swatch-picker__list { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.ex-swatch-option { position: relative; }
.ex-swatch-option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; width: 100%; height: 100%; }
.ex-swatch-option span:not(.ex-sr-only) { display: block; width: var(--target-min); height: var(--target-min); border-radius: var(--radius-full); background: var(--swatch); box-shadow: 0 0 0 2px var(--surface-raised), 0 0 0 3px transparent; transition: box-shadow .15s ease-out; }
.ex-swatch-option--light span:not(.ex-sr-only) { box-shadow: inset 0 0 0 1px var(--swatch-ring), 0 0 0 2px var(--surface-raised); }
.ex-swatch-option input:hover + span { box-shadow: 0 0 0 2px var(--surface-raised), 0 0 0 4px var(--interactive); }
.ex-swatch-option input:checked + span { box-shadow: inset 0 0 0 1px var(--swatch-ring), 0 0 0 3px var(--surface-raised), 0 0 0 5px var(--accent); }
.ex-swatch-option input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 5px; }
.ex-swatch-option input:disabled { cursor: not-allowed; }
.ex-swatch-option input:disabled + span { opacity: .35; background-image: linear-gradient(135deg, transparent calc(50% - 1px), var(--ink) calc(50% - 1px), var(--ink) calc(50% + 1px), transparent calc(50% + 1px)); }

/* ---------- Carte produit ---------- */
.ex-card { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--surface-raised); color: var(--ink); border-radius: var(--radius-lg); overflow: hidden; }
.ex-card__media { position: relative; aspect-ratio: 8 / 7; overflow: hidden; background: linear-gradient(var(--media-top), var(--media-bottom)); }
.ex-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-out; }
.ex-card:hover .ex-card__media img { transform: scale(1.06); }
.ex-card__body { display: flex; flex-direction: column; gap: var(--space-2); flex: 1; padding: var(--space-5); }
.ex-ref { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ex-ref::before { content: ""; width: 4px; height: 4px; border-radius: var(--radius-full); background: currentColor; }
.ex-card__title { font-family: var(--font-display); font-size: 20px; font-weight: 300; line-height: 1.2; text-transform: uppercase; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ex-card__title a { text-decoration: none; color: inherit; }
.ex-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.ex-card__title a:focus-visible { outline: none; }
.ex-card:has(.ex-card__title a:focus-visible) { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.ex-card__fit { color: var(--accent); font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ex-card__compat { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--success); font-weight: 500; }
.ex-card__compat[hidden] { display: none; }
.ex-card__compat .ex-icon { width: 18px; height: 18px; }
.ex-card__footer { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); margin-top: auto; padding-top: var(--space-3); border-top: 1px solid var(--line); }
.ex-price { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 20px; line-height: 1.2; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ex-price small { font-family: var(--font-body); font-weight: 400; font-size: .7em; color: var(--ink-muted); margin-left: .25em; }
.ex-price__from { font-family: var(--font-body); font-weight: 400; font-size: 14px; color: var(--ink-muted); }
.ex-price--lg { font-size: 36px; line-height: 1; }

/* ---------- Tuiles (univers, motos) ---------- */
.ex-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: var(--space-6); overflow: hidden; border-radius: var(--radius-lg); background: var(--black-900); color: var(--white); text-decoration: none; isolation: isolate; }
.ex-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease-out; }
.ex-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--scrim) 0%, var(--scrim-soft) 45%, rgba(12, 12, 12, 0) 75%); }
.ex-tile:hover > img { transform: scale(1.05); }
.ex-tile__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; line-height: 1.1; transition: color .3s ease-out; text-wrap: balance; }
.ex-tile:hover .ex-tile__title { color: var(--green-400); }
.ex-tile__meta { margin-top: 4px; font-size: 14px; color: var(--grey-200); }
.ex-tile__cta { margin-top: var(--space-3); display: inline-flex; align-items: center; gap: var(--space-2); color: var(--green-400); font-size: 14px; font-weight: 600; }
.ex-tile__cta .ex-icon { width: 18px; height: 18px; transition: transform .3s ease-out; }
.ex-tile:hover .ex-tile__cta .ex-icon { transform: translateX(4px); }
.ex-tile--lg { min-height: 360px; padding: var(--space-8); }
.ex-tile--lg .ex-tile__title { font-size: var(--fs-tile); }
.ex-tile--moto { min-height: 320px; }
.ex-univers { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
.ex-univers__side { display: grid; gap: var(--space-6); }
.ex-univers__pair { display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 640px) { .ex-univers__pair { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ex-univers { grid-template-columns: 1fr 1fr; } .ex-tile--lg { min-height: 604px; } .ex-univers__side .ex-tile { min-height: 290px; } }

/* ---------- Types de moto ---------- */
.ex-vtypes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-8) var(--space-6); max-width: 1024px; margin-inline: auto; }
@media (min-width: 768px) { .ex-vtypes { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ex-vtype { display: grid; justify-items: center; gap: var(--space-4); text-decoration: none; color: var(--ink); padding: var(--space-3); border-radius: var(--radius-lg); }
.ex-vtype__icon { width: clamp(96px, 22vw, 160px); aspect-ratio: 1; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: background-color .3s ease-out; }
.ex-vtype__label { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.ex-vtype:hover .ex-vtype__icon { background-color: var(--interactive); }
.ex-vtype:hover .ex-vtype__label { text-decoration: underline; text-decoration-color: var(--interactive); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- Rail ---------- */
.ex-rail { position: relative; }
.ex-rail__track { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: var(--space-6); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 0 4px; margin: 0; list-style: none; overscroll-behavior-x: contain; }
.ex-rail__track::-webkit-scrollbar { display: none; }
.ex-rail__track > * { scroll-snap-align: start; }
.ex-rail__track > li > .ex-tile { height: 100%; }
@media (min-width: 640px) { .ex-rail__track { grid-auto-columns: calc((100% - var(--space-6)) / 2); } }
@media (min-width: 1024px) { .ex-rail__track { grid-auto-columns: calc((100% - 2 * var(--space-6)) / 3); } }
@media (min-width: 1280px) { .ex-rail__track { grid-auto-columns: calc((100% - 3 * var(--space-6)) / 4); } }
.ex-rail__controls { display: flex; justify-content: flex-end; gap: var(--space-3); margin-top: var(--space-6); }
.ex-rail__btn { display: inline-grid; place-items: center; width: var(--target-min); height: var(--target-min); border-radius: var(--radius-full); border: 2px solid var(--line-control); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.ex-rail__btn:hover { border-color: var(--interactive); color: var(--interactive); }
.ex-rail__btn[disabled] { opacity: .35; cursor: default; }

/* ---------- Héros ---------- */
.ex-hero { position: relative; background: var(--black-950); color: var(--white); overflow: hidden; isolation: isolate; }
.ex-hero__slides { display: grid; }
.ex-hero__slide { grid-area: 1 / 1; position: relative; display: grid; place-items: center; min-height: clamp(520px, 72vw, 696px); padding: var(--space-16) var(--gutter) calc(var(--diag-h) + var(--space-16)); opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 0s linear 1s; }
.ex-hero__slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s ease, visibility 0s; }
.ex-hero__slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.ex-hero__slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 12, 12, .85), rgba(12, 12, 12, .45) 60%, rgba(12, 12, 12, .25)), linear-gradient(to top, rgba(12, 12, 12, .5), transparent 40%); }
.ex-hero__content { text-align: center; max-width: 900px; display: grid; justify-items: center; gap: var(--space-6); }
.ex-hero__title { font-family: var(--font-display); font-weight: 900; font-size: var(--fs-hero); line-height: 1.05; text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere; hyphens: auto; color: var(--white); }
.ex-hero__subtitle { font-size: clamp(18px, 1rem + .4vw, 20px); line-height: 1.5; color: var(--white); max-width: 54ch; }
.ex-hero__controls { position: absolute; left: 0; right: 0; bottom: calc(var(--diag-h) + var(--space-6)); z-index: 3; display: flex; justify-content: center; align-items: center; gap: var(--space-2); }
.ex-hero__dot { width: 48px; height: var(--target-min); display: inline-grid; place-items: center; background: none; border: 0; cursor: pointer; padding: 0; }
.ex-hero__dot::before { content: ""; width: 32px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .5); transition: width .3s, background-color .3s; }
.ex-hero__dot[aria-current="true"]::before { width: 48px; background: var(--green-400); }
.ex-hero__toggle { display: inline-grid; place-items: center; width: var(--target-min); height: var(--target-min); margin-left: var(--space-2); border-radius: var(--radius-full); cursor: pointer; border: 1px solid rgba(255, 255, 255, .6); background: rgba(12, 12, 12, .4); color: var(--white); }
.ex-hero__toggle[hidden] { display: none; }
.ex-hero__toggle .ex-icon { width: 18px; height: 18px; }
.ex-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: var(--diag-h); z-index: 2; background: var(--diag-color, var(--grey-100)); clip-path: polygon(0 100%, 100% 0, 100% 100%); }

/* ---------- Manifeste et chiffres clés ---------- */
.ex-section__bg { position: absolute; inset: 0; z-index: 0; opacity: .12; pointer-events: none; }
.ex-section__bg img { width: 100%; height: 100%; object-fit: cover; }
.ex-statement { display: grid; gap: var(--space-12); align-items: center; }
@media (min-width: 1024px) { .ex-statement { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }
.ex-statement__title { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-section); line-height: 1.15; text-transform: uppercase; text-wrap: balance; color: var(--ink); }
.ex-statement__text { font-size: 18px; line-height: 1.6; color: var(--ink-muted); margin-bottom: var(--space-8); max-width: 60ch; }
.ex-madein { display: inline-grid; gap: 8px; margin-bottom: var(--space-6); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ex-madein__flag { display: flex; gap: 4px; }
.ex-madein__flag i { display: block; width: 48px; height: 3px; }
.ex-madein__flag i:nth-child(1) { background: var(--flag-blue); }
.ex-madein__flag i:nth-child(2) { background: var(--white); }
.ex-madein__flag i:nth-child(3) { background: var(--flag-red); }
[data-theme="light"] .ex-madein__flag i:nth-child(2) { background: var(--grey-200); }
.ex-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr)); gap: var(--space-6); }
.ex-figure__value { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-figure); line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.ex-figure__label { margin-top: var(--space-2); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-muted); }

/* ---------- Communauté ---------- */
.ex-mosaic { display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1024px; margin-inline: auto; padding: 0; list-style: none; }
.ex-mosaic > :first-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .ex-mosaic { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); } .ex-mosaic > :first-child { grid-column: span 2; grid-row: span 2; } }
.ex-mosaic a { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; height: 100%; }
.ex-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-out; }
.ex-mosaic a:hover img { transform: scale(1.04); }

/* ---------- En-tête ---------- */
.ex-infobar { background: var(--infobar); color: var(--ink-on-green); font-size: 13px; line-height: 1.3; }
.ex-infobar .ex-container { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 32px; }
.ex-infobar__msg { display: flex; align-items: center; gap: var(--space-4); margin-inline: auto; }
.ex-infobar__msg strong { display: none; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
@media (min-width: 640px) { .ex-infobar__msg { margin-inline: 0; } .ex-infobar__msg strong { display: inline; } }
.ex-infobar__links { display: none; gap: var(--space-6); }
.ex-infobar a { color: inherit; text-decoration: none; font-weight: 500; display: inline-block; padding-block: 6px; }
.ex-infobar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ex-infobar__pro { font-weight: 700 !important; }
@media (min-width: 768px) { .ex-infobar__links { display: flex; } }
.ex-header { position: sticky; top: 0; z-index: 50; background: var(--black-950); color: var(--white); }
.admin-bar .ex-header { top: var(--wp-admin--admin-bar--height, 0px); }
.ex-header__bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); min-height: 64px; }
.ex-header__logo { display: inline-flex; align-items: center; min-width: 0; min-height: var(--target-min); color: var(--white); }
.ex-header__logo svg { width: 132px; max-width: 100%; height: auto; fill: currentColor; }
.ex-header__start, .ex-header__actions { display: flex; align-items: center; gap: var(--space-1); }
.ex-header__start { flex: 1 1 auto; min-width: 0; gap: var(--space-2); }
.ex-header__actions { flex: none; }
.ex-header__iconbtn { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: var(--target-min); min-height: var(--target-min); padding: 4px 6px; background: none; border: 0; color: var(--white); text-decoration: none; cursor: pointer; position: relative; font-size: 12px; line-height: 1.2; border-radius: var(--radius-sm); }
.ex-header__iconbtn:hover { color: var(--green-400); }
.ex-header__iconbtn--garage { color: var(--green-400); }
.ex-header__iconbtn--garage:hover { color: var(--white); }
.ex-header__iconbtn .ex-count { position: absolute; top: 0; right: 0; }
.ex-header__iconlabel { display: none; }
.ex-header__search { display: none; }
.ex-header :focus-visible { outline-color: var(--green-400); }
@media (min-width: 1024px) {
  .ex-header__bar { gap: var(--space-8); min-height: var(--header-h); }
  .ex-header__start { flex: none; }
  .ex-header__logo svg { height: 40px; width: auto; }
  .ex-header__burger { display: none; }
  .ex-header__search { display: block; flex: 0 1 320px; margin-left: auto; }
  .ex-header__iconlabel { display: block; }
  .ex-header__actions { gap: var(--space-4); }
  .ex-header__iconbtn .ex-count { right: 6px; }
}
.ex-search { position: relative; }
.ex-search input { width: 100%; height: 40px; padding: 0 40px 0 0; background: transparent; color: var(--white); border: 0; border-bottom: 1px solid var(--green-400); border-radius: 0; font: inherit; font-size: 15px; }
.ex-search input::placeholder { color: var(--grey-400); }
.ex-search input:focus-visible { outline: 3px solid var(--green-400); outline-offset: 4px; border-radius: 2px; }
.ex-search button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; background: none; border: 0; color: var(--grey-400); cursor: pointer; }
.ex-search button:hover { color: var(--green-400); }
.ex-nav { display: none; border-top: 1px solid var(--black-800); }
@media (min-width: 1024px) { .ex-nav { display: block; } }
.ex-nav__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 var(--space-8); margin: 0 auto; }
.ex-nav__link { display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; font-size: 14px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; border-bottom: 2px solid transparent; }
.ex-nav__link:hover { color: var(--green-400); }
.ex-nav__link[aria-current="page"] { border-bottom-color: var(--green-400); }
.ex-nav__link .ex-icon { width: 14px; height: 14px; transition: transform .2s; }
.ex-nav__link[aria-expanded="true"] .ex-icon { transform: rotate(180deg); }
.ex-nav__item { position: relative; }
.ex-mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 60; width: min(880px, 90vw); padding: var(--space-6); border-radius: 0 0 var(--radius-lg) var(--radius-lg); background: var(--black-950); border: 1px solid var(--black-800); box-shadow: var(--shadow-overlay); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
.ex-mega[hidden] { display: none; }
.ex-mega h3 { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.3; margin-bottom: var(--space-2); color: var(--white); }
.ex-mega a { display: block; padding: 6px 0; font-size: 14px; color: var(--grey-400); text-decoration: none; }
.ex-mega a:hover { color: var(--green-400); }
.ex-mega__years { font-size: 12px; color: var(--grey-600); margin-left: 4px; }

/* Menu mobile */
.ex-drawer { margin: 0 auto 0 0; height: 100dvh; max-height: 100dvh; width: min(380px, 88vw); border-radius: 0; }
.ex-drawer__list { display: grid; padding: 0; list-style: none; }
.ex-drawer__list a { display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; }
.ex-drawer__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); padding-left: var(--space-3); }
.ex-drawer__motos { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; margin-top: var(--space-2); }
.ex-drawer__motos a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--line-control); border-radius: var(--radius-sm); font-size: 14px; text-decoration: none; }

/* ---------- Fil d'Ariane ---------- */
.ex-breadcrumb { font-size: 14px; color: var(--ink-muted); padding-block: var(--space-4); }
.ex-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; padding: 0; list-style: none; }
.ex-breadcrumb li { display: inline-flex; align-items: center; }
.ex-breadcrumb li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .6; }
.ex-breadcrumb a { color: var(--ink-muted); text-decoration: none; padding-block: 4px; }
.ex-breadcrumb a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--interactive); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ex-breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 639.98px) {
  .ex-breadcrumb li { display: none; }
  .ex-breadcrumb li:nth-last-child(2) { display: inline-flex; }
  .ex-breadcrumb li:nth-last-child(2)::before { content: ""; width: 7px; height: 7px; margin: 0 10px 0 2px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; border-right: 0; border-top: 0; transform: rotate(45deg); opacity: 1; }
  .ex-breadcrumb a { padding-block: 10px; }
}

/* ---------- Galerie produit ---------- */
.ex-gallery { display: grid; gap: var(--space-3); }
.ex-gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(var(--media-top), var(--media-bottom)); }
.ex-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.ex-gallery__zoom { position: absolute; top: var(--space-3); right: var(--space-3); display: grid; place-items: center; width: var(--target-min); height: var(--target-min); border-radius: var(--radius-full); border: 0; background: rgba(255, 255, 255, .92); color: var(--black-950); cursor: pointer; box-shadow: var(--shadow-overlay); }
.ex-gallery__zoom:hover { background: var(--action); color: var(--on-action); }
.ex-gallery__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: 72px; gap: var(--space-3); overflow-x: auto; scrollbar-width: none; padding: 4px; }
.ex-gallery__thumbs::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .ex-gallery__thumbs { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.ex-gallery__thumb { position: relative; aspect-ratio: 1; min-width: var(--target-min); padding: 0; border: 0; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--surface-raised); box-shadow: 0 0 0 1px var(--line); }
.ex-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ex-gallery__thumb:hover { box-shadow: 0 0 0 2px var(--interactive); }
.ex-gallery__thumb[aria-current="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }
@media (min-width: 1024px) { .ex-gallery--sticky { position: sticky; top: calc(var(--header-h) + var(--space-6)); align-self: start; } }

/* ---------- Fiche produit ---------- */
.ex-pdp { display: grid; gap: var(--space-8); padding-block: var(--space-6) var(--section-y); }
@media (min-width: 1024px) { .ex-pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-12); } }
.ex-buybox { display: grid; gap: var(--space-6); align-content: start; }
.ex-buybox__head { display: grid; gap: var(--space-2); }
.ex-buybox__title { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-product); line-height: 1.15; text-transform: uppercase; text-wrap: balance; color: var(--ink); }
.ex-buybox__fit { color: var(--accent); font-size: 16px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ex-buybox__price { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: var(--space-3); padding-bottom: var(--space-6); border-bottom: 1px solid var(--line); }
.ex-buybox__tax { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .05em; }
.ex-stock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.ex-stock .ex-icon { width: 18px; height: 18px; }
.ex-stock--in { color: var(--success); }
.ex-stock--low { color: var(--warning); }
.ex-stock--out { color: var(--danger); }
.ex-buybox__buy { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: end; }
.ex-buybox__note { font-size: 14px; color: var(--ink-muted); text-align: center; }
@media (max-width: 479.98px) { .ex-buybox__buy .ex-btn { padding-inline: 12px; font-size: 15px; letter-spacing: .04em; } .ex-qty__ctrl { grid-template-columns: 40px 40px 40px; } }
.ex-qty { display: grid; gap: 6px; }
.ex-qty__label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ex-qty__ctrl { display: inline-grid; grid-template-columns: 44px 48px 44px; height: 56px; border: 1px solid var(--line-control); border-radius: var(--radius-sm); background: var(--surface-raised); }
.ex-qty__ctrl button { border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.ex-qty__ctrl button:hover { background: var(--surface-muted); }
.ex-qty__ctrl button .ex-icon { width: 18px; height: 18px; }
.ex-qty__ctrl input { width: 100%; border: 0; background: none; text-align: center; font: inherit; font-weight: 600; color: var(--ink); -moz-appearance: textfield; appearance: textfield; }
.ex-qty__ctrl input::-webkit-inner-spin-button, .ex-qty__ctrl input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ex-fit { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; padding: var(--space-4); border-radius: var(--radius-sm); background: var(--surface-raised); border: 1px solid var(--line); }
.ex-fit__icon { display: flex; margin-top: 1px; color: var(--accent); }
.ex-fit__title { font-weight: 600; line-height: 1.4; }
.ex-fit__text { font-size: 14px; color: var(--ink-muted); margin-top: 2px; }
.ex-fit__actions { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); align-items: center; margin-top: var(--space-3); }
.ex-fit--ok { border-color: color-mix(in srgb, var(--success) 35%, transparent); background: color-mix(in srgb, var(--success) 7%, var(--surface-raised)); }
.ex-fit--ok .ex-fit__icon { color: var(--success); }
.ex-fit--ko { border-color: color-mix(in srgb, var(--warning) 45%, transparent); background: color-mix(in srgb, var(--warning) 7%, var(--surface-raised)); }
.ex-fit--ko .ex-fit__icon, .ex-cart-fit > span { color: var(--warning); }
.ex-cart-fit > span { display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid currentColor; border-radius: var(--radius-full); font-weight: 700; font-size: 14px; }
.ex-cart-fit { margin-bottom: var(--space-6); }
.ex-reassure { display: grid; gap: var(--space-4); grid-template-columns: 1fr; padding: 0; list-style: none; }
@media (min-width: 640px) { .ex-reassure { grid-template-columns: 1fr 1fr; } }
.ex-reassure__item { display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: start; }
.ex-reassure__item .ex-icon { color: var(--accent); }
.ex-reassure__title { font-size: 14px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.4; }
.ex-reassure__text { font-size: 14px; color: var(--ink-muted); }
.ex-doc { display: grid; grid-template-columns: auto 1fr; gap: var(--space-4); align-items: center; padding: var(--space-4) var(--space-5); border-radius: var(--radius-sm); background: var(--surface-raised); border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.ex-doc:hover { border-color: var(--interactive); box-shadow: inset 0 0 0 1px var(--interactive); }
.ex-doc__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-sm); background: var(--surface-muted); color: var(--accent); }
.ex-doc__title { display: block; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.ex-doc__meta { font-size: 14px; color: var(--ink-muted); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.ex-pdp__details { padding-bottom: var(--section-y); }
.ex-accordion { border-radius: var(--radius-lg); background: var(--surface-raised); }
.ex-accordion details + details { border-top: 1px solid var(--line); }
.ex-accordion summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 64px; padding: var(--space-4) var(--space-6); cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; border-radius: var(--radius-lg); }
.ex-accordion summary::-webkit-details-marker { display: none; }
.ex-accordion summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; flex: none; }
.ex-accordion details[open] > summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.ex-accordion summary:hover::after { border-color: var(--interactive); }
.ex-accordion summary:hover { text-decoration: underline; text-decoration-color: var(--interactive); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.ex-accordion__panel { padding: 0 var(--space-6) var(--space-6); max-width: 75ch; }
.ex-accordion__panel p + p, .ex-accordion__panel p + ul, .ex-accordion__panel ul + p { margin-top: var(--space-4); }
.ex-specs { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .ex-specs { grid-template-columns: 1fr 1fr; column-gap: var(--space-8); } }
.ex-specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-4); padding-block: 12px; border-bottom: 1px solid var(--line); }
.ex-specs dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; align-self: center; }
.ex-specs dd { color: var(--ink-muted); margin: 0; }
.ex-years { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; margin-top: var(--space-2); }
.ex-years li { padding: 6px 12px; border-radius: var(--radius-sm); background: var(--surface-muted); font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ex-section--related { padding-top: 0; }
.ex-stickybuy { position: sticky; bottom: 0; z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: var(--space-3) var(--gutter) calc(var(--space-3) + env(safe-area-inset-bottom, 0px)); background: var(--surface-raised); box-shadow: var(--shadow-sticky); }
.ex-stickybuy[hidden] { display: none; }
.ex-stickybuy__info { min-width: 0; }
.ex-stickybuy .ex-btn { padding-inline: 16px; font-size: 14px; letter-spacing: .04em; }
.ex-stickybuy__name { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 1024px) { .ex-stickybuy, .ex-stickybuy[hidden] { display: none; } }
.ex-lightbox { width: min(960px, calc(100vw - 32px)); }
.ex-lightbox img { width: 100%; height: auto; display: block; }

/* ---------- Liste (catégorie, boutique) ---------- */
.ex-section--list { padding-top: var(--space-6); }
.ex-list__head { display: grid; gap: var(--space-2); margin-bottom: var(--space-6); }
.ex-list__head .ex-section__title { text-align: left; }
.ex-list__desc { color: var(--ink-muted); max-width: 70ch; }
.ex-list__count { font-size: 14px; color: var(--ink-muted); }
.ex-facets { display: grid; gap: var(--space-3); margin-bottom: var(--space-8); }
.ex-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); padding: 0; list-style: none; }
.ex-chip { display: inline-flex; align-items: center; min-height: var(--target-min); padding: 0 16px; border: 1px solid var(--line-control); border-radius: var(--radius-sm); background: var(--surface-raised); color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; transition: border-color .3s ease-out, background-color .3s ease-out; }
.ex-chip:hover { border-color: var(--interactive); box-shadow: inset 0 0 0 1px var(--interactive); }
.ex-chip[aria-current="true"] { background: var(--ink); color: var(--surface-raised); border-color: var(--ink); }
.ex-empty { display: grid; justify-items: start; gap: var(--space-4); padding: var(--space-8); border-radius: var(--radius-lg); background: var(--surface-raised); }

/* ---------- Champs ---------- */
.ex-field { display: grid; gap: 6px; }
.ex-field__label { font-size: 14px; font-weight: 600; }
.ex-field__input { width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--line-control); border-radius: var(--radius-sm); }
.ex-field__input::placeholder { color: var(--ink-muted); }
.ex-field__input:hover { border-color: var(--ink); }
.ex-field__input:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 1px; border-color: var(--ink); }
.ex-field__hint { font-size: 14px; color: var(--ink-muted); }
.ex-inline-form { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.ex-inline-form .ex-field__input { flex: 1 1 200px; width: auto; }
.ex-newsletter__msg { flex-basis: 100%; }
.ex-newsletter__msg:empty { display: none; }

/* ---------- Pied de page ---------- */
.ex-reassure-band { background: var(--black-900); color: var(--white); padding-block: var(--space-12); }
.ex-reassure-band ul { display: grid; gap: var(--space-8); grid-template-columns: 1fr; padding-block: 0; margin-block: 0; list-style: none; }
@media (min-width: 640px) { .ex-reassure-band ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ex-reassure-band ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ex-reassure-band li { display: grid; justify-items: center; text-align: center; gap: var(--space-2); }
.ex-reassure-band .ex-icon { width: 40px; height: 40px; color: var(--green-400); margin-bottom: var(--space-2); }
.ex-reassure-band strong { font-weight: 600; font-size: 16px; }
.ex-reassure-band span { font-size: 14px; color: var(--grey-400); }
.ex-footer { background: var(--black-950); color: var(--white); }
.ex-footer__main { display: grid; gap: var(--space-12) var(--space-8); padding-block: var(--space-16); grid-template-columns: 1fr; }
@media (min-width: 768px) { .ex-footer__main { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .ex-footer__main { grid-template-columns: 1.2fr 1fr 1fr 1.4fr; } }
.ex-footer__brand svg { height: 32px; width: auto; fill: var(--white); margin-bottom: var(--space-6); }
.ex-footer__brand p { font-size: 14px; max-width: 32ch; }
.ex-footer h2 { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.4; text-transform: none; letter-spacing: normal; color: var(--white); margin-bottom: var(--space-4); }
.ex-footer__links { display: grid; gap: 4px; }
.ex-footer__links a { display: inline-flex; align-items: center; gap: 8px; padding-block: 6px; font-size: 14px; color: var(--grey-400); text-decoration: none; }
.ex-footer__links a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.ex-footer__links .ex-icon { width: 18px; height: 18px; }
.ex-footer .ex-field__input { background: var(--black-850); border-color: var(--grey-600); color: var(--white); }
.ex-footer .ex-field__input::placeholder { color: var(--grey-400); }
.ex-footer .ex-field__hint { color: var(--grey-400); }
.ex-footer :focus-visible { outline-color: var(--green-400); }
.ex-footer__newsletter p { font-size: 14px; color: var(--grey-400); margin-bottom: var(--space-4); }
.ex-social { display: flex; gap: var(--space-3); margin-top: var(--space-6); }
.ex-social a { display: grid; place-items: center; width: var(--target-min); height: var(--target-min); border-radius: var(--radius-full); border: 1px solid var(--grey-600); color: var(--white); }
.ex-social a:hover { border-color: var(--green-400); color: var(--green-400); }
.ex-social .ex-icon { width: 20px; height: 20px; }
.ex-footer__legal { border-top: 1px solid var(--black-800); padding-block: var(--space-6); }
.ex-footer__legal ul { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-6); font-size: 14px; }
.ex-footer__legal a { color: var(--grey-400); text-decoration: none; padding-block: 6px; display: inline-block; }
.ex-footer__legal a:hover { color: var(--white); text-decoration: underline; }
.ex-footer__copy { margin-top: var(--space-4); text-align: center; font-size: 12px; color: var(--grey-400); }

/* ---------- Modales ---------- */
.ex-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--surface-raised); color: var(--ink); box-shadow: var(--shadow-overlay); }
.ex-dialog::backdrop { background: var(--scrim-soft); }
.ex-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-5) var(--space-6); border-bottom: 1px solid var(--line); }
.ex-dialog__title { font-family: var(--font-display); font-weight: 300; font-size: 24px; text-transform: uppercase; }
.ex-dialog__body { padding: var(--space-6); display: grid; gap: var(--space-6); }
.ex-garage-list { display: grid; gap: var(--space-2); padding: 0; list-style: none; margin-top: var(--space-2); }
.ex-garage-item { display: grid; grid-template-columns: auto 1fr auto; gap: var(--space-3); align-items: center; padding: var(--space-2) var(--space-2) var(--space-2) var(--space-4); border-radius: var(--radius-sm); background: var(--surface); }
.ex-garage-item[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--accent); }
.ex-garage-item__dot { width: 10px; height: 10px; border-radius: var(--radius-full); border: 2px solid var(--line-control); }
.ex-garage-item[aria-current="true"] .ex-garage-item__dot { background: var(--accent); border-color: var(--accent); }
.ex-garage-item__pick { display: grid; text-align: left; background: none; border: 0; padding: 4px 0; cursor: pointer; min-height: var(--target-min); }
.ex-garage-item__name { font-weight: 600; }
.ex-garage-item__meta { font-size: 14px; color: var(--ink-muted); }
.ex-garage-item__remove { font-size: 22px; line-height: 1; }
.ex-garage-form { display: grid; gap: var(--space-4); justify-items: start; }
.ex-garage-form .ex-selects { width: 100%; }
.ex-selects { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .ex-selects { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ex-select { appearance: none; width: 100%; min-height: 48px; padding: 10px 40px 10px 14px; font: inherit; color: var(--ink); background: var(--surface-raised) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236e6e6e' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; border: 1px solid var(--line-control); border-radius: var(--radius-sm); }
.ex-select:disabled { opacity: .5; }

/* ---------- Pages de contenu ---------- */
.ex-page__inner, .ex-wc-page > .ex-container { padding-block: var(--space-8) var(--section-y); }
.ex-page-title { font-family: var(--font-display); font-weight: 300; font-size: var(--fs-section); line-height: 1.15; text-transform: uppercase; margin-bottom: var(--space-8); color: var(--ink); }
.ex-main .ex-page-title { margin-bottom: var(--space-8); }
.ex-prose { max-width: 75ch; }
.ex-prose > * + * { margin-top: var(--space-4); }
.ex-prose h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; margin-top: var(--space-8); }
.ex-prose a { color: var(--link); text-decoration-color: var(--interactive); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ex-prose ul { padding-left: 1.2em; list-style: disc; }

/* ---------- Panier et commande (blocs WooCommerce) ---------- */
.ex-wc-content > .wp-block-woocommerce-cart, .ex-wc-content > .wp-block-woocommerce-checkout { margin: 0; }
.ex-root .wc-block-components-sidebar-layout { gap: var(--space-8); }
.ex-root .wc-block-cart .wc-block-cart-items, .ex-root .wc-block-components-sidebar .wc-block-components-panel, .ex-root .wc-block-components-sidebar > .wp-block-woocommerce-cart-totals-block, .ex-root .wc-block-components-sidebar > .wp-block-woocommerce-checkout-order-summary-block { background: var(--surface-raised); border-radius: var(--radius-lg); }
.ex-root .wc-block-components-sidebar > .wp-block-woocommerce-cart-totals-block, .ex-root .wc-block-components-sidebar > .wp-block-woocommerce-checkout-order-summary-block { padding: var(--space-6); border: 0; }
.ex-root .wc-block-cart-items { border-collapse: separate; padding: var(--space-2) var(--space-6); }
.ex-root .wc-block-cart-items th, .ex-root .wc-block-components-title, .ex-root .wc-block-components-checkout-step__title { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.ex-root .wc-block-components-checkout-step__title { font-size: 14px; }
.ex-root .wc-block-components-product-name { font-family: var(--font-display); font-weight: 300; font-size: 18px; line-height: 1.2; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.ex-root .wc-block-components-product-name:hover { text-decoration: underline; text-decoration-color: var(--interactive); }
.ex-root .wc-block-components-order-summary .wc-block-components-product-name { font-size: 14px; }
.ex-root .wc-block-cart .wc-block-components-main { background: var(--surface-raised); border-radius: var(--radius-lg); padding: var(--space-4) var(--space-6); }
.ex-root .wc-block-cart .wc-block-cart-items { padding: 0; }
.ex-root .wc-block-components-product-metadata, .ex-root .wc-block-components-product-details { font-size: 14px; color: var(--ink-muted); }
.ex-root .wc-block-cart-item__total .wc-block-components-product-price, .ex-root .wc-block-components-order-summary-item__total-price { font-family: var(--font-display); font-weight: 700; color: var(--accent); }
.ex-root .wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ex-root .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--accent); font-variant-numeric: tabular-nums; }
.ex-root .wc-block-components-button:not(.is-link), .ex-root .wc-block-cart__submit-button, .ex-root .wc-block-components-checkout-place-order-button { min-height: 56px; padding: 12px 28px; background: var(--action); color: var(--on-action); border: 2px solid var(--action); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; box-shadow: none; transition: background-color .3s ease-out, color .3s ease-out, border-color .3s ease-out; }
.ex-root .wc-block-components-button:not(.is-link):hover, .ex-root .wc-block-cart__submit-button:hover, .ex-root .wc-block-components-checkout-place-order-button:hover { background: var(--action-hover); color: var(--on-action-hover); border-color: var(--action-hover); }
.ex-root .wc-block-components-button.is-link, .ex-root .wc-block-cart-item__remove-link, .ex-root .wc-block-components-checkout-return-to-cart-button { color: var(--link); font-weight: 600; text-decoration: underline; text-decoration-color: var(--interactive); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.ex-root .wc-block-components-text-input input[type], .ex-root .wc-block-components-textarea, .ex-root .wc-blocks-components-select .wc-blocks-components-select__select, .ex-root .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input { min-height: 52px; background: var(--surface-raised); border: 1px solid var(--line-control); border-radius: var(--radius-sm); color: var(--ink); }
.ex-root .wc-block-components-text-input input[type]:focus, .ex-root .wc-blocks-components-select .wc-blocks-components-select__select:focus { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); outline: 3px solid var(--focus-ring); outline-offset: 1px; }
.ex-root .wc-block-components-quantity-selector { border: 1px solid var(--line-control); border-radius: var(--radius-sm); min-height: 44px; }
.ex-root .wc-block-components-quantity-selector__button { min-width: 44px; color: var(--ink); }
.ex-root .wc-block-components-radio-control__option, .ex-root .wc-block-components-radio-control-accordion-option { border-radius: var(--radius-sm); }
.ex-root .wc-block-components-radio-control__option-checked, .ex-root .wc-block-components-radio-control-accordion-option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--accent); }
.ex-root .wc-block-components-radio-control__input:checked, .ex-root .wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked { border-color: var(--accent); background: var(--accent); }
.ex-root .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--white); }
.ex-root .wc-block-components-notice-banner { border-radius: var(--radius-sm); font-size: 14px; }
.ex-root .wc-block-components-notice-banner.is-success { border-color: var(--success); background: color-mix(in srgb, var(--success) 7%, var(--surface-raised)); }
.ex-root .wc-block-components-notice-banner.is-success > svg { background: var(--success); }
.ex-root .wc-block-components-notice-banner.is-error { border-color: var(--danger); }
.ex-root .wc-block-cart__empty-cart__title, .ex-root .wp-block-woocommerce-empty-cart-block h2 { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; }
.ex-root .wc-block-components-product-badge { border-radius: var(--radius-sm); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.ex-root .wc-block-components-product-low-stock-badge { color: var(--warning); border-color: currentColor; }
.ex-root .wc-block-components-formatted-money-amount { font-variant-numeric: tabular-nums; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .ex-root *, .ex-root *::before, .ex-root *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .ex-card:hover .ex-card__media img, .ex-tile:hover > img, .ex-mosaic a:hover img { transform: none; }
}
