/* ==========================================================================
   MINUIT — streetwear et sorties en drops.
   Petites capitales grasses, blanc et noir profond, touche de laiton.

   Ordre : jetons · mode nuit · base · primitives (boutons, cartes, grille,
   tiroirs) · chrome (bandeau, en-tête, menu, recherche, panier, pied) ·
   sections · fiche produit · mouvement · accessibilité et impression.

   Règles de la maison :
   · les couleurs viennent des réglages (--c-*, posées par le layout) ;
   · téléphone d'abord, aucun débordement horizontal à 320 px ;
   · on n'anime que transform et opacity, 150 à 300 ms, en ease-out ;
   · les éléments collants se calent sur --top-h (hauteur réelle de l'en-tête).
   ========================================================================== */

/* ── 1. Jetons ─────────────────────────────────────────────────────────────── */
:root {
  --bg: var(--c-bg, #ffffff);
  --fg: var(--c-fg, #0b0b0b);
  --surface: var(--c-surface, #ededed);
  --muted: var(--c-muted, #737373);
  --line: var(--c-line, #d9d9d9);
  --btn-bg: var(--c-btn, #0b0b0b);
  --btn-fg: var(--c-gold, #b89b5e);
  --gold: var(--c-gold, #b89b5e);
  --sale: var(--c-sale, #c4321e);
  --bar-bg: var(--c-bar, #2b2b2b);
  --bar-fg: #ffffff;
  --night: var(--c-foot, #0b0b0b);
  --night-fg: #f2f2f2;
  --night-line: rgba(255, 255, 255, .16);
  --overlay: rgba(0, 0, 0, .5);
  --light: #ffffff;
  --dark: #0b0b0b;

  --fs-ui: 11px;
  --fs-body: calc(var(--fs-ui) + 2px);
  --lh-ui: 1.3;
  --caps: uppercase;
  --track: -0.01em;
  --display: clamp(32px, 7vw, 104px);

  --gut: 8px;
  --pad: 8px;
  --pad-t: 16px;
  --sec: 56px;
  --hdr-h: 56px;
  --sub-h: 40px;
  --ann-h: 0px;
  --top-h: var(--hdr-h);
  --card-ratio: 4 / 5;
  --fit: cover;

  /* L'échelle des plans : rien d'autre ne pose de z-index global. */
  --z-card: 1;
  --z-sticky: 10;
  --z-bar: 40;
  --z-float: 45;
  --z-hdr: 50;
  --z-drawer: 60;
  --z-toast: 80;
  --z-skip: 90;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --t1: 150ms;
  --t2: 220ms;
  --t3: 300ms;
}
@media (min-width: 768px) {
  :root { --pad: 12px; --pad-t: 24px; --sec: 72px; }
}
@media (min-width: 1024px) {
  :root { --pad: 16px; --pad-t: 32px; --sec: 88px; --hdr-h: 64px; }
}
html[data-size="moyenne"] { --fs-ui: 12px; }
html[data-size="grande"] { --fs-ui: 13px; }
html[data-caps="0"] { --caps: none; --track: 0; }
html[data-format="carre"] { --card-ratio: 1 / 1; }
html[data-format="allonge"] { --card-ratio: 2 / 3; }
html[data-fit="contenir"] { --fit: contain; }

/* ── 2. Mode nuit : fond et texte s'inversent, les boutons passent au laiton ── */
html[data-mode="toujours"], html[data-mode="sombre"] {
  --bg: var(--c-fg, #0b0b0b);
  --fg: var(--c-bg, #ffffff);
  --surface: #1a1a1a;
  --line: #333333;
  --muted: #a3a3a3;
  --btn-bg: var(--c-gold, #b89b5e);
  --btn-fg: var(--c-fg, #0b0b0b);
  --overlay: rgba(0, 0, 0, .66);
}
@media (prefers-color-scheme: dark) {
  html[data-mode="auto"] {
    --bg: var(--c-fg, #0b0b0b);
    --fg: var(--c-bg, #ffffff);
    --surface: #1a1a1a;
    --line: #333333;
    --muted: #a3a3a3;
    --btn-bg: var(--c-gold, #b89b5e);
    --btn-fg: var(--c-fg, #0b0b0b);
    --overlay: rgba(0, 0, 0, .66);
  }
}
@supports (color: color-mix(in srgb, red, blue)) {
  html[data-mode="toujours"], html[data-mode="sombre"] {
    --surface: color-mix(in srgb, var(--c-bg, #fff) 9%, var(--c-fg, #0b0b0b));
    --line: color-mix(in srgb, var(--c-bg, #fff) 20%, var(--c-fg, #0b0b0b));
    --muted: color-mix(in srgb, var(--c-bg, #fff) 64%, var(--c-fg, #0b0b0b));
  }
  @media (prefers-color-scheme: dark) {
    html[data-mode="auto"] {
      --surface: color-mix(in srgb, var(--c-bg, #fff) 9%, var(--c-fg, #0b0b0b));
      --line: color-mix(in srgb, var(--c-bg, #fff) 20%, var(--c-fg, #0b0b0b));
      --muted: color-mix(in srgb, var(--c-bg, #fff) 64%, var(--c-fg, #0b0b0b));
    }
  }
}

/* ── 3. Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg);
  color: var(--fg);
  scroll-padding-top: calc(var(--top-h) + 8px);
  scrollbar-gutter: stable;
}
body {
  margin: 0;
  min-width: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--fs-body)/1.5 var(--f-text);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html[data-sx-drawer] { overflow: hidden; }
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button {
  margin: 0; padding: 0; border: 0; border-radius: 0;
  background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
input, select, textarea { font: inherit; color: inherit; border-radius: 0; }
summary { cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus, var(--fg)); outline-offset: 2px; }
.sx-page:focus { outline: none; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 8px; top: -80px; z-index: var(--z-skip);
  padding: 10px 14px; background: var(--btn-bg); color: var(--btn-fg);
  font: 700 var(--fs-ui)/1 var(--f-head); text-transform: var(--caps); text-decoration: none;
}
.skip:focus { top: 8px; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; }
.ico--fill { fill: currentColor; stroke: none; }
.emb { flex: none; }

/* Les libellés : petites capitales grasses, la voix du thème. */
.ui, .btn, .ghost, .pill, .tag, .row-link, .hdr__link, .hdr__txt, .hdr__sublink, .brand__name,
.card__title, .price, .sec-h__t, .sec-h__a, .plp__title, .plp__count, .facets__btn, .dr__title,
.nav__row, .srch__h, .chip, .srch__cat, .cline__title, .cline__total, .totals dt, .totals dd,
.foot__h, .acc__sum, .vpick__legend, .vpick__opt, .pinfo__title, .pblock__h, .mini__t, .mini__p,
.gauge__txt, .cdr__sub, .more__txt, .stab__tab, .field__l, .line__go, .opt--caps, .coll__info,
.mosa__cap, .txt__k, .pagehd__k, .pnl__k, .drop__k, .cd__l, .search__hit-title, .search__hit-price,
.notice, .ann, .foot__a, .foot__copy, .nav__ulink, .duo__t, .tile__t {
  font-family: var(--f-head);
  font-size: var(--fs-ui);
  line-height: var(--lh-ui);
  font-weight: 700;
  letter-spacing: var(--track);
  text-transform: var(--caps);
}
.prose { font: 400 var(--fs-body)/1.55 var(--f-text); max-width: 68ch; }
.prose p { margin: 0 0 .9em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { text-underline-offset: 2px; }

/* Une section vide ne laisse pas de trou ; dans l'éditeur, une note la signale. */
.sx-section:empty { display: none; }
.sx-empty, .sx-note {
  margin: 0; padding: 14px 16px; border: 1px dashed var(--line);
  color: var(--muted); font: 400 var(--fs-ui)/1.4 var(--f-head);
}
.sx-section > .sx-empty { margin: 16px var(--pad); }
.sx-unknown, .sx-error { margin: 16px var(--pad); color: var(--sale); font-size: var(--fs-ui); white-space: pre-wrap; }

/* ── 4. Primitives ─────────────────────────────────────────────────────────── */
/* Le bouton de la maison : un bloc noir, libellé laiton calé en bas à gauche. */
.btn {
  position: relative;
  display: inline-flex; align-items: flex-end; justify-content: flex-start;
  min-height: 48px; padding: 8px 40px 9px 10px;
  border: 0; background: var(--btn-bg); color: var(--btn-fg);
  text-align: left; text-decoration: none; cursor: pointer; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn::after {
  content: '→'; position: absolute; right: 10px; bottom: 8px;
  opacity: 0; transform: translateX(-6px);
  transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease);
}
@media (hover: hover) { .btn:hover::after { opacity: 1; transform: none; } }
.btn:focus-visible::after { opacity: 1; transform: none; }
.btn--block { display: flex; width: 100%; }
.btn:disabled, .btn[aria-disabled="true"] { background: var(--surface); color: var(--muted); cursor: not-allowed; }
.btn:disabled::after { content: none; }
.btn.is-busy { opacity: .7; cursor: progress; }
.btn--line {
  align-items: center; min-height: 40px; padding: 8px 14px;
  background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px currentColor;
}
.btn--line::after { content: none; }
@media (hover: hover) { .btn--line:hover { background: var(--fg); color: var(--bg); } }
.btn--gold { background: var(--gold); color: var(--dark); }
.btn--small { min-height: 36px; }

/* Le bouton « fantôme » des campagnes : un cadre fin ; au survol, il se remplit par le bas. */
.ghost {
  --g-fg: var(--light); --g-ink: var(--dark);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 160px; min-height: 34px; padding: 8px 16px; overflow: hidden;
  color: var(--g-fg); box-shadow: inset 0 0 0 1px var(--g-fg); text-decoration: none;
}
.ghost::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--g-fg); transform: scaleY(0); transform-origin: bottom;
  transition: transform var(--t2) var(--ease);
}
@media (hover: hover) {
  .ghost:hover, a:hover > .ghost, a:hover .ghost { color: var(--g-ink); }
  .ghost:hover::before, a:hover > .ghost::before, a:hover .ghost::before { transform: scaleY(1); }
}
.ghost:focus-visible { color: var(--g-ink); }
.ghost:focus-visible::before { transform: scaleY(1); }
[data-tone="sombre"] .ghost { --g-fg: var(--dark); --g-ink: var(--light); }
.ghost--ink, [data-tone="auto"] .ghost { --g-fg: var(--fg); --g-ink: var(--bg); }

.pill {
  display: inline-flex; align-items: center; min-height: 22px; padding: 4px 7px;
  background: var(--surface); color: var(--fg); text-decoration: none;
  font-size: calc(var(--fs-ui) - 1px); letter-spacing: .02em;
}
@media (hover: hover) { .pill:hover { background: var(--line); } }

.tag {
  display: inline-block; padding: 5px 7px; background: var(--btn-bg); color: var(--btn-fg);
  font-size: calc(var(--fs-ui) - 1px); line-height: 1; letter-spacing: .03em;
}
.tag--sale { background: var(--sale); color: var(--light); }

.row-link {
  display: flex; align-items: flex-end; min-height: 48px; padding: 8px 10px;
  border: 1px solid var(--line); color: inherit; text-decoration: none;
}
@media (hover: hover) { .row-link:hover { border-color: var(--fg); } }
.rows { list-style: none; }
.rows li + li .row-link { border-top: 0; }

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.price__from, .price__was { font-weight: 400; }
.price__was { color: var(--muted); }
.price--sale .price__now, .price__pct { color: var(--sale); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 6px 12px;
  box-shadow: inset 0 0 0 1px var(--line); color: inherit; text-decoration: none;
}
@media (hover: hover) { .chip:hover { box-shadow: inset 0 0 0 1px var(--fg); } }

/* Champ en ligne (inscription, code promo) : un filet sous le texte. */
.line { display: flex; flex-wrap: wrap; align-items: stretch; border-bottom: 1px solid currentColor; }
.line__in {
  flex: 1 1 140px; min-width: 0; padding: 12px 0; border: 0; background: none; color: inherit;
  font: 400 var(--fs-body)/1.3 var(--f-text);
}
.line__in::placeholder { color: inherit; opacity: .55; }
.line__in:focus-visible { outline: none; }
.line:focus-within { box-shadow: 0 1px 0 0 currentColor; }
.line__go { flex: none; padding: 12px 0 12px 12px; color: inherit; }
.line__ok { flex-basis: 100%; margin: 8px 0 0; font-size: var(--fs-ui); }
.line.is-ok .line__in, .line.is-ok .line__go { opacity: .5; }

.area, .field__in {
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line);
  background: transparent; color: inherit; font: 400 var(--fs-body)/1.4 var(--f-text);
}
.area { padding: 10px; border: 1px solid var(--line); resize: vertical; }
.field__in:focus-visible, .area:focus-visible { outline: none; border-color: var(--fg); box-shadow: 0 1px 0 0 var(--fg); }

/* Accordéon (<details>) : marche sans JavaScript. */
.acc { border-bottom: 1px solid var(--line); }
.acc__sum {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 48px; padding: 12px 0; list-style: none;
}
.acc__pm { display: inline-flex; }
.acc__pm .ico { width: 16px; height: 16px; transition: transform var(--t2) var(--ease); }
.acc[open] > .acc__sum .acc__pm .ico { transform: rotate(45deg); }
.acc__body { padding: 0 0 16px; }
.acc--sm .acc__sum { min-height: 40px; }

/* Ce qui tient la place d'une image absente. */
.ph {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: var(--surface); color: var(--muted);
}
.ph__emb { width: 28%; max-width: 72px; height: auto; opacity: .45; }

/* En-tête de section : titre à gauche, lien à droite. */
.sec-h {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  padding: 0 var(--pad) 14px;
}
.sec-h__a { color: var(--muted); text-decoration: none; }
@media (hover: hover) { .sec-h__a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; } }

/* ── 5. Cartes et grilles ──────────────────────────────────────────────────── */
.card { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card__media { position: relative; aspect-ratio: var(--card-ratio); overflow: hidden; background: var(--surface); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit); }
html[data-fit="contenir"] .card__img { padding: 8%; }
.card__img--alt { opacity: 0; transition: opacity var(--t3) var(--ease); }
@media (hover: hover) {
  .card:hover .card__img--alt { opacity: 1; }
}
.card--out .card__media::after { content: ''; position: absolute; inset: 0; background: var(--bg); opacity: .4; pointer-events: none; }
.card__tag { position: absolute; left: 8px; top: 8px; z-index: var(--z-card); }
.card__info { display: grid; gap: 2px; padding-right: 4px; }
.card__title { margin: 0; overflow-wrap: anywhere; }
.card__link { color: inherit; text-decoration: none; }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: var(--z-card); }
/* Le focus du lien étiré se voit sur toute la carte, là où :has() existe ; ailleurs, sur le titre. */
@supports selector(:has(a)) {
  .card__link:focus-visible { outline: none; }
  .card:has(.card__link:focus-visible) { outline: 2px solid var(--focus, var(--fg)); outline-offset: 3px; }
}
.card--out .card__title, .card--out .price { color: var(--muted); }

/* « + » d'ajout rapide : visible au survol (souris), toujours au doigt. */
.qadd {
  display: grid; place-items: center; width: 32px; height: 32px;
  background: var(--btn-bg); color: var(--btn-fg); text-decoration: none;
}
.qadd .ico { width: 16px; height: 16px; }
.qadd.is-busy { opacity: .6; cursor: progress; }
.card__add { position: absolute; top: 8px; right: 8px; z-index: calc(var(--z-card) + 1); }
@media (hover: hover) and (pointer: fine) {
  .card__add { opacity: 0; transform: translateY(-4px); transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease); }
  .card:hover .card__add { opacity: 1; transform: none; }
  .card__add:focus { opacity: 1; transform: none; }
}

.grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense;
  gap: 24px var(--gut); padding: 0 var(--pad);
}
.grid[data-density="large"] { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid[data-density="large"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); row-gap: 32px; }
}
.grid__cell { min-width: 0; }
.grid__cell.is-new { animation: mn-rise var(--t3) var(--ease) both; animation-delay: var(--d, 0ms); }

/* Images éditoriales glissées dans la grille. */
.tile { position: relative; grid-column: 1 / -1; aspect-ratio: 4 / 5; min-height: 240px; }
.tile--petite { grid-column: auto; aspect-ratio: auto; }
.grid[data-density="large"] .tile--petite { aspect-ratio: var(--card-ratio); }
@media (min-width: 768px) {
  .tile--grande { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 420px; }
}
.tile__a { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--surface); color: var(--light); text-decoration: none; }
.tile[data-tone="sombre"] .tile__a { color: var(--dark); }
.tile__media { position: absolute; inset: 0; }
.tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t3) var(--ease); }
@media (hover: hover) { a.tile__a:hover .tile__img { transform: scale(1.02); } }
.tile__txt {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 48px 16px 24px; text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, .38), transparent);
}
.tile[data-tone="sombre"] .tile__txt { background: linear-gradient(to top, rgba(255, 255, 255, .45), transparent); }
.tile--petite .tile__txt { padding: 32px 10px 12px; }
.tile--petite .ghost { min-width: 0; }

/* Rangée qui glisse. */
.rail { position: relative; }
.rail__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  gap: var(--gut); margin: 0; padding: 0 var(--pad); list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad);
  scrollbar-width: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__cell { min-width: 0; scroll-snap-align: start; }
@media (min-width: 768px) { .rail__track { grid-auto-columns: calc((100% - 2 * var(--pad) - 2 * var(--gut)) / 3); } }
@media (min-width: 1024px) { .rail__track { grid-auto-columns: calc((100% - 2 * var(--pad) - 3 * var(--gut)) / 4); } }
.rail__nav { display: none; }
@media (hover: hover) and (pointer: fine) {
  .rail__nav { display: flex; justify-content: flex-end; gap: 4px; padding: 12px var(--pad) 0; }
}
html:not(.js) .rail__nav { display: none; }
.rail__btn { display: grid; place-items: center; width: 40px; height: 40px; box-shadow: inset 0 0 0 1px var(--line); }
.rail__btn:disabled { opacity: .35; cursor: default; }
@media (hover: hover) { .rail__btn:not(:disabled):hover { box-shadow: inset 0 0 0 1px var(--fg); } }

/* ── 6. Tiroirs (menu, panier, guide, ajout rapide) ────────────────────────── */
.dr {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  visibility: hidden; pointer-events: none;
  transition: visibility 0s linear var(--t3);
}
.dr[data-sx-open="1"] { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.dr__veil {
  position: absolute; inset: 0; background: var(--overlay);
  opacity: 0; transition: opacity var(--t3) var(--ease);
}
.dr__panel {
  position: absolute; top: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; width: min(100%, 460px); max-width: 100%;
  background: var(--bg); color: var(--fg); outline: none;
  transform: translateX(100%); transition: transform var(--t3) var(--ease);
}
.dr--left .dr__panel { left: 0; right: auto; transform: translateX(-100%); }
.dr--wide .dr__panel { width: min(100%, 720px); }
.dr[data-sx-open="1"] .dr__veil { opacity: 1; }
.dr[data-sx-open="1"] .dr__panel { transform: none; }
/* Sans JavaScript, le menu et le guide s'ouvrent par l'ancre (#menu, #guide-…). */
html:not(.js) .dr:target { visibility: visible; pointer-events: auto; transition-delay: 0s; }
html:not(.js) .dr:target .dr__veil { opacity: 1; }
html:not(.js) .dr:target .dr__panel { transform: none; }
.dr__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: var(--hdr-h); padding: 0 var(--pad); border-bottom: 1px solid var(--line); flex: none;
}
.dr__title { margin: 0; }
.dr__x { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-right: -10px; color: inherit; }
.dr__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: var(--pad); }

/* ── 7. Bandeau d'annonce ──────────────────────────────────────────────────── */
.ann {
  --focus: currentColor;
  display: grid; padding: 7px var(--pad); text-align: center;
  background: var(--ann-bg, var(--bar-bg)); color: var(--ann-fg, var(--bar-fg));
  font-weight: 500; letter-spacing: .02em;
}
.ann__msg {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transition: opacity var(--t3) var(--ease), visibility 0s linear var(--t3);
}
.ann__msg.is-on { opacity: 1; visibility: visible; transition-delay: 0s; }
.ann__a { color: inherit; text-underline-offset: 2px; }

/* ── 8. En-tête ────────────────────────────────────────────────────────────── */
.sx-group--header { position: sticky; top: calc(-1 * var(--ann-h)); z-index: var(--z-hdr); }
.hdr { position: relative; isolation: isolate; color: var(--fg); }
.hdr::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--bg); box-shadow: 0 1px 0 var(--line);
  transition: opacity var(--t3) var(--ease);
}
.hdr__bar {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px;
  min-height: var(--hdr-h); padding: 0 var(--pad);
}
.hdr__nav { display: none; }
.brand { margin: 0; font: inherit; justify-self: start; min-width: 0; }
.brand__a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; max-width: 100%; color: inherit; text-decoration: none; }
.brand__emb-w { position: relative; display: inline-flex; color: var(--gold); }
.brand__emb { width: 28px; height: 28px; }
.brand__name {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: calc(var(--fs-ui) + 3px); font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.brand__logo { width: var(--logo-w, 120px); max-width: 42vw; max-height: calc(var(--hdr-h) - 16px); height: auto; object-fit: contain; }
.hdr__tools { display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.hdr__txt { display: none; }
.hdr__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: inherit; }
.hdr__badge {
  position: absolute; top: 3px; right: 1px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  background: var(--btn-bg); color: var(--btn-fg); font: 700 10px/16px var(--f-head); text-align: center;
}
.hdr__badge[data-empty] { display: none; }
.hdr__count:has(sx-cart-count[data-empty]) { display: none; }
.hdr__link, .hdr__txt, .hdr__sublink { color: inherit; text-decoration: none; }
@media (hover: hover) {
  .hdr__link:hover, .hdr__txt:hover, .hdr__sublink:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.hdr__sub { position: relative; height: var(--sub-h); background: var(--bg); color: var(--fg); box-shadow: 0 1px 0 var(--line); }
.hdr__row {
  display: flex; align-items: center; gap: 0 18px; height: 100%; padding: 0 var(--pad); list-style: none;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap;
}
.hdr__row::-webkit-scrollbar { display: none; }
.hdr__sublink { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); }
.hdr__sublink.is-on { color: var(--fg); }
.hdr__drop { display: none; }
@media (min-width: 1024px) {
  .hdr__bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; }
  .hdr__nav { display: block; min-width: 0; }
  .hdr__list { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; }
  .hdr__link { display: inline-flex; align-items: center; min-height: 32px; }
  .hdr--sub .hdr__link:not(.is-on) { color: var(--muted); }
  .brand { justify-self: center; }
  .hdr__txt { display: inline-flex; align-items: center; min-height: 32px; padding: 0 6px; }
  .hdr__icon { display: none; }
  /* Survol d'une rubrique : ses sous-rubriques remplacent la seconde rangée, le temps du survol. */
  .hdr__drop {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 2; display: block;
    height: var(--sub-h); background: var(--bg); color: var(--fg); box-shadow: 0 1px 0 var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease), visibility 0s linear var(--t2);
  }
  .hdr__item:hover > .hdr__drop, .hdr__item:focus-within > .hdr__drop { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .hdr__item.is-closed > .hdr__drop { opacity: 0; visibility: hidden; transform: translateY(-4px); }
}
/* Transparent sur des panneaux en tête de page : theme.js pose data-over (teinte du panneau sous l'en-tête). */
body:has(.hdr[data-transparent]:not(.hdr--sub)) .sx-page > .sx-section--panneaux:first-child { margin-top: calc(-1 * var(--hdr-h)); }
.hdr[data-over]::before { opacity: 0; }
.hdr[data-over="clair"] { color: var(--light); --focus: var(--light); }
.hdr[data-over="sombre"] { color: var(--dark); --focus: var(--dark); }
.hdr[data-over="clair"] .hdr__badge { background: var(--light); color: var(--dark); }
.hdr[data-over="sombre"] .hdr__badge { background: var(--dark); color: var(--light); }
.hdr[data-over] .hdr__link:not(.is-on) { color: inherit; }
/* L'emblème luit doucement, de temps en temps (animations normales seulement). */
html[data-halo] .brand__emb-w::after {
  content: ''; position: absolute; inset: -8px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(184, 155, 94, .55), transparent 68%);
  opacity: 0; animation: mn-halo 14s var(--ease) 3s infinite;
}
html[data-sx-motion="discretes"] .brand__emb-w::after, html[data-sx-motion="aucune"] .brand__emb-w::after { animation: none; }

/* ── 9. Menu du téléphone ──────────────────────────────────────────────────── */
.nav .dr__panel { width: 100%; }
@media (min-width: 768px) { .nav .dr__panel { width: min(100%, 440px); } }
.nav__body { padding: 0; display: flex; flex-direction: column; }
.nav__list { list-style: none; }
.nav__li { border-bottom: 1px solid var(--line); }
.nav__row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 10px var(--pad); color: inherit; text-decoration: none; list-style: none;
}
.nav__row.is-on { text-decoration: underline; text-underline-offset: 3px; }
.nav__pm { display: inline-flex; }
.nav__pm .ico { width: 16px; height: 16px; transition: transform var(--t2) var(--ease); }
.nav__acc[open] > .nav__row .nav__pm .ico { transform: rotate(45deg); }
.nav__sub { list-style: none; padding: 0 0 8px; }
.nav__row--sub { min-height: 44px; padding-left: calc(var(--pad) + 12px); color: var(--muted); font-weight: 500; }
.nav__row--sub.is-on { color: var(--fg); }
.nav__leaves { list-style: none; padding: 0 0 6px calc(var(--pad) + 24px); }
.nav__leaf { display: inline-flex; min-height: 36px; align-items: center; color: var(--muted); font-size: var(--fs-body); text-decoration: none; }
.nav__pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); padding: 4px var(--pad) 16px; }
.nav__pic { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.nav__pic-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.nav__pic-img .img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nav__pic-t { font: 700 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.nav__util { list-style: none; display: grid; padding: 16px var(--pad) 8px; }
.nav__ulink { display: inline-flex; align-items: center; min-height: 36px; color: var(--muted); font-weight: 500; text-decoration: none; }
.nav__mention { margin-top: auto; padding: 16px var(--pad) calc(16px + env(safe-area-inset-bottom)); color: var(--muted); font-size: var(--fs-ui); }

/* ── 10. Recherche plein écran ─────────────────────────────────────────────── */
.srch {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  visibility: hidden; pointer-events: none; transition: visibility 0s linear var(--t3);
}
.srch[data-sx-open="1"] { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.srch__panel {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg); outline: none;
  opacity: 0; transform: translateY(-12px);
  transition: opacity var(--t2) var(--ease), transform var(--t3) var(--ease);
}
.srch[data-sx-open="1"] .srch__panel { opacity: 1; transform: none; }
.srch__top {
  display: flex; align-items: center; gap: 12px; flex: none;
  min-height: calc(var(--hdr-h) + 16px); padding: 8px var(--pad); border-bottom: 1px solid var(--fg);
}
.srch__form { flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.srch__field { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.srch__field .ico { width: 22px; height: 22px; }
.srch__input {
  flex: 1; min-width: 0; padding: 8px 0; border: 0; background: none; color: inherit;
  font: 700 clamp(20px, 5.5vw, 44px)/1.1 var(--f-head); letter-spacing: -.02em; text-transform: var(--caps);
  -webkit-appearance: none; appearance: none;
}
.srch__input::placeholder { color: var(--muted); opacity: 1; }
.srch__input::-webkit-search-cancel-button { display: none; }
.srch__input:focus-visible { outline: none; }
.srch__field:focus-within { box-shadow: 0 2px 0 0 var(--fg); }
.srch__clear, .srch__x, .srch__link { color: var(--muted); font: 700 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.srch__clear, .srch__x { min-height: 40px; padding: 0 4px; }
@media (hover: hover) { .srch__clear:hover, .srch__x:hover, .srch__link:hover { color: var(--fg); } }
.srch__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 24px var(--pad) 48px; }
.srch[data-q] .srch__idle, .srch:not([data-q]) .srch__res { display: none; }
.srch__idle { display: grid; gap: 28px; }
@media (min-width: 1024px) { .srch__idle { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; } }
.srch__block { display: grid; gap: 12px; align-content: start; }
.srch__bh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.srch__h { color: var(--muted); font-weight: 500; }
.srch__chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.srch__chips .chip { max-width: 100%; }
.chip__x { display: inline-flex; margin-right: -6px; padding: 2px; color: var(--muted); }
.chip__x .ico { width: 14px; height: 14px; }
.srch__cats { list-style: none; display: grid; gap: 2px; }
.srch__cat { display: inline-flex; align-items: center; min-height: 36px; color: inherit; text-decoration: none; font-size: clamp(16px, 2.2vw, 22px); letter-spacing: -.01em; }
@media (hover: hover) { .srch__cat:hover { text-decoration: underline; text-underline-offset: 4px; } }
.srch__pics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); }
.spic { display: grid; gap: 6px; color: inherit; text-decoration: none; }
.spic__img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.spic__img .img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spic__t { font: 700 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.srch__res { display: grid; gap: 14px; }
.srch__hits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gut); }
@media (min-width: 768px) { .srch__hits { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .srch__hits { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.search__hit { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: inherit; text-decoration: none; }
.search__hit > img, .search__hit > span:first-child {
  display: block; width: 100%; aspect-ratio: var(--card-ratio); object-fit: var(--fit); background: var(--surface);
}
.search__hit-price { font-weight: 400; }
@media (hover: hover) { .search__hit:hover .search__hit-title { text-decoration: underline; text-underline-offset: 3px; } }
.search__more {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px;
  box-shadow: inset 0 0 0 1px currentColor; color: inherit; text-decoration: none;
  font: 700 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps);
}
.search__none { grid-column: 1 / -1; color: var(--muted); }

/* ── 11. Panier (tiroir et page) ───────────────────────────────────────────── */
.cdr__count { color: var(--muted); font-weight: 500; }
.cdr__body { padding-top: 0; padding-bottom: 24px; }
.cdr.is-empty .cdr__foot, .cdr.is-empty .cdr__gauge { display: none; }
.cdr__empty { display: grid; justify-items: start; gap: 14px; padding: 24px 0; }
.cdr__empty-t { font: 400 var(--fs-body)/1.4 var(--f-text); }
.cdr__foot { flex: none; display: grid; gap: 10px; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cdr__sub { display: flex; justify-content: space-between; gap: 12px; }
.cdr__links { text-align: center; font-size: var(--fs-ui); }
.cdr__links a { color: var(--muted); text-underline-offset: 2px; }
.cdr__note { color: var(--muted); font-size: var(--fs-ui); text-align: center; }
.cdr__reco { display: grid; gap: 12px; padding-top: 24px; }
.cdr__reco-h { font: 700 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.cdr__reco-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px var(--gut); list-style: none; }
@media (min-width: 400px) { .cdr__reco-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mini { position: relative; display: grid; gap: 4px; align-content: start; min-width: 0; }
.mini__img { position: relative; display: block; aspect-ratio: var(--card-ratio); overflow: hidden; background: var(--surface); }
.mini__im { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit); }
.mini__t { color: inherit; text-decoration: none; overflow-wrap: anywhere; font-size: calc(var(--fs-ui) - 1px); }
.mini__p { font-weight: 400; font-size: calc(var(--fs-ui) - 1px); }
.mini__add { position: absolute; right: 4px; top: 4px; width: 28px; height: 28px; }

.gauge { display: grid; gap: 6px; padding: 10px var(--pad); border-bottom: 1px solid var(--line); flex: none; }
.gauge__bar { display: block; height: 3px; overflow: hidden; background: var(--line); }
.gauge__fill { display: block; height: 100%; background: var(--fg); transform: scaleX(var(--fr, 0)); transform-origin: left; transition: transform var(--t3) var(--ease); }
.gauge.is-done .gauge__fill { background: var(--gold); }

/* Lignes rendues par le runtime (tiroir et page). */
.cline {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto;
  grid-template-areas: "media body total" "media ctl ctl";
  gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.cline.is-busy { opacity: .5; pointer-events: none; }
.cline__media { grid-area: media; position: relative; display: block; aspect-ratio: var(--card-ratio); overflow: hidden; background: var(--surface); }
.cline__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit); }
.cline__body { grid-area: body; min-width: 0; }
.cline__title { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.cline__variant, .cline__price { margin-top: 2px; color: var(--muted); font-size: var(--fs-ui); }
.cline__total { grid-area: total; white-space: nowrap; }
.cline__ctl { grid-area: ctl; display: flex; align-items: center; justify-content: space-between; gap: 8px; align-self: end; }
.qty__ctl { display: inline-flex; align-items: center; box-shadow: inset 0 0 0 1px var(--line); }
.qty__btn { display: grid; place-items: center; width: 32px; height: 32px; }
.qty__btn .ico { width: 14px; height: 14px; }
.qty__val { min-width: 24px; text-align: center; font: 700 var(--fs-ui)/1 var(--f-head); }
.cline__remove { color: var(--muted); font: 500 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); text-decoration: underline; text-underline-offset: 2px; }

.cartp { display: block; padding: 16px var(--pad) var(--sec); }
.cartp__title { padding: 8px 0 16px; }
.cartp__n { color: var(--muted); font-weight: 500; }
.cartp__grid { display: grid; gap: 24px; }
.cartp__lines .cline:first-child { border-top: 1px solid var(--line); }
.cartp__empty { display: grid; justify-items: start; gap: 14px; padding: 24px 0; }
.cartp__side { display: grid; gap: 14px; align-content: start; padding: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.cartp__side.is-hidden { display: none; }
.cartp__side .gauge { padding: 0; border: 0; }
.cartp__promo { margin-bottom: 8px; }
.cartp__note { color: var(--muted); font-size: var(--fs-ui); text-align: center; }
.totals { display: grid; gap: 8px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals__muted { color: var(--muted); font-weight: 400; }
.totals__total { padding-top: 10px; border-top: 1px solid var(--line); }
@media (min-width: 1024px) {
  .cline { grid-template-columns: 96px minmax(0, 1fr) auto; }
  .cartp__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
  .cartp__side { position: sticky; top: calc(var(--top-h) + 16px); }
}

/* ── 12. Ajout rapide : le volet des tailles ───────────────────────────────── */
.qv__body { display: grid; gap: 16px; align-content: start; }
.qv__top { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 12px; align-items: start; }
.qv__img { position: relative; display: block; aspect-ratio: var(--card-ratio); overflow: hidden; background: var(--surface); }
.qv__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit); }
.qv__name { font: 700 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); overflow-wrap: anywhere; }
.qv__price { margin-top: 4px; }
.qv__msg { color: var(--muted); }
.qv__foot { flex: none; display: grid; gap: 10px; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.qv__full { color: var(--muted); font-size: var(--fs-ui); text-align: center; text-underline-offset: 2px; }

/* ── 13. Pied de page ──────────────────────────────────────────────────────── */
.foot {
  --focus: currentColor;
  padding: 48px var(--pad) 16px; background: var(--foot-bg, var(--night)); color: var(--foot-fg, var(--night-fg));
}
html[data-mode="toujours"] .foot, html[data-mode="sombre"] .foot { box-shadow: inset 0 1px 0 var(--night-line); }
.foot__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
.foot__col { display: grid; gap: 12px; align-content: start; min-width: 0; }
.foot__col--news { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .foot__cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .foot__col--news { grid-column: span 2; max-width: 440px; }
}
.foot__list { list-style: none; display: grid; }
.foot__a, .foot__t { color: inherit; font-weight: 400; opacity: .78; text-decoration: none; }
.foot__a { display: inline-flex; align-items: center; min-height: 30px; }
@media (hover: hover) { .foot__a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; } }
.foot__t { font: 400 var(--fs-ui)/1.5 var(--f-head); text-transform: none; }
.foot__t p { margin: 0; }
.social { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.foot__soc { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; box-shadow: inset 0 0 0 1px var(--night-line); color: inherit; }
@media (hover: hover) { .foot__soc:hover { box-shadow: inset 0 0 0 1px currentColor; } }
.foot__giant {
  margin: 56px 0 0; color: var(--gold);
  font: 800 clamp(44px, 16vw, 260px)/.82 var(--f-head); letter-spacing: -.05em; text-transform: uppercase;
  overflow-wrap: anywhere;
}
.foot__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  margin-top: 20px; padding-top: 12px; box-shadow: inset 0 1px 0 var(--night-line);
}
.foot__copy { font-weight: 400; opacity: .7; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 0 16px; list-style: none; }

/* ── 14. Panneaux plein écran ──────────────────────────────────────────────── */
.pnls { --pnl-h: calc(100vh - var(--ann-h)); }
@supports (height: 100svh) { .pnls { --pnl-h: calc(100svh - var(--ann-h)); } }
.pnls--haute { --pnl-h: 82vh; }
.pnls--moyenne { --pnl-h: 64vh; }
@supports (height: 100svh) {
  .pnls--haute { --pnl-h: 82svh; }
  .pnls--moyenne { --pnl-h: 64svh; }
}
.pnl { position: relative; display: flex; min-height: max(var(--pnl-h), 420px); overflow: hidden; }
.pnl--plein { background: var(--dark); color: var(--light); --focus: var(--light); }
.pnl--plein[data-tone="sombre"] { color: var(--dark); --focus: var(--dark); background: var(--surface); }
.pnl__media { position: absolute; inset: 0; }
.pic, .pnl__pic { position: absolute; inset: 0; display: block; }
.pic__img, .pnl__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pnl__video { opacity: 0; transition: opacity var(--t3) var(--ease); }
.pnl__video.is-playing { opacity: 1; }
.pnl__veil { position: absolute; inset: 0; background: #000; opacity: var(--veil, .15); pointer-events: none; }
.pnl[data-tone="sombre"] .pnl__veil { background: #fff; }
.pnl__cover { position: absolute; inset: 0; z-index: 1; }
.pnl__txt {
  position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 14px;
  width: 100%; padding: calc(var(--hdr-h) + 24px) var(--pad-t) 28px; text-align: center; pointer-events: none;
}
.pnl__txt a { pointer-events: auto; }
.pnl--centre .pnl__txt { justify-content: center; }
.pnl--gauche .pnl__txt { align-items: flex-start; text-align: left; }
@media (min-width: 1024px) { .pnl--gauche .pnl__txt { padding-left: calc(var(--pad) + 32px); padding-bottom: 56px; } }
.pnl__k { font-weight: 500; letter-spacing: .06em; }
.pnl__t {
  max-width: 14ch; font: 800 var(--display)/.9 var(--f-head); letter-spacing: -.035em; text-transform: uppercase;
  overflow-wrap: anywhere; text-wrap: balance;
}
.pnl__down { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: inherit; }
.pnl__down .ico { width: 18px; height: 18px; }
.pnl__play {
  position: absolute; right: var(--pad); bottom: var(--pad); z-index: 3;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0, 0, 0, .45); color: var(--light);
}
.pnl__play .ico { width: 16px; height: 16px; }
.pnl__play[data-state="paused"] .ico:first-child, .pnl__play:not([data-state="paused"]) .ico:last-child { display: none; }
html:not(.js) .pnl__play { display: none; }
/* Deux cartes côte à côte sur un fond uni. */
.pnl--duo {
  align-items: center; justify-content: center; padding: calc(var(--hdr-h) + 16px) var(--pad) 32px;
  background: var(--pnl-bg, var(--bg)); color: var(--fg);
}
.pnl--duo[data-tone="clair"] { color: var(--light); --focus: var(--light); }
.pnl--duo[data-tone="sombre"] { color: var(--dark); --focus: var(--dark); }
.duo { display: grid; gap: 28px var(--gut); width: 100%; }
@media (min-width: 768px) {
  .duo { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, calc((var(--pnl-h) - var(--hdr-h) - 150px) * 1.6 + 8px)); min-width: min(100%, 560px); }
}
.duo__card { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; color: inherit; text-decoration: none; }
.duo__media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.duo__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t3) var(--ease); }
@media (hover: hover) { a.duo__card:hover .duo__img { transform: scale(1.02); } }
.duo__txt { display: flex; flex-direction: column; align-items: center; gap: 10px; }
/* Aimanté : chaque panneau se cale en haut (jamais dans l'éditeur). */
html:has(.pnls[data-snap]):not([data-sx-preview]) { scroll-snap-type: y proximity; }
.pnls[data-snap] .pnl { scroll-snap-align: start; }

/* ── 15. Compte à rebours ──────────────────────────────────────────────────── */
.drop { --focus: var(--light); display: grid; background: var(--drop-bg, var(--night)); color: var(--night-fg); }
.drop__media { position: relative; aspect-ratio: 4 / 5; max-height: 80vh; overflow: hidden; background: #151515; }
.drop__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; min-width: 0; padding: 40px var(--pad-t) 48px; }
.drop__k { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); }
.drop__emb { width: 18px; height: 18px; }
.drop__t { max-width: 16ch; font: 800 clamp(32px, 6vw, 80px)/.92 var(--f-head); letter-spacing: -.035em; text-transform: uppercase; overflow-wrap: anywhere; }
.drop__txt, .drop__open { max-width: 46ch; font: 400 var(--fs-body)/1.5 var(--f-text); opacity: .85; }
.drop__when { font: 500 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); letter-spacing: .03em; opacity: .75; }
.cd { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 6px; font-variant-numeric: tabular-nums; }
.cd__u { display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-width: 1.4em; }
.cd__n { font: 800 clamp(32px, 9vw, 108px)/1 var(--f-head); letter-spacing: -.04em; color: var(--gold); }
.cd__l { font-weight: 500; opacity: .7; }
.cd__sep { font: 700 clamp(24px, 6vw, 72px)/1.15 var(--f-head); opacity: .35; }
.cdown__expired { margin: 0; color: var(--gold); font: 800 clamp(20px, 3.4vw, 36px)/1.1 var(--f-head); text-transform: var(--caps); letter-spacing: -.02em; }
.drop__news { width: 100%; max-width: 420px; }
.drop__live { display: none; }
.drop.is-live .drop__live { display: block; }
.drop.is-live .drop__news, .drop.is-live .drop__when { display: none; }
.drop:has(.cdown__expired) .drop__live { display: block; }
.drop:has(.cdown__expired) .drop__news, .drop:has(.cdown__expired) .drop__when { display: none; }
.drop--texte .drop__body { align-items: center; text-align: center; padding-block: calc(var(--sec) * 1.1); }
.drop--texte .cd { justify-content: center; }
@media (min-width: 1024px) {
  .drop--image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(88vh, 900px); }
  .drop--image .drop__media { aspect-ratio: auto; max-height: none; }
  .drop__body { padding: 56px 56px 64px; }
}

/* ── 16. Sections de contenu ───────────────────────────────────────────────── */
.prods, .mosa { padding: var(--sec) 0; }
.mosa__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gut); padding: 0 var(--pad); }
.mosa__item { min-width: 0; }
.mosa__item--deux-tiers, .mosa__item--pleine { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .mosa__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .mosa__item--tiers { grid-column: span 2; }
  .mosa__item--moitie { grid-column: span 3; }
  .mosa__item--deux-tiers { grid-column: span 4; }
}
.mosa__a { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.mosa__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.mosa__item--carre .mosa__media { aspect-ratio: 1 / 1; }
.mosa__item--paysage .mosa__media { aspect-ratio: 3 / 2; }
.mosa__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t3) var(--ease); }
@media (hover: hover) { a.mosa__a:hover .mosa__img { transform: scale(1.02); } }
.mosa__cap { font-weight: 500; }

.mq {
  overflow: hidden; padding: 14px 0; background: var(--mq-bg, var(--bg)); color: var(--mq-fg, var(--fg));
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
}
.mq__row { display: flex; width: max-content; white-space: nowrap; }
.mq__item { padding: 0 .35em; font: 800 var(--mq-size, 28px)/1 var(--f-head); letter-spacing: -.02em; text-transform: uppercase; }
.mq__sep { display: inline-flex; align-items: center; color: var(--gold); font: 800 var(--mq-size, 28px)/1 var(--f-head); }
.mq__emb { width: .72em; height: .72em; }
.mq--petit { --mq-size: 15px; padding: 10px 0; }
.mq--moyen { --mq-size: clamp(22px, 4vw, 40px); }
.mq--grand { --mq-size: clamp(34px, 8vw, 104px); padding: 18px 0; }
.sx-marquee { display: block; width: auto; }
.sx-marquee__track { display: flex; width: max-content; animation: mn-marquee var(--sx-marquee-duration, 30s) linear infinite; }
@media (hover: hover) { .mq:hover .sx-marquee__track { animation-play-state: paused; } }

.txt { padding: var(--sec) var(--pad-t); max-width: 820px; }
.txt--centre { margin: 0 auto; text-align: center; }
.txt--centre .prose { margin-inline: auto; }
.txt__k, .pagehd__k { margin-bottom: 10px; color: var(--muted); font-weight: 500; }
.txt__t { margin-bottom: 14px; font: 800 clamp(22px, 3.4vw, 40px)/1 var(--f-head); letter-spacing: -.025em; text-transform: uppercase; overflow-wrap: anywhere; }
.txt--manifeste { max-width: none; }
.txt--manifeste .txt__t { font-size: clamp(36px, 8.5vw, 124px); line-height: .88; letter-spacing: -.045em; text-wrap: balance; }
.txt--manifeste .prose { font-size: calc(var(--fs-body) + 2px); }
.txt__cta { margin-top: 20px; }

.split { display: grid; gap: 24px; padding: var(--sec) var(--pad); }
.split__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.split__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__body { display: grid; gap: 14px; align-content: center; padding: 0 var(--pad-t); }
.split__t { font: 800 clamp(24px, 4vw, 52px)/.95 var(--f-head); letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.split__cta { margin-top: 6px; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
  .split--droite .split__media { order: 2; }
}

.news { --focus: var(--light); padding: calc(var(--sec) * 1.1) var(--pad-t); background: var(--news-bg, var(--night)); color: var(--night-fg); text-align: center; }
.news--page { --focus: var(--fg); background: var(--news-bg, var(--bg)); color: var(--fg); box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.news__in { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; }
.news__t { font: 800 clamp(28px, 5vw, 60px)/.92 var(--f-head); letter-spacing: -.035em; text-transform: uppercase; overflow-wrap: anywhere; }
.news__txt { font: 400 var(--fs-body)/1.5 var(--f-text); opacity: .85; }
.news__form { margin-top: 8px; text-align: left; }
.news__legal { font-size: var(--fs-ui); opacity: .6; }

.faq { padding: var(--sec) var(--pad-t); max-width: 900px; }
.faq__head { display: grid; gap: 8px; margin-bottom: 20px; }
.faq__t { font: 800 clamp(22px, 3.4vw, 40px)/1 var(--f-head); letter-spacing: -.025em; text-transform: uppercase; }
.faq__i { color: var(--muted); }
.faq__r { margin: 28px 0 4px; padding-bottom: 8px; box-shadow: inset 0 -1px 0 var(--fg); font: 700 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.faq__list > .acc:first-child { border-top: 1px solid var(--line); }

.contact { display: grid; gap: 32px; padding: 24px var(--pad-t) var(--sec); }
.contact__form { display: grid; gap: 14px; max-width: 620px; }
.contact__t { font: 800 clamp(22px, 3.4vw, 40px)/1 var(--f-head); letter-spacing: -.025em; text-transform: uppercase; }
.contact__i { color: var(--muted); }
.cform { display: grid; gap: 16px; }
.field { display: grid; gap: 4px; }
.field__req { color: var(--muted); font-weight: 400; text-transform: none; }
.field__in--area { min-height: 120px; resize: vertical; }
.contact__ok { padding: 10px 12px; background: var(--surface); font-size: var(--fs-ui); }
.contact__side { display: grid; gap: 16px; align-content: start; }
.contact__list { list-style: none; display: grid; gap: 10px; }
.contact__list li { display: grid; gap: 2px; }
.contact__k { color: var(--muted); font: 500 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.contact__list a { text-underline-offset: 2px; }
@media (min-width: 1024px) { .contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 64px; } }

.sizes { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 16px var(--pad-t) var(--sec); max-width: 960px; }
.sizes__block { display: grid; gap: 8px; min-width: 0; }
.sizes__t { font: 700 calc(var(--fs-ui) + 2px)/1.3 var(--f-head); text-transform: var(--caps); }
.sizes__txt { color: var(--muted); }

/* Tableau des tailles, onglets cm / pouces sans JavaScript. */
.stab { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.stab__tabs { display: inline-flex; justify-self: start; box-shadow: inset 0 0 0 1px var(--fg); }
.stab__tab { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; cursor: pointer; }
.stab__r--cm:checked ~ .stab__tabs .stab__tab[for$="-cm"], .stab__r--in:checked ~ .stab__tabs .stab__tab[for$="-in"] { background: var(--btn-bg); color: var(--btn-fg); }
.stab__r--cm:focus-visible ~ .stab__tabs .stab__tab[for$="-cm"], .stab__r--in:focus-visible ~ .stab__tabs .stab__tab[for$="-in"] { outline: 2px solid var(--focus, var(--fg)); outline-offset: 2px; }
.stab__wrap, .stab__scroll { min-width: 0; max-width: 100%; }
.stab__scroll { overflow-x: auto; }
.stab__scroll--in { display: none; }
.stab__r--in:checked ~ .stab__wrap .stab__scroll--in { display: block; }
.stab__r--in:checked ~ .stab__wrap .stab__scroll--cm { display: none; }
.stab__t { width: 100%; border-collapse: collapse; font: 400 var(--fs-ui)/1.3 var(--f-head); font-variant-numeric: tabular-nums; }
.stab__t th, .stab__t td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.stab__t thead th { font-weight: 700; text-transform: var(--caps); box-shadow: inset 0 -1px 0 var(--fg); }
.stab__t tbody th { font-weight: 700; }
.guide__body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.guide__intro { font: 400 var(--fs-body)/1.5 var(--f-text); }
.guide__note { color: var(--muted); font-size: var(--fs-ui); }

/* ── 17. Pages : titre, collection, recherche, 404 ─────────────────────────── */
.pagehd { padding: 28px var(--pad-t) 8px; max-width: 980px; }
.pagehd--centre { margin: 0 auto; text-align: center; }
.pagehd--centre .prose { margin-inline: auto; }
.pagehd__t { font: 800 clamp(30px, 6.4vw, 88px)/.92 var(--f-head); letter-spacing: -.04em; text-transform: uppercase; overflow-wrap: anywhere; }
.pagehd__i { margin-top: 14px; color: var(--muted); }

.plp, .colls, .srp { padding: 12px var(--pad) var(--sec); }
.plp .grid, .srp .grid { padding: 0; }
.plp__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 8px 0 14px; }
.plp__title { font-size: calc(var(--fs-ui) + 1px); }
.plp__count { color: var(--muted); font-weight: 400; }
.plp__desc { flex-basis: 100%; margin-top: 6px; color: var(--muted); }
.plp__bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 16px; }
.plp__empty, .srp__none { display: grid; justify-items: start; gap: 14px; padding: 32px 0; }
.facets { position: relative; min-width: 0; }
.facets__btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px;
  box-shadow: inset 0 0 0 1px var(--fg); list-style: none;
}
.facets__btn .ico { width: 16px; height: 16px; }
.facets[open] > .facets__btn { background: var(--btn-bg); color: var(--btn-fg); box-shadow: none; }
.facets__form {
  display: grid; gap: 18px; width: min(calc(100vw - 2 * var(--pad)), 380px); margin-top: 8px; padding: 16px;
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--line);
}
@media (min-width: 768px) {
  .facets__form { position: absolute; left: 0; top: 100%; z-index: var(--z-sticky); box-shadow: inset 0 0 0 1px var(--line), 0 12px 32px rgba(0, 0, 0, .12); }
}
.facets__fs { display: grid; gap: 2px; margin: 0; padding: 0; border: 0; min-width: 0; }
.facets__lg { padding: 0; margin-bottom: 6px; color: var(--muted); font: 500 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.opt { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; font: 400 var(--fs-body)/1.3 var(--f-text); }
.opt input { flex: none; width: 16px; height: 16px; margin: 0; accent-color: var(--fg); }
.facets__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.js .facets__apply { display: none; }
.facets__reset { color: var(--muted); font-size: var(--fs-ui); text-underline-offset: 2px; }
.dens { display: inline-flex; gap: 4px; }
html:not(.js) .dens { display: none; }
.dens__b { display: grid; place-items: center; width: 36px; height: 36px; color: var(--muted); }
.dens__b .ico { width: 18px; height: 18px; }
.dens__b[aria-pressed="true"] { color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.more { display: grid; justify-items: center; gap: 12px; margin-top: 40px; }
.more__txt { color: var(--muted); font-weight: 500; }
.more__bar { display: block; width: min(240px, 60vw); height: 2px; overflow: hidden; background: var(--line); }
.more__fill { display: block; height: 100%; background: var(--fg); transform: scaleX(var(--p, 0)); transform-origin: left; }
.more__btn.is-busy { opacity: .6; pointer-events: none; }
.more__prev { color: var(--muted); font-size: var(--fs-ui); text-underline-offset: 2px; }

.colls__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--gut); list-style: none; }
@media (min-width: 1024px) { .colls__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.coll { display: grid; gap: 8px; color: inherit; text-decoration: none; }
.coll__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.coll__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--t3) var(--ease); }
@media (hover: hover) { .coll:hover .coll__img { transform: scale(1.02); } }
.coll__info { display: flex; justify-content: space-between; gap: 8px; }
.coll__n { color: var(--muted); font-weight: 400; }

.srp__form { display: flex; align-items: center; max-width: 760px; margin: 12px 0 20px; border-bottom: 1px solid var(--fg); }
.srp__in {
  flex: 1; min-width: 0; padding: 10px 0; border: 0; background: none; color: inherit;
  font: 700 clamp(20px, 4vw, 34px)/1.2 var(--f-head); text-transform: var(--caps); -webkit-appearance: none; appearance: none;
}
.srp__in::-webkit-search-cancel-button { display: none; }
.srp__in:focus-visible { outline: none; }
.srp__form:focus-within { box-shadow: 0 1px 0 0 var(--fg); }
.srp__go { display: grid; place-items: center; width: 44px; height: 44px; }
.srp__count { font: 500 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.srp__hint { color: var(--muted); }
.srp .sec-h { padding: 32px 0 14px; }

.e404 { display: grid; justify-items: center; gap: 16px; padding: calc(var(--sec) * 1.2) var(--pad-t); text-align: center; }
.e404__code { display: inline-flex; align-items: center; gap: .18em; font: 800 clamp(56px, 16vw, 200px)/1 var(--f-head); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.e404__emb { width: .8em; height: .8em; color: var(--gold); }
.e404__t { font: 700 calc(var(--fs-ui) + 3px)/1.3 var(--f-head); text-transform: var(--caps); }
.e404__txt { max-width: 44ch; color: var(--muted); }
.e404__form { width: min(100%, 520px); margin: 8px 0; }
.e404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

.notice { margin: 0; padding: 10px var(--pad); background: var(--btn-bg); color: var(--btn-fg); }
.notice--error { background: var(--sale); color: var(--light); }
.notice a { color: inherit; margin-left: 8px; }

/* ── 18. Fiche produit ─────────────────────────────────────────────────────── */
.pdp { display: grid; gap: 8px; padding-bottom: var(--sec); }
.pgal { position: relative; display: block; min-width: 0; }
.pgal__track {
  display: flex; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.pgal__track::-webkit-scrollbar { display: none; }
.pgal__slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: var(--card-ratio); overflow: hidden; background: var(--surface); scroll-snap-align: start; }
.pgal__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--fit); }
html[data-fit="contenir"] .pgal__img { padding: 6%; }
.pgal__zoom { position: absolute; inset: 0; display: block; cursor: zoom-in; }
.pgal__zoom:focus-visible { outline-offset: -4px; }
/* Vidéo d'article : le cadre entier ; le compteur laisse passer les touches vers ses contrôles. */
.pgal__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.pgal:has(.pgal__slide--video) .pgal__count { pointer-events: none; }
.pgal__count { position: absolute; left: var(--pad); bottom: 10px; padding: 3px 7px; background: var(--bg); font: 700 var(--fs-ui)/1.2 var(--f-head); }
.pinfo { min-width: 0; }
.pinfo__in { padding: 0 var(--pad); }
.pform { display: block; }
.pinfo__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 14px 0 12px; }
.pinfo__type { grid-column: 1 / -1; color: var(--muted); font: 500 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.pinfo__title { overflow-wrap: anywhere; }
.pinfo__price { justify-self: end; text-align: right; }
.vpick { display: block; margin: 4px 0 10px; }
.vpick__fs { margin: 0; padding: 0; border: 0; min-width: 0; }
.vpick__legend { padding: 0; margin-bottom: 8px; }
.vpick__cur { margin-left: 4px; color: var(--muted); font-weight: 500; }
.vpick__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); box-shadow: inset 1px 1px 0 var(--line); }
.vpick__opt {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 4px; text-align: center; cursor: pointer;
  box-shadow: inset -1px -1px 0 var(--line); background: var(--bg); overflow-wrap: anywhere;
}
.vpick__in { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.vpick__opt.is-on { background: var(--btn-bg); color: var(--btn-fg); box-shadow: none; }
.vpick__opt:has(.vpick__in:checked) { background: var(--btn-bg); color: var(--btn-fg); box-shadow: none; }
.vpick__opt:focus-within { outline: 2px solid var(--focus, var(--fg)); outline-offset: -5px; z-index: 1; }
.vpick__opt.is-on:focus-within { outline-color: var(--btn-fg); }
@supports selector(:has(a)) {
  .vpick__opt:focus-within:not(:has(:focus-visible)) { outline: none; }
}
.vpick__opt.is-out .vpick__t { text-decoration: line-through; opacity: .5; }
@media (hover: hover) { .vpick__opt:not(.is-on):hover { box-shadow: inset 0 0 0 1px var(--fg); } }
.vpick__low { margin-top: 8px; color: var(--sale); font: 500 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.pinfo__guide { margin: 0 0 16px; }
.pbuy { display: grid; gap: 8px; margin: 12px 0 20px; }
.btn--buy { min-height: 54px; }
.pbuy__note { color: var(--muted); font-size: var(--fs-ui); }
.qty { display: inline-flex; align-items: stretch; justify-self: start; box-shadow: inset 0 0 0 1px var(--line); }
.qty .qty__btn { width: 40px; height: 44px; }
.qty__in { width: 48px; border: 0; background: none; text-align: center; font: 700 var(--fs-ui)/1 var(--f-head); -moz-appearance: textfield; }
.qty__in::-webkit-inner-spin-button, .qty__in::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.pblock { padding: 16px 0; border-top: 1px solid var(--line); }
.pblock__h { margin-bottom: 8px; }
.pblock + .acc, .pbuy + .acc { border-top: 1px solid var(--line); }
.zones { display: grid; gap: 6px; margin-bottom: 12px; list-style: none; font: 400 var(--fs-ui)/1.4 var(--f-head); }
.zones li { display: flex; justify-content: space-between; gap: 12px; }
.pinfo__ask { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 16px 0; font: 400 var(--fs-ui)/1.3 var(--f-head); }
.pinfo__more { margin-top: 8px; }
.pinfo__text { padding: 8px 0; color: var(--muted); font-size: var(--fs-ui); }
@media (min-width: 1024px) {
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gut); padding: 0 var(--pad) var(--sec); }
  .pgal__track { display: grid; gap: var(--gut); overflow: visible; scroll-snap-type: none; }
  .pdp--grille .pgal__track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdp--grille .pgal__slide:first-child { grid-column: 1 / -1; }
  .pgal__count { display: none; }
  .pinfo__in { position: sticky; top: calc(var(--top-h) + 12px); max-width: 520px; padding: 4px 16px 0; }
}
/* Barre d'achat du téléphone, une fois le bouton principal dépassé. */
.pbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-bar);
  display: flex; align-items: center; gap: 12px; padding: 8px var(--pad) calc(8px + env(safe-area-inset-bottom));
  background: var(--bg); box-shadow: 0 -1px 0 var(--line);
  transform: translateY(110%); visibility: hidden;
  transition: transform var(--t3) var(--ease), visibility 0s linear var(--t3);
}
.pbar.is-on { transform: none; visibility: visible; transition-delay: 0s; }
.pbar__txt { flex: 1; display: grid; min-width: 0; }
.pbar__t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 700 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps); }
.pbar__go { flex: none; min-height: 44px; }
html:not(.js) .pbar { display: none; }
@media (min-width: 1024px) { .pbar { display: none; } }

/* Photo agrandie (créée par theme.js). */
.zoom { width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; margin: 0; padding: 0; border: 0; background: var(--bg); color: var(--fg); }
@supports (height: 100dvh) { .zoom { height: 100dvh; max-height: 100dvh; } }
.zoom[open] { animation: mn-fade var(--t2) var(--ease) both; }
.zoom::backdrop { background: var(--overlay); }
.zoom__img { width: 100%; height: 100%; object-fit: contain; }
.zoom__x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 44px; height: 44px; background: var(--bg); color: var(--fg); }

/* ── 19. Toasts, bulle WhatsApp ────────────────────────────────────────────── */
.toasts {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom) + var(--pbar-h, 0px)); z-index: var(--z-toast);
  display: grid; gap: 8px; width: min(calc(100vw - 32px), 420px); transform: translateX(-50%); pointer-events: none;
}
.toast {
  padding: 12px 14px; background: var(--btn-bg); color: var(--btn-fg); pointer-events: auto;
  font: 700 var(--fs-ui)/1.3 var(--f-head); text-transform: var(--caps);
  animation: mn-rise var(--t3) var(--ease) both;
}
.toast--error { background: var(--sale); color: var(--light); }
.toast.is-leaving { opacity: 0; transform: translateY(6px); transition: opacity var(--t2) var(--ease), transform var(--t2) var(--ease); }
.wa {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: var(--z-float);
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: #1faa53; color: var(--light); box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
  transition: transform var(--t3) var(--ease);
}
.wa .ico { width: 24px; height: 24px; }
html[data-pbar] .wa { transform: translateY(calc(-1 * var(--pbar-h, 64px))); }

/* ── 20. Mouvement ─────────────────────────────────────────────────────────── */
.sx-reveal { opacity: 0; transform: translateY(12px); transition: opacity var(--t3) var(--ease), transform var(--t3) var(--ease); transition-delay: var(--sx-delay, 0ms); }
.sx-reveal.sx-in { opacity: 1; transform: none; }
html[data-sx-motion="aucune"] .sx-reveal { opacity: 1; transform: none; transition: none; }
html:not([data-sx-motion="aucune"]) { scroll-behavior: smooth; }
@keyframes mn-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes mn-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mn-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mn-halo { 0%, 88% { opacity: 0; } 91% { opacity: .9; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .sx-reveal { opacity: 1; transform: none; }
  .brand__emb-w::after { animation: none !important; }
  html:has(.pnls[data-snap]) { scroll-snap-type: none; }
}

/* ── 21. Couleurs forcées, impression ──────────────────────────────────────── */
@media (forced-colors: active) {
  .btn, .ghost, .pill, .tag, .chip, .qadd, .facets__btn, .dens__b, .vpick__opt { border: 1px solid ButtonText; }
  .hdr::before, .dr__panel, .srch__panel { forced-color-adjust: auto; }
}
@media print {
  .sx-group--header, .sx-group--footer, .dr, .srch, .pbar, .wa, .toasts, .pnl__play, .rail__nav, .dens, .facets { display: none !important; }
  .sx-reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff; color: #000; }
}
