/* Déstockage : style « Framboise » (mobile d'abord).
   Codes couleurs : le framboise est réservé au prix et aux boutons d'achat ; le reste est en neutres chauds,
   accordés aux photos (beige, bois). Six tailles de texte seulement (--fs-1 à --fs-6), 12 px au minimum. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
}

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --ink: #22181C;
  --muted: #6B625C;
  --line: #ECE6DF;
  --field: #D6CCC0;
  --accent: #C8325E;
  --on-accent: #FFFFFF;
  --accent-text: var(--accent);
  --soft: #F6F1EA;
  --soft-ink: #22181C;
  --img: #F4EFE9;
  --ok-bg: #E7F3EC;
  --ok-ink: #1D5B36;
  --err-bg: #FBE9E7;
  --err-ink: #9A2A1C;
  --shadow: 0 1px 3px rgba(34, 24, 28, .10);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1200px;
  --fs-1: 12px;
  --fs-2: 14px;
  --fs-3: 16px;
  --fs-4: 20px;
  --fs-5: clamp(24px, 4.4vw, 30px);
  --fs-6: clamp(21px, 5.6vw, 34px);
  --r-s: 8px;
  --r-m: 12px;
  --r-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
a, button, summary, label { -webkit-tap-highlight-color: rgba(34, 24, 28, .08); }
body { margin: 0; background: var(--bg); color: var(--ink); font: var(--fs-3)/1.5 var(--font); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto;
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-m); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.muted { color: var(--muted); font-weight: 400; }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- en-tête */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: saturate(1.3) blur(8px); backdrop-filter: saturate(1.3) blur(8px);
  border-bottom: 1px solid var(--line); }
.top-in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 18px; min-height: 60px; }
.logo { display: flex; flex-direction: column; justify-content: center; min-height: 44px; font-weight: 800;
  font-size: var(--fs-4); letter-spacing: -.03em; line-height: 1.1; text-decoration: none; min-width: 0; }
.logo-name { white-space: nowrap; }
.logo-sub { margin-top: 3px; font-size: var(--fs-1); font-weight: 500; letter-spacing: 0; color: var(--muted);
  line-height: 1.25; }
.logo .dot { color: var(--accent); }
.live { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px;
  border-radius: var(--r-pill); border: 1px solid var(--field); background: #fff; color: var(--ink);
  font-size: var(--fs-1); font-weight: 600; text-decoration: none; }
.live .sm { display: none; }
@media (max-width: 374px) { .live .lg { display: none; } .live .sm { display: inline; } .live { padding: 0 10px; } }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.cart-link { margin-left: auto; position: relative; flex: none; width: 44px; height: 44px; display: inline-flex;
  align-items: center; justify-content: center; text-decoration: none; }
.cart-link svg { width: 24px; height: 24px; }
.cart-link .count { position: absolute; top: 4px; right: 1px; min-width: 19px; height: 19px; margin: 0; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: var(--fs-1); font-weight: 700;
  display: flex; align-items: center; justify-content: center; }

/* Bandeau de réassurance : une seule ligne, qui défile au doigt sur téléphone */
.strip { list-style: none; margin: 0; padding: 0 18px; height: 34px; display: flex; align-items: center; gap: 20px;
  overflow-x: auto; scrollbar-width: none; white-space: nowrap; background: var(--soft); color: var(--ink);
  font-size: var(--fs-1); font-weight: 600; }
.strip::-webkit-scrollbar { display: none; }
.strip li { flex: none; display: inline-flex; align-items: center; gap: 6px; }
.strip li::before, .foot-points li::before { content: ""; flex: none; width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322181C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (min-width: 760px) { .strip { justify-content: center; gap: 34px; } }

.flash { max-width: var(--max); margin: 12px auto 0; padding: 0 18px; }
.flash p { margin: 0 0 8px; padding: 12px 14px; border-radius: var(--r-m); background: var(--ok-bg); color: var(--ok-ink);
  font-size: var(--fs-2); font-weight: 600; }
.flash p.error { background: var(--err-bg); color: var(--err-ink); }

main { max-width: var(--max); margin: 0 auto; padding: 0 18px 48px; }

/* ---------------------------------------------------------------- accueil, rayons, tailles */
.hero { padding: 16px 0 0; }
.hero h1 { margin: 0; font-size: var(--fs-6); font-weight: 800; line-height: 1.15; letter-spacing: -.025em;
  text-wrap: balance; max-width: 26ch; }
.hero.small h1 { font-size: var(--fs-5); max-width: none; }

.rayons, .sizes { position: relative; display: flex; gap: 8px; overflow-x: auto; margin: 0 -18px; padding: 12px 18px 4px;
  scrollbar-width: none; }
.rayons::-webkit-scrollbar, .sizes::-webkit-scrollbar { display: none; }
.sizes { align-items: center; padding-top: 6px; }
.sizes .lab { flex: none; margin-right: 2px; font-size: var(--fs-1); font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted); }
.sizes .sep { flex: none; width: 1px; height: 22px; margin: 0 4px; background: var(--field); }
.chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  border-radius: var(--r-pill); border: 1px solid var(--field); background: #fff; font-size: var(--fs-2);
  font-weight: 600; text-decoration: none; white-space: nowrap; }
.chip small { font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.on small { color: rgba(255, 255, 255, .78); }
.chip.slim { min-width: 44px; padding: 0 12px; justify-content: center; }
@media (min-width: 900px) {
  .rayons, .sizes { flex-wrap: wrap; overflow: visible; margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .rayons { gap: 6px; }
  .rayons .chip { padding: 0 12px; }
  .hero h1 { max-width: none; }
}

.tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; margin: 6px 0 0; }
.count { margin: 0; min-width: 0; font-size: var(--fs-2); line-height: 1.35; color: var(--muted); text-wrap: balance; }
.count a { display: inline-block; margin: -12px 0 -12px 6px; padding: 12px 2px; color: var(--ink); font-weight: 600; }
@media (max-width: 479px) { .hide-s { display: none; } }
.tool-toggle { display: none; flex: none; align-items: center; gap: 6px; height: 40px; padding: 0 13px;
  border: 1px solid var(--field); border-radius: var(--r-pill); background: #fff; font-size: var(--fs-2);
  font-weight: 600; cursor: pointer; }
.tool-toggle svg { width: 17px; height: 17px; }
.tool-toggle[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.filters input, .filters select { height: 46px; min-width: 0; border: 1px solid var(--field); border-radius: var(--r-m);
  background: #fff; padding: 0 12px; font-size: var(--fs-3); }
.filters select { padding: 0 4px 0 10px; flex: 1 1 132px; }
.filters input { flex: 1 1 100%; }
.filters button { flex: none; }
.js .filters .go { display: none; }
@media (max-width: 719px) {
  .js .tool-toggle { display: inline-flex; }
  .js .filters.closed { display: none; }
}
@media (min-width: 720px) {
  .bar { display: flex; align-items: center; gap: 22px; margin-top: 6px; }
  .bar .tools { flex: none; margin: 0; }
  .bar .filters { flex: 1; margin: 0; flex-wrap: nowrap; }
  .filters input { flex: 1 1 240px; }
  .filters select { flex: 0 1 200px; }
}

/* ---------------------------------------------------------------- cartes : la photo d'abord, sans cadre */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; margin-top: 10px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 18px; } }
@media (min-width: 1060px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; scroll-margin-top: 80px; }
.card-img { position: relative; display: block; aspect-ratio: 3 / 4; background: var(--img); overflow: hidden;
  border-radius: var(--r-m); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 4px 9px; border-radius: var(--r-pill);
  background: var(--ink); color: #fff; font-size: var(--fs-1); font-weight: 600; line-height: 1.3; }
.card-body { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 9px 2px 0; min-width: 0; }
.brand { margin: 0; font-size: var(--fs-1); font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .title { margin: 0; font-size: var(--fs-2); font-weight: 500; line-height: 1.35; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .title a { text-decoration: none; }
.card .title a::after { content: ""; position: absolute; inset: 0; }
.price { margin: 3px 0 0; font-size: var(--fs-3); font-weight: 800; color: var(--accent-text); line-height: 1.2; }
.price small, .price s { font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.price s { margin-left: 4px; }
.tag-price { margin: 0; font-size: var(--fs-2); color: var(--muted); line-height: 1.5; }
.tag-price .ref-link { color: var(--ink, #1f1a17); text-decoration: underline; text-underline-offset: 2px; }
.size { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 28px; height: 24px;
  padding: 0 6px; border: 1px solid var(--ink); border-radius: 6px; font-size: var(--fs-1); font-weight: 700;
  color: var(--ink); line-height: 1; }
.size-row { list-style: none; display: flex; flex-wrap: wrap; margin: 3px 0 0; padding: 0; }
.size-row .size { min-width: 0; height: auto; padding: 0; border: 0; font-weight: 500; color: var(--muted); line-height: 1.5; }
.size-row .size + .size::before { content: "·"; margin: 0 5px; color: var(--field); font-weight: 700; }
.size-row .size.on { color: var(--ink); font-weight: 800; }
.quick-add { position: relative; z-index: 2; margin: 9px 0 0; }
.quick-add button { width: 100%; height: 42px; border: 1px solid var(--accent); border-radius: var(--r-pill);
  background: #fff; color: var(--accent-text); font-size: var(--fs-2); font-weight: 700; cursor: pointer; }
.quick-add button.added, .quick-add button[disabled] { background: var(--soft); border-color: var(--soft);
  color: var(--ink); cursor: default; }
.card.out .card-img img { filter: grayscale(.5); opacity: .7; }

.rayon { margin-top: 30px; }
.bar + .rayon { margin-top: 4px; }
.rayon-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.rayon-h h2 { margin: 0; font-size: var(--fs-4); font-weight: 800; letter-spacing: -.02em; }
.rayon-h a { flex: none; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--fs-2);
  font-weight: 600; color: var(--ink); }
.rayon .grid { margin-top: 4px; }
@media (min-width: 720px) and (max-width: 1059px) { .rayon .grid > :nth-child(4) { display: none; } }
.all-link { margin: 34px 0 0; text-align: center; }

.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center;
  justify-content: center; border-radius: var(--r-m); border: 1px solid var(--field); text-decoration: none;
  font-size: var(--fs-2); font-weight: 600; background: #fff; }
.pager .cur { background: var(--ink); border-color: var(--ink); color: #fff; }
.empty { padding: 40px 16px; text-align: center; color: var(--muted); }
.empty p { margin: 0 0 14px; }

.how { margin: 36px 0 0; padding: 18px 16px; border-radius: var(--r-m); background: var(--soft); display: grid; gap: 12px; }
.how h2 { margin: 0; font-size: var(--fs-3); font-weight: 800; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.how li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-2); }
.how li b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 700; }
@media (min-width: 820px) { .how ol { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- fiche pièce */
.crumb { margin: 12px 0 0; font-size: var(--fs-2); color: var(--muted); }
.crumb a { color: inherit; display: inline-block; padding: 6px 0; }
.product { display: grid; gap: 16px; margin-top: 6px; }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 44px; align-items: start; }
  .product .info { position: sticky; top: 84px; }
}
.gallery { min-width: 0; }
.slides { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--r-m); }
.slides::-webkit-scrollbar { display: none; }
.slide { position: relative; flex: 0 0 100%; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-m);
  background: var(--img); scroll-snap-align: start; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.js .slide img[data-zoom] { cursor: zoom-in; }
.zoom-ic { display: none; position: absolute; right: 10px; bottom: 10px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--ink); align-items: center; justify-content: center;
  pointer-events: none; box-shadow: var(--shadow); }
.js .zoom-ic { display: flex; }
.zoom-ic svg { width: 19px; height: 19px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumbs a { flex: none; width: 58px; height: 77px; border-radius: var(--r-s); overflow: hidden; border: 2px solid transparent;
  background: var(--img); }
.thumbs a.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .slides { flex-direction: column; overflow: visible; scroll-snap-type: none; gap: 14px; border-radius: 0; }
  .slide { flex: none; }
  .thumbs { display: none; }
}
.info { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.info .brand { white-space: normal; }
.info h1 { margin: 2px 0 0; font-size: var(--fs-5); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 12px; }
.price-big { margin: 0; font-size: var(--fs-5); font-weight: 800; color: var(--accent-text); line-height: 1.1; }
.pick { display: flex; flex-direction: column; gap: 8px; scroll-margin-top: 84px; }
.pick-h { margin: 0; display: flex; align-items: baseline; gap: 8px; font-size: var(--fs-2); }
.pick-h span { color: var(--muted); }
.pick-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-width: 56px; height: 52px; padding: 0 14px; display: inline-flex; flex-direction: column; align-items: center;
  justify-content: center; border: 1px solid var(--field); border-radius: var(--r-m); background: #fff;
  font-size: var(--fs-3); font-weight: 700; line-height: 1.15; text-decoration: none; }
.opt small { font-size: var(--fs-1); font-weight: 500; color: var(--muted); }
.opt.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.opt.on small { color: rgba(255, 255, 255, .82); }
.opt.off { border-style: dashed; background: var(--img); color: #8D8279; cursor: not-allowed; }
.opt.off small { color: inherit; }
.unique { margin: -2px 0 0; text-align: center; font-size: var(--fs-2); font-weight: 600; }
.unique a { color: var(--ink); }
.buy { display: grid; gap: 10px; }
.buy .unique { margin: 0; }
.added { display: grid; gap: 8px; }
.added-h { margin: 0; min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-m); background: var(--ok-bg); color: var(--ok-ink); font-size: var(--fs-2); font-weight: 700; }
.added-h svg { width: 18px; height: 18px; }
.notice { margin: 0; padding: 12px 14px; border-radius: var(--r-m); background: var(--soft); color: var(--ink);
  font-size: var(--fs-2); font-weight: 600; }
.desc { margin: 0; white-space: pre-line; font-size: var(--fs-3); }
.facts { margin: 0; }
.facts div { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px;
  border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: var(--fs-2); }
.facts dd { margin: 0; font-size: var(--fs-2); font-weight: 600; text-align: right; }
.reassure { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.reassure li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-2); }
.reassure .ic { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--soft);
  color: var(--ink); display: flex; align-items: center; justify-content: center; }
.reassure svg { width: 18px; height: 18px; }
.share { margin-top: 2px; }
.share-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.share-row .btn { min-height: 44px; padding: 8px 12px; border-color: var(--field); font-size: var(--fs-2);
  font-weight: 600; min-width: 0; }
.share-row .btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-row .btn svg { width: 19px; height: 19px; flex: none; }
.share-panel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.share-panel[hidden] { display: none; }
.share-panel a, .share-panel button { display: flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 8px 10px; border-radius: var(--r-m); background: var(--soft); color: var(--ink); font: inherit;
  font-size: var(--fs-2); font-weight: 600; text-decoration: none; border: 0; cursor: pointer; }
@media (min-width: 520px) { .share-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 300px) { .share-row .btn svg { display: none; } }
.section-title { margin: 36px 0 12px; font-size: var(--fs-4); font-weight: 800; letter-spacing: -.02em; }
.mini-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 31%; gap: 10px; overflow-x: auto;
  scrollbar-width: none; scroll-snap-type: x mandatory; }
.mini-grid::-webkit-scrollbar { display: none; }
@media (min-width: 720px) { .mini-grid { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } }
.mini { display: flex; flex-direction: column; gap: 3px; text-decoration: none; min-width: 0; scroll-snap-align: start; }
.mini .im { aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--r-m); background: var(--img); }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini b { margin-top: 3px; font-size: var(--fs-2); font-weight: 700; }
.mini span { font-size: var(--fs-1); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.see-all { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font-size: var(--fs-2);
  font-weight: 600; color: var(--ink); }

/* Barre d'achat fixe sur téléphone : le bouton reste sous le pouce tant que celui de la fiche n'est pas à l'écran */
.buybar { display: none; }
@media (max-width: 899px) {
  .js .buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(34, 24, 28, .08); transition: transform .2s ease; }
  .js .buybar.off { transform: translateY(115%); }
  .buybar-txt { flex: none; margin: 0; display: flex; flex-direction: column; line-height: 1.2; }
  .buybar-txt b { font-size: var(--fs-4); font-weight: 800; color: var(--accent-text); }
  .buybar-txt span { font-size: var(--fs-1); color: var(--muted); }
  .buybar .btn { flex: 1; min-width: 0; }
  body.has-buybar .foot { padding-bottom: 112px; }
  body.has-buybar .toast { bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) { .js .buybar { transition: none; } }

/* Photo agrandie : un appui zoome, un autre revient */
.zoombox { position: fixed; inset: 0; z-index: 80; display: flex; background: rgba(34, 24, 28, .97); }
.zoom-scroll { flex: 1; min-width: 0; display: flex; overflow: auto; overscroll-behavior: contain; }
.zoom-scroll img { margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; cursor: zoom-in; }
.zoombox.in .zoom-scroll img { max-width: none; max-height: none; width: 240vw; cursor: zoom-out; }
@media (min-width: 900px) { .zoombox.in .zoom-scroll img { width: 130vw; } }
.zoom-close { position: fixed; top: 12px; right: 12px; z-index: 81; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink); font-size: 26px; line-height: 1; cursor: pointer; }
.zoom-tip { position: fixed; left: 50%; bottom: 18px; z-index: 81; transform: translateX(-50%); margin: 0; padding: 8px 14px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, .16); color: #fff; font-size: var(--fs-1);
  font-weight: 600; white-space: nowrap; pointer-events: none; }

/* ---------------------------------------------------------------- boutons : framboise = achat, noir = le reste */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px;
  padding: 12px 20px; border-radius: var(--r-pill); border: 0; background: var(--accent); color: var(--on-accent);
  font-size: var(--fs-3); font-weight: 700; text-decoration: none; cursor: pointer; text-align: center; line-height: 1.25; }
.btn.full { width: 100%; }
.btn.cta { min-height: 54px; }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--ink); }
.btn.dark { background: var(--ink); color: #fff; }
.btn.soft { background: var(--soft); color: var(--ink); }
.btn.wa { background: #167C43; color: #fff; }
.btn.wa svg { width: 22px; height: 22px; }
.btn.ghost.wa { background: #fff; color: var(--ink); }
.btn.ghost.wa svg { color: #167C43; }
.btn.small { min-height: 38px; padding: 7px 14px; font-size: var(--fs-2); }
.btn[disabled] { opacity: .6; cursor: default; }
.btn.disabled { opacity: .45; cursor: not-allowed; }
.wa-wait a[data-sent-url] { opacity: .45; cursor: not-allowed; }

/* ---------------------------------------------------------------- panier, commande */
.page-title { margin: 20px 0 14px; font-size: var(--fs-5); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.two-cols { display: grid; gap: 18px; }
@media (min-width: 900px) { .two-cols { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; } }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 8px; }
.line .im { width: 64px; height: 85px; border-radius: var(--r-s); overflow: hidden; background: var(--img); }
.line .im img { width: 100%; height: 100%; object-fit: cover; }
.line h2, .line h3 { margin: 0; font-size: var(--fs-2); font-weight: 600; line-height: 1.3; }
.line h2 a, .line h3 a { text-decoration: none; }
.line p { margin: 4px 0 0; font-size: var(--fs-1); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.line .right { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.line .right b { font-size: var(--fs-3); }
.linkbtn { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--muted); font-size: var(--fs-2);
  text-decoration: underline; cursor: pointer; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px; }
.summary { display: flex; flex-direction: column; gap: 8px; }
.summary h2 { margin: 0 0 4px; font-size: var(--fs-3); font-weight: 800; }
.summary .row { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-3); }
.summary .total { font-size: var(--fs-4); font-weight: 800; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.progress { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--ink); }
.hint { margin: 0; font-size: var(--fs-2); color: var(--muted); }
.hint strong { color: var(--ink); }

.form { display: grid; gap: 16px; }
.form h2 { margin: 6px 0 0; font-size: var(--fs-3); font-weight: 800; }
.grid2 { display: grid; gap: 12px; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 5px; font-size: var(--fs-2); font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1px solid #C4B9AC; border-radius: var(--r-m); background: #fff; font-size: var(--fs-3); }
.field input:focus, .field select:focus, .field textarea:focus, .filters input:focus, .filters select:focus {
  border-color: var(--ink); }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.45; }
.field.bad input, .field.bad select { border-color: #B3261E; }
.field .err, .err { margin: 5px 0 0; color: #B3261E; font-size: var(--fs-2); font-weight: 600; }
.field .help { margin: 5px 0 0; font-size: var(--fs-1); color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-2); line-height: 1.45; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--ink); }
.legal-note { margin: 0; font-size: var(--fs-1); color: var(--muted); }

.done { text-align: center; padding: 8px 0 0; }
.done .big-ic { width: 60px; height: 60px; margin: 6px auto 10px; border-radius: 50%; background: var(--soft);
  color: var(--ink); display: flex; align-items: center; justify-content: center; }
.done .big-ic.ok { background: var(--ok-bg); color: var(--ok-ink); }
.done .big-ic svg { width: 30px; height: 30px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-2); }
.steps li b { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: var(--fs-2); }
.steps li.now b { background: var(--ink); color: #fff; }
.steps li span { padding-top: 4px; }
.pay { white-space: pre-line; margin: 0; }

/* ---------------------------------------------------------------- pages légales */
.legal-page { max-width: 760px; }
.legal-page h2 { margin: 26px 0 8px; font-size: var(--fs-4); font-weight: 800; }
.legal-page p, .legal-page li { font-size: var(--fs-3); }
.legal-page .updated { color: var(--muted); font-size: var(--fs-2); }
.legal-page table { border-collapse: collapse; width: 100%; font-size: var(--fs-2); }
.legal-page td, .legal-page th { border: 1px solid var(--line); padding: 8px; text-align: left; vertical-align: top; }
mark.todo { background: #FFE7A8; color: #5B3B00; padding: 0 4px; border-radius: 4px; }
.form-box { border: 1px dashed var(--field); border-radius: var(--r-m); padding: 16px; }
.form-box p { margin: 0 0 10px; }

/* ---------------------------------------------------------------- pied de page */
.foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 44px; color: var(--muted);
  font-size: var(--fs-2); }
.foot-in { max-width: var(--max); margin: 0 auto; padding: 0 18px; display: grid; gap: 12px; }
.foot p { margin: 0; }
.foot .name { font-weight: 800; color: var(--ink); font-size: var(--fs-4); letter-spacing: -.02em; }
.foot-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--ink); }
.foot-points li { display: flex; align-items: center; gap: 8px; }
@media (min-width: 900px) { .foot-points { grid-auto-flow: column; justify-content: start; gap: 28px; } }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot nav a, .foot p a { display: inline-flex; align-items: center; min-height: 44px; }
.foot a { color: inherit; }

.toast { position: fixed; left: 50%; bottom: 18px; z-index: 60; transform: translateX(-50%); max-width: 92vw;
  padding: 12px 18px; border-radius: var(--r-m); background: var(--ink); color: #fff; font-size: var(--fs-2);
  font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.toast.error { background: var(--err-ink); }

/* ================================================================ espace admin */
body.admin { background: #F7F4F0; }
.admin-nav { position: sticky; top: 0; z-index: 30; background: var(--ink); color: #fff; }
.admin-nav .in { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; gap: 2px;
  overflow-x: auto; padding: 6px 10px; scrollbar-width: none; }
.admin-nav a, .admin-nav button { flex: none; color: #fff; text-decoration: none; padding: 10px 12px; border-radius: 10px;
  font-weight: 700; font-size: 14px; white-space: nowrap; background: none; border: 0; cursor: pointer; }
.admin-nav a.on { background: rgba(255, 255, 255, .16); }
.admin-nav .badge-n { display: inline-block; min-width: 20px; padding: 1px 6px; margin-left: 4px; border-radius: 10px;
  background: var(--accent); color: var(--on-accent); font-size: 11.5px; text-align: center; }
.admin-nav form { margin: 0 0 0 auto; }
.admin main { padding-top: 18px; }
.admin h1 { margin: 6px 0 16px; font-size: clamp(22px, 4.5vw, 28px); font-weight: 800; letter-spacing: -.02em; }
.admin h2 { margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.panel { background: #fff; border-radius: 14px; padding: 16px; margin-bottom: 16px; box-shadow: var(--shadow); }
.panel > :last-child { margin-bottom: 0; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
@media (min-width: 820px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow); text-decoration: none;
  display: block; }
.stat b { display: block; font-size: 26px; line-height: 1.1; }
.stat span { font-size: 13px; color: var(--muted); }
.warn { background: #FFF1DB; color: #6E3C06; border-radius: 12px; padding: 12px 14px; margin: 0 0 10px;
  font-weight: 600; font-size: 14px; }
.warn a { color: inherit; }
.tip { background: #EEF4FB; color: #183A63; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; font-size: 14px; }
.tip ul { margin: 6px 0 0; padding-left: 18px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.toolbar input, .toolbar select { height: 44px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 12px;
  background: #fff; font-size: 15px; min-width: 0; }
.toolbar input { flex: 1 1 200px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; }
.tabs a { flex: none; padding: 9px 13px; border-radius: 999px; background: #fff; border: 1.5px solid var(--field);
  text-decoration: none; font-weight: 700; font-size: 13.5px; }
.tabs a.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.alist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.arow { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: #fff;
  border-radius: 12px; padding: 8px 10px; box-shadow: var(--shadow); text-decoration: none; }
.arow .im { width: 54px; height: 72px; border-radius: 8px; overflow: hidden; background: var(--img); }
.arow .im img { width: 100%; height: 100%; object-fit: cover; }
.arow h3 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
.arow p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 8px; }
.arow .right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.st { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #EEE;
  color: #444; white-space: nowrap; }
.st-available, .st-confirmed { background: #E2F2E8; color: #1D5B36; }
.st-reserved, .st-pending { background: #FFF0D6; color: #7A4306; }
.st-sold, .st-shipped { background: #E6EEF9; color: #1F4A8A; }
.st-draft, .st-cancelled, .st-expired { background: #EEEEEE; color: #555; }
.order { background: #fff; border-radius: 14px; padding: 14px; box-shadow: var(--shadow); margin-bottom: 12px; }
.order-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; }
.order-head h2 { margin: 0; font-size: 17px; }
.order-head .when { color: var(--muted); font-size: 13px; }
.order .who { margin: 0 0 8px; font-size: 14px; line-height: 1.5; }
.order ul { margin: 0 0 8px; padding-left: 18px; font-size: 14px; }
.order .tot { font-weight: 800; margin: 0 0 8px; }
.order .note { margin: 0 0 8px; padding: 8px 10px; border-radius: 10px; background: #FFF0D6; color: #6E3C06;
  font-size: 13.5px; font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }
.actions form { margin: 0; }
.imgs-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.img-edit { background: #FAF7F8; border-radius: 12px; padding: 8px; display: grid; gap: 6px; font-size: 13px; }
.img-edit .im { aspect-ratio: 3 / 4; border-radius: 8px; overflow: hidden; background: var(--img); }
.img-edit .im img { width: 100%; height: 100%; object-fit: cover; }
.img-edit label { display: flex; align-items: center; gap: 6px; font-weight: 600; margin: 0; }
.img-edit input[type=number] { width: 64px; min-height: 36px; padding: 4px 8px; border: 1.5px solid var(--field);
  border-radius: 8px; }
.radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px;
  border: 1.5px solid var(--field); border-radius: 12px; background: #fff; font-weight: 700; cursor: pointer; margin: 0; }
.radios input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
pre.tree { background: #22181C; color: #F6EDF1; padding: 12px 14px; border-radius: 12px; overflow-x: auto; font-size: 13px;
  line-height: 1.5; }
code { background: #F3EEF0; padding: 1px 5px; border-radius: 5px; font-size: .92em; }
pre code { background: none; padding: 0; }
.report li { margin-bottom: 3px; font-size: 14px; }
.contact { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); display: grid; gap: 8px; }
.contact.sent { opacity: .55; }
.contact-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.contact-head h3 { margin: 0; font-size: 15.5px; }
.contact-head .tel { color: var(--muted); font-size: 13px; }
.flag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
  background: #FFF0D6; color: #7A4306; }
.flag.ok { background: #E2F2E8; color: #1D5B36; }
.msg { margin: 0; padding: 10px 12px; border-radius: 12px; background: #F3F8F4; font-size: 13.5px; line-height: 1.45;
  white-space: pre-line; }
.suite-label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
textarea.suite-text { width: 100%; min-height: 84px; border: 1.5px solid #CFE3D5; font-family: inherit; font-size: 15px;
  resize: vertical; white-space: pre-wrap; }
.contact details summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--muted); min-height: 32px;
  display: flex; align-items: center; }
.contact details form { display: grid; gap: 8px; margin-top: 6px; }
.inline-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.inline-fields input { min-height: 42px; padding: 6px 10px; border: 1.5px solid var(--field); border-radius: 10px;
  font-size: 15px; width: 100%; }
.counter { font-weight: 800; }
.tip ol { margin: 6px 0; padding-left: 20px; }
.flag.step { background: #F1E9EC; color: #731838; }
.flag.step-envoye { background: #FFF1DB; color: #6E3C06; }
.flag.step-repondu { background: #E2F2E8; color: #1D5B36; }
.flag.step-suite { background: #E4EEFB; color: #183A63; }
.flag.step-taille { background: #ECE6F8; color: #432A75; }
.history li.ev-taille { background: #ECE6F8; }
.history { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 6px; }
.history li { padding: 8px 10px; border-radius: 10px; background: #F7F2F4; font-size: 13.5px; line-height: 1.4; }
.history li.ev-reponse { background: #E2F2E8; }
.history .when { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.history .what { display: block; white-space: pre-wrap; overflow-wrap: anywhere; }
.contact details textarea { width: 100%; min-height: 64px; padding: 8px 10px; border: 1.5px solid var(--field);
  border-radius: 10px; font-size: 16px; resize: vertical; }
.contact details form .btn { justify-self: start; }
.wa-mode { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin: 0 0 10px; padding: 10px 12px;
  border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-size: 14px; }
.wa-mode label { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; cursor: pointer; }
.inline-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline-form select { min-height: 42px; padding: 6px 10px; border: 1.5px solid var(--field); border-radius: 10px;
  background: #fff; font-size: 16px; }
.settings-group { margin-bottom: 18px; }
.swatch { display: inline-block; width: 18px; height: 18px; border-radius: 50%; vertical-align: -4px; margin-left: 6px;
  border: 1px solid rgba(0, 0, 0, .15); }
.center-box { max-width: 440px; margin: 40px auto; }

/* ================================================================ statistiques (admin) */
.st-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.st-top h1 { margin-bottom: 4px; }
.st-periods { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 14px; margin: 0 -2px; scrollbar-width: none; }
.st-periods::-webkit-scrollbar { display: none; }
.st-periods a { flex: none; padding: 8px 14px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px;
  font-weight: 700; text-decoration: none; box-shadow: var(--shadow); min-height: 40px; display: inline-flex; align-items: center; }
.st-periods a.on { background: var(--ink); color: #fff; }
.live-head { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.live-head b { font-size: 26px; line-height: 1; }
.live-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #1D8A4E; box-shadow: 0 0 0 0 rgba(29, 138, 78, .5);
  animation: pulse 2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(29, 138, 78, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 138, 78, 0); } }
@media (prefers-reduced-motion: reduce) { .live-head .dot { animation: none; } }
.st-live .hint { margin-top: 6px; }
.live-lists { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px 18px; margin-top: 8px; }
.live-lists ul { list-style: none; margin: 0; padding: 0; }
.live-lists li { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-bottom: 1px solid var(--line);
  font-size: 13.5px; }
.live-lists li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-lists ul:empty { display: none; }
@media (min-width: 720px) { .live-lists { grid-template-columns: 1fr 1fr; } }
.st-insights ul { margin: 0; padding-left: 18px; display: grid; gap: 7px; font-size: 14.5px; line-height: 1.45; }
.st-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 6px; }
@media (min-width: 640px) { .st-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .st-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.kpi { background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow); min-width: 0; }
.kpi span:first-child { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.kpi b { display: block; font-size: 22px; line-height: 1.2; margin-top: 4px; overflow-wrap: anywhere; }
.dl { display: inline-block; margin-top: 4px; font-size: 12.5px; font-weight: 700; }
.dl.up { color: #1D5B36; }
.dl.down { color: #9A2A1C; }
.dl.flat { color: var(--muted); }
.st-note { margin: 0 0 16px; }
.chart-box { width: 100%; overflow: hidden; }
svg.chart { display: block; width: 100%; height: auto; font-family: var(--font); }
svg.chart .tick { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
svg.chart .xh { opacity: 0; transition: opacity .1s; pointer-events: none; }
svg.chart .col:hover .xh, svg.chart .col.on .xh { opacity: 1; }
svg.chart .hit:hover, svg.chart .hit.on { fill: rgba(34, 24, 28, .05); }
svg.chart [data-tip] { cursor: default; }
svg.map path[data-tip]:hover, svg.map path[data-tip].on { stroke: var(--ink); stroke-width: 1.4; }
svg.map circle[data-tip]:hover, svg.map circle[data-tip].on { fill-opacity: 1; }
svg.heat rect[data-tip]:hover, svg.heat rect[data-tip].on { stroke: var(--ink); stroke-width: 1.5; }
.heat-box { max-width: 720px; }
.scale { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 10px 0 4px; font-size: 12.5px; color: var(--muted); }
.scale span { display: inline-flex; align-items: center; gap: 6px; }
.scale i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
details { margin-top: 10px; }
details summary { cursor: pointer; font-size: 14px; font-weight: 700; padding: 6px 0; min-height: 32px; }
.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.funnel li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; }
.funnel .f-name { font-weight: 700; font-size: 14px; }
.funnel .f-bar { grid-column: 1 / -1; order: 3; }
.funnel .f-num { text-align: right; font-size: 14px; }
.funnel .f-step { grid-column: 1 / -1; order: 4; font-size: 12.5px; color: var(--muted); }
.funnel .lost { color: #9A2A1C; font-weight: 700; }
.meter { display: block; height: 8px; border-radius: 999px; background: #F8E4EB; overflow: hidden; min-width: 40px; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.tbl { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tbl table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tbl th, .tbl td { padding: 8px 6px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.tbl thead th { font-size: 12px; color: var(--muted); font-weight: 700; white-space: nowrap; }
.tbl tbody th { font-weight: 600; }
.tbl .n { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tbl .n small { display: block; color: var(--muted); font-size: 11.5px; }
.tbl .w { min-width: 110px; }
.tbl .w .meter { display: inline-block; width: 60px; vertical-align: middle; margin-right: 8px; }
.tbl .w .v { font-variant-numeric: tabular-nums; font-size: 12.5px; }
.tbl tr.alert th::before { content: "⚠ "; color: #9A6A00; }
.tbl tr.alert { background: #FFF8EC; }
.tbl .none { color: var(--muted); text-align: center; padding: 14px 6px; }
.panel h3 { margin: 16px 0 6px; font-size: 14.5px; font-weight: 800; }
.st-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 16px; }
@media (min-width: 900px) { .st-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.st-grid > .panel { min-width: 0; }
.map-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.map-box { max-width: 560px; width: 100%; margin: 0 auto; }
@media (min-width: 900px) { .map-wrap { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.map-side h3:first-child { margin-top: 0; }
.st-foot form { display: grid; gap: 8px; justify-items: start; margin-bottom: 12px; }
.panel code { font-size: 12px; background: #F6F3F4; padding: 1px 5px; border-radius: 6px; overflow-wrap: anywhere; }
.tip-pop { position: fixed; z-index: 100; pointer-events: none; max-width: 260px; padding: 7px 10px; border-radius: 9px;
  background: var(--ink); color: #fff; font-size: 13px; line-height: 1.35; box-shadow: 0 6px 18px rgba(34, 24, 28, .22); }
.st-today { display: grid; gap: 6px; text-decoration: none; color: inherit; }
.st-today .more { font-size: 13.5px; font-weight: 700; color: var(--accent-text); }
.chart-box .narrow { display: none; }
@media (max-width: 640px) {
  .chart-box .wide { display: none; }
  .chart-box .narrow { display: block; }
  .heat-box .narrow { max-width: 340px; margin: 0 auto; }
}
details > .alist { margin-top: 8px; }

/* ---------------------------------------------------------------- vente rapide (admin) */
.qrow { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; background: #fff;
  border-radius: 12px; padding: 10px; box-shadow: var(--shadow); scroll-margin-top: 70px; }
.qrow .im { width: 64px; height: 85px; border-radius: 8px; overflow: hidden; background: var(--img); }
.qrow .im img { width: 100%; height: 100%; object-fit: cover; }
.qrow h3 { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.3; }
.qrow p { margin: 2px 0 8px; font-size: 12px; color: var(--muted); }
.qsizes { display: flex; flex-wrap: wrap; gap: 8px; }
.qsizes form { margin: 0; }
.qbtn { min-width: 68px; min-height: 50px; padding: 5px 12px; display: inline-flex; flex-direction: column;
  align-items: center; justify-content: center; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff;
  line-height: 1.2; cursor: pointer; }
.qbtn b { font-size: 16px; }
.qbtn small { font-size: 12px; color: var(--muted); }
.qbtn:hover, .qbtn:focus-visible { background: var(--soft); }
details.panel > summary { font-size: 15px; }
