/* ═══ PALETTE ══════════════════════════════════════════════════════════════
   Une parfumerie multimarque : un blanc franc, un noir d'encre, un rose poudré
   pour les encarts, la prune pour la rubrique mise en avant, le rouge pour les
   remises. Une géométrique ronde partout, en gras pour les titres et les marques.
   Le motif : huit carnations, de la plus claire à la plus profonde — le filet
   nuancier, les godets des images d'attente, la pastille du nom.
   Mouvement : transform et opacity seulement, 150 à 300 ms, en ease-out.
   Couleurs et polices viennent des réglages (:root, dans le layout).
   ═════════════════════════════════════════════════════════════════════════ */

:root {
  --gut: 16px;
  --maxw: 1440px;
  --hdr-h: 112px;
  --ann-h: 0px;
  --r-sm: 4px;
  --r: 8px;
  --r-lg: 14px;
  --r-pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 150ms;
  --t: 220ms;
  --t-slow: 300ms;
  --shadow: 0 10px 30px rgba(17, 17, 17, .10);
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, .08);
  --veil: rgba(17, 17, 17, .38);
  --ok: #1D7A3A;
  --z-float: 50;
  --z-hdr: 60;
  --z-side: 70;
  --z-toast: 90;
  --z-lb: 95;
  --tone-1: #F6DCCB;
  --tone-2: #EDC3A6;
  --tone-3: #DFA57E;
  --tone-4: #C98A5E;
  --tone-5: #A96C43;
  --tone-6: #87512F;
  --tone-7: #633820;
  --tone-8: #3F2213;
  --c-card-img: var(--c-bg);
}
@media (min-width: 768px) { :root { --gut: 24px; } }
@media (min-width: 1440px) { :root { --gut: 32px; } }
html[data-arrondi="nets"] { --r-sm: 2px; --r: 3px; --r-lg: 4px; }
html[data-arrondi="ronds"] { --r-sm: 6px; --r: 14px; --r-lg: 22px; }
html[data-cadrage="remplir"] { --c-card-img: var(--c-surface); }

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; scroll-padding-top: calc(var(--hdr-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html:not([data-sx-motion="aucune"]) { scroll-behavior: smooth; } }
html[data-sx-drawer], html[data-lb] { overflow: hidden; }
body { margin: 0; min-height: 100svh; background: var(--c-bg); color: var(--c-fg); font: 400 15px/1.5 var(--f-text); letter-spacing: .01em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; }
input, select, textarea { margin: 0; color: inherit; font: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote, fieldset, legend { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
[hidden] { display: none !important; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--c-fg); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--c-powder); color: var(--c-fg); }
kbd { font: inherit; }

.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 100; padding: 12px 16px; border-radius: var(--r); background: var(--c-fg); color: var(--c-bg); font-weight: 600; transform: translateY(-160%); transition: transform var(--t) var(--ease); }
.skip:focus { transform: none; }
.sx-page { display: block; outline: none; }
.sx-page > .sx-section { margin-block: 40px; }
@media (min-width: 1024px) { .sx-page > .sx-section { margin-block: 56px; } }
.sx-page > .sx-section:first-child { margin-top: 0; }
.sx-page > .sx-section--main-product:first-child, .sx-page > .sx-section--main-collection:first-child,
.sx-page > .sx-section--main-cart:first-child, .sx-page > .sx-section--main-search:first-child,
.sx-page > .sx-section--main-page:first-child, .sx-page > .sx-section--main-collections:first-child { margin-top: 16px; }
.sx-page > .sx-section--main-page + .sx-section { margin-top: 24px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico--fill { fill: currentColor; stroke: none; }

/* Images : fondu à l'arrivée ; sans JavaScript, visibles d'emblée. */
.img { display: block; width: 100%; height: 100%; object-fit: cover; }
.js .img { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.js .img.is-in { opacity: 1; }
.ph { display: block; width: 100%; height: 100%; }

/* ── Typographie ──────────────────────────────────────────────────────── */
.h1 { font: 700 clamp(28px, 2.2vw + 18px, 42px)/1.08 var(--f-head); letter-spacing: -.015em; }
.h2 { font: 700 clamp(22px, 1.4vw + 16px, 32px)/1.12 var(--f-head); letter-spacing: -.01em; }
.eyebrow { display: inline-block; margin-bottom: 10px; font: 600 12px/1.2 var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--c-sig); }
.prose { font-size: 15px; line-height: 1.65; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: .9em; }
.prose ul { padding-left: 1.1em; list-style: disc; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.sec-sub { margin-top: 6px; color: var(--c-muted); font-size: 15px; }
.note { padding: 14px 16px; border-radius: var(--r); background: var(--c-surface); color: var(--c-muted); font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link .ico { width: 16px; height: 16px; }
@media (hover: hover) { .link:hover { text-decoration-thickness: 2px; } }

/* ── Boutons, pastilles, champs ───────────────────────────────────────── */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: var(--r); background: var(--c-accent); color: #fff; font: 600 15px/1.1 var(--f-head); letter-spacing: .01em; text-align: center; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease); }
.btn .ico { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover:not(:disabled) { background: color-mix(in srgb, var(--c-accent) 82%, #fff); }
}
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .45; }
.btn--line { background: transparent; color: var(--c-fg); box-shadow: inset 0 0 0 1.5px currentColor; }
@media (hover: hover) and (pointer: fine) {
  .btn--line:hover:not(:disabled) { background: var(--c-fg); color: var(--c-bg); }
}
.btn--light { background: #fff; color: #111; }
@media (hover: hover) and (pointer: fine) { .btn--light:hover:not(:disabled) { background: var(--c-powder); } }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { min-height: 54px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn.is-busy { pointer-events: none; opacity: .6; cursor: progress; }
.btn.is-done { background: var(--ok); color: #fff; box-shadow: none; }

.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-fg); font: 500 14px/1.1 var(--f-text); white-space: nowrap; }
.chip small { color: var(--c-muted); font-size: 12px; }
.chip .ico { width: 14px; height: 14px; }
.chip--powder { background: var(--c-powder); font-weight: 600; }
.chip.is-on, .chip[aria-pressed="true"] { background: var(--c-fg); color: var(--c-bg); }
.chip.is-on small { color: inherit; opacity: .7; }
@media (hover: hover) and (pointer: fine) { .chip:not(.is-on):not([aria-pressed="true"]):hover { box-shadow: inset 0 0 0 1.5px var(--c-fg); } }
.chip--x { background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); }

.field { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border-radius: var(--r-pill); background: var(--c-surface); }
.field input { flex: 1; min-width: 0; height: 46px; border: 0; background: none; outline: none; font-size: 16px; }
.field input::placeholder { color: var(--c-muted); }
.field:focus-within { box-shadow: inset 0 0 0 2px var(--c-fg); }
.field .ico { width: 20px; height: 20px; color: var(--c-muted); }
.field input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }

.input { display: block; width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-bg); font-size: 16px; }
.input:focus { border-color: var(--c-fg); box-shadow: 0 0 0 1px var(--c-fg); }
textarea.input { resize: vertical; min-height: 120px; }
.lbl { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.select { appearance: none; min-height: 44px; padding: 0 40px 0 14px; border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9.5 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 18px; font-size: 15px; cursor: pointer; }
.select:focus-visible { border-color: var(--c-fg); }
.select--sm { min-height: 38px; font-size: 14px; }

/* Choix : rond (radio) ou carré (case), qui se remplit. */
.opt { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span::before { content: ''; display: inline-block; width: 20px; height: 20px; margin-right: 12px; vertical-align: -5px; border: 1.5px solid var(--c-fg); border-radius: 50%; box-shadow: inset 0 0 0 4px var(--c-bg); }
.opt--check span::before { border-radius: var(--r-sm); box-shadow: inset 0 0 0 3px var(--c-bg); }
.opt input:checked + span::before { background: var(--c-fg); }
.opt input:focus-visible + span { outline: 2px solid var(--c-fg); outline-offset: 3px; }

/* Quantité */
.qty { display: inline-flex; align-items: center; height: 54px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--c-line); }
.qty__b { display: grid; place-items: center; width: 42px; height: 100%; }
.qty__b .ico { width: 18px; height: 18px; }
.qty__in { width: 40px; height: 100%; border: 0; background: none; text-align: center; font-weight: 600; font-size: 16px; -moz-appearance: textfield; appearance: textfield; }
.qty__in::-webkit-outer-spin-button, .qty__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ── Prix, mentions, étoiles, cœur ────────────────────────────────────── */
.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font: 700 15px/1.25 var(--f-head); font-variant-numeric: tabular-nums; }
.price__from { font-weight: 500; font-size: .86em; color: var(--c-muted); }
.price__was { font-weight: 400; font-size: .86em; color: var(--c-muted); }
.price--sale .price__now { color: var(--c-promo); }
.price--big { font-size: 26px; gap: 6px 12px; }
.price--big .price__was { font-size: 16px; }
.price__off { display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--c-promo) 12%, var(--c-bg)); color: var(--c-promo); font-size: 13px; font-weight: 700; align-self: center; }

.badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 7px; border-radius: var(--r-sm); background: var(--c-fg); color: var(--c-bg); font: 700 12px/1 var(--f-head); letter-spacing: .01em; white-space: nowrap; }
.badge--promo { background: var(--c-promo); color: #fff; }
.badge--out { background: var(--c-bg); color: var(--c-fg); box-shadow: inset 0 0 0 1px var(--c-line); }

.stars { display: inline-flex; align-items: center; gap: 6px; color: var(--c-fg); font-size: 13px; }
.stars__bar { position: relative; display: block; width: 90px; height: 17px; background: linear-gradient(90deg, currentColor var(--r, 0%), var(--c-line) var(--r, 0%)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='17' viewBox='0 0 24 24'%3E%3Cpath d='m12 3.8 2.5 5.3 5.7.7-4.2 3.9 1.1 5.6L12 16.6l-5.1 2.7 1.1-5.6-4.2-3.9 5.7-.7z'/%3E%3C/svg%3E") repeat-x left center / 18px 17px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='17' viewBox='0 0 24 24'%3E%3Cpath d='m12 3.8 2.5 5.3 5.7.7-4.2 3.9 1.1 5.6L12 16.6l-5.1 2.7 1.1-5.6-4.2-3.9 5.7-.7z'/%3E%3C/svg%3E") repeat-x left center / 18px 17px; }
.stars--sm .stars__bar { width: 70px; height: 14px; -webkit-mask-size: 14px 14px; mask-size: 14px 14px; }
.stars__n { color: var(--c-muted); font-size: 12px; font-weight: 500; }

.fav { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--c-fg); }
.fav .ico { width: 22px; height: 22px; transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease); }
.fav .ico--heart-full { position: absolute; color: var(--c-sig); opacity: 0; transform: scale(.6); }
.fav[aria-pressed="true"] .ico--heart { opacity: 0; }
.fav[aria-pressed="true"] .ico--heart-full { opacity: 1; transform: none; }
.fav.is-pop .ico--heart-full { animation: pl-pop var(--t-slow) var(--ease); }
@keyframes pl-pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (hover: hover) and (pointer: fine) { .fav:hover .ico--heart { transform: scale(1.1); } }

/* Le filet nuancier : huit carnations. */
.tones { display: flex; height: 3px; }
.tones i { flex: 1; }
.tones i:nth-child(1) { background: var(--tone-1); } .tones i:nth-child(2) { background: var(--tone-2); }
.tones i:nth-child(3) { background: var(--tone-3); } .tones i:nth-child(4) { background: var(--tone-4); }
.tones i:nth-child(5) { background: var(--tone-5); } .tones i:nth-child(6) { background: var(--tone-6); }
.tones i:nth-child(7) { background: var(--tone-7); } .tones i:nth-child(8) { background: var(--tone-8); }

/* ── Mouvement déclaratif (runtime) ───────────────────────────────────── */
.sx-reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); transition-delay: var(--sx-delay, 0ms); }
.sx-reveal.sx-in { opacity: 1; transform: none; }
.sx-marquee { overflow: hidden; }
.sx-marquee__track { display: flex; width: max-content; animation: pl-marquee var(--sx-marquee-duration, 40s) linear infinite; }
.sx-marquee:hover .sx-marquee__track, .sx-marquee:focus-within .sx-marquee__track { animation-play-state: paused; }
@keyframes pl-marquee { to { transform: translateX(-50%); } }

/* ═══ EN-TÊTE ════════════════════════════════════════════════════════════ */
/* Le groupe colle en haut ; le bandeau d'offres, au-dessus, s'efface en premier. */
.sx-group--header { position: sticky; top: calc(var(--ann-h) * -1); z-index: var(--z-hdr); background: var(--c-bg); }

/* Bandeau d'offres */
.ann { background: var(--ann-bg, var(--c-powder)); color: var(--ann-fg, var(--c-fg)); font-size: 13px; }
.ann strong { font-weight: 700; }
.ann__in { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; }
.ann__track { position: relative; display: grid; flex: 1; max-width: 860px; text-align: center; }
.ann__msg { grid-area: 1 / 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 9px 0; }
.js .ann--rotation .ann__msg { opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t); }
.js .ann--rotation .ann__msg.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
html:not(.js) .ann__msg:not(.is-on) { display: none; }
.ann__a { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; }
.ann__cta { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ann__cd { display: inline-flex; gap: 4px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ann__cd .cdown__expired { display: none; }
.ann__nav { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.ann__nav .ico { width: 18px; height: 18px; }
.ann__run { min-height: 38px; display: flex; align-items: center; }
.ann__list { display: flex; }
.ann--defilement .ann__msg { padding: 9px 28px; white-space: nowrap; }
.ann--defilement .ann__msg::after { content: '·'; margin-left: 28px; opacity: .5; }
.ann__run:not(.sx-marquee) { overflow-x: auto; scrollbar-width: none; }
.ann__run:not(.sx-marquee) .ann__list { margin-inline: auto; }

/* Barre principale */
.hdr { position: relative; background: var(--c-bg); }
.hdr__row { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "burger brand tools" "search search search"; align-items: center; column-gap: 8px; row-gap: 10px; padding-block: 10px 12px; }
.hdr__burger { grid-area: burger; }
.hdr__brand { grid-area: brand; display: flex; align-items: center; min-width: 0; font: inherit; }
.hdr__brand a { display: flex; align-items: center; min-width: 0; }
.hdr__name { display: inline-flex; align-items: center; gap: 10px; overflow: hidden; font: 700 20px/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; text-overflow: ellipsis; }
.hdr__name::before { content: ''; flex: none; width: 20px; height: 20px; border-radius: 50%; background: conic-gradient(from 200deg, var(--tone-1), var(--tone-2), var(--tone-3), var(--tone-4), var(--tone-5), var(--tone-6), var(--tone-7), var(--tone-8), var(--tone-1)); box-shadow: inset 0 0 0 3px var(--c-bg), 0 0 0 1px var(--c-line); }
.hdr__logo { display: block; max-height: 44px; object-fit: contain; object-position: left center; }
.hdr__search { grid-area: search; display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: var(--r-pill); background: var(--c-surface); color: var(--c-muted); font-size: 15px; }
.hdr__search .ico { width: 20px; height: 20px; color: var(--c-fg); }
.hdr__search-t { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hdr__kbd { display: none; min-width: 24px; height: 24px; padding: 0 6px; border-radius: var(--r-sm); background: var(--c-bg); box-shadow: inset 0 0 0 1px var(--c-line); color: var(--c-muted); font-size: 12px; line-height: 24px; text-align: center; }
@media (hover: hover) and (pointer: fine) { .hdr__search:hover { box-shadow: inset 0 0 0 1.5px var(--c-fg); } }
.hdr__tools { grid-area: tools; display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.hdr__tool { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 42px; height: 42px; padding: 0 6px; border-radius: var(--r); font-size: 15px; font-weight: 500; white-space: nowrap; }
.hdr__tool .ico { width: 24px; height: 24px; }
.hdr__tool--label > span:not(.hdr__count) { display: none; }
.hdr__tool--wide { display: none; }
.hdr__count { position: absolute; top: 3px; right: 0; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--c-fg); color: var(--c-bg); font: 700 11px/1 var(--f-head); }
.hdr__count[data-empty] { display: none; }
.hdr__bag.is-bump .ico { animation: pl-bump var(--t-slow) var(--ease); }
@keyframes pl-bump { 0% { transform: scale(1); } 45% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1); } }
@media (min-width: 1024px) {
  .hdr__row { grid-template-columns: auto minmax(280px, 1fr) auto; grid-template-areas: "brand search tools"; column-gap: 32px; padding-block: 14px; }
  .hdr__burger { display: none; }
  .hdr__name { font-size: 24px; }
  .hdr__search { max-width: 760px; min-height: 48px; }
  .hdr__kbd { display: inline-block; }
  .hdr__tool--wide { display: inline-flex; }
}
@media (min-width: 1280px) { .hdr__tool--label > span:not(.hdr__count) { display: inline; } }

/* Navigation (ordinateur) */
.nav { position: relative; display: none; border-top: 1px solid var(--c-line); }
@media (min-width: 1024px) { .nav { display: block; } }
.nav__list { display: flex; align-items: stretch; gap: 4px 26px; overflow-x: auto; scrollbar-width: none; }
.nav__list::-webkit-scrollbar { display: none; }
.nav__item { position: relative; display: flex; align-items: center; flex: none; }
.nav__link { position: relative; display: flex; align-items: center; height: 50px; font: 500 15px/1 var(--f-text); white-space: nowrap; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: currentColor; transform: scaleX(0); transform-origin: center; transition: transform var(--t) var(--ease); }
.nav__item.is-open .nav__link::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav__link:hover::after { transform: scaleX(1); } }
.nav__item.is-sig .nav__link { color: var(--c-sig); font-weight: 600; }
.nav__item.is-promo .nav__link { color: var(--c-promo); font-weight: 600; }
.nav__toggle { position: absolute; right: -20px; top: 50%; display: grid; place-items: center; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%; opacity: 0; pointer-events: none; }
.nav__toggle .ico { width: 14px; height: 14px; }
.nav__toggle:focus-visible { opacity: 1; pointer-events: auto; background: var(--c-surface); }

.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 2; max-height: calc(100svh - var(--hdr-h) - 24px); overflow-y: auto; overscroll-behavior: contain; border-top: 1px solid var(--c-line); background: var(--c-bg); box-shadow: 0 24px 40px -24px rgba(17, 17, 17, .25); opacity: 0; transform: translateY(-8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.mega.is-open { opacity: 1; transform: none; }
.mega__in { display: grid; grid-template-columns: 220px minmax(0, 1fr) auto; gap: 40px; padding-block: 32px 40px; }
.mega__hls { display: flex; flex-direction: column; gap: 4px; }
.mega__hl { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; font: 700 15px/1.25 var(--f-head); }
.mega__hl .ico { width: 18px; height: 18px; }
.mega__hl--all { color: var(--c-sig); }
.mega__groups { columns: 3 170px; column-gap: 32px; }
.mega__group { break-inside: avoid; padding-bottom: 26px; }
.mega__head { display: inline-block; margin-bottom: 8px; font: 700 15px/1.3 var(--f-head); }
.mega__link { display: inline-block; padding: 6px 0; font-size: 14.5px; color: color-mix(in srgb, var(--c-fg) 86%, var(--c-bg)); }
@media (hover: hover) and (pointer: fine) {
  .mega__hl:hover, .mega__head:hover, .mega__link:hover { text-decoration: underline; text-underline-offset: 3px; }
}
.mega__visuals { display: grid; grid-auto-flow: column; grid-auto-columns: 250px; gap: 16px; align-content: start; }
.mega__visuals .mvis:nth-child(n+3) { display: none; }
.mvis { display: flex; flex-direction: column; gap: 10px; }
.mvis__img { display: block; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--r); background: var(--c-surface); }
.mvis__img .img, .mvis__img .ph { transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
@media (hover: hover) and (pointer: fine) { .mvis:hover .mvis__img .img { transform: scale(1.04); } }
.mvis__k { color: var(--c-muted); font-size: 13px; }
.mvis__t { display: inline-flex; align-items: center; gap: 6px; font: 700 15px/1.25 var(--f-head); }
.mvis__t .ico { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
@media (hover: hover) and (pointer: fine) { .mvis:hover .mvis__t .ico { transform: translateX(3px); } }
.mega__veil { position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: -1; background: var(--veil); opacity: 0; transition: opacity var(--t) var(--ease); }
.mega__veil.is-on { opacity: 1; }

/* ═══ PANNEAUX (tiroirs) ═════════════════════════════════════════════════ */
.side { position: fixed; inset: 0; z-index: var(--z-side); visibility: hidden; pointer-events: none; transition: visibility 0s linear var(--t-slow); }
.side[data-sx-open="1"] { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.side__veil { position: absolute; inset: 0; background: var(--veil); opacity: 0; transition: opacity var(--t-slow) var(--ease); }
.side[data-sx-open="1"] .side__veil { opacity: 1; }
.side__panel { position: absolute; top: 0; bottom: 0; right: 0; display: flex; flex-direction: column; width: min(440px, 100%); background: var(--c-bg); box-shadow: var(--shadow); transform: translateX(100%); transition: transform var(--t-slow) var(--ease); }
.side--left .side__panel { right: auto; left: 0; transform: translateX(-100%); }
.side[data-sx-open="1"] .side__panel { transform: none; }
.side__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 0 12px 0 20px; border-bottom: 1px solid var(--c-line); }
.side__title { font: 700 19px/1.2 var(--f-head); }
.side__n { color: var(--c-muted); font-weight: 500; }
.side__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; flex: none; }
@media (hover: hover) and (pointer: fine) { .side__close:hover { background: var(--c-surface); } }
.side__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 20px; }
.side__foot { display: grid; gap: 10px; padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--c-line); background: var(--c-bg); }

/* Menu du téléphone */
.mnav .side__panel { width: min(420px, 92vw); }
.mnav__head { padding-left: 12px; }
.mnav__brand { flex: 1; padding-left: 8px; font: 700 18px/1 var(--f-head); }
.mnav__back { display: inline-flex; align-items: center; gap: 6px; flex: 1; min-height: 44px; font: 700 17px/1.2 var(--f-head); }
.mnav__views { position: relative; flex: 1; overflow: hidden; }
.mnav__view { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 0 32px; background: var(--c-bg); transform: translateX(100%); transition: transform var(--t-slow) var(--ease); }
.mnav__view[data-mnav-view="root"] { transform: translateX(-30%); }
.mnav__view.is-on { transform: none; }
.mnav__account { display: flex; align-items: center; gap: 12px; margin: 4px 16px 12px; padding: 14px 16px; border-radius: var(--r); background: var(--c-surface); font-weight: 600; }
.mnav__account span { flex: 1; }
.mnav__account .ico:last-child { width: 18px; height: 18px; }
.mnav__list > li { border-bottom: 1px solid var(--c-line); }
.mnav__link { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px; padding: 0 20px; font: 600 16px/1.25 var(--f-head); text-align: left; }
.mnav__link .ico { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.mnav__list .is-sig .mnav__link { color: var(--c-sig); }
.mnav__list .is-promo .mnav__link { color: var(--c-promo); }
.mnav__acc details[open] > summary .ico { transform: rotate(180deg); }
.mnav__leaves { padding: 0 20px 14px; }
.mnav__leaves li + li { margin-top: 2px; }
.mnav__leaf { display: block; padding: 8px 0; font-size: 15px; color: var(--c-muted); }
.mnav__leaf--all { color: var(--c-fg); font-weight: 600; }
.mnav__acc details[open] .mnav__leaves { animation: pl-in var(--t) var(--ease); }
@keyframes pl-in { from { opacity: 0; transform: translateY(-6px); } }
.mnav__all { display: flex; align-items: center; justify-content: space-between; margin: 4px 20px 8px; padding: 12px 0; font-weight: 700; color: var(--c-sig); }
.mnav__all .ico { width: 18px; height: 18px; }
.mnav__visuals { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 8px 20px 12px; scroll-snap-type: x mandatory; }
.mnav__visuals li { flex: 0 0 62%; scroll-snap-align: start; }
.mnav__vis { display: grid; gap: 8px; }
.mnav__vis-img { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r); background: var(--c-surface); }
.mnav__vis-t { font-weight: 600; font-size: 14px; }
.mnav__util { padding: 16px 20px; }
.mnav__ulink { display: block; padding: 10px 0; font-size: 15px; color: var(--c-muted); }

/* ═══ RECHERCHE PLEIN ÉCRAN ══════════════════════════════════════════════ */
.srch { position: fixed; inset: 0; z-index: 10; visibility: hidden; pointer-events: none; transition: visibility 0s linear var(--t-slow); }
.srch[data-sx-open="1"] { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.srch__veil { position: absolute; inset: 0; background: var(--veil); opacity: 0; transition: opacity var(--t) var(--ease); }
.srch[data-sx-open="1"] .srch__veil { opacity: 1; }
.srch__panel { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--c-bg); opacity: 0; transform: translateY(-16px); transition: opacity var(--t) var(--ease), transform var(--t-slow) var(--ease); }
.srch[data-sx-open="1"] .srch__panel { opacity: 1; transform: none; }
.srch__bar { display: flex; align-items: center; gap: 12px; min-height: 76px; padding-block: 12px; border-bottom: 1px solid var(--c-line); }
.srch__field { display: flex; align-items: center; gap: 12px; flex: 1; min-height: 52px; padding: 0 18px; border-radius: var(--r-pill); background: var(--c-surface); }
.srch__field:focus-within { box-shadow: inset 0 0 0 2px var(--c-fg); }
.srch__field .ico { width: 22px; height: 22px; }
.srch__input { flex: 1; min-width: 0; height: 50px; border: 0; background: none; outline: none; font: 500 18px/1 var(--f-text); }
.srch__input::placeholder { color: var(--c-muted); font-weight: 400; }
.srch__input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.srch__close { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; flex: none; }
.srch__close .ico { width: 26px; height: 26px; }
@media (hover: hover) and (pointer: fine) { .srch__close:hover { background: var(--c-surface); } }
.srch__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding-bottom: 40px; }
.srch__idle { display: grid; gap: 32px; padding-top: 28px; }
.srch__cols { display: grid; gap: 28px; }
.srch__h { margin-bottom: 14px; font: 700 18px/1.2 var(--f-head); }
.srch__bh { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.srch__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.srch__recent { display: inline-flex; align-items: center; border-radius: var(--r-pill); background: var(--c-surface); }
.srch__recent a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 4px 0 14px; font-size: 14px; }
.srch__recent a .ico { width: 16px; height: 16px; color: var(--c-muted); }
.srch__recent button { display: grid; place-items: center; width: 32px; height: 36px; color: var(--c-muted); }
.srch__recent button .ico { width: 14px; height: 14px; }
.srch__trends { display: grid; gap: 2px; counter-reset: none; }
.srch__trend { display: flex; align-items: center; gap: 14px; min-height: 42px; font-size: 15px; }
.srch__rank { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--c-powder); font: 700 12px/1 var(--f-head); }
@media (hover: hover) and (pointer: fine) { .srch__trend:hover { text-decoration: underline; text-underline-offset: 3px; } }
.srch__pushes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.srch__pushes .mvis__img { aspect-ratio: 16 / 11; }
.srch__res { display: none; gap: 32px; padding-top: 28px; }
.srch.has-q .srch__idle { display: none; }
.srch.has-q .srch__res { display: grid; }
.srch__n { color: var(--c-muted); font-weight: 500; }
.srch__hits { display: grid; gap: 6px; }
.search__hit { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r); animation: pl-in var(--t) var(--ease) both; }
.search__hit:nth-child(2) { animation-delay: 30ms; } .search__hit:nth-child(3) { animation-delay: 60ms; }
.search__hit:nth-child(4) { animation-delay: 90ms; } .search__hit:nth-child(5) { animation-delay: 120ms; } .search__hit:nth-child(6) { animation-delay: 150ms; }
.search__hit img, .search__hit > span:first-child { width: 64px; height: 64px; border-radius: var(--r-sm); background: var(--c-surface); object-fit: contain; }
.search__hit-title { display: grid; gap: 2px; font-size: 14.5px; line-height: 1.35; }
.search__hit-brand { font: 700 13px/1.2 var(--f-head); letter-spacing: .04em; text-transform: uppercase; }
.search__hit-title mark, .srch__s mark { background: none; color: inherit; font-weight: 700; }
.search__hit-price { font: 700 15px/1 var(--f-head); white-space: nowrap; }
.search__hit:focus-visible, .search__hit.is-active { outline: none; background: var(--c-surface); }
@media (hover: hover) and (pointer: fine) { .search__hit:hover { background: var(--c-surface); } }
.search__more { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 12px; padding: 0 24px; border-radius: var(--r); background: var(--c-accent); color: #fff; font: 600 15px/1 var(--f-head); justify-self: start; }
.search__none { padding: 16px; border-radius: var(--r); background: var(--c-surface); color: var(--c-muted); }
.srch__sugg { display: grid; gap: 2px; }
.srch__s { display: block; padding: 9px 0; color: var(--c-muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; }
.srch__s mark { color: var(--c-fg); }
@media (hover: hover) and (pointer: fine) { a.srch__s:hover { text-decoration-color: currentColor; } }
.srch__s--none { text-decoration: none; }
@media (min-width: 768px) {
  .srch__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .srch__hits { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
  .search__more, .search__none { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
  .srch__idle { grid-template-columns: minmax(0, 1fr) 520px; gap: 48px; }
  .srch__res { grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; }
}

/* ═══ PANIER (tiroir), LIGNES, JAUGE ═════════════════════════════════════ */
.free { padding: 14px 20px; border-bottom: 1px solid var(--c-line); background: var(--c-powder); }
.free__t { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; font-weight: 500; }
.free__t .ico { width: 20px; height: 20px; }
.free__bar { display: block; height: 6px; overflow: hidden; border-radius: 6px; background: color-mix(in srgb, var(--c-fg) 10%, var(--c-bg)); }
.free__bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--tone-2), var(--tone-5), var(--tone-8)); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
.free.is-done .free__bar i { background: var(--ok); }
.free--page { margin-bottom: 24px; border: 0; border-radius: var(--r); }

.cdr__body { padding: 0; }
.cdr__lines { padding: 8px 20px; }
.cdr.is-empty .cdr__foot { display: none; }
.cdr__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 16px; }
.cdr__row strong { font: 700 18px/1 var(--f-head); }
.cdr__ship { color: var(--c-muted); font-size: 13px; }
.cdr__note { display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--c-muted); font-size: 13px; text-align: center; }
.cdr__note .ico { width: 16px; height: 16px; }
.cdr__reco { padding: 20px; border-top: 8px solid var(--c-surface); }
.cdr__reco-h { margin-bottom: 12px; font: 700 16px/1.2 var(--f-head); }
.cdr__reco-list { display: grid; gap: 12px; }
.mini { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.mini__img { display: block; width: 64px; height: 64px; overflow: hidden; border-radius: var(--r-sm); background: var(--c-card-img); }
.mini__img .img { object-fit: contain; }
.mini__body { display: grid; gap: 2px; min-width: 0; }
.mini__brand { font: 700 12px/1.2 var(--f-head); letter-spacing: .04em; text-transform: uppercase; }
.mini__name { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.mini .price { font-size: 14px; }
.mini__add { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c-fg); }
.mini__add .ico { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) { .mini__add:hover { background: var(--c-fg); color: var(--c-bg); } }

.empty { display: grid; justify-items: center; gap: 8px; padding: 36px 8px; text-align: center; }
.empty__ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 50%; background: var(--c-powder); }
.empty__ico .ico { width: 28px; height: 28px; }
.empty__h { font: 700 18px/1.25 var(--f-head); }
.empty__t { max-width: 34ch; color: var(--c-muted); font-size: 14px; }
.empty__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.empty--page { padding-block: 56px; }

.cline { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "media body total" "media ctl ctl"; column-gap: 14px; row-gap: 10px; padding: 16px 0; border-bottom: 1px solid var(--c-line); animation: pl-in var(--t) var(--ease); }
.cline.is-busy { opacity: .5; pointer-events: none; }
.cline__media { grid-area: media; display: block; width: 84px; height: 84px; overflow: hidden; border-radius: var(--r); background: var(--c-card-img); }
.cline__media img { width: 100%; height: 100%; object-fit: contain; }
.cline__body { grid-area: body; display: grid; gap: 3px; min-width: 0; }
.cline__brand { font: 700 12px/1.2 var(--f-head); letter-spacing: .05em; text-transform: uppercase; }
.cline__title { font-size: 14.5px; line-height: 1.35; }
.cline__variant { color: var(--c-muted); font-size: 13px; }
.cline__price { color: var(--c-muted); font-size: 13px; }
.cline__total { grid-area: total; font: 700 15px/1.3 var(--f-head); white-space: nowrap; }
.cline__ctl { grid-area: ctl; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qty__ctl { display: inline-flex; align-items: center; height: 38px; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--c-line); }
.qty__btn { display: grid; place-items: center; width: 36px; height: 38px; }
.qty__btn .ico { width: 16px; height: 16px; }
.qty__val { min-width: 24px; text-align: center; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.cline__remove { color: var(--c-muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* Ajout rapide */
.qv__body { display: grid; align-content: start; gap: 14px; }
.qv__img { display: block; overflow: hidden; aspect-ratio: 1; border-radius: var(--r); background: var(--c-card-img); }
.qv__img img { width: 100%; height: 100%; object-fit: contain; }
.qv__brand { font: 700 13px/1.2 var(--f-head); letter-spacing: .05em; text-transform: uppercase; }
.qv__name { font: 600 18px/1.3 var(--f-head); }
.qv__full { justify-self: center; font-size: 14px; }
.qv__msg { padding: 24px 0; color: var(--c-muted); text-align: center; }

/* Favoris */
.favs__list { display: grid; gap: 4px; }
.fitem { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--c-line); animation: pl-in var(--t) var(--ease); }
.fitem__img { display: block; width: 76px; height: 76px; overflow: hidden; border-radius: var(--r); background: var(--c-card-img); }
.fitem__img img { width: 100%; height: 100%; object-fit: contain; }
.fitem__body { display: grid; gap: 3px; min-width: 0; }
.fitem__brand { font: 700 12px/1.2 var(--f-head); letter-spacing: .05em; text-transform: uppercase; }
.fitem__t { font-size: 14.5px; line-height: 1.35; }
.fitem__p { font-weight: 700; font-size: 14px; }
.fitem__rm { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--c-muted); }
@media (hover: hover) and (pointer: fine) { .fitem__rm:hover { background: var(--c-surface); color: var(--c-fg); } }

/* ═══ CARROUSELS ═════════════════════════════════════════════════════════ */
.rail { position: relative; }
.rail__track { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: 2px; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: none; scroll-snap-align: start; }
.rail__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.rail__track.is-dragging a, .rail__track.is-dragging img { pointer-events: none; }
.rail__btn { position: absolute; top: var(--rail-btn-top, 40%); z-index: 3; display: none; place-items: center; width: 44px; height: 44px; margin-top: -22px; border-radius: var(--r); background: var(--c-fg); color: var(--c-bg); box-shadow: var(--shadow-sm); transition: opacity var(--t) var(--ease), transform var(--t-fast) var(--ease); }
.rail__btn--prev { left: -12px; }
.rail__btn--next { right: -12px; }
.rail__btn:disabled { opacity: 0; pointer-events: none; }
.rail__btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .rail__btn { display: grid; } }
.rail__bar { position: relative; height: 4px; margin-top: 18px; overflow: hidden; border-radius: 4px; background: var(--c-surface); }
.rail__bar i { position: absolute; top: 0; left: 0; bottom: 0; width: calc(var(--w, .25) * 100%); border-radius: 4px; background: var(--c-fg); transform: translateX(calc(var(--x, 0) * 100%)); }
.rail__bar.is-full { visibility: hidden; }

/* ═══ CARTES PRODUIT ═════════════════════════════════════════════════════ */
.card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 10px; border: 1px solid var(--c-line); border-radius: var(--r); background: var(--c-bg); }
@media (min-width: 768px) { .card { padding: 14px; } }
.card__media { position: relative; overflow: hidden; aspect-ratio: 1; border-radius: calc(var(--r) - 2px); background: var(--c-card-img); }
.card__img { display: block; width: 100%; height: 100%; }
.card__img .img, .card__img .ph { position: absolute; inset: 0; }
html[data-cadrage="contenir"] .card__img .img { object-fit: contain; padding: 6%; }
.card__im1 { transition: opacity var(--t) var(--ease), transform var(--t-slow) var(--ease); }
.card__im2 { opacity: 0 !important; transition: opacity var(--t) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .card:hover .card__img.has-2 .card__im2 { opacity: 1 !important; }
  .card:hover .card__img.has-2 .card__im1 { opacity: 0 !important; }
  .card:hover .card__img:not(.has-2) .card__im1 { transform: scale(1.04); }
}
.card__badges { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.card__fav { position: absolute; top: 2px; right: 2px; z-index: 3; }
.card__body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding-top: 12px; }
.card__brand { font: 700 13px/1.25 var(--f-head); letter-spacing: .04em; text-transform: uppercase; }
.card__name { font: 400 14px/1.4 var(--f-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__link::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--c-fg); outline-offset: 2px; }
.card__price { margin-top: 2px; }
.card__stars { margin-top: 2px; }
.card__foot { position: relative; z-index: 2; margin-top: 12px; }
.card__add { gap: 8px; }
.card__add .ico { width: 18px; height: 18px; }
.card.is-out .card__img { opacity: .55; }
@media (max-width: 767px) {
  .card__add span { font-size: 13px; }
  .card__add { min-height: 36px; padding: 0 10px; }
}
.card--mini .card__foot { display: none; }

/* ═══ GRILLE ═════════════════════════════════════════════════════════════ */
.grid { --cm: 2; --ct: 3; --cd: 4; display: grid; grid-template-columns: repeat(var(--cm), minmax(0, 1fr)); gap: 12px 8px; }
.grid[data-cols="2"] { --ct: 2; --cd: 2; }
.grid[data-cols="3"] { --cd: 3; }
/* Le choix du visiteur, par taille d'écran (theme.js). */
.grid[data-cols-m="1"] { --cm: 1; } .grid[data-cols-m="2"] { --cm: 2; }
.grid[data-cols-t="2"] { --ct: 2; } .grid[data-cols-t="3"] { --ct: 3; }
.grid[data-cols-d="2"] { --cd: 2; } .grid[data-cols-d="3"] { --cd: 3; } .grid[data-cols-d="4"] { --cd: 4; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(var(--ct), minmax(0, 1fr)); gap: 24px 16px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(var(--cd), minmax(0, 1fr)); } }
.grid__cell { min-width: 0; }
.grid__cell.is-new { animation: pl-in var(--t-slow) var(--ease) both; animation-delay: var(--delay, 0ms); }
.grid__cell--ins.grid__cell--double { grid-column: 1 / -1; }
@media (min-width: 768px) { .grid__cell--ins.grid__cell--double { grid-column: span 2; } }
.ins { position: relative; display: grid; height: 100%; min-height: 280px; overflow: hidden; border-radius: var(--r); background: var(--c-powder); }
.ins__img { position: absolute; inset: 0; }
.ins__img .img, .ins__img .ph { transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
@media (hover: hover) and (pointer: fine) { .ins:hover .ins__img .img { transform: scale(1.03); } }
.ins__body { position: relative; align-self: end; display: grid; gap: 6px; margin: 12px; padding: 18px; border-radius: var(--r); background: var(--c-bg); }
.ins__t { font: 700 20px/1.2 var(--f-head); }
.ins__x { color: var(--c-muted); font-size: 14px; }
.ins__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; }
.ins__cta .ico { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
@media (hover: hover) and (pointer: fine) { .ins:hover .ins__cta .ico { transform: translateX(3px); } }
.ins--prune .ins__body { background: var(--c-sig); color: #fff; }
.ins--prune .ins__x, .ins--noir .ins__x { color: rgba(255, 255, 255, .8); }
.ins--prune .eyebrow, .ins--noir .eyebrow { color: #fff; }
.ins--noir .ins__body { background: #111; color: #fff; }

/* ═══ SECTIONS DE CONTENU ════════════════════════════════════════════════ */
/* Diaporama */
.hero { position: relative; }
.hero__stage { display: grid; }
.hero__slide { grid-area: 1 / 1; position: relative; display: grid; opacity: 0; visibility: hidden; transition: opacity var(--t-slow) var(--ease), visibility 0s linear var(--t-slow); }
.hero__slide.is-on { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.hero__media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--c-powder); }
.hero__media .img, .hero__media .ph { position: absolute; inset: 0; transform: scale(1.04); transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
.hero__slide.is-on .hero__media .img, .hero__slide.is-on .hero__media .ph { transform: none; }
.hero__card { position: relative; z-index: 1; display: grid; justify-items: start; gap: 12px; margin: -56px var(--gut) 0; padding: 24px; border-radius: var(--r-lg); background: var(--c-bg); box-shadow: var(--shadow); }
.hero__card--poudre { background: var(--c-powder); }
.hero__card--noire { background: #111; color: #fff; }
.hero__card--noire .eyebrow { color: var(--c-powder); }
.hero__card .eyebrow { margin-bottom: 0; }
.hero__title { font: 700 clamp(26px, 2.4vw + 14px, 44px)/1.06 var(--f-head); letter-spacing: -.02em; }
.hero__text { max-width: 44ch; color: inherit; opacity: .82; font-size: 15px; }
.hero__ctl { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 14px; }
.hero__btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; }
.hero__btn .ico { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) { .hero__btn:hover { background: var(--c-surface); } }
.hero__play .ico + .ico { display: none; }
.hero__play[aria-pressed="true"] .ico { display: none; }
.hero__play[aria-pressed="true"] .ico + .ico { display: block; }
.hero__dots { display: flex; align-items: center; gap: 2px; }
.hero__dot { display: grid; place-items: center; width: 24px; height: 32px; }
.hero__dot i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--c-line); transition: transform var(--t) var(--ease); }
.hero__dot[aria-current="true"] i { background: var(--c-fg); transform: scale(1.35); }
@media (min-width: 768px) { .hero__media { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) {
  .hero__media { aspect-ratio: auto; height: clamp(440px, 58vh, 620px); }
  .hero--moyenne .hero__media { height: clamp(360px, 44vh, 480px); }
  .hero__card { position: absolute; top: 50%; right: max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut))); width: min(460px, 38%); margin: 0; padding: 36px; transform: translateY(-50%); }
  .hero__slide--gauche .hero__card { right: auto; left: max(var(--gut), calc((100vw - var(--maxw)) / 2 + var(--gut))); }
  .hero__ctl { position: absolute; left: 0; right: 0; bottom: 16px; padding: 0; }
  .hero__ctl > * { background: rgba(255, 255, 255, .9); }
  .hero__dots { padding: 0 8px; border-radius: var(--r-pill); }
}

/* Pastilles d'univers */
.bubbles__h { margin-bottom: 18px; }
.bubbles__track { gap: 16px; padding: 4px 2px 8px; }
.bubbles__item { width: 92px; }
.bubbles--grandes .bubbles__item { width: 124px; }
.bubble { display: grid; justify-items: center; gap: 10px; text-align: center; }
.bubble__img { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: var(--c-powder); box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 3px var(--c-line); }
.bubble__img .img, .bubble__img .ph { transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .bubble:hover .bubble__img { box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-sig); }
  .bubble:hover .bubble__img .img { transform: scale(1.06); }
}
.bubble__t { font: 600 14px/1.25 var(--f-head); }
.bubbles .rail { --rail-btn-top: 46px; }
.bubbles--grandes .rail { --rail-btn-top: 62px; }
@media (min-width: 1024px) { .bubbles__track { justify-content: safe center; } .bubbles__item { width: 112px; } .bubbles--grandes .bubbles__item { width: 150px; } .bubbles .rail { --rail-btn-top: 56px; } .bubbles--grandes .rail { --rail-btn-top: 75px; } }

/* Cartes éditoriales */
.promos__grid { display: grid; gap: 16px; }
.promo { display: grid; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-lg); background: var(--c-bg); }
.promo__img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-powder); }
.promo__img .img, .promo__img .ph { position: absolute; inset: 0; transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
@media (hover: hover) and (pointer: fine) { .promo:hover .promo__img .img { transform: scale(1.03); } }
.promo__tag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; border-radius: var(--r-pill); background: var(--c-bg); font: 700 12px/1 var(--f-head); letter-spacing: .04em; text-transform: uppercase; }
.promo__body { display: grid; align-content: center; gap: 10px; padding: 20px; }
.promo__t { font: 700 20px/1.2 var(--f-head); }
.promo__x { color: var(--c-muted); font-size: 15px; }
.promo__body .btn { margin-top: 6px; }
@media (min-width: 768px) { .promos__grid[data-n="2"], .promos__grid[data-n="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .promos__grid[data-n="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promos__grid[data-n="1"] .promo, .promos__grid[data-n="2"] .promo { grid-template-columns: 45% 1fr; }
  .promos__grid[data-n="1"] .promo__img, .promos__grid[data-n="2"] .promo__img { aspect-ratio: auto; min-height: 240px; }
  .promo__body { padding: 24px 28px; }
}

/* Rangée de produits */
.shelf__item { width: 46%; }
@media (min-width: 768px) { .shelf__item { width: 31%; } .shelf__track { gap: 16px; } }
@media (min-width: 1024px) { .shelf__item { width: calc((100% - 4 * 16px) / 4.6); } }
@media (min-width: 1280px) { .shelf__item { width: calc((100% - 5 * 16px) / 5.4); } }
.shelf .rail { --rail-btn-top: 32%; }

/* Offre à durée limitée */
.offer__in { display: grid; overflow: hidden; border-radius: var(--r-lg); background: var(--c-powder); }
.offer--prune .offer__in { background: var(--c-sig); color: #fff; }
.offer--noir .offer__in { background: #111; color: #fff; }
.offer--prune .eyebrow, .offer--noir .eyebrow { color: var(--c-powder); }
.offer__img { position: relative; min-height: 220px; background: var(--c-surface); }
.offer__img .img, .offer__img .ph { position: absolute; inset: 0; }
.offer__body { display: grid; align-content: center; justify-items: start; gap: 12px; padding: 28px 22px; }
.offer__t { font: 700 clamp(26px, 2vw + 16px, 40px)/1.08 var(--f-head); letter-spacing: -.015em; }
.offer__x { max-width: 46ch; opacity: .86; }
.offer__cd { display: grid; gap: 8px; margin-top: 4px; }
.offer__cdl { font-size: 13px; font-weight: 600; opacity: .8; }
.cd { display: flex; gap: 8px; }
.cd__c { display: grid; justify-items: center; gap: 4px; min-width: 62px; padding: 10px 6px 8px; border-radius: var(--r); background: var(--c-bg); color: var(--c-fg); }
.cd__c b { font: 700 26px/1 var(--f-head); font-variant-numeric: tabular-nums; }
.cd__c small { color: var(--c-muted); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.cdown__expired { font-weight: 700; }
.offer__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.offer__code { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 1.5px dashed currentColor; border-radius: var(--r); font-size: 15px; }
.offer__code-l { opacity: .75; }
.offer__code b { font: 700 16px/1 var(--f-head); letter-spacing: .08em; }
.offer__code .ico { width: 18px; height: 18px; }
.offer__code.is-copied { border-style: solid; }
@media (min-width: 1024px) {
  .offer__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .offer__img { min-height: 420px; }
  .offer__body { padding: 48px 56px; }
}

/* Marques */
.brands__tools { display: grid; gap: 14px; margin-bottom: 20px; }
.brands__q { max-width: 420px; }
.brands__az { display: flex; flex-wrap: wrap; gap: 4px; }
.az { display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 8px; border-radius: var(--r); font: 600 14px/1 var(--f-head); }
.az[aria-pressed="true"] { background: var(--c-fg); color: var(--c-bg); }
.az:disabled { color: var(--c-line); cursor: default; }
@media (hover: hover) and (pointer: fine) { .az:not(:disabled):not([aria-pressed="true"]):hover { background: var(--c-surface); } }
.brands__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brands--rangee .brands__list { display: flex; gap: 12px; }
.brands--rangee .brand { width: 180px; }
.brand__a { display: grid; place-items: center; align-content: center; gap: 6px; height: 100%; min-height: 96px; padding: 16px; border: 1px solid var(--c-line); border-radius: var(--r); text-align: center; transition: transform var(--t) var(--ease); }
@media (hover: hover) and (pointer: fine) { .brand__a:hover { box-shadow: inset 0 0 0 1px var(--c-fg); transform: translateY(-2px); } }
.brand__logo { display: block; width: 100%; max-width: 140px; height: 48px; }
.brand__logo .img { object-fit: contain; }
.brand__word { font: 700 15px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; }
.brand__k { color: var(--c-muted); font-size: 12.5px; }
.brands .rail { --rail-btn-top: 50%; }
.brands__none { margin-top: 12px; }

/* Routine */
.routine__steps { gap: 16px; counter-reset: step; }
.step { position: relative; display: grid; align-content: start; gap: 8px; width: 74%; }
@media (min-width: 768px) { .step { width: calc((100% - 32px) / 2.6); } }
@media (min-width: 1024px) { .step { width: calc((100% - 48px) / 4); } }
.step__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 8px; border-radius: var(--r-lg); background: var(--c-surface); }
.step__img .img, .step__img .ph { position: absolute; inset: 0; }
.step__n { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--c-bg); font: 700 16px/1 var(--f-head); box-shadow: var(--shadow-sm); }
.step__t { font: 700 18px/1.25 var(--f-head); }
.step__x { color: var(--c-muted); font-size: 14.5px; }
.step__a { margin-top: 4px; font-size: 14px; }
.step__a .ico { transition: transform var(--t) var(--ease); }
@media (hover: hover) and (pointer: fine) { .step__a:hover .ico { transform: translateX(3px); } }
.routine .rail { --rail-btn-top: 36%; }

/* Image et texte */
.itx { display: grid; overflow: hidden; border-radius: var(--r-lg); padding-inline: 0; }
.wrap.itx { padding-inline: 0; max-width: calc(var(--maxw) - 2 * var(--gut)); width: calc(100% - 2 * var(--gut)); }
.itx--poudre { background: var(--c-powder); }
.itx--surface { background: var(--c-surface); }
.itx--blanc { border: 1px solid var(--c-line); }
.itx__img { position: relative; min-height: 260px; background: var(--c-surface); }
.itx__img .img, .itx__img .ph { position: absolute; inset: 0; }
.itx__body { display: grid; align-content: center; justify-items: start; gap: 14px; padding: 28px 22px; }
.itx__x { max-width: 52ch; }
@media (min-width: 1024px) {
  .itx { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .itx--droite .itx__img { order: 2; }
  .itx__img { min-height: 440px; }
  .itx__body { padding: 56px 64px; }
}

/* Services et avantages */
.perks__h { margin-bottom: 18px; }
.perks__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.perk__a { display: flex; align-items: flex-start; gap: 12px; height: 100%; padding: 14px; border-radius: var(--r); }
a.perk__a { transition: transform var(--t) var(--ease); }
.perk__ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--c-powder); }
.perk__ico .ico { width: 22px; height: 22px; }
.perk__txt { display: grid; gap: 2px; }
.perk__t { font: 700 14.5px/1.3 var(--f-head); }
.perk__x { color: var(--c-muted); font-size: 13.5px; line-height: 1.4; }
.perks--cartes .perk__a { background: var(--c-surface); }
.perks--ligne .perks__list { border-block: 1px solid var(--c-line); padding-block: 8px; }
@media (hover: hover) and (pointer: fine) { a.perk__a:hover { transform: translateY(-2px); } a.perk__a:hover .perk__t { text-decoration: underline; text-underline-offset: 3px; } }
@media (min-width: 1024px) {
  .perks__list[data-n="3"], .perks__list[data-n="5"], .perks__list[data-n="6"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks__list[data-n="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .perks__list[data-n="1"] { grid-template-columns: 1fr; }
  .perks--ligne .perk + .perk .perk__a { border-left: 1px solid var(--c-line); border-radius: 0; }
  .perks--ligne .perks__list { gap: 0; }
  .perks--ligne .perk__a { padding: 16px 24px; }
}

/* Vus récemment */
.recent__track .rail__item { width: 40%; }
@media (min-width: 768px) { .recent__track .rail__item { width: 24%; } }
@media (min-width: 1024px) { .recent__track .rail__item { width: calc((100% - 5 * 12px) / 6.3); } }
.recent .rail { --rail-btn-top: 32%; }

/* Avis */
.revs__head { display: grid; gap: 20px; margin-bottom: 24px; }
.revs__intro { display: grid; gap: 14px; }
.revs__sum { display: flex; align-items: center; gap: 16px; }
.revs__avg { font: 700 48px/1 var(--f-head); letter-spacing: -.02em; }
.revs__avg span { color: var(--c-muted); font-size: 20px; font-weight: 500; }
.revs__n { margin-top: 4px; color: var(--c-muted); font-size: 14px; }
.revs__dist { display: grid; gap: 8px; max-width: 520px; }
.revs__dist li { display: grid; grid-template-columns: 44px minmax(0, 1fr) 28px; align-items: center; gap: 10px; font-size: 14px; }
.revs__dn { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }
.revs__dn .ico, .revs__filters .ico { width: 14px; height: 14px; }
.revs__db { height: 8px; overflow: hidden; border-radius: 8px; background: var(--c-surface); }
.revs__db i { display: block; height: 100%; border-radius: 8px; background: var(--c-fg); transform: scaleX(var(--p, 0)); transform-origin: left; }
.revs__dc { color: var(--c-muted); text-align: right; font-variant-numeric: tabular-nums; }
.revs__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.revs__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.revs__sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.revs__list { display: grid; gap: 12px; }
.rev { display: grid; align-content: start; gap: 8px; padding: 20px; border: 1px solid var(--c-line); border-radius: var(--r); animation: pl-in var(--t) var(--ease); }
.rev__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rev__date { color: var(--c-muted); font-size: 13px; }
.rev__t { font: 700 16px/1.3 var(--f-head); }
.rev__b { font-size: 14.5px; line-height: 1.6; white-space: pre-line; }
.rev__b.is-clamped { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.rev__more { justify-self: start; font-size: 14px; }
.rev__by { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-size: 14px; font-weight: 600; }
.rev__av { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--c-powder); font: 700 12px/1 var(--f-head); }
.rev__p { color: var(--c-muted); font-weight: 400; }
.revs__more { display: flex; justify-content: center; margin-top: 20px; }
@media (min-width: 1024px) {
  .revs__head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .revs__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Diagnostic beauté */
.quiz { display: grid; gap: 20px; }
.quiz__intro { display: grid; overflow: hidden; border-radius: var(--r-lg); background: var(--c-powder); }
.quiz__intro-img { position: relative; min-height: 220px; }
.quiz__intro-img .img, .quiz__intro-img .ph { position: absolute; inset: 0; }
.quiz__intro-body { display: grid; align-content: center; justify-items: start; gap: 14px; padding: 28px 22px; }
.quiz__lead { max-width: 50ch; font-size: 16px; }
.quiz__meta { display: inline-flex; align-items: center; gap: 8px; color: var(--c-muted); font-size: 14px; font-weight: 600; }
.quiz__meta .ico { width: 18px; height: 18px; }
.quiz__last { font-size: 14px; }
.quiz__form { display: grid; gap: 28px; }
.quiz__top { display: none; }
.quiz__step { display: grid; gap: 14px; }
.quiz__q { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 4px; font: 700 clamp(20px, 1.2vw + 14px, 28px)/1.2 var(--f-head); }
.quiz__qn { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c-fg); color: var(--c-bg); font-size: 15px; }
.quiz__help { color: var(--c-muted); }
.quiz__answers { display: grid; gap: 10px; }
.quiz__a { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 18px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--c-line); cursor: pointer; font-size: 16px; font-weight: 500; transition: transform var(--t-fast) var(--ease); }
.quiz__a input { position: absolute; opacity: 0; pointer-events: none; }
.quiz__a-ico { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--c-line); }
.quiz__a-ico .ico { width: 16px; height: 16px; opacity: 0; transform: scale(.5); transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease); }
.quiz__a:has(input:checked) { box-shadow: inset 0 0 0 2px var(--c-fg); background: var(--c-powder); }
.quiz__a:has(input:checked) .quiz__a-ico { background: var(--c-fg); color: var(--c-bg); box-shadow: none; }
.quiz__a:has(input:checked) .quiz__a-ico .ico { opacity: 1; transform: none; }
.quiz__a:has(input:focus-visible) { outline: 2px solid var(--c-fg); outline-offset: 2px; }
.quiz__a:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) { .quiz__a:hover { box-shadow: inset 0 0 0 1.5px var(--c-fg); } }
.quiz__results { display: grid; gap: 20px; outline: none; }
.quiz__result { display: grid; overflow: hidden; border-radius: var(--r-lg); background: var(--c-surface); }
.quiz__r-img { position: relative; min-height: 200px; }
.quiz__r-img .img, .quiz__r-img .ph { position: absolute; inset: 0; }
.quiz__r-body { display: grid; align-content: center; justify-items: start; gap: 12px; padding: 24px 22px; }
.quiz__fallback { padding: 20px; border-radius: var(--r); background: var(--c-powder); font-weight: 500; }
.quiz__restart { justify-self: start; }
/* Le parcours pas à pas, quand le script a pris la main. */
.quiz.is-ready .quiz__form { display: none; }
.quiz.is-ready.is-playing .quiz__intro { display: none; }
.quiz.is-ready.is-playing .quiz__form { display: grid; max-width: 760px; width: 100%; margin-inline: auto; }
.quiz.is-ready .quiz__top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 8px 16px; }
.quiz__back { font-size: 14px; }
.quiz__count { justify-self: end; color: var(--c-muted); font-size: 14px; font-weight: 600; }
.quiz__bar { grid-column: 1 / -1; height: 6px; overflow: hidden; border-radius: 6px; background: var(--c-surface); }
.quiz__bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--tone-2), var(--tone-6)); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
.quiz.is-ready .quiz__step { display: none; }
.quiz.is-ready .quiz__step.is-on { display: grid; animation: pl-step var(--t-slow) var(--ease); }
.quiz.is-ready .quiz__step.is-on.is-back { animation-name: pl-step-back; }
@keyframes pl-step { from { opacity: 0; transform: translateX(24px); } }
@keyframes pl-step-back { from { opacity: 0; transform: translateX(-24px); } }
.quiz.is-ready .quiz__results { display: none; }
.quiz.is-ready.is-done .quiz__results { display: grid; animation: pl-in var(--t-slow) var(--ease); }
.quiz.is-ready.is-done .quiz__top { display: none; }
.quiz.is-ready .quiz__result { display: none; }
.quiz.is-ready .quiz__result.is-on { display: grid; }
@media (min-width: 1024px) {
  .quiz__intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .quiz__intro-img { min-height: 460px; }
  .quiz__intro-body { padding: 56px 64px; }
  .quiz__answers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz__result { grid-template-columns: 42% 1fr; }
  .quiz__r-body { padding: 36px 40px; }
}

/* Boutiques */
.stores__tools { display: grid; gap: 12px; margin-bottom: 20px; }
.stores__tools .field { max-width: 420px; }
.stores__cities { display: flex; flex-wrap: wrap; gap: 8px; }
.stores__list { display: grid; gap: 16px; }
.store { display: grid; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-lg); animation: pl-in var(--t) var(--ease); }
.store__img { position: relative; aspect-ratio: 16 / 9; background: var(--c-surface); }
.store__img .img, .store__img .ph { position: absolute; inset: 0; }
.store__body { display: grid; align-content: start; gap: 10px; padding: 18px; }
.store__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.store__name { font: 700 18px/1.25 var(--f-head); }
.store__state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--c-muted); }
.store__state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.store__state.is-open { color: var(--ok); }
.store__addr, .store__hours { display: flex; gap: 8px; font-size: 14.5px; }
.store__addr .ico, .store__hours .ico { width: 18px; height: 18px; margin-top: 2px; color: var(--c-muted); }
.store__hours { color: var(--c-muted); }
.store__svc { display: flex; flex-wrap: wrap; gap: 6px; }
.store__svc li { padding: 4px 10px; border-radius: var(--r-pill); background: var(--c-powder); font-size: 12.5px; font-weight: 600; }
.store__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 4px; }
.store__actions .btn .ico { width: 16px; height: 16px; }
.store__pick { font-size: 14px; }
.store__pick[aria-pressed="true"] { color: var(--c-sig); font-weight: 700; text-decoration: none; }
.store__pick[aria-pressed="true"]::before { content: '✓ '; }
@media (min-width: 768px) { .stores__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .stores__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stores__tools { grid-template-columns: 420px 1fr; align-items: center; } }

/* Questions fréquentes, accordéons */
.faq { display: grid; gap: 24px; max-width: 920px; }
.faq__head { display: grid; gap: 12px; }
.faq__q { max-width: 520px; margin-top: 6px; }
.faq__found { color: var(--c-muted); font-size: 14px; }
.faq__gh { margin-bottom: 8px; font: 700 13px/1.2 var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--c-sig); }
.acc { border-bottom: 1px solid var(--c-line); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 0; font: 600 16px/1.35 var(--f-head); }
.acc__ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--c-surface); }
.acc__ico .ico { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.acc[open] .acc__ico .ico { transform: rotate(45deg); }
.acc__a { padding: 0 48px 18px 0; color: color-mix(in srgb, var(--c-fg) 82%, var(--c-bg)); }
.acc[open] .acc__a { animation: pl-in var(--t) var(--ease); }
.acc.is-miss, .faq__group.is-empty { display: none; }

/* Texte, lettre, contact, en-tête de page */
.rtx { display: grid; justify-items: start; gap: 14px; }
.rtx--etroite { max-width: 820px; }
.rtx--centre { justify-items: center; text-align: center; }
.news__in { display: grid; gap: 20px; padding: 28px 22px; border-radius: var(--r-lg); background: var(--c-powder); }
.news--prune .news__in { background: var(--c-sig); color: #fff; }
.news--surface .news__in { background: var(--c-surface); }
.news__txt { display: grid; gap: 8px; }
.news__form { display: grid; gap: 10px; }
.news__field { background: var(--c-bg); color: var(--c-fg); }
.news__ok, .foot__ok, .contact__ok { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.news__ok .ico, .foot__ok .ico, .contact__ok .ico { width: 18px; height: 18px; color: var(--ok); }
.news--prune .news__ok .ico { color: #fff; }
.news__legal { font-size: 12.5px; opacity: .75; }
@media (min-width: 768px) { .news__form { grid-template-columns: minmax(0, 1fr) auto; } .news__ok, .news__legal { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .news__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 48px; padding: 44px 56px; } }
.contact__grid { display: grid; gap: 32px; }
.contact__side { display: grid; align-content: start; gap: 14px; }
.contact__ways { display: grid; gap: 10px; margin-top: 8px; }
.contact__way { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--c-surface); font-size: 14.5px; }
.contact__way span { display: grid; gap: 2px; }
.contact__way b { font-weight: 700; }
.contact__form { display: grid; gap: 16px; }
.contact__two { display: grid; gap: 16px; }
@media (min-width: 768px) { .contact__two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 380px minmax(0, 1fr); gap: 64px; } }
.pagehead { display: grid; gap: 12px; }
.pagehead__intro { max-width: 64ch; color: var(--c-muted); font-size: 16px; }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; row-gap: 4px; }
.crumbs li { display: inline-flex; align-items: center; color: var(--c-muted); font-size: 13px; }
.crumbs li + li::before { content: '/'; margin: 0 8px; color: var(--c-line); }
.crumbs li[aria-current] { color: var(--c-fg); font-weight: 600; }
@media (hover: hover) { .crumbs a:hover { color: var(--c-fg); text-decoration: underline; text-underline-offset: 3px; } }

/* 404 et collections */
.nf { display: grid; justify-items: center; gap: 16px; padding-block: 48px; text-align: center; }
.nf__art { display: flex; gap: 6px; margin-bottom: 8px; }
.nf__art i { width: 34px; height: 34px; border-radius: 50%; animation: pl-in var(--t-slow) var(--ease) both; }
.nf__art i:nth-child(1) { background: var(--tone-1); } .nf__art i:nth-child(2) { background: var(--tone-3); animation-delay: 40ms; }
.nf__art i:nth-child(3) { background: var(--tone-5); animation-delay: 80ms; } .nf__art i:nth-child(4) { background: var(--tone-7); animation-delay: 120ms; }
.nf__art i:nth-child(5) { background: var(--tone-8); animation-delay: 160ms; }
.nf__form { width: min(520px, 100%); }
.colls { display: grid; gap: 14px; }
.colls__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.coll { display: grid; gap: 8px; }
.coll__img { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--c-surface); }
.coll__img .img, .coll__img .ph { position: absolute; inset: 0; transition: transform var(--t-slow) var(--ease), opacity var(--t-slow) var(--ease); }
@media (hover: hover) and (pointer: fine) { .coll:hover .coll__img .img { transform: scale(1.04); } }
.coll__t { display: inline-flex; align-items: center; gap: 6px; font: 700 16px/1.25 var(--f-head); }
.coll__t .ico { width: 16px; height: 16px; }
.coll__n { color: var(--c-muted); font-size: 13px; }
@media (min-width: 768px) { .colls__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1024px) { .colls__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ═══ COLLECTION ═════════════════════════════════════════════════════════ */
.plp .crumbs { margin-bottom: 14px; }
.plp__banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 22px; border-radius: var(--r-lg); background: linear-gradient(105deg, var(--c-powder) 30%, color-mix(in srgb, var(--c-powder) 78%, var(--c-sig))); }
.plp__bt { display: grid; gap: 10px; min-width: 0; }
.plp__bimg { display: none; flex: none; width: 150px; aspect-ratio: 1; overflow: hidden; border-radius: 50%; box-shadow: 0 0 0 4px var(--c-bg); }
@media (min-width: 768px) { .plp__banner { padding: 32px 36px; } .plp__bimg { display: block; } }
.clamp__t { max-width: 90ch; font-size: 15px; }
.clamp.is-clamped .clamp__t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.clamp__b { margin-top: 4px; font-size: 14px; }
.plp__chips { margin-top: 16px; }
.plp__chips .rail__track { gap: 8px; }
.plp__chips .rail { --rail-btn-top: 50%; }
.plp__chips .rail__btn { width: 36px; height: 36px; margin-top: -18px; }
.plp__bar { position: sticky; top: calc(var(--hdr-h) - var(--ann-h)); z-index: 20; margin-top: 16px; border-bottom: 1px solid var(--c-line); background: var(--c-bg); }
.plp__bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding-block: 10px; }
.plp__filter { gap: 8px; }
.plp__filter .ico { width: 18px; height: 18px; }
.plp__fn { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill); background: var(--c-fg); color: var(--c-bg); font-size: 11px; font-weight: 700; }
.plp__count { color: var(--c-muted); font-size: 14px; }
.plp__count b { color: var(--c-fg); }
.plp__sort { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.plp__sort-l { display: none; font-size: 14px; font-weight: 600; }
.density { display: flex; gap: 2px; }
.density__b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r); color: var(--c-muted); }
.density__b .ico { width: 18px; height: 18px; }
.density__b[aria-pressed="true"] { background: var(--c-surface); color: var(--c-fg); }
.density__b--3, .density__b--4 { display: none; }
@media (min-width: 768px) { .density__b--1 { display: none; } .density__b--3 { display: grid; } }
@media (min-width: 640px) { .plp__sort-l { display: inline; } }
@media (min-width: 1024px) { .density__b--4 { display: grid; } }
.plp__active { padding-bottom: 10px; }
.plp__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.plp__tags .link { font-size: 14px; }
.plp .grid { margin-top: 20px; }
.more { display: grid; justify-items: center; gap: 12px; margin-top: 36px; text-align: center; }
.more__t { color: var(--c-muted); font-size: 14px; }
.more__bar { width: min(240px, 60%); height: 4px; overflow: hidden; border-radius: 4px; background: var(--c-surface); }
.more__bar i { display: block; height: 100%; border-radius: 4px; background: var(--c-fg); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform var(--t-slow) var(--ease); }
.more__b { min-width: 240px; }
.more__prev { font-size: 14px; }
.flt { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.flt__g { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--c-line); }
.flt__h { margin-bottom: 8px; font: 700 16px/1.2 var(--f-head); }
.flt__links { display: flex; flex-wrap: wrap; gap: 8px; }
.flt__foot { grid-template-columns: auto 1fr; }

/* ═══ FICHE PRODUIT ══════════════════════════════════════════════════════ */
.pdp__grid { display: grid; gap: 20px; }
.pdp__crumbs { grid-column: 1 / -1; }
.pdp__media { min-width: 0; }
.gal { position: relative; display: grid; gap: 12px; }
.gal__main { position: relative; min-width: 0; }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); background: var(--c-card-img); outline-offset: 4px; }
.gal__track::-webkit-scrollbar { display: none; }
.gal__slide { position: relative; flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: center; }
.gal__zoom { position: absolute; inset: 0; display: block; width: 100%; cursor: zoom-in; }
.gal__img { position: absolute; inset: 0; }
html[data-cadrage="contenir"] .gal__img { object-fit: contain; padding: 5%; }
.gal__slide--empty .ph { position: absolute; inset: 0; }
.gal__badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; pointer-events: none; }
.gal__peek { position: absolute; inset: 0; z-index: 2; border-radius: var(--r-lg); background: var(--c-card-img) center / contain no-repeat; opacity: 0; pointer-events: none; transition: opacity var(--t-fast) var(--ease); }
html[data-cadrage="remplir"] .gal__peek { background-size: cover; }
.gal__peek.is-on { opacity: 1; }
.gal__dots { display: flex; justify-content: center; gap: 2px; margin-top: 10px; }
.gal__dot { width: 22px; height: 22px; display: grid; place-items: center; }
.gal__dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--c-line); transition: transform var(--t) var(--ease); }
.gal__dot.is-on::before { background: var(--c-fg); transform: scale(1.3); }
.gal__thumbs { display: none; }
.gal__thumb { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: var(--r); background: var(--c-card-img); box-shadow: inset 0 0 0 1px var(--c-line); }
.gal__thumb .img { object-fit: contain; padding: 4px; }
html[data-cadrage="remplir"] .gal__thumb .img { object-fit: cover; padding: 0; }
.gal__thumb.is-on { box-shadow: inset 0 0 0 2px var(--c-fg); }
/* Vidéo d'article : le cadre entier ; ▶ sur sa vignette et à la place de son point. */
.gal__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.gal__thumb--video { position: relative; }
.gal__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; pointer-events: none; }
.gal__play .ico { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: rgba(0, 0, 0, .45); }
.gal__dot--video::before { width: 7px; height: 8px; border-radius: 0; clip-path: polygon(0 0, 100% 50%, 0 100%); }
@media (min-width: 1024px) {
  .pdp__grid { grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); column-gap: 56px; row-gap: 16px; align-items: start; }
  .pdp__media { position: sticky; top: calc(var(--hdr-h) - var(--ann-h) + 20px); }
  .gal { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .gal__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: min(660px, 70vh); overflow-y: auto; scrollbar-width: none; }
  .gal__thumbs::-webkit-scrollbar { display: none; }
  .gal:not(:has(.gal__thumbs)) { grid-template-columns: minmax(0, 1fr); }
  .gal__dots { display: none; }
}
.pdp__info { display: grid; align-content: start; gap: 18px; min-width: 0; }
.pdp__head { display: grid; gap: 8px; }
.pdp__brand { justify-self: start; font: 700 14px/1.2 var(--f-head); letter-spacing: .08em; text-transform: uppercase; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
@media (hover: hover) { .pdp__brand:hover { text-decoration-color: currentColor; } }
.pdp__titlerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pdp__title { font: 700 clamp(24px, 1vw + 18px, 32px)/1.15 var(--f-head); letter-spacing: -.01em; }
.pdp__fav { flex: none; box-shadow: inset 0 0 0 1px var(--c-line); width: 48px; height: 48px; }
.pdp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; font-size: 14px; }
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; }
.pdp__rating-n u { text-underline-offset: 3px; }
.pdp__desc-link { font-size: 14px; }
.pdp__note { color: var(--c-muted); font-size: 14px; }
.pdp__stock { display: inline-flex; align-items: center; gap: 8px; color: var(--c-promo); font-size: 14px; font-weight: 600; }
.pdp__stock .ico { width: 18px; height: 18px; }
.pdp__buy { display: grid; gap: 10px; }
.pdp__form { display: flex; gap: 10px; }
.pdp__atc { flex: 1; min-width: 0; }
.pdp__boxes { display: grid; gap: 10px; }
.box { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--c-surface); }
.box__ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--c-bg); }
.box__ico .ico { width: 20px; height: 20px; }
.box__body { display: grid; gap: 3px; }
.box__t { font: 700 15px/1.3 var(--f-head); }
.box__x { color: var(--c-muted); font-size: 14px; }
.box__a { justify-self: start; margin-top: 4px; font-size: 14px; }
.pdp__share { justify-self: start; font-size: 14px; text-decoration: none; }
.pdp__share .ico { width: 18px; height: 18px; }

/* Choix de la teinte ou du format */
.vp { display: grid; gap: 12px; }
.vp__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.vp__label { font-size: 15px; }
.vp__label b { font-weight: 700; }
.vp__count { color: var(--c-muted); font-size: 13px; }
.vp__grid { display: flex; flex-wrap: wrap; gap: 8px; }
.vp__all { justify-self: start; font-size: 14px; }
.sw { position: relative; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.sw__chip { position: relative; display: block; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: var(--sw, var(--c-surface)); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .1); }
.sw__chip--sm { width: 26px; height: 26px; }
.sw__img { position: absolute; inset: 0; transform: scale(1.5); }
.sw__img.img { object-fit: cover; }
.sw__txt { display: grid; place-items: center; width: 100%; height: 100%; font: 700 12px/1 var(--f-head); text-transform: uppercase; }
.sw input:checked + .sw__chip { outline: 2px solid var(--c-fg); outline-offset: 2px; }
.sw input:focus-visible + .sw__chip { outline: 2px dashed var(--c-fg); outline-offset: 3px; }
.sw.is-out .sw__chip { opacity: .45; }
.sw.is-out .sw__chip::after { content: ''; position: absolute; left: 50%; top: -10%; width: 1.5px; height: 120%; background: var(--c-fg); transform: rotate(45deg); }
.sw__tip { position: absolute; bottom: calc(100% + 6px); left: 50%; z-index: 5; padding: 6px 10px; border-radius: var(--r-sm); background: var(--c-fg); color: var(--c-bg); font-size: 12.5px; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, 4px); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.sw:hover .sw__tip, .sw:focus-within .sw__tip { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .sw:hover .sw__tip { opacity: 0; } }
.sz { position: relative; display: inline-grid; justify-items: center; align-content: center; gap: 2px; min-width: 64px; min-height: 48px; padding: 8px 16px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--c-line); cursor: pointer; text-align: center; transition: transform var(--t-fast) var(--ease); }
.sz input { position: absolute; opacity: 0; pointer-events: none; }
.sz__t { font-weight: 600; font-size: 14.5px; }
.sz__p { color: var(--c-muted); font-size: 12.5px; }
.sz:has(input:checked) { box-shadow: inset 0 0 0 2px var(--c-fg); }
.sz:has(input:focus-visible) { outline: 2px solid var(--c-fg); outline-offset: 2px; }
.sz.is-out { color: var(--c-muted); }
.sz.is-out .sz__t { text-decoration: line-through; }
.sz:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .sz:hover { box-shadow: inset 0 0 0 1.5px var(--c-fg); } }

/* Liste des teintes */
.shades__q { padding: 14px 20px 0; }
.shades__list { display: grid; gap: 8px; }
.shade { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; width: 100%; padding: 10px 14px 10px 10px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--c-line); text-align: left; }
.shade .sw__chip { width: 44px; height: 44px; }
.shade__body { display: grid; gap: 2px; }
.shade__t { font-weight: 600; }
.shade__a { display: inline-flex; align-items: center; gap: 6px; color: var(--c-muted); font-size: 13px; }
.shade__a::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--c-line); }
.shade__a.is-ok::before { background: var(--ok); }
.shade__p { font-weight: 700; font-size: 14px; }
.shade[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--c-fg); }
.shade.is-out .shade__t { color: var(--c-muted); }
@media (hover: hover) and (pointer: fine) { .shade:hover { background: var(--c-surface); } }

/* Onglets */
.tabs { margin-top: 8px; }
.tabs__bar { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--c-line); }
.tabs__bar::-webkit-scrollbar { display: none; }
.tabs__btn { position: relative; flex: none; min-height: 48px; font: 600 15px/1.2 var(--f-head); color: var(--c-muted); }
.tabs__btn::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--c-fg); transform: scaleX(0); transition: transform var(--t) var(--ease); }
.tabs__btn[aria-selected="true"] { color: var(--c-fg); }
.tabs__btn[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__panel { padding-top: 18px; }
.tabs__panel:not([hidden]) { animation: pl-in var(--t) var(--ease); }
.zones { display: grid; gap: 2px; margin-bottom: 12px; }
.zones li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.zones span { display: grid; gap: 1px; }
.zones small { color: var(--c-muted); font-size: 13px; }

/* Barre d'achat collante */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-float); border-top: 1px solid var(--c-line); background: var(--c-bg); box-shadow: 0 -8px 24px rgba(17, 17, 17, .08); transform: translateY(105%); transition: transform var(--t-slow) var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.buybar.is-on { transform: none; }
.buybar__in { display: flex; align-items: center; gap: 12px; min-height: 72px; padding-block: 10px; }
.buybar__prod { display: none; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.buybar__img { display: block; flex: none; width: 48px; height: 48px; overflow: hidden; border-radius: var(--r-sm); background: var(--c-card-img); }
.buybar__img .img { object-fit: contain; }
.buybar__txt { min-width: 0; }
.buybar__brand { font: 700 12px/1.2 var(--f-head); letter-spacing: .05em; text-transform: uppercase; }
.buybar__name { overflow: hidden; font-size: 14px; white-space: nowrap; text-overflow: ellipsis; }
.buybar__price { flex: none; }
.buybar__var { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 44vw; min-height: 48px; padding: 0 12px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--c-line); font-size: 14px; font-weight: 600; }
.buybar__vn { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.buybar__var .ico { width: 16px; height: 16px; flex: none; }
.buybar__atc { flex: 1; }
.buybar__atc .btn { width: 100%; }
@media (min-width: 1024px) {
  .buybar__prod { display: flex; }
  .buybar__atc { flex: none; }
  .buybar__atc .btn { min-width: 220px; }
  .buybar__var { max-width: 280px; }
}

/* ═══ RECHERCHE (page) ═══════════════════════════════════════════════════ */
.srp__head { display: grid; gap: 14px; margin-bottom: 20px; }
.srp__form { display: flex; gap: 10px; max-width: 640px; }
.srp__form .field { flex: 1; }
.srp__count { color: var(--c-muted); font-size: 14px; }
.srp__count b { color: var(--c-fg); }
.srp__th { margin-top: 18px; font-weight: 700; }
.srp__trends { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ═══ PANIER (page) ══════════════════════════════════════════════════════ */
.cartp__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.cartp__n { color: var(--c-muted); font-weight: 500; }
.cartp__grid { display: grid; gap: 28px; }
.cartp__lines .cline { grid-template-columns: 96px minmax(0, 1fr) auto; }
.cartp__lines .cline__media { width: 96px; height: 96px; }
.cartp__side.is-hidden { display: none; }
.cartp__box { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: var(--c-surface); }
.cartp__sh { font: 700 19px/1.2 var(--f-head); }
.totals { display: grid; gap: 10px; }
.totals div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--c-muted); }
.totals dd { font-weight: 600; }
.totals__muted { color: var(--c-muted); font-size: 13px; font-weight: 400 !important; text-align: right; }
.totals__discount dd { color: var(--c-promo); }
.totals__total { padding-top: 12px; border-top: 1px solid var(--c-line); }
.totals__total dt { color: var(--c-fg); font-weight: 700; }
.totals__total dd { font: 700 22px/1 var(--f-head); }
.mini-acc { border-top: 1px solid var(--c-line); }
.mini-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; font-weight: 600; font-size: 14.5px; }
.mini-acc summary .ico { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.mini-acc[open] summary .ico { transform: rotate(45deg); }
.mini-acc[open] > :not(summary) { animation: pl-in var(--t) var(--ease); }
.promo { display: flex; gap: 8px; padding-bottom: 14px; }
.mini-acc textarea { margin-bottom: 14px; }
.cartp__perks { display: grid; gap: 8px; margin-top: 16px; padding: 0 6px; }
.cartp__perks li { display: flex; align-items: center; gap: 10px; color: var(--c-muted); font-size: 14px; }
.cartp__perks .ico { width: 18px; height: 18px; color: var(--ok); }
@media (min-width: 1024px) {
  .cartp__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
  .cartp__side { position: sticky; top: calc(var(--hdr-h) - var(--ann-h) + 20px); }
}

/* ═══ PIED DE PAGE ═══════════════════════════════════════════════════════ */
.foot { margin-top: 64px; background: var(--c-bg); }
.foot__news { background: var(--c-powder); }
.foot__news-in { display: grid; gap: 18px; padding-block: 32px; }
.foot__nh { font: 700 22px/1.2 var(--f-head); }
.foot__news-t p { margin-top: 4px; color: color-mix(in srgb, var(--c-fg) 75%, var(--c-bg)); }
.foot__form { display: grid; gap: 10px; }
.foot__field { background: var(--c-bg); }
@media (min-width: 768px) { .foot__form { grid-template-columns: minmax(0, 1fr) auto; } .foot__ok { grid-column: 1 / -1; } }
@media (min-width: 1024px) { .foot__news-in { grid-template-columns: minmax(0, 1fr) minmax(0, 520px); align-items: center; gap: 48px; padding-block: 40px; } }
.foot__main { display: grid; gap: 28px; padding-block: 40px 24px; }
.foot__brand { display: grid; align-content: start; gap: 12px; }
.foot__name { font: 700 22px/1.1 var(--f-head); justify-self: start; }
.foot__about { max-width: 40ch; color: var(--c-muted); font-size: 14.5px; }
.foot__socs { display: flex; gap: 8px; margin-top: 4px; }
.foot__soc { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--c-line); transition: transform var(--t) var(--ease); }
@media (hover: hover) and (pointer: fine) { .foot__soc:hover { background: var(--c-fg); color: var(--c-bg); box-shadow: none; transform: translateY(-2px); } }
.foot__cols { display: grid; }
.foot__col { border-bottom: 1px solid var(--c-line); }
.foot__h { font: inherit; }
.foot__acc { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; font: 700 15px/1.2 var(--f-head); text-align: left; }
.foot__acc .ico { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.foot__col.is-open .foot__acc .ico { transform: rotate(180deg); }
.foot__links { display: none; gap: 2px; padding-bottom: 16px; }
.foot__col.is-open .foot__links { display: grid; animation: pl-in var(--t) var(--ease); }
.foot__links a, .foot__links span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; color: color-mix(in srgb, var(--c-fg) 78%, var(--c-bg)); font-size: 14.5px; }
.foot__links .ico { width: 16px; height: 16px; }
@media (hover: hover) and (pointer: fine) { .foot__links a:hover { color: var(--c-fg); text-decoration: underline; text-underline-offset: 3px; } }
.foot__txt p { color: var(--c-muted); font-size: 14.5px; }
.foot__bottom { display: grid; gap: 14px; padding-block: 20px 32px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: 13px; }
.foot__pay { display: flex; flex-wrap: wrap; gap: 6px; }
.foot__pay li { padding: 5px 10px; border-radius: var(--r-sm); background: var(--c-surface); color: var(--c-fg); font-weight: 600; font-size: 12px; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (hover: hover) { .foot__legal a:hover { color: var(--c-fg); text-decoration: underline; text-underline-offset: 3px; } }
@media (min-width: 1024px) {
  .foot__main { grid-template-columns: minmax(0, 1.1fr) minmax(0, 2.4fr); gap: 56px; padding-block: 56px 40px; }
  .foot__cols { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 32px; }
  .foot__col { border: 0; }
  .foot__acc { min-height: 0; margin-bottom: 12px; pointer-events: none; }
  .foot__acc .ico { display: none; }
  .foot__links { display: grid; }
  .foot__bottom { grid-template-columns: auto 1fr auto; align-items: center; }
  .foot__pay { justify-content: center; }
}

/* ═══ FLOTTANTS : WhatsApp, haut de page, messages ═══════════════════════ */
.chat { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: var(--z-float); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--c-fg); color: var(--c-bg); box-shadow: var(--shadow); transition: transform var(--t) var(--ease); }
.chat .ico { width: 26px; height: 26px; }
@media (hover: hover) and (pointer: fine) { .chat:hover { transform: scale(1.06); } }
.totop { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: var(--z-float); display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r); background: var(--c-fg); color: var(--c-bg); box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.totop.is-on { opacity: 1; pointer-events: auto; transform: none; }
.chat ~ .totop { bottom: calc(84px + env(safe-area-inset-bottom)); }
html[data-buybar] .totop.is-on, html[data-buybar] .chat { transform: translateY(calc(var(--bb-h, 72px) * -1)); }
html[data-sx-drawer] .chat { opacity: 0; pointer-events: none; }

.toasts { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: var(--z-toast); display: grid; justify-items: center; gap: 8px; width: min(420px, calc(100% - 32px)); transform: translateX(-50%); pointer-events: none; }
html[data-buybar] .toasts { bottom: calc(var(--bb-h, 72px) + 16px); }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: var(--r); background: var(--c-fg); color: var(--c-bg); box-shadow: var(--shadow); font-size: 14.5px; font-weight: 500; animation: pl-toast var(--t) var(--ease); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease); }
.toast::before { content: ''; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.toast--info::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 11v5M12 8h.01'/%3E%3C/svg%3E"); }
.toast--error { background: var(--c-promo); color: #fff; }
.toast--error::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 8v5M12 16h.01'/%3E%3C/svg%3E"); }
.toast.is-leaving { opacity: 0; transform: translateY(8px); }
@keyframes pl-toast { from { opacity: 0; transform: translateY(10px) scale(.98); } }

/* ═══ VUE AGRANDIE ═══════════════════════════════════════════════════════ */
.lb { position: fixed; inset: 0; z-index: var(--z-lb); background: var(--c-bg); opacity: 0; transition: opacity var(--t) var(--ease); }
.lb.is-on { opacity: 1; }
.lb__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__slide { position: relative; flex: 0 0 100%; height: 100%; overflow: hidden; scroll-snap-align: center; cursor: zoom-in; }
.lb__img { width: 100%; height: 100%; object-fit: contain; padding: 56px 16px; transition: transform var(--t-slow) var(--ease); user-select: none; }
.lb__slide.is-zoom { cursor: zoom-out; }
.lb__slide.is-zoom .lb__img { transform: scale(2.2); }
.lb__close, .lb__nav { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--c-bg); box-shadow: var(--shadow-sm); }
.lb__close { top: 12px; right: 12px; }
.lb__nav { top: 50%; margin-top: -24px; }
.lb__nav--prev { left: 12px; }
.lb__nav--next { right: 12px; }
.lb__count { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); padding: 6px 12px; border-radius: var(--r-pill); background: var(--c-surface); font-size: 13px; font-weight: 600; }

/* ═══ MOUVEMENT RÉDUIT ═══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
}
html[data-sx-motion="aucune"] *, html[data-sx-motion="aucune"] *::before, html[data-sx-motion="aucune"] *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
html[data-sx-motion="discretes"] .hero__media .img, html[data-sx-motion="discretes"] .hero__media .ph { transform: none; }

::view-transition-old(root), ::view-transition-new(root) { animation-duration: 200ms; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }

@media print {
  .sx-group--header, .foot, .buybar, .chat, .totop, .toasts { display: none !important; }
}

/* ═══ COMPLÉMENTS (états posés par theme.js) ═════════════════════════════ */
html[data-scrolled] .sx-group--header { box-shadow: 0 8px 20px -16px rgba(17, 17, 17, .45); }
.mnav[data-depth="1"] .mnav__brand { display: none; }
.hdr__tool--fav.is-bump .ico { animation: pl-bump var(--t-slow) var(--ease); }
.vp__label.is-preview b { color: var(--c-sig); }
.qv__top { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 16px; }
.qv__top .qv__img { width: 112px; }
.qv__info { display: grid; gap: 4px; min-width: 0; }
.qv__info .price { margin-top: 4px; }
.qv .vp { padding-top: 14px; border-top: 1px solid var(--c-line); }
.qv__skel { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: center; }
.qv__skel i { display: block; border-radius: var(--r); background: var(--c-surface); animation: pl-pulse 1.2s ease-in-out infinite alternate; }
.qv__skel i:first-child { width: 112px; aspect-ratio: 1; }
.qv__skel i + i { height: 48px; }
@keyframes pl-pulse { to { opacity: .45; } }
.card__add.is-busy, .mini__add.is-busy { opacity: .55; pointer-events: none; cursor: progress; }
.rail__track[data-drag] { cursor: grab; }
.gal__track:focus-visible { outline: 2px solid var(--c-fg); }
.store.is-mine { box-shadow: inset 0 0 0 2px var(--c-sig); }
.srch__recent a:focus-visible, .srch__trend:focus-visible, .srch__s:focus-visible, .search__hit:focus-visible { outline: 2px solid var(--c-fg); outline-offset: 2px; }
.hero__stage { touch-action: pan-y; }
.lb.is-zoomed .lb__track { overflow: hidden; }
.lb__slide.is-zoom { touch-action: none; }
