/* ═══════════════════════════════════════════════════════════════════════════
   ORIGINE — feuille du thème. Mobile d'abord, aucun framework.
   Les couleurs et polices arrivent de layout/theme.liquid (:root).
   Les variantes de réglages sont des attributs sur <html> : data-rayon,
   data-densite, data-cartes, data-boutons, data-largeur, data-titres, data-mode.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Tokens dérivés ──────────────────────────────────────────────────── */
:root {
  --sx-accent-fg: #fff;
  --sx-muted: color-mix(in oklab, var(--sx-fg) 58%, var(--sx-bg));
  --sx-line: color-mix(in oklab, var(--sx-fg) 12%, var(--sx-bg));
  --sx-line-strong: color-mix(in oklab, var(--sx-fg) 24%, var(--sx-bg));
  --sx-surface-2: color-mix(in oklab, var(--sx-fg) 5%, var(--sx-bg));
  --sx-accent-soft: color-mix(in oklab, var(--sx-accent) 12%, var(--sx-bg));
  --sx-accent-hover: color-mix(in oklab, var(--sx-accent) 85%, #000);
  --sx-shadow-sm: 0 1px 2px rgb(0 0 0 / .06), 0 4px 12px rgb(0 0 0 / .05);
  --sx-shadow-lg: 0 12px 40px rgb(0 0 0 / .16);

  --sx-radius: 12px;
  --sx-radius-sm: 8px;
  --sx-radius-pill: 999px;
  --sx-max: 1280px;
  --sx-gutter: 16px;
  --sx-section-y: clamp(48px, 8vw, 96px);
  --sx-gap: 16px;

  --sx-ease: cubic-bezier(.2, .7, .2, 1);
  --sx-dur: .5s;
  --sx-dur-fast: .2s;

  --sx-h1: clamp(2.25rem, 2rem + 3vw, 4.5rem);
  --sx-h2: clamp(1.6rem, 1.3rem + 1.6vw, 2.6rem);
  --sx-h3: 1.125rem;

  --hdr-h: 64px;
  color-scheme: light;
}
html[data-rayon="net"] { --sx-radius: 0; --sx-radius-sm: 0; --sx-radius-pill: 0; }
html[data-rayon="rond"] { --sx-radius: 24px; --sx-radius-sm: 14px; }
html[data-densite="compact"] { --sx-section-y: clamp(32px, 5vw, 56px); --sx-gap: 12px; }
html[data-densite="aere"] { --sx-section-y: clamp(64px, 11vw, 140px); --sx-gap: 24px; }
html[data-largeur="large"] { --sx-max: 1536px; }
html[data-titres="discrete"] { --sx-h1: clamp(1.9rem, 1.6rem + 2vw, 3.2rem); --sx-h2: clamp(1.4rem, 1.2rem + 1vw, 2rem); }
html[data-titres="ample"] { --sx-h1: clamp(2.6rem, 2rem + 4.5vw, 6rem); --sx-h2: clamp(1.9rem, 1.4rem + 2.4vw, 3.4rem); }

/* Mode sombre : on inverse les deux couleurs de base et on recalcule. */
@media (prefers-color-scheme: dark) {
  html[data-mode="auto"] { --_bg: var(--sx-bg); --sx-bg: var(--sx-fg); --sx-fg: var(--_bg); --sx-surface: color-mix(in oklab, var(--sx-bg) 92%, #fff); color-scheme: dark; }
}
html[data-mode="toujours"] { --_bg: var(--sx-bg); --sx-bg: var(--sx-fg); --sx-fg: var(--_bg); --sx-surface: color-mix(in oklab, var(--sx-bg) 92%, #fff); color-scheme: dark; }

/* ── 2. Reset & base ────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--sx-bg); color: var(--sx-fg);
  font-family: var(--sx-font-body); font-size: 1rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, .hero__title, .sec-head__title { font-family: var(--sx-font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; text-wrap: balance; font-variation-settings: "opsz" 144; }
h1 { font-size: var(--sx-h1); }
h2 { font-size: var(--sx-h2); }
h3 { font-size: var(--sx-h3); font-family: var(--sx-font-body); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
:focus-visible { outline: 2px solid var(--sx-accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--sx-fg); color: var(--sx-bg); padding: 8px 12px; border-radius: var(--sx-radius-sm); }
.skip:focus { top: 8px; }
.ico { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--fill { fill: currentColor; stroke: none; }

/* ── 3. Mise en page ────────────────────────────────────────────────────── */
/* Les groupes header/footer ne sont que des enveloppes : sans `contents`, un en-tête sticky reste collé à un parent de sa propre hauteur. */
.sx-group { display: contents; }
.sx-wrap { width: 100%; max-width: var(--sx-max); margin-inline: auto; padding-inline: var(--sx-gutter); }
.sx-page > .sx-section { padding-block: var(--sx-section-y); }
.sx-page > .sx-section + .sx-section { padding-top: 0; }
.sx-page > .sx-section.full-bleed, .sx-page > .sx-section--hero, .sx-page > .sx-section--marquee { padding-block: 0; }
.sx-page > .sx-section--hero + .sx-section:not(.full-bleed), .sx-page > .sx-section--marquee + .sx-section:not(.full-bleed) { padding-top: var(--sx-section-y); }
.sx-page > .sx-section--main-product, .sx-page > .sx-section--main-collection, .sx-page > .sx-section--main-cart, .sx-page > .sx-section--main-search, .sx-page > .sx-section--main-collections { padding-top: clamp(24px, 4vw, 48px); }
.sx-page > .sx-section--main-page { padding-bottom: 0; }
.sx-unknown, .sx-error { margin: 16px; padding: 16px; border: 1px dashed var(--sx-line-strong); border-radius: var(--sx-radius-sm); color: var(--sx-muted); font-size: .875rem; white-space: pre-wrap; }
@media (min-width: 640px) { :root { --sx-gutter: 24px; } }
@media (min-width: 1024px) { :root { --sx-gutter: 40px; } }

.eyebrow { font-size: .75rem; letter-spacing: .12em; color: var(--sx-accent); font-weight: 600; margin-bottom: 12px; }
html[data-majuscules] .eyebrow { text-transform: uppercase; }
.eyebrow--centre { text-align: center; }
.empty { color: var(--sx-muted); padding: 32px 0; text-align: center; }
.prose p + p { margin-top: 1em; }
.prose { color: color-mix(in oklab, var(--sx-fg) 85%, var(--sx-bg)); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; border-bottom: 1px solid transparent; transition: gap var(--sx-dur-fast), border-color var(--sx-dur-fast); }
.link-arrow:hover { gap: 10px; border-color: currentColor; }

.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: clamp(20px, 3vw, 36px); }
.sec-head__text { color: var(--sx-muted); max-width: 52ch; margin-top: 8px; }
.sec-head--centre { text-align: center; align-items: center; }
.sec-head--centre .eyebrow { text-align: center; }
@media (min-width: 640px) {
  .sec-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .sec-head--centre { flex-direction: column; align-items: center; }
}

/* ── 4. Boutons, champs, badges ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px; border-radius: var(--sx-radius-pill);
  font-weight: 600; font-size: .9375rem; line-height: 1; letter-spacing: .005em;
  border: 1.5px solid transparent; transition: transform var(--sx-dur-fast) var(--sx-ease), background var(--sx-dur-fast), color var(--sx-dur-fast), border-color var(--sx-dur-fast), box-shadow var(--sx-dur-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--sx-accent); color: var(--sx-accent-fg); }
.btn--primary:hover { background: var(--sx-accent-hover); }
.btn--ghost { border-color: var(--sx-line-strong); color: var(--sx-fg); background: transparent; }
.btn--ghost:hover { border-color: var(--sx-fg); }
.btn--sm { min-height: 38px; padding: 6px 14px; font-size: .875rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
html[data-boutons="contour"] .btn--primary { background: transparent; color: var(--sx-fg); border-color: var(--sx-fg); }
html[data-boutons="contour"] .btn--primary:hover { background: var(--sx-fg); color: var(--sx-bg); }
html[data-rayon="net"] .btn { border-radius: 0; }
html[data-rayon="doux"] .btn { border-radius: var(--sx-radius-sm); }
.btn.is-busy { pointer-events: none; opacity: .7; }
.btn.is-done { background: var(--sx-fg); color: var(--sx-bg); border-color: var(--sx-fg); }

.iconbtn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--sx-radius-pill); transition: background var(--sx-dur-fast); position: relative; }
.iconbtn:hover { background: var(--sx-surface-2); }
.iconbtn .ico { width: 22px; height: 22px; }

.input, .select { width: 100%; min-height: 48px; padding: 10px 14px; background: var(--sx-surface); border: 1.5px solid var(--sx-line); border-radius: var(--sx-radius-sm); transition: border-color var(--sx-dur-fast), box-shadow var(--sx-dur-fast); }
.input:focus, .select:focus { outline: 0; border-color: var(--sx-fg); box-shadow: 0 0 0 3px var(--sx-accent-soft); }
textarea.input { min-height: 0; resize: vertical; }
.select { appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; width: auto; }
.field { display: grid; gap: 6px; font-size: .875rem; font-weight: 500; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border: 1.5px solid var(--sx-line); border-radius: var(--sx-radius-pill); font-size: .875rem; cursor: pointer; background: var(--sx-surface); }
.chip:has(input:checked) { border-color: var(--sx-fg); background: var(--sx-fg); color: var(--sx-bg); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

.badge { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border-radius: var(--sx-radius-pill); font-size: .75rem; font-weight: 600; letter-spacing: .02em; }
.badge--accent { background: var(--sx-accent); color: var(--sx-accent-fg); }
.badge--muted { background: var(--sx-fg); color: var(--sx-bg); }

/* ── 5. Annonce & en-tête ───────────────────────────────────────────────── */
.annonce { background: var(--sx-fg); color: var(--sx-bg); font-size: .8125rem; font-weight: 500; overflow: hidden; }
.annonce__inner { min-height: 36px; display: flex; align-items: center; justify-content: center; text-align: center; }
.annonce__text { display: inline-flex; align-items: center; gap: 6px; }
.annonce--defilant .annonce__inner { padding: 0; max-width: none; }
.annonce__item { padding-inline: 32px; }

.hdr { position: relative; z-index: 40; background: var(--sx-bg); border-bottom: 1px solid var(--sx-line); transition: background var(--sx-dur-fast), border-color var(--sx-dur-fast), box-shadow var(--sx-dur-fast), transform .35s var(--sx-ease), color var(--sx-dur-fast); }
/* Le collant se pose sur l’ENVELOPPE de section (sinon l’en-tête colle à un parent de sa propre hauteur). */
.sx-section--header:has(> .hdr[data-sx-sticky]) { position: sticky; top: 0; z-index: 40; }
.hdr[data-sx-stuck="1"] { box-shadow: var(--sx-shadow-sm); }
.hdr[data-sx-hidden="1"] { transform: translateY(-100%); }
.hdr__inner { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; min-height: 60px; }
.hdr__brand { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.hdr__logo { height: 32px; width: auto; transition: height var(--sx-dur-fast); }
.hdr__name { font-family: var(--sx-font-display); font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em; }
.hdr__nav { display: none; }
.hdr__icons { display: flex; align-items: center; justify-content: flex-end; }
.hdr__account { display: none; }
.hdr__count { position: absolute; top: 6px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sx-accent); color: var(--sx-accent-fg); font-size: .6875rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.hdr__count[data-empty] { display: none; }
.hdr__cart.is-bump .ico { animation: bump .45s var(--sx-ease); }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95); } }
.hdr__rail { border-top: 1px solid var(--sx-line); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hdr__rail::-webkit-scrollbar { display: none; }
.hdr__raillist { display: flex; gap: 4px; white-space: nowrap; padding-block: 6px; }
.hdr__raillink { display: inline-block; padding: 8px 14px; border-radius: var(--sx-radius-pill); font-size: .875rem; font-weight: 500; color: var(--sx-muted); }
.hdr__raillink.is-active, .hdr__raillink:hover { color: var(--sx-fg); background: var(--sx-surface-2); }

/* Transparent sur le héros : l'en-tête est superposé, la page remonte dessous. */
.hdr--transparent[data-sx-over-hero="1"] { background: transparent; border-color: transparent; color: #fff; box-shadow: none; }
.hdr--transparent[data-sx-over-hero="1"] .hdr__logo { filter: drop-shadow(0 1px 8px rgb(0 0 0 / .35)); }
.hdr--transparent[data-sx-over-hero="1"] .iconbtn:hover { background: rgb(255 255 255 / .15); }
body:has(.hdr--transparent) .sx-page > .sx-section--hero:first-child { margin-top: calc(var(--hdr-h) * -1); }
body:has(.hdr--transparent) .sx-page > .sx-section--hero:first-child .hero__inner { padding-top: var(--hdr-h); }

@media (min-width: 1024px) {
  .hdr__burger { display: none; }
  .hdr__inner { grid-template-columns: auto 1fr auto; gap: 32px; min-height: 72px; }
  .hdr__logo { height: 40px; }
  .hdr[data-sx-stuck="1"] .hdr__inner { min-height: 60px; }
  .hdr[data-sx-stuck="1"] .hdr__logo { height: 30px; }
  .hdr__nav { display: block; }
  .hdr__list { display: flex; gap: 4px; justify-content: center; }
  .hdr__link-wrap { position: relative; }
  .hdr__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: var(--sx-radius-pill); font-weight: 500; font-size: .9375rem; transition: background var(--sx-dur-fast); }
  .hdr__link:hover, .hdr__link.is-active { background: var(--sx-surface-2); }
  .hdr--transparent[data-sx-over-hero="1"] .hdr__link:hover, .hdr--transparent[data-sx-over-hero="1"] .hdr__link.is-active { background: rgb(255 255 255 / .15); }
  .hdr__link-sub { position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px; background: var(--sx-surface); color: var(--sx-fg); border: 1px solid var(--sx-line); border-radius: var(--sx-radius); box-shadow: var(--sx-shadow-lg); opacity: 0; translate: 0 8px; pointer-events: none; transition: opacity var(--sx-dur-fast), translate var(--sx-dur-fast) var(--sx-ease); }
  .has-sub:hover .hdr__link-sub, .has-sub:focus-within .hdr__link-sub { opacity: 1; translate: 0 0; pointer-events: auto; }
  .hdr__link-sublink { display: block; padding: 10px 12px; border-radius: var(--sx-radius-sm); font-size: .9375rem; }
  .hdr__link-sublink:hover { background: var(--sx-surface-2); }
  .hdr__account { display: inline-grid; }
  .hdr--centre .hdr__inner { grid-template-columns: 1fr auto 1fr; grid-template-areas: "nav brand icons"; }
  .hdr--centre .hdr__brand { grid-area: brand; }
  .hdr--centre .hdr__nav { grid-area: nav; }
  .hdr--centre .hdr__list { justify-content: flex-start; }
  .hdr--centre .hdr__icons { grid-area: icons; }
  .hdr--rail .hdr__nav { display: none; }
  .hdr--rail .hdr__inner { grid-template-columns: 1fr auto; }
  .hdr--rail .hdr__brand { justify-content: flex-start; }
}

/* ── 6. Tiroirs, recherche, toast ───────────────────────────────────────── */
sx-drawer, sx-cart-drawer, sx-search { display: contents; }
.drawer, .cdrawer, .search { position: fixed; inset: 0; z-index: 80; pointer-events: none; }
.drawer__backdrop, .cdrawer__backdrop, .search__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / .45); opacity: 0; transition: opacity .3s; }
.drawer__panel, .cdrawer__panel { position: absolute; top: 0; bottom: 0; width: min(88vw, 400px); background: var(--sx-surface); color: var(--sx-fg); display: flex; flex-direction: column; box-shadow: var(--sx-shadow-lg); transition: transform .4s var(--sx-ease); padding-bottom: env(safe-area-inset-bottom); }
.drawer__panel { left: 0; transform: translateX(-100%); }
.cdrawer__panel { right: 0; transform: translateX(100%); }
[data-sx-open="1"] > .drawer, [data-sx-open="1"] > .cdrawer, [data-sx-open="1"] > .search { pointer-events: auto; }
[data-sx-open="1"] .drawer__backdrop, [data-sx-open="1"] .cdrawer__backdrop, [data-sx-open="1"] .search__backdrop { opacity: 1; }
[data-sx-open="1"] .drawer__panel, [data-sx-open="1"] .cdrawer__panel { transform: none; }
html[data-sx-drawer] { overflow: hidden; }
.drawer__head, .cdrawer__head { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--sx-line); min-height: 60px; }
.drawer__brand { font-family: var(--sx-font-display); font-size: 1.25rem; font-weight: 600; }
.drawer__nav { flex: 1; overflow-y: auto; padding: 8px 12px; }
.drawer__link { display: flex; align-items: center; justify-content: space-between; padding: 14px 8px; font-size: 1.125rem; font-weight: 500; border-radius: var(--sx-radius-sm); cursor: pointer; list-style: none; }
.drawer__link::-webkit-details-marker { display: none; }
.drawer__link.is-active { color: var(--sx-accent); }
.drawer__details[open] > .drawer__link .ico { transform: rotate(180deg); }
.drawer__sub { padding: 0 0 8px 16px; }
.drawer__sublink { display: block; padding: 10px 8px; color: var(--sx-muted); }
.drawer__foot { padding: 12px 20px 20px; border-top: 1px solid var(--sx-line); display: grid; gap: 4px; }
.drawer__foot-link { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-weight: 500; }

.cdrawer__title { font-family: var(--sx-font-display); font-size: 1.375rem; font-weight: 600; display: flex; gap: 8px; align-items: baseline; }
.cdrawer__count { font-family: var(--sx-font-body); font-size: .875rem; color: var(--sx-muted); font-weight: 500; }
.cdrawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.cdrawer__empty { color: var(--sx-muted); text-align: center; padding: 48px 0; }
.cdrawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--sx-line); display: grid; gap: 12px; }
.cdrawer__row { display: flex; justify-content: space-between; font-size: 1.0625rem; }
.cdrawer__link { text-align: center; font-size: .875rem; color: var(--sx-muted); text-decoration: underline; text-underline-offset: 3px; }
.cline { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "media body total" "media ctl total"; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--sx-line); align-items: start; }
.cline__media { grid-area: media; aspect-ratio: 4/5; border-radius: var(--sx-radius-sm); overflow: hidden; background: var(--sx-surface-2); }
.cline__media img { width: 100%; height: 100%; object-fit: cover; }
.cline__body { grid-area: body; min-width: 0; }
.cline__title { font-weight: 600; display: block; }
.cline__variant, .cline__price { font-size: .875rem; color: var(--sx-muted); }
.cline__ctl { grid-area: ctl; display: flex; align-items: center; gap: 14px; margin-top: 6px; }
.cline__remove { font-size: .8125rem; color: var(--sx-muted); text-decoration: underline; text-underline-offset: 3px; }
.cline__total { grid-area: total; font-variant-numeric: tabular-nums; }
.cline.is-busy { opacity: .5; }

.search__panel { position: absolute; left: 0; right: 0; top: 0; background: var(--sx-surface); color: var(--sx-fg); box-shadow: var(--sx-shadow-lg); transform: translateY(-100%); transition: transform .4s var(--sx-ease); max-height: 90vh; overflow-y: auto; }
[data-sx-open="1"] .search__panel { transform: none; }
.search__form { display: flex; align-items: center; gap: 12px; padding: 12px var(--sx-gutter); max-width: var(--sx-max); margin-inline: auto; min-height: 64px; }
.search__input { flex: 1; border: 0; background: transparent; font-size: 1.125rem; min-height: 44px; outline: 0; }
.search__hits { max-width: var(--sx-max); margin-inline: auto; padding: 0 var(--sx-gutter) 16px; display: grid; gap: 4px; }
.search__hit { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--sx-radius-sm); }
.search__hit:hover { background: var(--sx-surface-2); }
.search__hit img { width: 48px; height: 56px; object-fit: cover; border-radius: 6px; background: var(--sx-surface-2); }
.search__hit-title { font-weight: 500; }
.search__hit-price { color: var(--sx-muted); font-size: .875rem; font-variant-numeric: tabular-nums; }
.search__more { padding: 12px 8px; font-weight: 600; color: var(--sx-accent); }

.toast-host { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); translate: -50% 0; z-index: 90; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: var(--sx-fg); color: var(--sx-bg); border-radius: var(--sx-radius); box-shadow: var(--sx-shadow-lg); font-weight: 500; animation: toast-in .35s var(--sx-ease); }
.toast--error { background: #b42318; color: #fff; }
.toast.is-leaving { animation: toast-out .3s var(--sx-ease) forwards; }
@keyframes toast-in { from { opacity: 0; translate: 0 12px; } }
@keyframes toast-out { to { opacity: 0; translate: 0 12px; } }

.wa { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 60; width: 54px; height: 54px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: var(--sx-shadow-lg); transition: transform var(--sx-dur-fast) var(--sx-ease); }
.wa:hover { transform: scale(1.06); }
.wa .ico { width: 28px; height: 28px; }

/* ── 7. Héros, défilant ─────────────────────────────────────────────────── */
.hero { position: relative; display: grid; min-height: 62svh; color: #fff; overflow: clip; isolation: isolate; background: var(--sx-fg); }
.hero--grande { min-height: 74svh; }
.hero--ecran { min-height: 100svh; }
.hero--moyenne { min-height: 48svh; }
.hero__media { position: absolute; inset: -12% 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(to top, rgb(0 0 0 / calc(var(--voile, .3) + .25)), rgb(0 0 0 / var(--voile, .3)) 45%, rgb(0 0 0 / calc(var(--voile, .3) * .6))); }
.hero__inner { position: relative; z-index: 1; display: flex; align-items: flex-end; padding-block: clamp(40px, 8vw, 96px); }
.hero__body { max-width: 640px; display: grid; gap: 16px; justify-items: start; }
.hero__eyebrow { color: #fff; opacity: .9; margin: 0; }
.hero__title { font-size: var(--sx-h1); font-weight: 500; }
.hero__text { font-size: clamp(1rem, .95rem + .4vw, 1.25rem); opacity: .92; max-width: 46ch; }
.hero__btn { margin-top: 8px; }
.hero__body .btn--ghost { border-color: rgb(255 255 255 / .7); color: #fff; }
.hero__body .btn--ghost:hover { background: #fff; color: #111; }
.hero--centre .hero__inner { align-items: center; justify-content: center; text-align: center; }
.hero--centre .hero__body { justify-items: center; }
.hero--gauche .hero__inner { align-items: center; }
@media (min-width: 1024px) { .hero--gauche .hero__inner { align-items: center; } }

.marq { display: flex; overflow: hidden; background: var(--sx-accent); color: var(--sx-accent-fg); font-weight: 600; font-size: .9375rem; letter-spacing: .04em; padding-block: 12px; white-space: nowrap; }
html[data-majuscules] .marq { text-transform: uppercase; font-size: .8125rem; }
.marq__item { padding-inline: 20px; }
.marq__dot { opacity: .7; }
.sx-marquee { display: flex; overflow: hidden; }
.sx-marquee__track { display: flex; flex: none; min-width: 100%; animation: marquee var(--sx-marquee-duration, 40s) linear infinite; }
.sx-marquee:hover .sx-marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── 8. Grilles & cartes produit ────────────────────────────────────────── */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sx-gap) 12px; }
.grid--scroll { grid-auto-flow: column; grid-auto-columns: 68%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--sx-gutter) * -1); padding-inline: var(--sx-gutter); scroll-padding-inline: var(--sx-gutter); }
.grid--scroll::-webkit-scrollbar { display: none; }
.grid--scroll > * { scroll-snap-align: start; }
@media (min-width: 640px) {
  .grid { gap: var(--sx-gap); }
  .grid--scroll { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.pcard { position: relative; display: grid; gap: 10px; }
.pcard__media { position: relative; display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--sx-radius); background: var(--sx-surface-2); }
.pcard__img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--sx-ease), opacity .4s; }
.pcard__img--alt { position: absolute; inset: 0; opacity: 0; }
.pcard__media:hover .pcard__img--alt { opacity: 1; }
.pcard__media:hover .pcard__img { transform: scale(1.04); }
.pcard__placeholder { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--sx-font-display); font-size: 2rem; color: var(--sx-muted); }
.pcard__badge { position: absolute; top: 10px; left: 10px; }
.pcard__body { display: grid; gap: 2px; }
.pcard__title { font-size: .9375rem; font-weight: 500; line-height: 1.35; font-family: var(--sx-font-body); }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pcard__top { position: relative; }
.pcard__quick { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; display: block; opacity: 0; translate: 0 8px; transition: opacity var(--sx-dur-fast), translate var(--sx-dur-fast) var(--sx-ease); }
.pcard__quick .btn { width: 100%; background: var(--sx-surface); color: var(--sx-fg); border-color: transparent; box-shadow: var(--sx-shadow-sm); }
.pcard:hover .pcard__quick, .pcard:focus-within .pcard__quick { opacity: 1; translate: 0 0; }
@media (hover: none) { .pcard__quick { opacity: 1; translate: 0 0; } .pcard__quick .btn span { display: none; } .pcard__quick { left: auto; right: 10px; } .pcard__quick .btn { width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%; } }
html[data-cartes="bord"] .pcard { padding: 10px; border: 1px solid var(--sx-line); border-radius: calc(var(--sx-radius) + 6px); }
html[data-cartes="ombre"] .pcard { padding: 10px; background: var(--sx-surface); border-radius: calc(var(--sx-radius) + 6px); box-shadow: var(--sx-shadow-sm); }

.price { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price__now { font-weight: 600; }
.price--sale .price__now { color: var(--sx-accent); }
.price__was { color: var(--sx-muted); font-size: .875em; }
.price__from { color: var(--sx-muted); font-size: .8125em; }
.rating { display: inline-flex; align-items: center; gap: 2px; color: var(--sx-line-strong); }
.rating__star .ico { width: 16px; height: 16px; }
.rating__star.is-on { color: #E8A317; }
.rating__count { margin-left: 6px; font-size: .8125rem; color: var(--sx-muted); }

/* ── 9. Collections ─────────────────────────────────────────────────────── */
.clist { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ctile { position: relative; display: block; aspect-ratio: 1; border-radius: var(--sx-radius); overflow: hidden; background: var(--sx-surface-2); color: #fff; isolation: isolate; }
.ctile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--sx-ease); }
.ctile:hover .ctile__img { transform: scale(1.05); }
.ctile__img--empty { display: grid; place-items: center; font-family: var(--sx-font-display); font-size: 2.5rem; color: var(--sx-muted); background: var(--sx-surface-2); }
.ctile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .65), transparent 60%); z-index: 0; }
.ctile__body { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1; display: grid; gap: 2px; }
.ctile__title { font-family: var(--sx-font-display); font-size: 1.25rem; font-weight: 500; }
.ctile__count { font-size: .8125rem; opacity: .85; }
.clist--bandeaux { grid-template-columns: 1fr; }
.clist--bandeaux .ctile { aspect-ratio: 16/7; }
.clist--liste { grid-template-columns: 1fr; gap: 0; }
.clist--liste .ctile { aspect-ratio: auto; border-radius: 0; background: none; color: var(--sx-fg); border-bottom: 1px solid var(--sx-line); padding: 18px 0; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; }
.clist--liste .ctile::after { display: none; }
.clist--liste .ctile__img { width: 56px; height: 56px; border-radius: var(--sx-radius-sm); }
.clist--liste .ctile__body { position: static; }
@media (min-width: 640px) { .clist { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sx-gap); } .clist--bandeaux { grid-template-columns: repeat(2, minmax(0, 1fr)); } .clist--liste { grid-template-columns: 1fr; } }

/* ── 10. Sections de contenu ────────────────────────────────────────────── */
.rtext { display: grid; gap: 16px; justify-items: start; }
.rtext--etroite { max-width: 68ch; }
.rtext--centre { text-align: center; justify-items: center; margin-inline: auto; }
.rtext__body { font-size: 1.0625rem; }

.iwt { display: grid; gap: 24px; align-items: center; }
.iwt__media { border-radius: var(--sx-radius); overflow: hidden; aspect-ratio: 4/5; background: var(--sx-surface-2); }
.iwt__img { width: 100%; height: 100%; object-fit: cover; }
.iwt__body { display: grid; gap: 16px; justify-items: start; }
.iwt__text { font-size: 1.0625rem; }
@media (min-width: 900px) {
  .iwt { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
  .iwt--droite .iwt__media { order: 2; }
}

.tstm { display: grid; gap: 12px; }
.tcard { display: grid; gap: 14px; padding: 22px; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-radius); }
.tcard > .ico { color: var(--sx-accent); width: 28px; height: 28px; }
.tcard__quote { font-size: 1.0625rem; line-height: 1.5; font-family: var(--sx-font-display); font-weight: 400; }
.tcard__foot { display: flex; align-items: center; gap: 12px; font-size: .875rem; }
.tcard__foot small { display: block; color: var(--sx-muted); }
.tcard__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--sx-accent-soft); color: var(--sx-accent); display: grid; place-items: center; font-weight: 700; font-size: .8125rem; }
@media (min-width: 640px) { .tstm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sx-gap); } }
@media (min-width: 1024px) { .tstm { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.fold { border-top: 1px solid var(--sx-line); }
.fold:last-child { border-bottom: 1px solid var(--sx-line); }
.fold__sum { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.fold__sum::-webkit-details-marker { display: none; }
.fold__sum-main { display: inline-flex; align-items: center; gap: 10px; flex: 1; }
.fold__sum .ico:last-child { transition: transform .3s var(--sx-ease); color: var(--sx-muted); }
.fold[open] > .fold__sum .ico:last-child { transform: rotate(45deg); }
.fold[open] > .fold__sum .ico[class*=chevron], .fold[open] > .fold__sum .ico:last-child:not([class*=plus]) { transform: rotate(180deg); }
.fold__body { padding: 0 0 18px; color: color-mix(in oklab, var(--sx-fg) 85%, var(--sx-bg)); }
.fold--faq .fold__sum { font-size: 1.0625rem; padding: 18px 0; }
.faq { display: grid; gap: 24px; }
@media (min-width: 900px) { .faq--colonnes { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; } .faq--colonnes .faq__head { position: sticky; top: calc(var(--hdr-h) + 24px); } }

.steps { display: grid; gap: 20px; counter-reset: step; }
.step { display: grid; gap: 8px; padding: 24px; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-radius); }
.step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--sx-fg); color: var(--sx-bg); display: grid; place-items: center; font-family: var(--sx-font-display); font-size: 1.125rem; margin-bottom: 8px; }
.step__text { color: var(--sx-muted); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sx-gap); } }

.nlet { display: grid; gap: 20px; padding: clamp(24px, 5vw, 56px); background: var(--sx-fg); color: var(--sx-bg); border-radius: var(--sx-radius); }
.nlet__title { font-size: var(--sx-h2); }
.nlet__text { opacity: .8; margin-top: 8px; }
.nlet .input { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .2); color: inherit; }
.nlet .input::placeholder { color: rgb(255 255 255 / .5); }
.nlet .btn--primary { background: var(--sx-bg); color: var(--sx-fg); }
.news__row { display: grid; gap: 10px; }
.news__ok { color: #1a7f4b; font-weight: 500; margin-top: 8px; }
.nlet .news__ok { color: #8fe0b0; }
form.is-error .news__ok { display: block !important; color: #b42318; }
@media (min-width: 640px) { .news__row { grid-template-columns: 1fr auto; } .nlet { grid-template-columns: 1fr 1fr; align-items: center; } }

.contact { display: grid; gap: 32px; }
.contact__list { display: grid; gap: 10px; }
.contact__list a, .contact__list span { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.cform { display: grid; gap: 14px; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.2fr; gap: 64px; } }

.promises { display: grid; gap: 12px; }
.promise { display: grid; gap: 6px; padding: 22px; border: 1px solid var(--sx-line); border-radius: var(--sx-radius); background: var(--sx-surface); }
.promise__ico { width: 44px; height: 44px; border-radius: var(--sx-radius-sm); background: var(--sx-accent-soft); color: var(--sx-accent); display: grid; place-items: center; margin-bottom: 8px; }
.promise__ico .ico { width: 24px; height: 24px; }
.promise__text { color: var(--sx-muted); font-size: .9375rem; }
@media (min-width: 640px) { .promises { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--sx-gap); } }
.dlist { display: grid; }
.dlist__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sx-line); font-size: .9375rem; }
.dlist__row small { color: var(--sx-muted); }
.dlist__cod { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .875rem; color: var(--sx-muted); }
.dlist--wide { margin-top: 32px; max-width: 640px; }

.cdown { display: grid; gap: 24px; padding: clamp(24px, 5vw, 56px); background: var(--sx-accent-soft); border-radius: var(--sx-radius); }
.cdown__body { display: grid; gap: 16px; justify-items: start; }
.cdown__clock { display: flex; gap: 10px; }
.cdown__unit { display: grid; place-items: center; min-width: 64px; padding: 10px 6px; background: var(--sx-surface); border-radius: var(--sx-radius-sm); }
.cdown__unit b { font-family: var(--sx-font-display); font-size: 1.75rem; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; }
.cdown__unit small { font-size: .6875rem; color: var(--sx-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.cdown__expired { font-family: var(--sx-font-display); font-size: 1.5rem; }
@media (min-width: 900px) { .cdown { grid-template-columns: 1fr auto; align-items: center; } }

.galry { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.galry__item { border-radius: var(--sx-radius-sm); overflow: hidden; background: var(--sx-surface-2); aspect-ratio: 1; }
.galry__item img { width: 100%; height: 100%; object-fit: cover; }
.galry__item figcaption { font-size: .8125rem; color: var(--sx-muted); padding: 6px 0; }
.galry--mosaique .galry__item:first-child { grid-column: span 2; aspect-ratio: 16/10; }
.galry--bande { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--sx-gutter) * -1); padding-inline: var(--sx-gutter); }
.galry--bande .galry__item { flex: 0 0 72%; scroll-snap-align: start; }
@media (min-width: 640px) { .galry { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sx-gap); } .galry--mosaique .galry__item:first-child { grid-row: span 2; aspect-ratio: auto; } .galry--bande .galry__item { flex-basis: 40%; } }
@media (min-width: 1024px) { .galry--grille { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.vid { display: grid; gap: 10px; }
.vid__frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--sx-radius); background: var(--sx-fg); object-fit: cover; }
.full-bleed .vid__frame { border-radius: 0; }
.vid__frame--empty { display: grid; place-items: center; color: var(--sx-bg); }
.vid__caption { font-size: .875rem; color: var(--sx-muted); text-align: center; }

.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 40px; align-items: center; margin-top: 24px; }
.logos__item img { height: 36px; width: auto; opacity: .7; filter: grayscale(1); transition: opacity var(--sx-dur-fast), filter var(--sx-dur-fast); }
.logos__item:hover img { opacity: 1; filter: none; }
.logos__item--text { font-family: var(--sx-font-display); font-size: 1.375rem; color: var(--sx-muted); white-space: nowrap; }
.logos.sx-marquee { flex-wrap: nowrap; }
.logos .sx-marquee__track { gap: 64px; align-items: center; padding-right: 64px; }

.mapf__frame { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--sx-radius); filter: grayscale(.2); }

/* ── 11. Fiche produit ──────────────────────────────────────────────────── */
.prod { display: grid; gap: 28px; }
.gal { display: grid; gap: 10px; }
.gal__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 8px; margin-inline: calc(var(--sx-gutter) * -1); padding-inline: var(--sx-gutter); }
.gal__main::-webkit-scrollbar { display: none; }
.gal__slide { flex: 0 0 88%; scroll-snap-align: center; aspect-ratio: 4/5; border-radius: var(--sx-radius); overflow: hidden; background: var(--sx-surface-2); }
.gal__slide--empty { display: grid; place-items: center; font-family: var(--sx-font-display); font-size: 3rem; color: var(--sx-muted); }
.gal__img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.gal__thumb { flex: 0 0 60px; aspect-ratio: 4/5; border-radius: 6px; overflow: hidden; border: 2px solid transparent; opacity: .6; transition: opacity var(--sx-dur-fast), border-color var(--sx-dur-fast); }
.gal__thumb.is-on { opacity: 1; border-color: var(--sx-fg); }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
/* Vidéo d'article : le cadre entier, et ▶ sur sa vignette. */
.gal__slide--video .gal__img { object-fit: contain; }
.gal__thumb--video { position: relative; background: var(--sx-surface-2); }
.gal__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; pointer-events: none; }
.gal__play .ico { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: rgba(0, 0, 0, .45); }
.prod__info { display: grid; gap: 18px; align-content: start; }
.prod__sticky { display: grid; gap: 18px; }
.prod__vendor { margin: 0; }
.prod__title { font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); }
.prod__price { font-size: 1.375rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.prod__note { font-size: .9375rem; color: var(--sx-muted); padding: 10px 14px; background: var(--sx-surface-2); border-radius: var(--sx-radius-sm); }
.prod__buy { display: grid; gap: 10px; }
.prod__form { display: contents; }
.prod__share a { display: inline-flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--sx-muted); }
.vpick { display: grid; gap: 10px; }
.vpick__label { font-size: .875rem; font-weight: 500; }
.vpick__label span { color: var(--sx-muted); font-weight: 400; }
.vpick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.vpick__opt { position: relative; }
.vpick__opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vpick__opt span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border: 1.5px solid var(--sx-line-strong); border-radius: var(--sx-radius-pill); font-size: .9375rem; transition: background var(--sx-dur-fast), border-color var(--sx-dur-fast), color var(--sx-dur-fast); }
.vpick__opt input:checked + span { background: var(--sx-fg); color: var(--sx-bg); border-color: var(--sx-fg); }
.vpick__opt.is-off span { color: var(--sx-muted); text-decoration: line-through; border-style: dashed; }
html[data-rayon="net"] .vpick__opt span { border-radius: 0; }
.vpick--liste .vpick__opts { display: grid; }
.vpick--liste .vpick__opt span { width: 100%; border-radius: var(--sx-radius-sm); }
.qty { display: grid; gap: 8px; }
.qty__label { font-size: .875rem; font-weight: 500; }
.qty__ctl { display: inline-flex; align-items: center; border: 1.5px solid var(--sx-line-strong); border-radius: var(--sx-radius-pill); overflow: hidden; width: max-content; }
.qty__btn { width: 44px; height: 44px; display: grid; place-items: center; }
.qty__btn:hover { background: var(--sx-surface-2); }
.qty__input, .qty__val { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 600; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty__ctl--sm .qty__btn { width: 34px; height: 34px; }
.qty__ctl--sm .qty__val { width: 32px; font-size: .9375rem; }
@media (min-width: 900px) {
  .prod { grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
  .prod--colonne .gal__main { display: grid; overflow: visible; margin: 0; padding: 0; gap: 12px; }
  .prod--colonne .gal__slide { flex: none; }
  .prod--colonne .gal__thumbs { display: none; }
  .prod--carrousel .gal__main { margin: 0; padding: 0; }
  .prod--carrousel .gal__slide { flex-basis: 100%; }
  .prod--collant .prod__sticky { position: sticky; top: calc(var(--hdr-h) + 24px); }
}

/* ── 12. Collection, recherche, page, 404 ───────────────────────────────── */
.coll__head { display: grid; gap: 8px; margin-bottom: 24px; max-width: 70ch; }
.coll__desc { color: var(--sx-muted); font-size: 1.0625rem; }
.coll__bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--sx-line); }
.coll__sort { display: inline-flex; align-items: center; gap: 10px; font-size: .875rem; }
.pagin { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.pagin__state { font-variant-numeric: tabular-nums; color: var(--sx-muted); }
.srch__form { display: flex; gap: 10px; align-items: center; margin-bottom: 28px; }
.srch__form > .ico { color: var(--sx-muted); }
.pageh { padding-top: clamp(24px, 5vw, 64px); }
.pageh__title { font-size: var(--sx-h1); }
.nf { text-align: center; display: grid; gap: 12px; justify-items: center; padding-block: clamp(40px, 8vw, 96px); }
.nf__code { font-family: var(--sx-font-display); font-size: clamp(4rem, 12vw, 9rem); line-height: 1; color: var(--sx-line-strong); }
.nf__text { color: var(--sx-muted); max-width: 44ch; }
.nf__actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

/* ── 13. Panier ─────────────────────────────────────────────────────────── */
sx-cart { display: block; }
.cartp__title { margin-bottom: 20px; }
.cartp__grid { display: grid; gap: 32px; align-items: start; }
.cartp__lines .cline { grid-template-columns: 88px 1fr auto; }
.cartp__empty { display: grid; gap: 16px; justify-items: start; padding: 32px 0; color: var(--sx-muted); }
.cartp__side { display: grid; gap: 16px; padding: 22px; background: var(--sx-surface); border: 1px solid var(--sx-line); border-radius: var(--sx-radius); }
.cartp__side.is-hidden { display: none; }
.promo { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.totals { display: grid; gap: 8px; }
.totals > div { display: flex; justify-content: space-between; }
.totals__total { font-size: 1.25rem; font-weight: 600; padding-top: 10px; border-top: 1px solid var(--sx-line); }
.totals dd { font-variant-numeric: tabular-nums; }
.cartp__note { display: grid; gap: 6px; font-size: .875rem; font-weight: 500; }
.cartp__continue { text-align: center; font-size: .875rem; color: var(--sx-muted); text-decoration: underline; text-underline-offset: 3px; }
.seuil { display: grid; gap: 6px; font-size: .8125rem; color: var(--sx-muted); }
.seuil__bar { height: 6px; background: var(--sx-line); border-radius: 3px; overflow: hidden; }
.seuil__fill { display: block; height: 100%; width: var(--p, 0%); background: var(--sx-accent); transition: width .6s var(--sx-ease); }
@media (min-width: 900px) { .cartp__grid { grid-template-columns: 1.6fr 1fr; gap: 48px; } .cartp__side { position: sticky; top: calc(var(--hdr-h) + 24px); } }

/* ── 14. Pied de page ───────────────────────────────────────────────────── */
.foot { background: var(--sx-surface-2); border-top: 1px solid var(--sx-line); margin-top: var(--sx-section-y); }
.foot__grid { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 72px) 32px; }
.foot__brand { display: grid; gap: 14px; justify-items: start; }
.foot__logo { height: 32px; width: auto; }
.foot__name { font-family: var(--sx-font-display); font-size: 1.5rem; }
.foot__text { color: var(--sx-muted); max-width: 40ch; font-size: .9375rem; }
.foot__social { display: flex; gap: 4px; }
.foot__head { font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.foot__list { display: grid; gap: 10px; }
.foot__link { display: inline-flex; align-items: center; gap: 8px; color: var(--sx-muted); font-size: .9375rem; transition: color var(--sx-dur-fast); }
.foot__link:hover { color: var(--sx-fg); }
.foot__link .ico { width: 18px; height: 18px; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 18px; border-top: 1px solid var(--sx-line); font-size: .8125rem; color: var(--sx-muted); }
@media (min-width: 640px) { .foot__grid { grid-template-columns: 1.4fr 1fr 1fr; } .foot__news { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; } .foot__news { grid-column: auto; } }

/* ── 15. Mouvement ──────────────────────────────────────────────────────── */
.sx-reveal { opacity: 0; transition: opacity var(--sx-dur) var(--sx-ease), transform var(--sx-dur) var(--sx-ease); transition-delay: var(--sx-delay, 0ms); will-change: opacity, transform; }
[data-sx-reveal="fade-up"].sx-reveal { transform: translateY(18px); }
[data-sx-reveal="fade-left"].sx-reveal { transform: translateX(-18px); }
[data-sx-reveal="fade-right"].sx-reveal { transform: translateX(18px); }
[data-sx-reveal="scale"].sx-reveal { transform: scale(.96); }
.sx-reveal.sx-in { opacity: 1; transform: none; }
html[data-sx-motion="aucune"] .sx-reveal { opacity: 1; transform: none; transition: none; }
html[data-sx-motion="aucune"] .sx-marquee__track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .sx-reveal { opacity: 1; transform: none; }
}
@media (min-width: 1024px) { .hdr__nav, .hdr__icons { view-transition-name: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
