/* Une vitrine de trouvailles : papier clair, encre, l'orange des étiquettes de prix, le vert des photos QC. */
:root {
  --fond: #F4F4F0;
  --fond-2: #EBEBE4;
  --carte: #FFFFFF;
  --encre: #141416;
  --gris: #63636A;
  --trait: #DEDED6;
  --orange: #FF5A1F;
  --orange-texte: #C2410C;
  --orange-voile: rgba(255, 90, 31, 0.10);
  --vert: #0F7A4A;
  --sur-orange: #FFFFFF;
  --ombre: 0 18px 40px -24px rgba(20, 20, 22, 0.45);
  --f-titre: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --f-texte: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --rayon: 18px;
  --g: max(16px, env(safe-area-inset-left, 0px));
  --d: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #111113; --fond-2: #18181C; --carte: #1C1C21; --encre: #F2F2EE; --gris: #A3A3AA; --trait: #2D2D34;
    --orange-texte: #FF8A5C; --orange-voile: rgba(255, 90, 31, 0.16); --vert: #4ADE80;
    --ombre: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: var(--f-texte); font-size: 16px; line-height: 1.55; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 8px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
main, .pied { max-width: 1240px; margin: 0 auto; padding-left: var(--g); padding-right: var(--d); }
h2 { font-family: var(--f-titre); font-weight: 800; letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- en-tête */
.tete { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--fond) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--trait); }
.bande { max-width: 1240px; margin: 0 auto; padding: 12px var(--d) 12px var(--g); display: flex; align-items: center; gap: 14px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-titre); font-weight: 800;
  font-size: 23px; letter-spacing: -0.03em; white-space: nowrap; }
.pastille { width: 28px; height: 28px; border-radius: 9px; background: var(--orange); position: relative; flex: none; }
.pastille svg { position: absolute; inset: 4px; width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; }
.recherche { flex: 1; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px;
  background: var(--carte); border: 1px solid var(--trait); min-width: 0; }
.recherche:focus-within { border-color: var(--orange); }
.recherche svg { width: 20px; height: 20px; fill: none; stroke: var(--gris); stroke-width: 2; flex: none; }
.recherche input { flex: 1; border: 0; outline: 0; background: transparent; min-width: 0; font-size: 16px; }
.choix { display: flex; align-items: center; gap: 8px; }
.selecteur { display: flex; flex-direction: column; gap: 0; font-size: 11px; color: var(--gris); font-family: var(--f-mono); letter-spacing: 0.06em; }
.selecteur span { padding-left: 4px; text-transform: uppercase; }
.selecteur select { height: 34px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--trait); background: var(--carte);
  color: var(--encre); font-family: var(--f-texte); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.btn-favoris { display: flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--trait); background: var(--carte); cursor: pointer; font-family: var(--f-mono); font-weight: 700; }
.btn-favoris svg { width: 20px; height: 20px; fill: none; stroke: var(--orange-texte); stroke-width: 2; }
.btn-favoris[aria-pressed="true"] { background: var(--orange); border-color: var(--orange); color: var(--sur-orange); }
.btn-favoris[aria-pressed="true"] svg { fill: #fff; stroke: #fff; }

/* ---------------------------------------------------------------- accueil */
.accueil { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: center; padding-block: 44px 26px; }
.sur { margin: 0 0 12px; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-texte); }
.accueil h1 { margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: clamp(34px, 5.4vw, 64px); line-height: 0.98;
  letter-spacing: -0.035em; text-wrap: balance; }
.sous { margin: 16px 0 0; color: var(--gris); font-size: 18px; max-width: 54ch; }
.garanties { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.garanties li { padding: 8px 14px; border-radius: 999px; background: var(--carte); border: 1px solid var(--trait); font-size: 14px; }
.garanties b { font-family: var(--f-mono); color: var(--orange-texte); }
.vedette { position: relative; border-radius: 26px; background: var(--carte); border: 1px solid var(--trait); box-shadow: var(--ombre);
  overflow: hidden; cursor: pointer; text-align: left; padding: 0; display: block; width: 100%; }
.vedette .visuel { aspect-ratio: 4 / 3; }
.vedette-texte { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.vedette-etiquette { position: absolute; left: 14px; top: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: var(--encre);
  color: var(--fond); font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.vedette-titre { margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; }

/* bandeau qui défile : les dernières trouvailles */
.defile { overflow: hidden; border-block: 1px solid var(--trait); margin-bottom: 26px; }
.defile-piste { display: flex; gap: 40px; width: max-content; padding: 12px 0; animation: defile 40s linear infinite;
  font-family: var(--f-mono); font-size: 13px; color: var(--gris); white-space: nowrap; }
.defile-piste span::before { content: "● "; color: var(--orange); }
@keyframes defile { to { transform: translateX(-50%); } }
.bandeau-exemple { margin: 0 0 22px; padding: 12px 16px; border-radius: 12px; background: var(--orange-voile); font-size: 14px; }
.bandeau-exemple code { font-family: var(--f-mono); font-size: 13px; }

/* coups de cœur */
.coeurs { margin-bottom: 30px; }
.coeurs h2, .catalogue h2 { margin: 0 0 14px; font-size: 28px; }
.rangee { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 16px; overflow-x: auto;
  padding-bottom: 6px; scroll-snap-type: x mandatory; }
.rangee > * { scroll-snap-align: start; }

/* ---------------------------------------------------------------- filtres */
.outils { position: sticky; top: 71px; z-index: 10; display: flex; flex-direction: column; gap: 10px; padding: 12px 0;
  background: var(--fond); border-bottom: 1px solid var(--trait); }
.puces { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; max-width: 100%; padding: 2px; }
.puces::-webkit-scrollbar { display: none; }
.puce { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 10px; border-radius: 999px;
  border: 1px solid var(--trait); background: var(--carte); font-weight: 500; font-size: 15px; cursor: pointer; white-space: nowrap; }
.puce svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.puce small { color: var(--gris); font-family: var(--f-mono); font-size: 12px; }
.puce[aria-pressed="true"] { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.puce[aria-pressed="true"] small { color: inherit; opacity: 0.7; }
.petites .puce { height: 34px; padding: 0 12px; font-size: 14px; }
.reglages { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.case { display: flex; align-items: center; gap: 8px; font-size: 15px; cursor: pointer; }
.case input { width: 18px; height: 18px; accent-color: var(--orange); }
.tri select { height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--trait); background: var(--carte); color: var(--encre); }
.vue { display: inline-flex; margin-left: auto; border: 1px solid var(--trait); border-radius: 10px; overflow: hidden; }
.vue button { height: 36px; padding: 0 14px; border: 0; background: var(--carte); cursor: pointer; font-size: 14px; font-weight: 500; }
.vue button[aria-pressed="true"] { background: var(--encre); color: var(--fond); }
.compte { margin: 14px 0 12px; color: var(--gris); font-size: 13px; font-family: var(--f-mono); }

/* ---------------------------------------------------------------- cartes */
.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.carte-p { position: relative; display: flex; flex-direction: column; background: var(--carte); border: 1px solid var(--trait);
  border-radius: var(--rayon); overflow: hidden; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.carte-p:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.carte-lien { all: unset; display: flex; flex-direction: column; cursor: pointer; flex: 1; }
.carte-lien:focus-visible { outline: 3px solid var(--orange); outline-offset: -3px; border-radius: var(--rayon); }
.visuel { position: relative; aspect-ratio: 1 / 1; max-width: 100%; overflow: hidden; }
.visuel img { width: 100%; height: 100%; object-fit: cover; }
.substitut { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--teinte) 34%, var(--carte)) 0%, color-mix(in srgb, var(--teinte) 14%, var(--carte)) 70%); }
.substitut::after { content: ""; position: absolute; inset: 0; opacity: 0.35;
  background-image: radial-gradient(color-mix(in srgb, var(--teinte) 55%, transparent) 1px, transparent 1.5px); background-size: 14px 14px; }
.substitut svg { position: relative; z-index: 1; width: 42%; height: 42%; fill: none; stroke: color-mix(in srgb, var(--teinte) 70%, var(--encre));
  stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.badges { position: absolute; left: 10px; top: 10px; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; max-width: calc(100% - 64px); }
.badge { height: 24px; padding: 0 9px; border-radius: 999px; display: inline-flex; align-items: center; font-family: var(--f-mono);
  font-size: 11px; font-weight: 700; letter-spacing: 0.04em; background: rgba(20, 20, 22, 0.8); color: #fff; }
.badge.neuf { background: var(--orange); }
.badge.qc { background: #0F7A4A; }
.badge.ex { background: #fff; color: #141416; }
.coeur { position: absolute; right: 10px; top: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: rgba(255, 255, 255, 0.92); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.coeur svg { width: 20px; height: 20px; fill: none; stroke: #C2410C; stroke-width: 2; }
.coeur[aria-pressed="true"] svg { fill: #FF5A1F; stroke: #FF5A1F; }
.texte-p { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.titre-p { margin: 0; font-weight: 700; font-size: 16px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; }
.ligne-prix { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.prix { font-family: var(--f-titre); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: var(--orange-texte); white-space: nowrap; }
.yuan, .poids { font-family: var(--f-mono); font-size: 12px; color: var(--gris); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vide { padding: 50px 0; text-align: center; color: var(--gris); }
.vide-titre { font-weight: 700; color: var(--encre); font-size: 18px; margin: 0 0 4px; }

/* ---------------------------------------------------------------- tableau (façon spreadsheet) */
.tableau-cadre { overflow-x: auto; border: 1px solid var(--trait); border-radius: var(--rayon); background: var(--carte); }
.tableau { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.tableau th { text-align: left; font-family: var(--f-mono); font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gris); padding: 12px 14px; border-bottom: 1px solid var(--trait); background: var(--fond-2); white-space: nowrap; }
.tableau td { padding: 10px 14px; border-bottom: 1px solid var(--trait); vertical-align: middle; }
.tableau tr:last-child td { border-bottom: 0; }
.tableau tbody tr { cursor: pointer; }
.tableau tbody tr:hover td { background: var(--orange-voile); }
.cellule-titre { display: flex; align-items: center; gap: 12px; font-weight: 700; min-width: 240px; }
.mini { width: 48px; height: 48px; border-radius: 10px; overflow: hidden; flex: none; }
.mini .substitut svg { width: 60%; height: 60%; }
.tableau .prix { font-size: 18px; }
.tableau .achat-mini { display: inline-flex; align-items: center; height: 34px; padding: 0 12px; border-radius: 10px; background: var(--orange);
  color: #fff; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; }

/* ---------------------------------------------------------------- comment acheter, FAQ */
.comment { margin: 64px 0 28px; padding: 28px clamp(18px, 4vw, 40px); border-radius: 24px; background: var(--encre); color: var(--fond); }
.comment h2 { margin: 0 0 18px; font-size: clamp(26px, 3.4vw, 36px); }
.comment ol { margin: 0; padding: 0; list-style: none; counter-reset: e; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.comment li { counter-increment: e; display: flex; flex-direction: column; gap: 6px; color: color-mix(in srgb, var(--fond) 72%, transparent); }
.comment li::before { content: counter(e); width: 32px; height: 32px; border-radius: 50%; background: var(--orange); color: #fff;
  display: grid; place-items: center; font-family: var(--f-mono); font-weight: 700; font-size: 14px; }
.comment li b { color: var(--fond); }
.faq { margin: 0 0 40px; max-width: 820px; }
.faq h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 30px); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono);
  font-size: 22px; color: var(--orange-texte); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--gris); max-width: 68ch; }

/* ---------------------------------------------------------------- pied */
.pied { padding-block: 28px 48px; border-top: 1px solid var(--trait); display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 18px 40px; font-size: 14px; color: var(--gris); }
.pied p { margin: 0 0 8px; max-width: 70ch; }
.pied b { color: var(--encre); }
.pied-liens { display: flex; flex-direction: column; gap: 8px; }

/* ---------------------------------------------------------------- fiche produit */
.fiche { width: min(980px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px;
  background: var(--carte); color: var(--encre); box-shadow: 0 40px 90px rgba(0, 0, 0, 0.35); }
.fiche::backdrop { background: rgba(10, 10, 12, 0.55); backdrop-filter: blur(4px); }
.fiche-corps { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 26px; padding: 22px; }
.fermer { position: absolute; right: 12px; top: 10px; z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 0;
  background: var(--fond); font-size: 26px; line-height: 1; cursor: pointer; }
.photo-grande { aspect-ratio: 1 / 1; max-width: 100%; border-radius: 16px; overflow: hidden; background: var(--fond); }
.photo-grande img { width: 100%; height: 100%; object-fit: contain; }
.vignettes { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.vignettes button { flex: none; width: 64px; height: 64px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent;
  background: var(--fond); cursor: pointer; }
.vignettes button[aria-current="true"] { border-color: var(--orange); }
.vignettes img { width: 100%; height: 100%; object-fit: cover; }
.infos { display: flex; flex-direction: column; gap: 12px; padding-top: 6px; min-width: 0; }
.meta { margin: 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gris); }
.infos h2 { margin: 0; padding-right: 40px; font-size: clamp(24px, 3vw, 32px); line-height: 1.08; }
.prix-fiche { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.prix-fiche #fiche-prix { font-family: var(--f-titre); font-weight: 800; font-size: 36px; color: var(--orange-texte); }
.details { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 16px; margin: 0; font-size: 14px; }
.details dt { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gris); padding-top: 2px; }
.details dd { margin: 0; }
.desc { margin: 0; color: var(--gris); }
.achats { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.achat { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 0 18px;
  border-radius: 14px; background: var(--encre); color: var(--fond); font-weight: 700; text-decoration: none; }
.achat.prefere { background: var(--orange); color: #fff; }
.achat:hover { filter: brightness(1.06); }
.achat span { font-family: var(--f-mono); font-size: 12px; font-weight: 500; opacity: 0.85; }
.fiche-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.action { display: inline-flex; align-items: center; height: 38px; padding: 0 14px; border: 1px solid var(--trait); background: transparent;
  border-radius: 999px; font-size: 14px; cursor: pointer; text-decoration: none; }
.action[aria-pressed="true"] { border-color: var(--orange); color: var(--orange-texte); }
.note { margin: 0; font-size: 13px; color: var(--gris); }

/* ---------------------------------------------------------------- page fixe d'un produit (p/*.html) */
.page-produit { max-width: 720px; padding-block: 32px 60px; display: flex; flex-direction: column; gap: 14px; }
.page-produit h1 { margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: clamp(30px, 5vw, 44px); line-height: 1.05; letter-spacing: -0.02em; }
.page-produit .prix-page { margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: 32px; color: var(--orange-texte); }
.page-produit img { border-radius: 16px; max-height: 520px; object-fit: contain; background: var(--carte); }
.page-produit .achat:first-child { background: var(--orange); color: #fff; }

@media (max-width: 900px) {
  .accueil { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 28px 20px; }
  .vedette { max-width: 520px; }
}
@media (max-width: 760px) {
  .bande { flex-wrap: wrap; gap: 10px; }
  .recherche { order: 3; flex-basis: 100%; height: 44px; }
  .choix { margin-left: auto; }
  .selecteur span { display: none; }
  .btn-favoris { height: 36px; padding: 0 10px; }
  .outils { top: 121px; }
  html { scroll-padding-top: 140px; }
  .grille { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .prix { font-size: 20px; }
  .ligne-prix { flex-direction: column; align-items: flex-start; gap: 0; }
  .vue { margin-left: 0; }
  .fiche-corps { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 14px; }
  .fiche { max-height: calc(100dvh - 12px); width: calc(100vw - 12px); }
}
@media (prefers-reduced-motion: reduce) {
  .carte-p { transition: none; }
  .carte-p:hover { transform: none; }
  .defile-piste { animation: none; }
}

/* ---------------------------------------------------------------- colis, « voir plus », guides, communauté */
.btn-colis svg { fill: none; stroke: var(--encre); stroke-width: 1.8; stroke-linejoin: round; }
.btn-colis.plein { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.btn-colis.plein svg { stroke: var(--fond); }
.plus { display: flex; justify-content: center; margin-top: 22px; }
.bouton-plus { height: 48px; padding: 0 26px; border-radius: 999px; border: 1px solid var(--encre); background: transparent; cursor: pointer;
  font-weight: 700; font-size: 15px; }
.bouton-plus:hover { background: var(--encre); color: var(--fond); }
.guides { margin: 56px 0 0; }
.guides h2 { margin: 0 0 14px; font-size: 28px; }
.liste-guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.carte-guide { display: flex; flex-direction: column; gap: 8px; padding: 20px; border-radius: var(--rayon); background: var(--carte);
  border: 1px solid var(--trait); text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease; }
.carte-guide:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.carte-guide small { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange-texte); }
.carte-guide b { font-family: var(--f-titre); font-weight: 800; font-size: 21px; line-height: 1.15; letter-spacing: -0.01em; }
.carte-guide span { color: var(--gris); font-size: 15px; }
.communaute { margin: 0 0 48px; padding: 26px clamp(18px, 4vw, 36px); border-radius: 24px; background: var(--orange-voile);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px; }
.communaute h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 30px); }
.communaute p { margin: 0; color: var(--gris); max-width: 52ch; }
.liens-communaute { display: flex; flex-wrap: wrap; gap: 10px; }
.lien-communaute { display: inline-flex; align-items: center; height: 46px; padding: 0 18px; border-radius: 999px; background: var(--encre);
  color: var(--fond); font-weight: 700; text-decoration: none; }
.lien-communaute.principal { background: var(--orange); color: #fff; }

/* estimation du colis */
.colis { width: min(620px, calc(100vw - 24px)); }
.colis-corps { position: relative; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.colis-corps h2 { margin: 0; padding-right: 44px; font-size: 28px; }
.colis-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.colis-liste li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 12px;
  border-radius: 12px; background: var(--fond); font-size: 15px; }
.colis-liste li span { font-family: var(--f-mono); font-size: 13px; color: var(--gris); white-space: nowrap; }
.colis-liste button { border: 0; background: transparent; cursor: pointer; font-size: 20px; line-height: 1; color: var(--gris); }
.colis-vide { color: var(--gris); }
.colis-reglages { display: flex; flex-wrap: wrap; gap: 12px; }
.colis-total { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; margin: 0; padding: 14px 16px; border-radius: 14px;
  border: 1px solid var(--trait); }
.colis-total dt { color: var(--gris); }
.colis-total dd { margin: 0; text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.colis-total .fort { font-family: var(--f-titre); font-weight: 800; font-size: 22px; color: var(--orange-texte); }
.colis-total dt.fort { color: var(--encre); font-size: 18px; }

/* page fixe d'un guide (g/*.html) */
.page-guide { max-width: 860px; padding-block: 32px 60px; display: flex; flex-direction: column; gap: 14px; }
.page-guide h1 { margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: clamp(32px, 5vw, 50px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.page-guide p { margin: 0; max-width: 68ch; }
.chapo-guide { font-size: 19px; }
.guide-liste { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }
.guide-carte { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 14px; border-radius: var(--rayon);
  background: var(--carte); border: 1px solid var(--trait); }
.guide-visuel { display: block; text-decoration: none; aspect-ratio: 1 / 1; max-width: 100%; border-radius: 12px; overflow: hidden; background: var(--fond); }
.guide-visuel img { width: 100%; height: 100%; object-fit: cover; }
.substitut-fixe { width: 100%; height: 100%; display: grid; place-items: center; background: var(--orange-voile); color: var(--orange-texte);
  font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.guide-texte { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.guide-texte h2 { margin: 0; font-size: 22px; }
.guide-texte h2 a { text-decoration: none; }
.guide-texte .achat { align-self: flex-start; background: var(--orange); color: #fff; min-height: 46px; }
.page-guide .prix-page, .page-produit .prix-page { margin: 0; font-family: var(--f-titre); font-weight: 800; font-size: 26px; color: var(--orange-texte); }
@media (max-width: 760px) {
  .guide-carte { grid-template-columns: 110px minmax(0, 1fr); gap: 12px; }
  .btn-colis { height: 36px; padding: 0 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .carte-guide { transition: none; }
}
