/* ============================================================
   Boutique en ligne OmniGest — ESHOP-01
   Deux mises en page pour un même site :
   - body[data-layout="vitrine"] : bannière à panneau incliné, rayons en cartes,
     cartes produit aérées (inspirée du modèle « PioMart », template_1.png) ;
   - body[data-layout="marche"]  : place de marché dense façon Alibaba.
   Les couleurs viennent du MODÈLE du type de boutique (config/eshop_templates.php),
   posées en variables par shop.js : ce fichier n'en code aucune en dur, hors
   les neutres.
   Mobile d'abord : la plupart des clients commandent depuis un téléphone.
   ============================================================ */

/* Polices hébergées avec le site (licence OFL, voir fonts/LICENCE.txt) :
   Outfit pour les titres et les prix, DM Sans pour le texte. */
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(fonts/outfit-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url(fonts/outfit-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(fonts/dmsans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url(fonts/dmsans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Outfit", "DM Sans", system-ui, sans-serif;
  --primary: #4a6b1d;
  --primary-2: #55762b;
  --soft: #e0f5e5;
  --accent: #fbbf24;
  --accent-ink: #1d1d1d;
  --hot: #ec4109;
  --price: #e5322d;
  --bg: #f9fbfc;
  --ink: #1d1d1d;
  --muted: #6b7280;
  --line: #e7e9ee;
  --card: #ffffff;
  --ok: #15803d;
  --ko: #dc2626;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(16, 24, 40, .08);
  --shadow-sm: 0 2px 10px rgba(16, 24, 40, .06);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, .brand-name, .price, .btn, .search-go, .cart-total, .detail-price, .footer-brand, .cartbar, .ref {
  font-family: var(--display); letter-spacing: -.01em;
}
h1, h2, h3 { font-weight: 700; }
.wrap { max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ── Icônes (assets/icons.svg, Phosphor duotone) ── */
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; flex-shrink: 0; fill: currentColor; color: var(--primary); --duo: var(--accent); --duo-o: .55; }

/* ── En-tête ─────────────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 30; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.topbar-in {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand actions" "search search";
  align-items: center; gap: 10px 12px; padding-top: 10px; padding-bottom: 10px;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; color: inherit; }
.brand-logo {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; overflow: hidden;
  background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 16px;
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-weight: 800; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-text small { color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.search {
  grid-area: search; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 5px 0 14px;
  background: #f2f4f6; border: 1px solid transparent; border-radius: 999px;
}
.search:focus-within { border-color: var(--primary); background: #fff; }
.search > svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 15px; }
.search input::-webkit-search-cancel-button { display: none; }
.search-go {
  height: 36px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--primary); color: #fff;
  font-weight: 700; font-size: 13.5px;
}

.top-actions { grid-area: actions; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--card);
}
.icon-btn svg { width: 21px; height: 21px; }
.cart-btn { background: var(--primary); color: #fff; border-color: var(--primary); }
.cart-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--hot); color: #fff; font-size: 11.5px; font-weight: 800; display: grid; place-items: center;
  border: 2px solid #fff;
}
.cart-total { display: none; font-weight: 800; font-size: 14px; }

.subnav { border-top: 1px solid var(--line); background: var(--card); }
.subnav-in { display: flex; align-items: center; gap: 8px; padding-top: 8px; padding-bottom: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav-in::-webkit-scrollbar { display: none; }
.all-cats {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px;
  border: 0; border-radius: 999px; background: var(--soft); color: var(--primary); font-weight: 700; font-size: 13.5px;
}
.all-cats svg { width: 16px; height: 16px; }
.quick-cats { display: flex; gap: 4px; }
.qcat {
  flex-shrink: 0; height: 34px; padding: 0 12px; border: 0; border-radius: 999px; background: transparent;
  font-size: 13.5px; font-weight: 600; color: #374151; white-space: nowrap;
}
.qcat:hover, .qcat[aria-pressed="true"] { background: var(--soft); color: var(--primary); }
.qcat span { margin-right: 6px; font-size: 16px; }
.subnav-info { margin-left: auto; flex-shrink: 0; color: var(--muted); font-size: 12.5px; white-space: nowrap; padding-left: 10px; }

/* ── Bannière « vitrine » (template_1) ───────────────────── */
.hero { margin-top: 18px; }
[data-layout="vitrine"] .hero {
  position: relative; display: grid; gap: 18px; background: var(--card); border-radius: 26px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.hero-copy { position: relative; z-index: 2; padding: 26px 22px 6px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; margin: 0 0 16px; padding: 5px 14px 5px 5px;
  border-radius: 999px; background: var(--soft); color: var(--primary); font-size: 13px; font-weight: 600; line-height: 1.3;
}
.kicker i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 17px; background: #fff; flex-shrink: 0; }
.hello { display: block; margin: 0 0 6px; color: var(--muted); font-size: 14px; }
.hello b { color: var(--ink); }
.hero h1 { margin: 0; font-size: 32px; line-height: 1.08; font-weight: 700; letter-spacing: -.025em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-lead { color: #4b5563; margin: 14px 0 20px; max-width: 46ch; font-size: 15px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-cta .btn { flex: 1 1 140px; padding: 0 14px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.trust span {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border-radius: 999px;
  background: var(--card); box-shadow: 0 4px 14px rgba(16, 24, 40, .08); font-size: 12.5px; font-weight: 600;
}
.trust i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 17px; background: var(--soft); }

.hero-art { position: relative; min-height: 260px; }
.hero-panel {
  position: absolute; inset: 0 0 0 18%; background: var(--primary);
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-panel::after {
  content: attr(data-word); position: absolute; right: 8px; top: 50%; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; font: 800 46px/1 var(--display); letter-spacing: .06em;
  color: rgba(255, 255, 255, .09); white-space: nowrap;
}
.plate {
  position: absolute; left: 50%; top: 50%; width: 210px; height: 210px; transform: translate(-50%, -50%);
  border-radius: 50%; background: #fff; box-shadow: 0 22px 50px rgba(0, 0, 0, .18);
  display: grid; place-items: center;
}
.plate-main { font-size: 104px; line-height: 1; display: grid; }
.plate-main .ic { --duo-o: .7; }
.plate .orb {
  position: absolute; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  font-size: 30px; background: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, .14);
}
.plate .orb .ic { --duo-o: .8; }
.plate .orb:nth-child(odd) .ic { color: var(--hot); --duo: var(--hot); --duo-o: .2; }
.plate .orb:nth-child(2) { left: -26px; top: 18px; }
.plate .orb:nth-child(3) { right: -24px; top: 4px; }
.plate .orb:nth-child(4) { right: -30px; bottom: 30px; }
.plate .orb:nth-child(5) { left: -14px; bottom: -6px; }
.plate .orb:nth-child(6) { left: 72px; bottom: -30px; }
.float-card {
  position: absolute; left: 4%; bottom: 18px; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 9px 16px 9px 9px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); max-width: 290px;
}
.float-card i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 22px; background: var(--soft); flex-shrink: 0; }
.float-card b { display: block; font-size: 13px; }
.float-card small { display: block; color: var(--muted); font-size: 11.5px; line-height: 1.3; }

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:disabled, .btn-accent:disabled { opacity: .55; cursor: not-allowed; }
.btn-wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn-block { width: 100%; }
.round {
  width: 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; color: #fff;
}
.round svg { width: 18px; height: 18px; }
.round.dark { background: #1d1d1d; }
.round.prim { background: var(--primary); }

/* ── Blocs ───────────────────────────────────────────────── */
.block { margin-top: 34px; }
.block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.block-head h2 { margin: 0; font-size: 22px; font-weight: 700; }
.block-head.center { justify-content: center; text-align: center; }
.block-head p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.see-all { border: 0; background: none; padding: 6px 0; color: var(--primary); font-weight: 700; font-size: 14px; white-space: nowrap; }
.see-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.rail-nav { display: flex; gap: 8px; }

.cat-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: none;
}
.cat-rail::-webkit-scrollbar { display: none; }
.cat-card {
  scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  min-height: 170px; padding: 14px; border: 1px solid transparent; border-radius: 18px; background: var(--card);
  box-shadow: var(--shadow-sm); text-align: left;
}
.cat-card:hover, .cat-card[aria-pressed="true"] { border-color: var(--primary); }
.cat-card b { font-size: 14px; line-height: 1.25; }
.cat-card small { color: var(--muted); font-size: 12px; }
.cat-ico {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; font-size: 38px;
  align-self: center; background: var(--tile, var(--soft));
}
.cat-ico .ic, .ph .ic { --duo-o: .75; }

.perks { display: grid; gap: 12px; }
.perk {
  position: relative; overflow: hidden; border-radius: 22px; padding: 20px; min-height: 150px;
  background: var(--tile, var(--soft)); display: flex; flex-direction: column; align-items: flex-start;
}
.perk .perk-kick { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 12px; font-weight: 700; }
.perk h3 { margin: 10px 0 4px; font-size: 24px; font-weight: 700; max-width: 70%; line-height: 1.15; }
.perk p { margin: 0 0 14px; font-size: 13px; color: #374151; max-width: 62%; }
.perk .pill { margin-top: auto; height: 32px; padding: 0 14px; border-radius: 999px; border: 0; font-weight: 700; font-size: 12.5px; background: var(--primary); color: #fff; }
.perk .perk-ico { position: absolute; right: 16px; bottom: 12px; font-size: 76px; line-height: 1; display: grid; }
.perk .perk-ico .ic { --duo-o: .8; }

/* ── Grille d'articles ───────────────────────────────────── */
.list-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.list-head span { color: var(--muted); font-size: 13px; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sort select { height: 38px; border: 1px solid var(--line); border-radius: 999px; padding: 0 12px; background: var(--card); color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); overflow: hidden; border: 1px solid transparent; transition: border-color .15s, transform .15s;
}
.card:hover { border-color: var(--line); transform: translateY(-3px); box-shadow: var(--shadow); }
.card-media {
  position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; padding: 12px; border: 0;
  background: #fff;
}
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.ph {
  width: 100%; height: 100%; border-radius: 12px; display: grid; place-items: center;
  background: var(--tile, var(--soft)); font-size: clamp(54px, 9vw, 78px); line-height: 1;
}
.ph-name { display: none; }
.badge {
  position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 800;
  color: #fff; background: var(--price);
}
.badge.out { background: #6b7280; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 4px 12px 12px; flex: 1; }
.card-cat { color: var(--muted); font-size: 11.5px; }
.card-name {
  border: 0; padding: 0; background: none; text-align: left; font-weight: 600; font-size: 14.5px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 6px; }
.price { font-weight: 700; font-size: 17px; white-space: nowrap; color: var(--price); }
.price small { font-weight: 600; font-size: 11.5px; color: var(--muted); }
.add {
  width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 14px rgba(0, 0, 0, .12);
  transition: transform .12s;
}
.add:active { transform: scale(.92); }
.add svg { width: 20px; height: 20px; }
.add:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; background: var(--soft); border-radius: 999px; overflow: hidden; }
.stepper button { width: 34px; height: 36px; border: 0; background: transparent; font-size: 18px; font-weight: 800; color: var(--primary); }
.stepper span { min-width: 22px; text-align: center; white-space: nowrap; padding: 0 2px; font-weight: 800; font-size: 14px; }
.more { display: flex; justify-content: center; padding: 22px 0 6px; }

.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 10px; }
.empty svg { width: 46px; height: 46px; margin-bottom: 8px; }
.skeleton { background: linear-gradient(90deg, #eceef1 25%, #f5f6f8 37%, #eceef1 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: var(--radius); }
@keyframes sk { 0% { background-position: 100% 0 } 100% { background-position: 0 0 } }
.card.skeleton { aspect-ratio: 3 / 4.2; box-shadow: none; }

/* ── Pied de page ────────────────────────────────────────── */
.footer { margin-top: 48px; background: var(--primary); color: rgba(255, 255, 255, .86); }
.footer-in { display: grid; gap: 22px; padding-top: 30px; padding-bottom: 26px; font-size: 13.5px; line-height: 1.6; }
.footer h4 { margin: 0 0 8px; color: #fff; font-size: 15px; }
.footer a { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 14px; padding-bottom: 84px; font-size: 12px; opacity: .8; }

/* ── Barre panier (téléphone) ────────────────────────────── */
.cartbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 35;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 54px; padding: 0 8px 0 18px;
  border: 0; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 800; box-shadow: 0 12px 30px rgba(0,0,0,.25);
}
.cartbar span:last-child { background: var(--accent); color: var(--accent-ink); padding: 9px 16px; border-radius: 999px; }

/* ── Panneaux (panier, commande, fiche, suivi) ───────────── */
.backdrop { position: fixed; inset: 0; background: rgba(17, 24, 39, .45); z-index: 40; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; max-height: 92vh;
  display: flex; flex-direction: column; background: var(--card);
  border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,.18); animation: up .22s ease;
}
@keyframes up { from { transform: translateY(30px); opacity: .4 } to { transform: none; opacity: 1 } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.sheet-head h2 { margin: 0; font-size: 18px; }
.sheet-body { overflow-y: auto; padding: 14px 16px; flex: 1; }
.sheet-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.sheet-foot:empty { display: none; }

.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-thumb { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.line-thumb img { width: 100%; height: 100%; object-fit: contain; }
.line-thumb .ph { font-size: 26px; border-radius: 0; }
.line-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.line-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.totals { margin-top: 12px; font-size: 14.5px; }
.totals div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.totals .grand { font-size: 17px; font-weight: 800; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 10px; }
.note { padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 13.5px; line-height: 1.45; margin: 10px 0; }
.note.warn { background: #fef3c7; color: #78350f; }
.note.ko { background: #fee2e2; color: #7f1d1d; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 14px; }
.field small { color: var(--muted); font-size: 12.5px; }
.input { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; outline: none; }
textarea.input { min-height: 70px; resize: vertical; }
.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--soft); }
.input.invalid { border-color: var(--ko); }
.err { color: var(--ko); font-size: 12.5px; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice label { display: flex; flex-direction: column; gap: 2px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { border-color: var(--primary); background: var(--soft); }
.choice b { font-size: 14.5px; }
.choice span { color: var(--muted); font-size: 12.5px; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }

.detail-media { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); margin-bottom: 14px; padding: 10px; }
.detail-media img { width: 100%; height: 100%; object-fit: contain; }
.detail-media .ph { font-size: 90px; }
.detail-cat { color: var(--muted); font-size: 13px; }
.detail-price { font-size: 24px; font-weight: 800; margin: 6px 0 10px; color: var(--price); }
.detail-desc { color: #374151; line-height: 1.55; font-size: 14.5px; white-space: pre-line; }

.cat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.cat-list button {
  display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--card); text-align: left; font-weight: 600; font-size: 13.5px;
}
.cat-list i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 20px; background: var(--tile, var(--soft)); flex-shrink: 0; }
.cat-list small { display: block; color: var(--muted); font-weight: 400; font-size: 11.5px; }

.done { text-align: center; padding: 10px 0 4px; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: #dcfce7; color: var(--ok); }
.done-icon svg { width: 34px; height: 34px; }
.done h3 { margin: 0 0 6px; font-size: 20px; }
.ref { display: inline-flex; gap: 8px; margin-top: 10px; padding: 10px 14px; border-radius: 12px; background: var(--bg); font-family: ui-monospace, Consolas, monospace; font-weight: 700; }
.steps { list-style: none; margin: 14px 0; padding: 0; }
.steps li { position: relative; padding: 0 0 18px 34px; color: var(--muted); }
.steps li::before { content: ""; position: absolute; left: 7px; top: 3px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); background: #fff; }
.steps li::after { content: ""; position: absolute; left: 14px; top: 20px; bottom: 0; width: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps li.on { color: var(--ink); font-weight: 600; }
.steps li.on::before { background: var(--primary); border-color: var(--primary); }
.steps li.on::after { background: var(--primary); }
.steps li.ko { color: var(--ko); font-weight: 600; }
.steps li.ko::before { background: var(--ko); border-color: var(--ko); }

.toast {
  position: fixed; left: 50%; bottom: 84px; transform: translateX(-50%); z-index: 60;
  max-width: calc(100% - 32px); padding: 11px 16px; border-radius: 12px; background: #111827; color: #fff;
  font-size: 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 8px;
}
.toast::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='%23111' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.closed { text-align: center; padding: 70px 20px; }
.closed h1 { font-size: 22px; margin: 0 0 8px; }
.closed p { color: var(--muted); }

/* ── Mise en page « marché » (façon Alibaba) ─────────────── */
[data-layout="marche"] .topbar-in { background: var(--card); }
[data-layout="marche"] .subnav { background: var(--primary); border-top: 0; }
[data-layout="marche"] .all-cats { background: rgba(0, 0, 0, .18); color: #fff; }
[data-layout="marche"] .qcat { color: rgba(255, 255, 255, .92); }
[data-layout="marche"] .qcat:hover, [data-layout="marche"] .qcat[aria-pressed="true"] { background: rgba(255, 255, 255, .2); color: #fff; }
[data-layout="marche"] .subnav-info { color: rgba(255, 255, 255, .85); }
[data-layout="marche"] .search { border: 2px solid var(--primary); background: #fff; }
[data-layout="marche"] .hero { display: grid; gap: 12px; }
.side-cats { display: none; }
.banner {
  position: relative; overflow: hidden; border-radius: 18px; padding: 24px 20px; min-height: 220px; color: #fff;
  background: linear-gradient(120deg, var(--primary), var(--primary-2));
}
.banner .kicker { background: rgba(255, 255, 255, .18); color: #fff; }
.banner .hello, .banner .hello b { color: rgba(255, 255, 255, .9); }
.banner h1 em { color: #fff; text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.banner .hero-lead { color: rgba(255, 255, 255, .9); }
.banner .btn-accent { background: #fff; border-color: #fff; color: var(--primary); }
.banner-art { position: absolute; right: -10px; bottom: -14px; font-size: 120px; line-height: 1; }
.banner-art .ic { color: #fff; --duo: #fff; --duo-o: .25; }
.banner-art span { position: absolute; font-size: 46px; }
.banner-art span:nth-child(1) { left: -58px; top: -36px; }
.banner-art span:nth-child(2) { left: -16px; top: -88px; }
.banner::after {
  content: attr(data-word); position: absolute; right: 18px; top: 10px; font: 800 44px/1 var(--display);
  color: rgba(255, 255, 255, .08); white-space: nowrap; pointer-events: none;
}
.how { background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.how h3 { margin: 0 0 12px; font-size: 16px; }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.how li { display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: start; font-size: 13px; color: #4b5563; }
.how li b { display: block; color: var(--ink); font-size: 13.5px; }
.how li i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--soft); color: var(--primary); }
.how .facts { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: 12.5px; color: #374151; }
[data-layout="marche"] #perksBlock { display: none !important; }
[data-layout="marche"] .grid { gap: 8px; }
[data-layout="marche"] .card { border-radius: 10px; box-shadow: none; border: 1px solid var(--line); }
[data-layout="marche"] .card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); transform: none; }
[data-layout="marche"] .card-media { padding: 8px; }
[data-layout="marche"] .ph { border-radius: 8px; }
[data-layout="marche"] .price { font-size: 17px; }
[data-layout="marche"] .add { width: auto; padding: 0 12px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--primary); color: var(--primary); }
[data-layout="marche"] .cat-card { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; box-shadow: none; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
[data-layout="marche"] .cat-rail { grid-auto-columns: 190px; }
[data-layout="marche"] .cat-ico { width: 44px; height: 44px; font-size: 22px; align-self: center; }

/* ── Tablette ────────────────────────────────────────────── */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .perks { grid-template-columns: 1fr 1fr; }
  .perk:first-child { grid-row: span 2; min-height: 312px; }
  .perk:first-child h3 { font-size: 34px; }
  .perk:first-child .perk-ico { font-size: 120px; }
  .footer-in { grid-template-columns: 1.4fr 1fr 1fr; }
  .cat-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Ordinateur ──────────────────────────────────────────── */
@media (min-width: 900px) {
  .topbar-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand search actions"; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
  .search { max-width: 560px; justify-self: center; width: 100%; }
  .cart-total { display: inline; margin-left: 4px; }
  .cartbar { display: none !important; }
  .footer-bottom { padding-bottom: 18px; }
  .hero-cta .btn { flex: 0 0 auto; padding: 0 22px; }

  [data-layout="vitrine"] .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: 440px; }
  .hero-copy { padding: 52px 20px 40px 52px; align-self: center; }
  .hero h1 { font-size: 50px; }
  .hero-lead { font-size: 16px; }
  .hero-art { min-height: 440px; }
  .hero-panel { inset: 0 0 0 10%; }
  .hero-panel::after { font-size: 76px; right: 14px; }
  .plate { width: 290px; height: 290px; left: 50%; }
  .plate-main { font-size: 130px; }
  .plate .orb { width: 74px; height: 74px; font-size: 38px; }
  .float-card { left: -6%; bottom: 70px; }

  .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
  .perks { grid-template-columns: 1.15fr 1fr; }
  .block { margin-top: 48px; }
  .block-head h2, .list-head h2 { font-size: 28px; }
  .cat-rail { grid-auto-columns: 170px; }

  .sheet { left: auto; top: 0; bottom: 0; width: 460px; max-height: none; border-radius: 0; animation: side .22s ease; }
  @keyframes side { from { transform: translateX(30px); opacity: .4 } to { transform: none; opacity: 1 } }

  [data-layout="marche"] .hero { grid-template-columns: 230px minmax(0, 1fr) 270px; align-items: stretch; }
  [data-layout="marche"] .side-cats { display: block; background: var(--card); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-sm); max-height: 380px; overflow-y: auto; }
  .side-cats h3 { margin: 4px 8px 8px; font-size: 14px; }
  .side-cats button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: none; text-align: left; font-size: 13.5px; }
  .side-cats button:hover, .side-cats button[aria-pressed="true"] { background: var(--soft); color: var(--primary); }
  .side-cats button span:last-child { margin-left: auto; color: var(--muted); font-size: 12px; }
  .banner { padding: 40px 36px; min-height: 340px; }
  .banner h1 { font-size: 40px; max-width: 15ch; }
  .banner-art { font-size: 170px; right: 18px; bottom: 6px; }
  .banner-art span { font-size: 60px; }
  [data-layout="marche"] #catsBlock { display: none !important; }
  [data-layout="marche"] .grid { grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sheet, .skeleton { animation: none; }
  .card { transition: none; }
}

/* ════════════════════════════════════════════════════════════
   ESHOP-02 : pages du site, favoris, compte client
   ════════════════════════════════════════════════════════════ */

/* ── En-tête : favoris, compte, panier ── */
.top-actions { gap: 4px; }
.act-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 10px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font-weight: 600; font-size: 14px;
}
.act-btn:hover { background: var(--soft); }
.act-ico { position: relative; display: grid; place-items: center; font-size: 24px; }
.act-ico .ic { color: var(--ink); --duo: var(--accent); --duo-o: .6; }
.act-btn.on .act-ico .ic { color: var(--primary); }
.act-btn.cart { background: var(--primary); color: #fff; padding: 0 14px 0 12px; }
.act-btn.cart .act-ico .ic { color: #fff; --duo: #fff; --duo-o: .3; }
.act-btn.cart:hover { background: var(--primary-2); }
.badge-n {
  position: absolute; top: -6px; right: -8px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
  background: var(--hot); color: #fff; font: 700 11px/14px var(--font); text-align: center; border: 2px solid #fff;
}
.act-label { display: none; font-family: var(--display); }
.act-btn.cart .act-label { display: inline; }

/* ── Navigation des pages ── */
.pages-nav { display: flex; gap: 2px; }
.pages-nav a {
  flex-shrink: 0; padding: 8px 14px; border-radius: 999px; color: #374151; text-decoration: none;
  font-weight: 600; font-size: 14px; white-space: nowrap;
}
.pages-nav a:hover { background: var(--soft); color: var(--primary); }
.pages-nav a[aria-current="page"] { background: var(--primary); color: #fff; }
.all-cats .ic { font-size: 17px; color: currentColor; --duo: currentColor; }
[data-layout="marche"] .pages-nav a { color: rgba(255, 255, 255, .92); }
[data-layout="marche"] .pages-nav a:hover { background: rgba(255, 255, 255, .18); color: #fff; }
[data-layout="marche"] .pages-nav a[aria-current="page"] { background: #fff; color: var(--primary); }

/* ── Favoris ── */
.fav {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0;
  display: grid; place-items: center; font-size: 19px; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-sm);
  transition: transform .12s;
}
.fav .ic { color: #9ca3af; --duo: transparent; }
.fav[aria-pressed="true"] .ic { color: var(--hot); --duo: var(--hot); --duo-o: 1; }
.fav:active { transform: scale(.88); }
.detail-media { position: relative; }
.line-right .fav { position: static; box-shadow: none; background: var(--bg); }

/* ── Pages d'information ── */
.page { padding-top: 26px; padding-bottom: 10px; min-height: 50vh; }
.page-head { max-width: 760px; margin-bottom: 26px; }
.page-head .kicker { margin-bottom: 14px; }
.page-head h1 { margin: 0; font-size: 34px; line-height: 1.1; text-wrap: balance; }
.page-head p { margin: 12px 0 0; color: #4b5563; font-size: 16px; }
.page-h2 { margin: 34px 0 14px; font-size: 22px; }
.page-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.muted { color: var(--muted); font-size: 14px; }
.btn .ic { font-size: 19px; color: currentColor; --duo: currentColor; --duo-o: .25; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stats-row > div { background: var(--card); border-radius: 18px; padding: 18px; box-shadow: var(--shadow-sm); }
.stats-row b { display: block; font-family: var(--display); font-size: 26px; color: var(--primary); line-height: 1.1; }
.stats-row span { color: var(--muted); font-size: 13.5px; }

.info-grid, .contact-grid, .tips-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.info-card, .contact-card, .tip-card, .side-card {
  display: flex; flex-direction: column; gap: 6px; background: var(--card); border-radius: 20px; padding: 20px;
  box-shadow: var(--shadow-sm); border: 1px solid transparent; color: inherit; text-decoration: none;
}
.info-card i, .contact-card i, .side-card i {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-size: 26px;
  background: var(--soft); margin-bottom: 6px;
}
.info-card b, .contact-card b, .side-card b { font-family: var(--display); font-size: 17px; }
.info-card span, .contact-card span, .side-card span { color: #4b5563; font-size: 14px; }
a.contact-card { transition: transform .15s, border-color .15s; }
a.contact-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.contact-card.wa i { background: #dcfce7; color: #16a34a; }
.contact-card.wa i svg { width: 26px; height: 26px; }

.place-card {
  margin-top: 16px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 20px;
  border-radius: 20px; background: var(--soft);
}
.place-card > i { font-size: 30px; font-style: normal; display: grid; }
.place-card div { flex: 1; min-width: 180px; display: grid; }
.place-card b { font-family: var(--display); font-size: 17px; }
.place-card span { color: #374151; font-size: 14px; }

.tip-card { gap: 8px; }
.tip-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 30px; background: var(--tile, var(--soft)); margin-bottom: 4px; }
.tip-ico .ic { --duo-o: .75; }
.tip-card h3 { margin: 0; font-size: 18px; }
.tip-card p { margin: 0; color: #4b5563; font-size: 14.5px; line-height: 1.55; }

.help-layout { display: grid; gap: 18px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: var(--shadow-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; font-weight: 700; font-family: var(--display); font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { display: grid; font-size: 18px; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 18px 18px; color: #4b5563; line-height: 1.6; }
.help-side { display: grid; gap: 14px; align-content: start; }
.side-card small { color: var(--muted); font-size: 12.5px; text-align: center; }
.side-card .btn { margin-top: 8px; }

.contact-form { margin-top: 26px; max-width: 760px; background: var(--card); border-radius: 22px; padding: 22px; box-shadow: var(--shadow-sm); }
.contact-form .page-h2 { margin-top: 0; margin-bottom: 4px; }
.field-row2 { display: grid; gap: 0 12px; grid-template-columns: 1fr; }

/* ── Panneaux : compte et favoris ── */
.empty-state { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty-state .ic { font-size: 46px; color: var(--primary); --duo-o: .5; }
.empty-state p { margin: 10px 0 4px; color: var(--ink); font-weight: 700; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg); margin-bottom: 16px; }
.seg button { height: 38px; border: 0; border-radius: 999px; background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); }
.seg button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }
.perks-list { list-style: none; margin: 0 0 16px; padding: 14px; border-radius: 16px; background: var(--soft); display: grid; gap: 8px; font-size: 14px; }
.perks-list li { display: flex; gap: 8px; align-items: flex-start; }
.perks-list .ic { font-size: 18px; margin-top: 1px; }
.me-head { display: flex; align-items: center; gap: 12px; padding: 4px 0 6px; }
.me-avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font: 700 19px var(--display); }
.me-head b { display: block; font-family: var(--display); font-size: 18px; }
.me-head span { color: var(--muted); font-size: 14px; }
.sheet-h3 { margin: 20px 0 10px; font-size: 16px; }
.order-row {
  width: 100%; display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px;
  margin-bottom: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); text-align: left;
}
.order-row:hover { border-color: var(--primary); }
.order-row small { display: block; color: var(--muted); font-size: 12.5px; }
.step { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--soft); color: var(--primary); }
.step.cancelled { background: #fee2e2; color: #991b1b; }
.step.delivered { background: #e5e7eb; color: #374151; }
.pw-box { margin: 4px 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }
.pw-box summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.pw-box[open] summary { margin-bottom: 12px; }

.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-bottom: 14px; font-size: 14px; }
.footer-links a { color: #fff; text-decoration: none; opacity: .9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }

@media (min-width: 640px) {
  .field-row2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .act-label { display: inline; }
  .act-btn { padding: 0 14px 0 10px; }
  .page-head h1 { font-size: 46px; }
  .help-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; }
  .help-side { position: sticky; top: 140px; }
}
@media (max-width: 639px) {
  .act-btn { padding: 0 8px; }
  .act-btn.cart .act-label { display: none; }
  .act-btn.cart { width: 44px; padding: 0; justify-content: center; }
}

/* ── ESHOP-03 : contenus écrits par la boutique, annulation, nouvelles ── */
.prose { max-width: 760px; margin: -6px 0 22px; color: #374151; font-size: 16px; line-height: 1.7; }
.prose p { margin: 0 0 12px; }
.highlights { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.highlights li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--soft); font-weight: 600; }
.highlights .ic { font-size: 20px; margin-top: 1px; }
.faq-a { padding: 0 18px 8px; color: #4b5563; line-height: 1.6; }
.faq-a p { margin: 0 0 10px; }
.contact-form.sent { text-align: center; display: grid; justify-items: center; gap: 6px; }
.contact-form.sent > i { font-size: 54px; font-style: normal; display: grid; }
.contact-form.sent p { color: #4b5563; margin: 0 0 12px; }
.btn-danger { background: #dc2626; border-color: #dc2626; color: #fff; }
.btn-danger-soft { background: #fff; border-color: #fecaca; color: #b91c1c; }
.cancel-box { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.cancel-box p { margin: 0 0 10px; }
.danger-box { border-color: #fecaca; }
.danger-box summary { color: #b91c1c; }
.news-row {
  width: 100%; display: grid; gap: 2px; text-align: left; padding: 10px 12px 10px 14px; margin-bottom: 8px;
  border: 1px solid var(--line); border-left: 4px solid var(--line); border-radius: 12px; background: var(--card);
}
.news-row.unread { border-left-color: var(--hot); background: #fff7ed; }
.news-row b { font-size: 14px; }
.news-row span { color: #4b5563; font-size: 13.5px; }
.news-row small { color: var(--muted); font-size: 12px; }

/* ════════════════════════════════════════════════════════════
   ESHOP-04 : pages du client (fiche, panier, commande, suivi,
   connexion, espace client). Mobile d'abord.
   ════════════════════════════════════════════════════════════ */

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-bottom: 18px; font-size: 13.5px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.crumbs span { display: grid; font-size: 12px; }
.crumbs b { color: var(--ink); font-weight: 600; max-width: 60vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.page-title { margin: 0 0 18px; font-size: 28px; line-height: 1.15; }
.page-title small { font: 500 15px var(--font); color: var(--muted); margin-left: 8px; }
.center { text-align: center; }
.small { font-size: 12.5px; }
.center-link { display: block; text-align: center; margin-top: 10px; }

.stock { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.stock .ic { font-size: 18px; }
.stock.in { color: var(--ok); } .stock.in .ic { color: var(--ok); --duo: var(--ok); }
.stock.low { color: #b45309; } .stock.low .ic { color: #b45309; --duo: #f59e0b; }
.stock.out { color: var(--ko); } .stock.out .ic { color: var(--ko); --duo: var(--ko); }

/* ── Fiche produit ── */
.pp { display: grid; gap: 22px; }
.pp-media { position: relative; aspect-ratio: 1 / 1; border-radius: 24px; background: var(--card); box-shadow: var(--shadow-sm); padding: 22px; display: grid; }
.pp-media img { width: 100%; height: 100%; object-fit: contain; }
.pp-media .ph { font-size: clamp(110px, 24vw, 190px); border-radius: 18px; }
.pp-media .fav { width: 44px; height: 44px; font-size: 22px; top: 16px; right: 16px; }
.pp-info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.pp-cat { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; border: 0; border-radius: 999px; background: var(--soft); color: var(--primary); font-weight: 600; font-size: 13px; }
.pp-cat .ic { font-size: 17px; }
.pp-info h1 { margin: 0; font-size: 30px; line-height: 1.15; text-wrap: balance; }
.pp-price { font: 700 30px/1 var(--display); color: var(--price); }
.pp-price small { font: 500 15px var(--font); color: var(--muted); }
.pp-desc { color: #374151; line-height: 1.65; }
.pp-desc p { margin: 0 0 8px; }
.pp-buy { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; margin-top: 4px; }
.qty-picker { display: inline-flex; align-items: center; height: 50px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); overflow: hidden; }
.qty-picker button { width: 48px; height: 100%; border: 0; background: transparent; font-size: 22px; font-weight: 700; color: var(--primary); }
.qty-picker input { width: 52px; border: 0; text-align: center; font: 700 17px var(--display); background: transparent; -moz-appearance: textfield; }
.qty-picker input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-picker .qty-unit { padding-right: 4px; font: 600 14px var(--font); color: var(--muted, #6b7280); }
.pp-add { flex: 1; min-width: 200px; height: 50px; font-size: 16px; }
.pp-add .ic { font-size: 20px; color: currentColor; --duo: currentColor; --duo-o: .25; }
.pp-facts { list-style: none; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; width: 100%; font-size: 14px; color: #374151; }
.pp-facts li { display: flex; gap: 10px; align-items: center; }
.pp-facts .ic { font-size: 22px; }
.related { margin-top: 40px; }

/* ── Panier et commande ── */
.cp { display: grid; gap: 20px; align-items: start; }
.cp-lines { display: grid; gap: 10px; align-content: start; }
.cp-lines > .btn { justify-self: start; margin-top: 6px; }
.cp-line {
  display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; grid-template-areas: "t i x" "t s a"; gap: 6px 12px; align-items: center;
  padding: 12px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-sm);
}
.cp-thumb { grid-area: t; width: 72px; height: 72px; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: grid; }
.cp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.cp-thumb .ph { font-size: 36px; border-radius: 0; }
.cp-info { grid-area: i; display: grid; gap: 2px; min-width: 0; }
.cp-name { font-weight: 600; color: var(--ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cp-name:hover { color: var(--primary); }
.cp-unit { color: var(--muted); font-size: 13px; }
.cp-line .stepper { grid-area: s; justify-self: start; }
.cp-amount { grid-area: a; font-family: var(--display); font-size: 17px; justify-self: end; }
.cp-remove { grid-area: x; justify-self: end; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; font-size: 17px; }
.cp-remove:hover { background: #fee2e2; }
.cp-remove .ic { color: var(--muted); --duo: transparent; }
.summary-card { background: var(--card); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-sm); }
.summary-card + .summary-card { margin-top: 14px; }
.summary-card h2 { margin: 0 0 12px; font-size: 18px; }
.summary-card .btn-block { margin-top: 12px; }
.summary-card .note { display: flex; gap: 8px; align-items: flex-start; }
.summary-card .note .ic { font-size: 18px; flex-shrink: 0; }
.sum-lines { display: grid; gap: 10px; padding-bottom: 6px; max-height: 340px; overflow-y: auto; }
.sum-line { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.sum-line:not(:has(.sum-thumb)) { grid-template-columns: minmax(0, 1fr) auto; }
.sum-thumb { position: relative; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; display: grid; }
.sum-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.sum-thumb .ph { font-size: 22px; border-radius: 11px; }
.sum-thumb i { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 11px/20px var(--font); font-style: normal; text-align: center; }
.sum-name { overflow: hidden; text-overflow: ellipsis; }
.sum-name small { color: var(--muted); }

.co-steps { list-style: none; margin: 0 0 18px; padding: 0; display: flex; gap: 6px; counter-reset: st; font-size: 13px; font-weight: 600; color: var(--muted); flex-wrap: wrap; }
.co-steps li { display: flex; align-items: center; gap: 8px; counter-increment: st; }
.co-steps li::before { content: counter(st); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--muted); font-size: 12px; }
.co-steps li + li::after { content: none; }
.co-steps li:not(:last-child) { margin-right: 18px; }
.co-steps li.done::before { content: "✓"; background: var(--soft); color: var(--primary); }
.co-steps li.on { color: var(--ink); }
.co-steps li.on::before { background: var(--primary); color: #fff; }
.co-login { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 18px; border-radius: 18px; background: var(--soft); font-size: 14px; }
.co-login > .ic { font-size: 26px; }
.co-login span { flex: 1; min-width: 200px; }
.co { display: grid; gap: 20px; align-items: start; }
.co-form { display: grid; gap: 14px; }
.co-sec { background: var(--card); border-radius: 20px; padding: 20px; box-shadow: var(--shadow-sm); }
.co-sec h2 { margin: 0 0 14px; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.co-sec h2 span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 14px; }
.choice label { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 10px; }
.choice label > i { display: grid; font-size: 24px; font-style: normal; }
.choice label b { flex: 1; }
.choice label span { width: 100%; }

/* ── Confirmation ── */
.thanks { max-width: 640px; margin: 10px auto 0; text-align: center; display: grid; justify-items: center; gap: 10px; }
.thanks .done-icon { width: 84px; height: 84px; }
.thanks .done-icon svg { width: 44px; height: 44px; }
.thanks h1 { margin: 6px 0 0; font-size: 34px; }
.thanks > p { margin: 0; color: #4b5563; }
.thanks-ref { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; width: 100%; margin: 10px 0; }
.thanks-ref span { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow-sm); color: var(--muted); font-size: 13px; }
.thanks-ref b { color: var(--ink); font: 700 18px var(--display); letter-spacing: .02em; }
.thanks-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.thanks-account { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; text-align: left; margin-top: 18px; padding: 18px; border-radius: 20px; background: var(--soft); width: 100%; }
.thanks-account > .ic { font-size: 34px; }
.thanks-account div { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.thanks-account span { color: #374151; font-size: 14px; }

/* ── Suivi et commandes ── */
.od-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.od-head .page-title { margin-bottom: 4px; }
.tl { list-style: none; margin: 0 0 20px; padding: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-sm); counter-reset: none; }
.tl li { position: relative; display: grid; justify-items: center; text-align: center; gap: 4px; color: var(--muted); font-size: 12.5px; }
.tl li::before { content: ""; position: absolute; top: 21px; left: calc(-50% + 24px); right: calc(50% + 24px); height: 3px; border-radius: 3px; background: var(--line); }
.tl li:first-child::before { display: none; }
.tl li.done::before, .tl li.on::before { background: var(--primary); }
.tl i { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 22px; background: var(--bg); border: 2px solid var(--line); position: relative; z-index: 1; }
.tl li.done i { background: var(--soft); border-color: var(--primary); }
.tl li.on i { background: var(--primary); border-color: var(--primary); }
.tl li.on i .ic { color: #fff; --duo: #fff; --duo-o: .3; }
.tl li b { color: var(--ink); font-size: 13.5px; }
.tl li span { display: none; }
.tl.cancelled { display: flex; align-items: center; gap: 10px; color: #991b1b; background: #fee2e2; }
.tl.cancelled .ic { font-size: 24px; color: #991b1b; --duo: transparent; }
.od-info { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 10px; font-size: 14.5px; }
.od-info .ic { font-size: 20px; flex-shrink: 0; }
.od-actions .btn-block { margin-top: 8px; }
.od-actions .btn-block:first-child { margin-top: 0; }
.od-actions #cancelBox:not(:empty) { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); }
.track-look { display: grid; gap: 18px; align-items: start; }
.order-list { display: grid; gap: 12px; }
.order-card { display: grid; gap: 8px; padding: 16px 18px; background: var(--card); border-radius: 18px; box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; }
.order-card.mini { grid-template-columns: 1fr auto auto; align-items: center; }
.order-card.mini:hover { box-shadow: var(--shadow); }
.order-card small, .oc-top small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 400; }
.oc-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.oc-top h2 { margin: 0; }
.oc-top a { font-size: 14px; font-weight: 600; color: var(--primary); }
.oc-items { margin: 0; color: #4b5563; font-size: 14px; }
.oc-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.oc-foot b { font-family: var(--display); font-size: 17px; }
.oc-foot span { display: flex; gap: 8px; flex-wrap: wrap; }
.oc-foot .btn { height: 40px; padding: 0 16px; font-size: 14px; }

/* ── Connexion / inscription ── */
.auth { display: grid; gap: 18px; max-width: 1040px; margin: 0 auto; }
.auth-side { border-radius: 24px; padding: 26px; background: var(--primary); color: #fff; }
.auth-side .kicker { background: rgba(255, 255, 255, .16); color: #fff; }
.auth-side h1 { margin: 6px 0 6px; font-size: 32px; color: #fff; }
.auth-side > p { margin: 0 0 18px; opacity: .9; }
.auth-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.auth-perks li { display: flex; gap: 12px; align-items: flex-start; }
.auth-perks .ic { font-size: 26px; color: #fff; --duo: var(--accent); --duo-o: .9; flex-shrink: 0; }
.auth-perks b { display: block; }
.auth-perks span { font-size: 14px; opacity: .92; }
.auth-card { background: var(--card); border-radius: 24px; padding: 24px; box-shadow: var(--shadow); }
.seg a { display: grid; place-items: center; height: 38px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); text-decoration: none; }
.seg a[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: var(--shadow-sm); }

/* ── Espace client ── */
.acc { display: grid; gap: 18px; align-items: start; }
.acc-menu { background: var(--card); border-radius: 22px; padding: 14px; box-shadow: var(--shadow-sm); }
.acc-who { display: flex; align-items: center; gap: 12px; padding: 6px 6px 14px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.acc-who b { display: block; font-family: var(--display); }
.acc-who span { color: var(--muted); font-size: 13px; }
.acc-menu nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.acc-menu nav::-webkit-scrollbar { display: none; }
.acc-menu nav a, .acc-menu nav button {
  flex-shrink: 0; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent;
  color: #374151; font-weight: 600; font-size: 14px; text-decoration: none; text-align: left; white-space: nowrap;
}
.acc-menu nav .ic { font-size: 20px; }
.acc-menu nav a:hover, .acc-menu nav button:hover { background: var(--soft); }
.acc-menu nav a[aria-current="page"] { background: var(--primary); color: #fff; }
.acc-menu nav a[aria-current="page"] .ic { color: #fff; --duo: #fff; --duo-o: .3; }
.acc-menu nav em { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--hot); color: #fff; font: 700 11px/20px var(--font); font-style: normal; text-align: center; }
.acc-menu nav small { margin-left: auto; color: var(--muted); font-size: 12px; }
.acc-menu nav button { color: #b91c1c; }
.acc-menu nav button .ic { color: #b91c1c; --duo: #fecaca; }
.acc-main { min-width: 0; display: grid; gap: 14px; align-content: start; }
.acc-main > .summary-card + .summary-card { margin-top: 0; }
.acc-h1 { margin: 0; font-size: 28px; }
.acc-main > .muted { margin: -8px 0 4px; }
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kpis a { display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-sm); color: inherit; text-decoration: none; }
.kpis a:hover { box-shadow: var(--shadow); }
.kpis i { font-style: normal; font-size: 24px; display: grid; margin-bottom: 4px; }
.kpis b { font: 700 26px/1 var(--display); color: var(--primary); }
.kpis span { color: var(--muted); font-size: 13px; }
.acc-two { display: grid; gap: 14px; }
.empty-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.empty-row > .ic { font-size: 34px; }
.empty-row div { flex: 1; min-width: 180px; display: grid; }
.empty-row span { color: var(--muted); font-size: 14px; }
.summary-card .tl { box-shadow: none; padding: 14px 0; margin: 0; }
.chips-row { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: 13.5px; }
.chip small { color: var(--muted); margin-left: 4px; }
.chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip[aria-pressed="true"] small { color: rgba(255, 255, 255, .8); }
.fav-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; font-weight: 600; }
.empty-state.big { padding: 50px 16px; display: grid; justify-items: center; gap: 6px; }
.empty-state.big .ic { font-size: 64px; }
.empty-state.big .btn { margin-top: 10px; }
a.news-row { color: inherit; text-decoration: none; }
.danger-box summary { cursor: pointer; font-weight: 700; }
.danger-box[open] summary { margin-bottom: 12px; }

/* La barre panier ne cache pas le bouton « Envoyer ma commande ». */
body[data-view="checkout"] .cartbar, body[data-view="cart"] .cartbar, body[data-view="thanks"] .cartbar { display: none !important; }

@media (min-width: 640px) {
  .kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tl li span { display: block; font-size: 12px; }
  .acc-two { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .page-title { font-size: 34px; }
  .pp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .pp-media { position: sticky; top: 150px; }
  .pp-info h1 { font-size: 38px; }
  .cp { grid-template-columns: minmax(0, 1fr) 360px; }
  .cp-line { grid-template-columns: 84px minmax(0, 1fr) auto 110px 36px; grid-template-areas: "t i s a x"; padding: 14px 16px; }
  .cp-thumb { width: 84px; height: 84px; }
  .co { grid-template-columns: minmax(0, 1fr) 380px; }
  .summary-card.sticky, .cp > .summary-card, .co > .summary-card { position: sticky; top: 150px; }
  .od-side { position: sticky; top: 150px; }
  .track-look { grid-template-columns: minmax(0, 1fr) 380px; }
  .auth { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .auth-side { padding: 40px; }
  .auth-side h1 { font-size: 40px; }
  .auth-card { padding: 34px; align-self: center; }
  .acc { grid-template-columns: 260px minmax(0, 1fr); }
  .acc-menu { position: sticky; top: 150px; }
  .acc-menu nav { flex-direction: column; overflow: visible; }
  .acc-h1 { font-size: 34px; }
}

/* Sur téléphone, le formulaire d abord : les avantages se lisent ensuite. */
@media (max-width: 899px) { .auth-card { order: -1; } }

/* ── ESHOP-05 : carte de la boutique (page Contacts) ── */
.map-card { background: var(--card); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-sm); }
.map-frame { position: relative; aspect-ratio: 16 / 10; background: var(--soft); }
.map-frame .map-live { position: absolute; inset: 0; z-index: 0; }
.map-info { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; }
.map-info > i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-style: normal; font-size: 26px; background: var(--soft); flex-shrink: 0; }
.map-info > div:not(.map-cta) { flex: 1; min-width: 200px; display: grid; gap: 2px; }
.map-info b { font-family: var(--display); font-size: 17px; }
.map-info span { color: #4b5563; font-size: 14px; }
.map-info small { color: #b45309; font-size: 12.5px; }
.map-cta { display: flex; flex-wrap: wrap; gap: 8px; }
@media (min-width: 900px) { .map-frame { aspect-ratio: 21 / 8; } }

/* ── ESHOP-06 : récapitulatif, facture et reçu ───────────────── */
.note.ok { background: #dcfce7; color: #14532d; display: inline-flex; gap: 8px; align-items: center; }
.note.ok .ic { font-size: 18px; flex-shrink: 0; color: currentColor; --duo: currentColor; }
.od-actions h2 { margin: 0 0 10px; font-size: 16px; }
.od-actions h2 + .btn-block { margin-top: 0; }
.od-actions .muted { margin: 10px 0 0; font-size: 13px; }

/* ── ESHOP-07 : l'application sur téléphone ─────────────────
   Sous 900 px, les boutons de l'en-tête passent dans une barre d'onglets en
   bas d'écran, sous le pouce ; l'en-tête ne garde que l'enseigne et la
   recherche. La barre panier ronde, elle, cède la place à l'onglet Panier. */
.tabbar { display: none; }
.offlinebar { display: none; }
@media (max-width: 899px) {
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 36; display: grid; grid-template-columns: repeat(5, 1fr);
    height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .05);
  }
  .tabbar > a, .tabbar > button {
    position: relative; display: grid; justify-items: center; align-content: center; gap: 3px; min-width: 0;
    border: 0; background: none; padding: 0 2px; color: var(--muted); text-decoration: none;
    font: 700 11px/1.1 var(--display, inherit); cursor: pointer;
  }
  .tabbar > * > span:last-child { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tabbar .ic { font-size: 24px; color: var(--muted); --duo: var(--muted); --duo-o: .25; }
  .tabbar [aria-current="page"] { color: var(--primary); }
  .tabbar [aria-current="page"] .ic { color: var(--primary); --duo: var(--accent); --duo-o: .6; }
  .tabbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }
  .tb-ico { position: relative; display: grid; place-items: center; }
  .tb-badge {
    position: absolute; top: -5px; left: 14px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
    background: var(--hot, #e5322d); color: #fff; font: 800 10.5px/18px var(--display, inherit); font-style: normal; text-align: center;
    border: 2px solid var(--card);
  }
  .top-actions { display: none; }
  .topbar-in { grid-template-columns: 1fr; grid-template-areas: "brand" "search"; }
  .cartbar { display: none !important; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
  .footer-bottom { padding-bottom: 18px; }
  .sheet { bottom: 0; z-index: 50; }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom)) !important; }

}
.offlinebar:not([hidden]) {
  display: block; position: sticky; top: 0; z-index: 31; padding: 9px 16px; text-align: center;
  background: #fef3c7; color: #78350f; font-size: 13.5px; font-weight: 600;
}
/* Application installée : l'en-tête respecte l'encoche du téléphone. */
@media (display-mode: standalone) {
  .topbar { padding-top: env(safe-area-inset-top); }
}

/* LIV-01 : une livraison suit cinq étapes (« En route » en plus). */
.tl.tl5 { grid-template-columns: repeat(5, 1fr); }
.step.on_the_way { background: #fef3c7; color: #92400e; }
@media (max-width: 560px) {
  .tl.tl5 { padding: 14px 8px; }
  .tl.tl5 span { display: none; }
  .tl.tl5 i { width: 38px; height: 38px; font-size: 19px; }
  .tl.tl5 li::before { top: 18px; left: calc(-50% + 20px); right: calc(50% + 20px); }
}
.tl-now { display: none; margin: -12px 0 18px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 560px) { .tl-now { display: block; } }

/* ── ESHOP-07 : bouton « Installer l'application » ──────────
   Sur tous les écrans (téléphone, tablette, ordinateur), comme celui du site
   OmniGest, aux couleurs de la boutique. */
.install-btn {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 37;
  display: inline-flex; align-items: center; gap: 9px; max-width: calc(100vw - 36px);
  padding: 12px 14px 12px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--primary); color: #fff; font: 700 14px/1 var(--display, inherit);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .15s, box-shadow .2s;
}
.install-btn[hidden] { display: none; }
.install-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0, 0, 0, .3); }
.install-btn > span:first-of-type { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.install-x { margin-left: 2px; padding: 0 4px; font-size: 19px; line-height: 1; opacity: .75; }
.install-x:hover { opacity: 1; }
.install-btn.call { animation: installCall 1.6s ease-in-out 4; }
@keyframes installCall { 50% { box-shadow: 0 0 0 10px color-mix(in srgb, var(--primary) 22%, transparent), 0 10px 26px rgba(0, 0, 0, .25); } }
@media (prefers-reduced-motion: reduce) { .install-btn.call { animation: none; } }
body[data-view="cart"] .install-btn, body[data-view="checkout"] .install-btn, body[data-view="thanks"] .install-btn { display: none; }
body:has(.sheet:not([hidden])) .install-btn { display: none; }
.install-help { display: flex; gap: 14px; align-items: center; margin-bottom: 12px; }
.install-help img { border-radius: 14px; flex-shrink: 0; }
.install-help p { margin: 0; font-size: 14.5px; }
.install-steps { margin: 0; padding-left: 20px; line-height: 1.8; font-size: 14.5px; }
@media print { .install-btn { display: none !important; } }/* Téléphone : au-dessus de la barre d'onglets (après la règle de base, qui l'emporterait sinon). */
@media (max-width: 899px) { .install-btn { bottom: calc(74px + env(safe-area-inset-bottom)); } }

/* ── LIV-03 : le livreur en direct (page de suivi, commande en route) ── */
.live-card { margin: 0 0 18px; display: grid; gap: 12px; }
.live-head { display: flex; align-items: center; gap: 12px; }
.live-head h2 { margin: 0; }
.live-head p { margin: 2px 0 0; }
.live-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; background: var(--ok); box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); animation: liveDot 1.8s infinite; }
@keyframes liveDot { 70% { box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.live-map { height: 320px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); z-index: 0; }
.live-note { margin: 0; font-size: 13px; }
.lm-wrap { background: none; border: 0; }
.lm-rider, .lm-shop { position: relative; width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; border: 3px solid #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.lm-rider { background: var(--accent); color: var(--accent-ink); }
.lm-rider .ic { width: 24px; height: 24px; }
.lm-shop { background: var(--primary); color: #fff; }
.lm-shop .ic { width: 18px; height: 18px; }
.lm-pulse { position: absolute; inset: -9px; border-radius: 50%; border: 3px solid var(--accent); opacity: .7; animation: lmPulse 1.8s ease-out infinite; }
@keyframes lmPulse { from { transform: scale(.65); opacity: .9; } to { transform: scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-dot, .lm-pulse { animation: none; } }
@media (max-width: 600px) { .live-map { height: 260px; } }

/* ── Confidentialité (SITE-01) : sections lisibles d'un trait, sur la carte du site ── */
.privacy { display: grid; gap: 12px; }
.privacy section { background: var(--card); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 18px 20px; }
.privacy h2 { margin: 0 0 8px; font-size: 17px; }
.privacy p { margin: 0 0 8px; color: #4b5563; line-height: 1.65; }
.privacy p:last-child { margin-bottom: 0; }
.muted.small.center a { color: inherit; text-decoration: underline; }

/* ── Cookies et stockage (SITE-02) ── */
.store-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.store-list li { display: flex; gap: 14px; align-items: flex-start; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--soft); }
.store-list li > div { min-width: 0; }
.store-list b { display: block; font-size: 15px; }
.store-list span { display: block; color: #4b5563; font-size: 13.5px; line-height: 1.5; }
.store-list em { font-style: normal; font-weight: 700; font-size: 13px; color: var(--primary); white-space: nowrap; text-align: right; }
.privacy .ok-note { display: flex; gap: 12px; align-items: flex-start; background: #f0fdf4; border: 1px solid #bbf7d0; }
.privacy .ok-note > .ic { font-size: 26px; color: var(--ok); flex-shrink: 0; }
.privacy .danger-zone { border: 1px solid #fecaca; }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
@media (max-width: 560px) { .store-list li { flex-direction: column; gap: 4px; } .store-list em { text-align: left; } }

/* Bandeau d'information de la 1re visite : il informe, il ne demande rien. */
.notice-bar { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 38; max-width: 440px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 14px 12px 16px; border-radius: 16px;
  background: var(--card); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); border: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.notice-bar span { flex: 1 1 220px; }
.notice-bar a { font-weight: 700; color: var(--primary); }
.notice-bar .btn { padding: 8px 18px; }
body.has-notice .install-btn { display: none; }
body[data-view="cart"] .notice-bar, body[data-view="checkout"] .notice-bar, body[data-view="thanks"] .notice-bar { display: none; }
@media (max-width: 899px) { .notice-bar { left: 12px; right: 12px; max-width: none; bottom: calc(74px + env(safe-area-inset-bottom)); } }
@media print { .notice-bar { display: none !important; } }

/* Carte de la boutique (OpenStreetMap) chargée à la demande. */
.map-ask { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 20px; text-align: center; background: var(--soft); }
.map-ask > i { font-size: 34px; color: var(--primary); display: grid; }
.map-ask span { max-width: 420px; color: #4b5563; font-size: 13.5px; line-height: 1.5; }

/* ── Assistant du site (SITE-03) ──
   Bulle ronde en bas à droite ; le bouton « Installer l'application » se range à sa
   gauche. Masquée là où le pouce sert à finir la commande, et sous un panneau ouvert. */
.ask-btn { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 37;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--primary); color: #fff; font-size: 27px; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .15s; }
.ask-btn:hover { transform: translateY(-2px) scale(1.04); }
.ask-btn .ic { --duo: #fff; --duo-o: .3; }
body.has-ask .install-btn { right: 86px; max-width: calc(100vw - 104px); }
body[data-view="cart"] .ask-btn, body[data-view="checkout"] .ask-btn, body[data-view="thanks"] .ask-btn,
body.ask-open .ask-btn, body:has(.sheet:not([hidden])) .ask-btn { display: none; }
body.ask-open .install-btn, body.ask-open .notice-bar { display: none; }
@media (max-width: 899px) {
  .ask-btn { bottom: calc(74px + env(safe-area-inset-bottom)); width: 52px; height: 52px; font-size: 25px; }
  body.has-notice .ask-btn { display: none; }
}
@media print { .ask-btn, .ask-panel { display: none !important; } }

.ask-panel { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60;
  width: min(380px, calc(100vw - 36px)); height: min(560px, calc(100vh - 110px)); display: flex; flex-direction: column;
  background: var(--card); border-radius: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); overflow: hidden; animation: askIn .2s ease; }
@keyframes askIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ask-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: var(--primary); color: #fff; }
.ask-head > div { flex: 1; min-width: 0; }
.ask-head b { display: block; font-size: 16px; }
.ask-head small { display: block; opacity: .85; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .18); font-size: 21px; flex-shrink: 0; }
.ask-ico .ic, .ask-x .ic { --duo: #fff; --duo-o: .3; }
.ask-x { border: 0; background: rgba(255, 255, 255, .16); color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; font-size: 18px; }
.ask-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.ask-msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.ask-msg p { margin: 0 0 6px; }
.ask-msg p:last-child { margin-bottom: 0; }
.ask-msg.bot { align-self: flex-start; background: var(--card); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.ask-msg.me { align-self: flex-end; background: var(--primary); color: #fff; border-bottom-right-radius: 6px; }
.ask-msg.wait { display: flex; gap: 4px; padding: 14px 16px; }
.ask-msg.wait span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: askDot 1s infinite; }
.ask-msg.wait span:nth-child(2) { animation-delay: .15s; }
.ask-msg.wait span:nth-child(3) { animation-delay: .3s; }
@keyframes askDot { 50% { opacity: .25; transform: translateY(-3px); } }
.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-chips button { border: 1px solid var(--line); background: var(--card); color: var(--primary); font: 600 13px var(--font, inherit); padding: 7px 12px; border-radius: 999px; cursor: pointer; }
.ask-src { margin-top: 8px; padding: 8px 10px; border-left: 3px solid var(--primary); background: var(--soft); border-radius: 8px; font-size: 13.5px; }
.ask-src b { display: block; margin-bottom: 2px; }
.ask-prods { display: grid; gap: 6px; margin-top: 8px; }
.ask-prod { display: block; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); color: inherit; text-decoration: none; }
.ask-prod b { display: block; font-size: 14px; }
.ask-prod span { font-size: 13px; color: var(--muted); }
.ask-prod em { font-style: normal; font-weight: 700; }
.ask-prod .av-in { color: var(--ok); } .ask-prod .av-low { color: #b45309; } .ask-prod .av-out { color: var(--ko, #b91c1c); }
.ask-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.ask-actions .btn { padding: 8px 12px; font-size: 13px; }
.ask-actions svg { width: 16px; height: 16px; }
.ask-note { display: block; margin-top: 8px; color: var(--muted); font-size: 11.5px; }
.ask-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: var(--card); }
.ask-form .input { flex: 1; min-width: 0; }
.ask-form .btn { padding: 0 14px; font-size: 18px; }
@media (max-width: 899px) {
  .ask-panel { inset: 0; width: auto; height: auto; border-radius: 0; animation: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   FINITION « HAUT DE GAMME » (2026-11-26, demandée pour le site de 2c)
   Une couche posée PAR-DESSUS les styles d'origine : elle ne change aucun
   comportement, seulement l'apparence, et s'appuie sur les couleurs de CHAQUE
   boutique (--primary, --accent, --soft). Principes : une seule teinte douce au
   lieu des pastels arc-en-ciel, des photos sur fond blanc à hauteur égale, des
   prix sobres, de vrais articles dans la bannière plutôt que des icônes.
   ══════════════════════════════════════════════════════════════════════════ */

:root { --line: #e8eaef; --shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 1px 3px rgba(16, 24, 40, .06); --deep: #0b0f14; }

/* En-tête */
.brand-logo { width: 46px; height: 46px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.brand-logo img { object-fit: contain; padding: 3px; }
.brand-name { font-size: 20px; letter-spacing: -.02em; }

/* Bannière : un bandeau dans la couleur de la boutique, et une vraie vitrine à droite */
[data-layout="vitrine"] .hero {
  position: relative; isolation: isolate; color: #fff; border-radius: 28px; gap: 0;
  background: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 62%, #000) 100%);
  box-shadow: 0 30px 60px -32px rgba(16, 24, 40, .55);
}
[data-layout="vitrine"] .hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 42%),
    radial-gradient(circle at 8% 100%, rgba(255, 255, 255, .10), transparent 40%);
}
[data-layout="vitrine"] .hero h1 { color: #fff; }
[data-layout="vitrine"] .hero h1 em { color: var(--accent); }
[data-layout="vitrine"] .hero-lead { color: rgba(255, 255, 255, .84); }
[data-layout="vitrine"] .kicker { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
[data-layout="vitrine"] .hello { color: rgba(255, 255, 255, .72); }
[data-layout="vitrine"] .hello b { color: #fff; }
[data-layout="vitrine"] .hero-copy { padding: 28px 22px 22px; }
[data-layout="vitrine"] .hero-art { min-height: 0; padding: 0 16px 20px; }
.showcase { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sc-cat {
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 116px; padding: 14px;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .08);
  color: #fff; text-align: left; transition: background .15s, transform .15s;
}
.sc-cat:hover { background: rgba(255, 255, 255, .15); transform: translateY(-2px); }
.sc-cat b { font: 700 15px/1.25 var(--display); }
.sc-cat small { color: rgba(255, 255, 255, .7); font-size: 12.5px; }
.sc-ico { width: 44px; height: 44px; margin-bottom: 10px; border-radius: 13px; display: grid; place-items: center; font-size: 24px; background: #fff; }
.sc-prod {
  display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5);
}
.sc-media { display: block; height: 118px; padding: 4px; border: 0; border-radius: 12px; background: #fff; }
.sc-media img { width: 100%; height: 100%; object-fit: contain; }
.sc-media .ph { background: #f5f6f8; font-size: 40px; }
.footer-line a { text-decoration: none; }
.sc-name {
  border: 0; padding: 0; background: none; text-align: left; font-weight: 600; font-size: 13.5px; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.sc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.sc-foot .price { font-size: 15px; }
.sc-foot .add { width: 34px; height: 34px; }
.hero-stat { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; color: rgba(255, 255, 255, .72); font-size: 13px; }
.hero-stat b { color: #fff; font: 700 17px var(--display); margin-right: 2px; }

/* Engagements, juste sous la bannière */
.assure-block { margin-top: 14px; }
.assure {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; padding: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
}
.assure-item { display: flex; align-items: center; gap: 10px; min-width: 0; }
.assure-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: var(--soft); flex-shrink: 0; }
.assure-item b { display: block; font: 700 14px/1.25 var(--display); }
.assure-item small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; }

/* Rayons : une seule teinte, l'icône en tête */
.cat-card { min-height: 0; justify-content: flex-start; gap: 12px; padding: 16px; border: 1px solid var(--line); box-shadow: none; }
.cat-card:hover, .cat-card[aria-pressed="true"] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.cat-ico { order: -1; align-self: flex-start; width: 52px; height: 52px; border-radius: 14px; font-size: 27px; background: var(--soft); }
.cat-card b { font-size: 15px; }

/* Titres de section */
.block-head h2, .list-head h2 { letter-spacing: -.02em; }

/* Cartes d'articles : photo sur fond blanc à hauteur égale, prix sobre */
.card { border: 1px solid var(--line); box-shadow: none; border-radius: 18px; }
.card:hover { border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); box-shadow: 0 16px 34px -18px rgba(16, 24, 40, .28); }
.card-media { padding: 16px; background: #fff; border-bottom: 1px solid #f1f2f5; }
.card .ph { background: #f5f6f8; border-radius: 12px; font-size: clamp(46px, 7vw, 62px); }
.card-body { padding: 12px 14px 14px; gap: 3px; }
.card-cat { text-transform: uppercase; letter-spacing: .06em; font-size: 10.5px; font-weight: 700; color: color-mix(in srgb, var(--primary) 70%, var(--muted)); }
.card-name { font-size: 14.5px; color: var(--ink); }
.card-foot { padding-top: 10px; }
.price { color: var(--ink); font-size: 18px; letter-spacing: -.02em; }
.add { width: 38px; height: 38px; border-radius: 12px; background: var(--primary); color: #fff; box-shadow: none; }
.add:hover:not(:disabled) { background: color-mix(in srgb, var(--primary) 85%, #000); }
.badge { background: var(--hot); font-size: 10.5px; letter-spacing: .02em; }
.stepper { border-radius: 12px; }

/* Fiche article et panneau de détail : mêmes règles que les cartes */
.pp-media { box-shadow: none; border: 1px solid var(--line); background: #fff; }
.pp-media .ph, .detail-media .ph { background: #f5f6f8; }
.pp-price, .detail-price { color: var(--ink); }
.pp-info h1 { letter-spacing: -.02em; }

/* Pied de page : sobre et complet */
.footer { margin-top: 64px; background: #111827; background: color-mix(in srgb, var(--primary) 18%, var(--deep)); color: rgba(255, 255, 255, .78); }
.footer-in { padding-top: 44px; padding-bottom: 30px; }
.footer h4 { font: 700 13px var(--display); text-transform: uppercase; letter-spacing: .08em; color: rgba(255, 255, 255, .55); margin-bottom: 12px; }
.footer-in > div > div { margin-bottom: 6px; }
.footer-about p { margin: 6px 0 16px; max-width: 42ch; }
.footer-brand { font-size: 21px; gap: 12px; margin-bottom: 4px; }
.footer-logo { width: 44px; height: 44px; border-radius: 13px; background: #fff; display: grid; place-items: center; overflow: hidden; color: var(--primary); }
.footer-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.footer-logo svg { width: 24px; height: 24px; }
.footer-wa { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; background: #25d366; color: #fff !important; font-weight: 700; text-decoration: none; }
.footer-wa svg { width: 18px; height: 18px; }
.footer-cat { display: block; border: 0; padding: 0; margin: 0 0 7px; background: none; color: #fff; opacity: .86; text-align: left; font-size: 13.5px; }
.footer-cat:hover { opacity: 1; text-decoration: underline; }
.footer-line { display: flex; align-items: flex-start; gap: 9px; }
.footer-line .ic { margin-top: 3px; color: var(--accent); --duo: var(--accent); --duo-o: .3; }
.footer-links { border-top: 1px solid rgba(255, 255, 255, .10); padding-top: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; opacity: .65; }

@media (min-width: 640px) {
  .footer-in { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
}
@media (min-width: 900px) {
  [data-layout="vitrine"] .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: 460px; align-items: center; }
  [data-layout="vitrine"] .hero-copy { padding: 56px 24px 56px 56px; }
  [data-layout="vitrine"] .hero-art { padding: 40px 44px 40px 8px; }
  .showcase { gap: 14px; }
  .sc-cat { min-height: 150px; padding: 18px; }
  .sc-media { height: 112px; }
  .sc-name { -webkit-line-clamp: 1; min-height: 0; }
  .sc-prod { gap: 4px; }
  .assure { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px 24px; gap: 0; }
  .assure-item { padding: 0 18px; border-left: 1px solid var(--line); }
  .assure-item:first-child { border-left: 0; padding-left: 0; }
  .cat-rail { grid-auto-columns: 180px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .block-head h2, .list-head h2 { font-size: 30px; }
}
@media (max-width: 639px) {
  /* Téléphone : les engagements défilent sur une ligne au lieu de s'écraser sur deux colonnes. */
  .assure { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 14px 16px; }
  .assure::-webkit-scrollbar { display: none; }
  .assure-item { flex: 0 0 210px; scroll-snap-align: start; }
  /* La vitrine garde deux articles : quatre occupaient tout l'écran avant le catalogue. */
  .showcase.has-products .sc-prod:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sc-cat:hover { transform: none; } }
