/* ----- Palette claire ----- */
:root {
  --creme: #F5EEE3;
  --creme-2: #EFE5D6;
  --carte: #FFFBF5;
  --brun: #2E231A;
  --brun-2: #5E4E40;
  --taupe: #8C7C6E;
  --filet: #E6DACB;
  --ambre: #9A5E16;
  --ambre-doux: #F5E3C6;
  --sur-ambre: #FFFFFF;
  --rose-the: #B5655E;
  --sur-rose: #FFFFFF;
  --vert: #4B7A4F;
  --bois: #C99A68;
  --bois-clair: #E2BE92;
  --ombre: 0 1px 2px rgba(74, 48, 20, .06), 0 14px 30px -18px rgba(74, 48, 20, .35);
  --sans: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Menlo, monospace;
  --surligne: #FFF4B8;
}

/* ----- Palette sombre ----- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --creme: #17120E;
    --creme-2: #1D1712;
    --carte: #231C16;
    --brun: #F3E9DB;
    --brun-2: #CFBFAC;
    --taupe: #98877A;
    --filet: #3B3027;
    --ambre: #E3A452;
    --ambre-doux: #3A2A18;
    --sur-ambre: #1E150C;
    --rose-the: #D99C95;
    --sur-rose: #1E150C;
    --vert: #8FBD91;
    --bois: #6E4F33;
    --bois-clair: #8C6A48;
    --ombre: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -18px rgba(0, 0, 0, .8);
  --surligne: #4A3D10;
  }
}

:root[data-theme="dark"] {
  --creme: #17120E;
  --creme-2: #1D1712;
  --carte: #231C16;
  --brun: #F3E9DB;
  --brun-2: #CFBFAC;
  --taupe: #98877A;
  --filet: #3B3027;
  --ambre: #E3A452;
  --ambre-doux: #3A2A18;
  --sur-ambre: #1E150C;
  --rose-the: #D99C95;
  --sur-rose: #1E150C;
  --vert: #8FBD91;
  --bois: #6E4F33;
  --bois-clair: #8C6A48;
  --ombre: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 30px -18px rgba(0, 0, 0, .8);
  --surligne: #4A3D10;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--creme);
  color: var(--brun);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ambre); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.enveloppe { max-width: 1200px; margin: 0 auto; padding-inline: 20px; }

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

/* ---------- Bandeau rassurance ---------- */

.rassure { background: var(--ambre-doux); font-size: 13.5px; color: var(--brun-2); padding-block: 8px; }
.rassure .enveloppe { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 28px; }
.rassure span { display: inline-flex; align-items: center; gap: 7px; }
.rassure .ico { width: 16px; height: 16px; color: var(--ambre); }

/* ---------- En-tête ---------- */

.site { background: var(--carte); border-bottom: 1px solid var(--filet); }
.site .enveloppe { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding-block: 16px; }

.logo { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; }
.logo__rond {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--ambre);
  color: var(--sur-ambre);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
}
.logo__texte { text-align: left; line-height: 1.15; }
.logo__texte b { display: block; font-size: 19px; font-weight: 600; }
.logo__texte span { font-size: 12.5px; color: var(--taupe); }

.site__nav { display: flex; align-items: center; gap: 8px; margin-left: auto; flex-wrap: wrap; }

.navlink {
  background: none;
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 15px;
  color: var(--brun-2);
  transition: background .2s, color .2s;
}
.navlink:hover { background: var(--creme-2); color: var(--brun); }
.navlink[aria-current="true"] { background: var(--creme-2); color: var(--brun); font-weight: 500; }

.navcart {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  background: var(--ambre);
  color: var(--sur-ambre);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s;
}
.navcart:hover { transform: translateY(-1px); }
.navcart b { background: var(--sur-ambre); color: var(--ambre); border-radius: 999px; padding: 0 8px; font-size: 13px; min-width: 24px; text-align: center; }

.theme { display: inline-flex; background: var(--creme-2); border-radius: 999px; padding: 3px; }
.theme button { flex: 1; border: 0; background: transparent; border-radius: 999px; font-size: 12.5px; padding: 5px 11px; cursor: pointer; color: var(--taupe); }
.theme button[aria-pressed="true"] { background: var(--carte); color: var(--brun); box-shadow: var(--ombre); }
/* Pas de contour qui déborde de la pastille : au clavier, un anneau intérieur ; à la souris, rien */
.theme button:focus, .theme button:focus-visible { outline: none; }
.theme button:focus-visible { box-shadow: inset 0 0 0 2px var(--ambre); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 2px solid var(--ambre);
  background: var(--ambre);
  color: var(--sur-ambre);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--ombre); }
.btn--doux { background: transparent; color: var(--brun); border-color: var(--filet); }
.btn--doux:hover { border-color: var(--ambre); }
.btn .ico { width: 18px; height: 18px; }

/* ---------- Flacon ---------- */

.flacon { --jus: #C9A06A; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; }
.flacon__cap { width: 28px; height: 18px; border-radius: 5px 5px 2px 2px; background: linear-gradient(160deg, #E6C890, #B08A4E); }
.flacon__neck { width: 12px; height: 7px; background: color-mix(in srgb, var(--jus) 55%, #FFFFFF); }
.flacon__body {
  width: 74px;
  height: 70px;
  border-radius: 10px 10px 14px 14px;
  background:
    linear-gradient(205deg, rgba(255, 255, 255, .6) 0%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(180deg, color-mix(in srgb, var(--jus) 45%, #FFFFFF), var(--jus));
  position: relative;
}
.flacon__body::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: 52%;
  height: 17px;
  transform: translateX(-50%);
  background: rgba(255, 253, 248, .85);
  border-radius: 3px;
}
.flacon--l .flacon__cap { width: 40px; height: 26px; }
.flacon--l .flacon__neck { width: 17px; height: 10px; }
.flacon--l .flacon__body { width: 104px; height: 98px; border-radius: 14px 14px 20px 20px; }
.flacon--l .flacon__body::after { bottom: 22px; height: 24px; }
.flacon--xl .flacon__cap { width: 60px; height: 40px; border-radius: 8px 8px 3px 3px; }
.flacon--xl .flacon__neck { width: 25px; height: 15px; }
.flacon--xl .flacon__body { width: 158px; height: 150px; border-radius: 20px 20px 28px 28px; }
.flacon--xl .flacon__body::after { bottom: 34px; height: 36px; }
.flacon--s .flacon__cap { width: 17px; height: 11px; }
.flacon--s .flacon__neck { width: 7px; height: 4px; }
.flacon--s .flacon__body { width: 44px; height: 42px; border-radius: 7px 7px 9px 9px; }
.flacon--s .flacon__body::after { bottom: 9px; height: 10px; }

.presentoir {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
  padding: 24px 16px 14px;
}
.presentoir::after {
  content: "";
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 0;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--bois-clair), var(--bois));
  box-shadow: 0 12px 18px -10px rgba(60, 35, 10, .45);
}

/* ---------- Accueil ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 36px;
  align-items: center;
  background: var(--carte);
  border-radius: 28px;
  padding: 44px;
  margin-top: 28px;
  box-shadow: var(--ombre);
}

.hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.08; }
.hero h1 span { color: var(--ambre); }
.hero__texte { font-size: 18px; color: var(--brun-2); margin-top: 16px; max-width: 46ch; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.hero__points { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.hero__points li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; color: var(--brun-2); }
.hero__points .ico { color: var(--vert); }

.hero__scene { background: var(--ambre-doux); border-radius: 22px; padding: 26px 18px 30px; position: relative; }
.hero__scene .presentoir { min-height: 250px; }
/* Photos des 3 nouveautés : celle du milieu en avant, posées sur l'étagère */
.hero__photo { display: block; width: 30%; max-height: 170px; object-fit: contain; mix-blend-mode: multiply; position: relative; z-index: 1; }
.hero__photo--centre { width: 36%; max-height: 220px; }
:root[data-theme="dark"] .hero__photo { mix-blend-mode: normal; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__photo { mix-blend-mode: normal; } }

.pancarte {
  position: absolute;
  top: 18px;
  left: 22px;
  background: var(--carte);
  border-radius: 10px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--ombre);
  transform: rotate(-3deg);
}

.section { margin-top: 64px; }
.section__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.section__tete h2 { font-size: clamp(24px, 3vw, 32px); }
.section__tete p { color: var(--taupe); font-size: 15px; }

/* Filtres : genre et marque */

.genres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

.genre {
  background: var(--carte);
  border: 2px solid transparent;
  border-radius: 18px;
  padding: 18px 16px;
  cursor: pointer;
  font-size: 19px;
  font-weight: 600;
  box-shadow: var(--ombre);
  transition: border-color .2s, transform .2s;
}
.genre:hover { transform: translateY(-2px); }
.genre[aria-pressed="true"] { border-color: var(--ambre); }

.sous-titre { font-size: 15px; font-weight: 500; color: var(--brun-2); margin-top: 26px; }

.combo { position: relative; max-width: 440px; margin-top: 10px; }
.combo input {
  width: 100%;
  background: var(--carte);
  color: var(--brun);
  border: 2px solid var(--filet);
  border-radius: 999px;
  padding: 12px 78px 12px 18px;
  font: inherit;
  font-size: 16px;
  transition: border-color .2s;
}
.combo input::placeholder { color: var(--taupe); }
.combo input:focus { outline: none; border-color: var(--ambre); }
.combo__vider {
  position: absolute;
  right: 44px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: var(--creme-2);
  color: var(--brun-2);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}
.combo__fleche { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--taupe); }
.combo__liste {
  position: absolute;
  z-index: 20;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--carte);
  border: 1px solid var(--filet);
  border-radius: 16px;
  box-shadow: var(--ombre);
  max-height: 300px;
  overflow-y: auto;
}
.combo__liste li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 9px 12px; border-radius: 10px; cursor: pointer; }
.combo__liste li:hover, .combo__liste li[aria-selected="true"] { background: var(--ambre-doux); }
.combo__liste li small { color: var(--taupe); font-size: 13px; white-space: nowrap; }
.combo__liste li.toutes { font-weight: 500; }
.combo__liste li.aucun { cursor: default; color: var(--taupe); }
.combo__liste li.aucun:hover { background: none; }

.vide { background: var(--carte); border-radius: 18px; padding: 22px; color: var(--brun-2); box-shadow: var(--ombre); }

.barre-filtre { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-block: 26px 18px; color: var(--taupe); font-size: 15px; }
.raz { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ambre); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }

/* Produits */

.grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }

.produit {
  display: flex;
  flex-direction: column;
  background: var(--carte);
  border-radius: 20px;
  box-shadow: var(--ombre);
  overflow: hidden;
  transition: transform .25s;
}
.produit:hover { transform: translateY(-3px); }

.produit__lien { display: flex; flex-direction: column; background: none; border: 0; padding: 0; cursor: pointer; text-align: left; }

.produit__vitrine { position: relative; background: var(--creme-2); padding: 18px 16px 0; }
/* Même hauteur que .produit__photo pour aligner les cartes avec et sans photo */
.produit__vitrine .presentoir { box-sizing: border-box; padding-top: 34px; height: 210px; }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--rose-the);
  color: var(--sur-rose);
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 999px;
  padding: 3px 11px;
}

.produit__infos { padding: 16px 18px 4px; }
.produit__marque { font-size: 13px; color: var(--taupe); font-weight: 500; }
.produit__nom { font-size: 20px; font-weight: 600; letter-spacing: -.015em; margin-top: 1px; }
.produit__meta { font-size: 14px; color: var(--brun-2); margin-top: 3px; }

.produit__bas { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px 0; }

.etiquette {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--ambre-doux);
  padding: 5px 14px 5px 24px;
  border-radius: 6px 12px 12px 6px;
  font-weight: 600;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.etiquette::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--carte);
  transform: translateY(-50%);
}
.etiquette small { font-size: 11.5px; font-weight: 400; color: var(--taupe); }
.prix-barre { font-size: 13px; font-weight: 400; color: var(--taupe); }
.recap__port { font-size: 13px; color: var(--taupe); margin-top: 6px; }
.recap__tva { margin-top: 8px; font-size: 13px; color: var(--taupe); }
.recap__main { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; padding: 12px 14px; border: 2px solid var(--filet); border-radius: 14px; cursor: pointer; font-size: 14.5px; }
.recap__main:has(input:checked) { border-color: var(--ambre); background: var(--ambre-doux); }
.recap__main input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ambre); flex: none; }
.recap__main small { display: block; color: var(--taupe); font-size: 13px; margin-top: 2px; }

.dispo { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--vert); font-weight: 500; }
.dispo::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.dispo--faible { color: var(--ambre); }
.dispo--cmd { color: var(--rose-the); }

.produit__action { padding: 16px 18px 18px; margin-top: auto; }
.produit__action .btn { width: 100%; padding-block: 10px; font-size: 15px; }

/* Étapes */

.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.etape { background: var(--carte); border-radius: 20px; padding: 24px; box-shadow: var(--ombre); }
.etape__num {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--ambre-doux);
  color: var(--ambre);
  font-weight: 600;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.etape h3 { font-size: 18px; }
.etape p { font-size: 15px; color: var(--brun-2); margin-top: 6px; }

/* ---------- Fiche produit ---------- */

.fil { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--taupe); padding-top: 24px; }
.fil button { background: none; border: 0; padding: 0; cursor: pointer; color: var(--ambre); text-decoration: underline; text-underline-offset: 3px; }

.fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 20px; align-items: start; }
.fiche__vitrine { background: var(--ambre-doux); border-radius: 26px; padding: 40px 24px 36px; }
.fiche__vitrine .presentoir { min-height: 340px; }

.fiche h1 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.05; margin-top: 4px; }
.puces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.puce { background: var(--creme-2); border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--brun-2); }

.achat { background: var(--carte); border-radius: 22px; padding: 22px; margin-top: 24px; box-shadow: var(--ombre); }
.achat__haut { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.achat .etiquette { font-size: 28px; padding: 8px 18px 8px 30px; }
.achat .etiquette::before { left: 12px; width: 9px; height: 9px; }
.achat__bas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 18px; }

.stepper { display: inline-flex; align-items: center; background: var(--creme-2); border-radius: 999px; padding: 4px; }
.stepper button { width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--carte); cursor: pointer; font-size: 19px; box-shadow: var(--ombre); }
.stepper input {
  width: 54px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--brun);
  text-align: center;
  font: inherit;
  font-weight: 600;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
}
.stepper input:focus { outline: none; }

.astuce {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--ambre-doux);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--brun-2);
  margin-top: 16px;
}
.astuce .ico { color: var(--ambre); margin-top: 2px; }
.astuce strong { color: var(--brun); font-weight: 600; }

.bloc { margin-top: 30px; }
.bloc h2 { font-size: 21px; margin-bottom: 14px; }

.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.notes div { background: var(--carte); border-radius: 16px; padding: 16px; box-shadow: var(--ombre); }
.notes b { display: block; font-size: 13px; color: var(--ambre); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.notes p { font-size: 14.5px; margin-top: 6px; color: var(--brun-2); }

.tarifs { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 15px; }
.tarifs td { background: var(--carte); padding: 11px 16px; }
.tarifs td:first-child { border-radius: 12px 0 0 12px; }
.tarifs td:last-child { border-radius: 0 12px 12px 0; text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.tarifs td:nth-child(2) { color: var(--vert); font-weight: 500; }
.tarifs tr[data-actif="true"] td { background: var(--ambre-doux); }

.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.specs div { background: var(--carte); border-radius: 14px; padding: 12px 14px; }
.specs dt { font-size: 13px; color: var(--taupe); }
.specs dd { margin: 2px 0 0; font-family: var(--mono); font-size: 14px; }

/* ---------- Panier ---------- */

.titre-page { font-size: clamp(30px, 4vw, 42px); margin-top: 30px; }

.progression { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.progression span { display: inline-flex; align-items: center; gap: 8px; background: var(--carte); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14.5px; color: var(--taupe); }
.progression i { font-style: normal; width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: var(--creme-2); font-weight: 600; font-size: 13px; }
.progression .actif { color: var(--brun); font-weight: 500; }
.progression .actif i { background: var(--ambre); color: var(--sur-ambre); }

.panier { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; margin-top: 26px; align-items: start; }
.lignes { display: grid; gap: 12px; }

.ligne {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  background: var(--carte);
  border-radius: 20px;
  padding: 14px 20px 14px 14px;
  box-shadow: var(--ombre);
}
.ligne__vitrine { background: var(--creme-2); border-radius: 14px; display: grid; place-items: end center; height: 96px; padding-bottom: 12px; }
.ligne__nom { font-weight: 600; font-size: 17.5px; }
.ligne__ref { font-family: var(--mono); font-size: 11.5px; color: var(--taupe); margin-top: 2px; }
.ligne__pu { font-size: 14px; color: var(--brun-2); margin-top: 4px; }
.ligne__total { font-weight: 600; font-size: 17px; font-variant-numeric: tabular-nums; min-width: 92px; text-align: right; }
.retirer { background: none; border: 0; padding: 0; margin-top: 6px; cursor: pointer; color: var(--rose-the); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }

.champ { display: flex; flex-direction: column; gap: 7px; }
.champ label { font-size: 14.5px; font-weight: 500; color: var(--brun); }
.champ input, textarea {
  width: 100%;
  background: var(--carte);
  color: var(--brun);
  border: 2px solid var(--filet);
  border-radius: 14px;
  padding: 12px 15px;
  font: inherit;
  font-size: 16px;
  resize: vertical;
  transition: border-color .2s;
}
.champ input:focus, textarea:focus { outline: none; border-color: var(--ambre); }

.recap { position: sticky; top: 20px; background: var(--carte); border-radius: 24px; padding: 24px; box-shadow: var(--ombre); }
.recap h2 { font-size: 20px; }
.recap__lignes { display: grid; gap: 8px; margin-top: 14px; font-size: 15px; color: var(--brun-2); }
.recap__lignes div { display: flex; justify-content: space-between; gap: 10px; }
.recap__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; padding-top: 16px; border-top: 2px dashed var(--filet); }
.recap__total b { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.recap .btn { width: 100%; margin-top: 12px; }

/* ---------- Compte ---------- */

.comptes { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; margin-top: 26px; align-items: start; }
.carte-compte { background: var(--carte); border-radius: 26px; padding: 32px; box-shadow: var(--ombre); }
.carte-compte h2 { font-size: 26px; }
.carte-compte__intro { color: var(--brun-2); margin-top: 6px; font-size: 15.5px; }
.form { display: flex; flex-direction: column; gap: 16px; margin-top: 22px; }
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.avantages { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.avantages li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--brun-2); }
.avantages .ico { color: var(--vert); }
.lien { color: var(--ambre); font-size: 14.5px; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; }

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 20px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brun);
  color: var(--creme);
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 15px;
  box-shadow: var(--ombre);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  z-index: 50;
}
.toast[data-visible="true"] { opacity: 1; transform: translate(-50%, 0); }
.toast .ico { color: var(--bois-clair); }

/* ---------- Pied ---------- */

.pied { background: var(--carte); border-top: 1px solid var(--filet); margin-top: 80px; padding-block: 32px 44px; }
.pied .enveloppe { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px 40px; font-size: 14px; color: var(--taupe); }
.pied b { color: var(--brun); font-weight: 600; }

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .hero, .fiche, .panier, .comptes { grid-template-columns: 1fr; }
  .hero { padding: 26px; }
  .recap { position: static; }
}

@media (max-width: 620px) {
  .site__nav { margin-left: 0; width: 100%; }
  .notes, .specs { grid-template-columns: 1fr; }
  .ligne { grid-template-columns: 76px minmax(0, 1fr); padding-right: 14px; }
  .ligne__vitrine { height: 80px; }
  .ligne .stepper, .ligne__total { grid-column: 2; }
  .ligne__total { text-align: left; }
  .carte-compte { padding: 22px; }
  .flacon--xl .flacon__body { width: 124px; height: 118px; }
}

/* =====================================================================
   Compléments site réel (v2) — hors maquette
   ===================================================================== */

a { color: inherit; }
.navlink, .logo, .produit__lien, .btn, .navcart, .lien, .raz, .fil a { text-decoration: none; }
.navlink { display: inline-block; }
.fil a { color: var(--ambre); text-decoration: underline; text-underline-offset: 3px; }
.lien { display: inline-block; }

/* Photo produit réelle */
.produit__photo { display: flex; align-items: center; justify-content: center; height: 210px; padding: 12px 0 16px; }
.produit__photo img { display: block; max-width: 100%; max-height: 182px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.fiche__photo { display: flex; align-items: center; justify-content: center; min-height: 380px; }
.fiche__photo img { max-width: 100%; max-height: 420px; object-fit: contain; mix-blend-mode: multiply; border-radius: 12px; }
.ligne__vitrine img { max-width: 80px; max-height: 80px; object-fit: contain; mix-blend-mode: multiply; }
:root[data-theme="dark"] .produit__photo img, :root[data-theme="dark"] .fiche__photo img, :root[data-theme="dark"] .ligne__vitrine img { mix-blend-mode: normal; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .produit__photo img, :root:not([data-theme="light"]) .fiche__photo img, :root:not([data-theme="light"]) .ligne__vitrine img { mix-blend-mode: normal; } }

.prix-barre { text-decoration: line-through; color: var(--taupe); font-size: 14px; font-weight: 400; margin-left: 4px; }
.prix-masque { font-size: 14px; color: var(--brun-2); }
.prix-masque a { color: var(--ambre); }

/* Catégories (puces filtrantes) */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--carte); border: 2px solid var(--filet); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; text-decoration: none; color: var(--brun-2); }
.chip:hover { border-color: var(--ambre); }
.chip[aria-current="true"] { border-color: var(--ambre); background: var(--ambre-doux); color: var(--brun); font-weight: 500; }
.chip small { color: var(--taupe); }

.recherche { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.recherche .combo { flex: 1 1 280px; margin-top: 0; }
.genres a.genre { text-align: center; text-decoration: none; }

/* Pagination */
.pages { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 30px; }
.pages a, .pages span { min-width: 40px; padding: 8px 12px; border-radius: 999px; text-align: center; background: var(--carte); text-decoration: none; font-size: 15px; box-shadow: var(--ombre); }
.pages a:hover { background: var(--ambre-doux); }
.pages [aria-current] { background: var(--ambre); color: var(--sur-ambre); font-weight: 600; }
.pages .pages__trou { background: none; box-shadow: none; color: var(--taupe); }

/* Messages */
.flashs { display: grid; gap: 10px; margin-top: 20px; }
.flash { border-radius: 16px; padding: 13px 18px; font-size: 15px; background: var(--carte); box-shadow: var(--ombre); border-left: 5px solid var(--vert); }
.flash--erreur { border-left-color: var(--rose-the); }
.flash--info { border-left-color: var(--ambre); }

.champ small { color: var(--taupe); font-size: 13px; }
.champ select { width: 100%; background: var(--carte); color: var(--brun); border: 2px solid var(--filet); border-radius: 14px; padding: 12px 15px; font: inherit; }
.pot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Compte connecté */
.carte-compte + .carte-compte { margin-top: 0; }
.demandes { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 15px; margin-top: 14px; }
.demandes td, .demandes th { padding: 10px 14px; text-align: left; }
.demandes th { font-size: 13px; color: var(--taupe); font-weight: 500; }
.demandes td { background: var(--creme-2); }
.demandes td:first-child { border-radius: 12px 0 0 12px; }
.demandes td:last-child { border-radius: 0 12px 12px 0; text-align: right; }
.statut { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 500; background: var(--creme-2); }
.statut--envoye { background: var(--ambre-doux); color: var(--ambre); }
.statut--traite { background: color-mix(in srgb, var(--vert) 18%, transparent); color: var(--vert); }
.statut--annule { background: color-mix(in srgb, var(--rose-the) 18%, transparent); color: var(--rose-the); }
.statut--attente { background: var(--ambre-doux); color: var(--ambre); }
.statut--valide { background: color-mix(in srgb, var(--vert) 18%, transparent); color: var(--vert); }
.statut--refuse, .statut--bloque { background: color-mix(in srgb, var(--rose-the) 18%, transparent); color: var(--rose-the); }

.panier-vide { text-align: center; padding: 40px 20px; }
.panier-vide p { color: var(--brun-2); margin: 10px 0 20px; }
.ligne form { margin: 0; }
.description { color: var(--brun-2); font-size: 15.5px; margin-top: 16px; }
.page-texte { background: var(--carte); border-radius: 22px; padding: 28px; box-shadow: var(--ombre); margin-top: 24px; max-width: 820px; }
.page-texte h2 { font-size: 20px; margin: 18px 0 6px; }
.page-texte p { margin-bottom: 10px; color: var(--brun-2); }
.pied a { color: inherit; }
.bandeau-admin { background: var(--brun); color: var(--creme); font-size: 13.5px; padding-block: 6px; }
.bandeau-admin .enveloppe { display: flex; gap: 16px; justify-content: space-between; flex-wrap: wrap; }
.bandeau-admin a { color: var(--bois-clair); }
a.hero__scene { display: block; text-decoration: none; color: inherit; }
.recherche .combo { max-width: none; }
.recherche input[type="search"] { width: 100%; background: var(--carte); color: var(--brun); border: 2px solid var(--filet); border-radius: 999px; padding: 12px 18px; font: inherit; font-size: 16px; }
.recherche input[type="search"]:focus { outline: none; border-color: var(--ambre); }
.barre-filtre b { color: var(--brun); font-weight: 500; }
.barre-filtre .raz { margin-left: 6px; }
.progression .chip { padding: 5px 14px; }
details summary::-webkit-details-marker { color: var(--ambre); }

/* Correctifs mobile (la maquette débordait sous 420 px) */
@media (max-width: 920px) {
  .hero, .fiche, .panier, .comptes { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .enveloppe { padding-inline: 16px; }
  .hero { padding: 22px 18px; gap: 22px; border-radius: 22px; }
  .hero__scene { padding: 20px 10px 22px; overflow: hidden; }
  .hero__scene .presentoir { min-height: 190px; gap: 10px; }
  .hero__photo { max-height: 120px; }
  .hero__photo--centre { max-height: 155px; }
  .hero__scene .flacon--l { transform: scale(.72); transform-origin: bottom center; margin-inline: -14px; }
  .hero__scene .flacon--xl { transform: scale(.78); transform-origin: bottom center; margin-inline: -18px; }
  .genres { gap: 8px; }
  .genre { font-size: 16px; padding: 14px 8px; }
  .barre-filtre span[style] { margin-left: 0 !important; width: 100%; }
  .fiche__vitrine { padding: 24px 14px; }
  .fiche__photo { min-height: 260px; }
  .achat .etiquette { font-size: 23px; }
  .grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .produit__photo { height: 160px; }
  .produit__photo img { max-height: 132px; }
  .produit__infos { padding: 12px 12px 2px; }
  .produit__nom { font-size: 16.5px; }
  .produit__bas { padding: 10px 12px 0; flex-direction: column; align-items: flex-start; gap: 6px; }
  .produit__action { padding: 12px; }
  .produit__action .btn { font-size: 13.5px; padding: 9px 8px; gap: 6px; }
  .produit__action .btn .ico { display: none; }
  .etiquette { font-size: 16px; }
  .produit__vitrine .presentoir { height: 160px; padding-top: 14px; }
  .produit__vitrine .presentoir .flacon { transform: scale(.8); transform-origin: bottom center; }
  .site .enveloppe { gap: 12px; }
}

/* ---------- Tarifs à télécharger ---------- */
.navlink--tarifs { display: inline-flex; align-items: center; gap: 7px; border: 2px solid var(--ambre); color: var(--ambre); font-weight: 500; padding: 6px 14px; }
.navlink--tarifs .ico { width: 17px; height: 17px; }
.navlink--tarifs:hover, .navlink--tarifs[aria-current="true"] { background: var(--ambre-doux); color: var(--ambre); }
.tarifs-page { padding-bottom: 50px; }
.tarifs-intro { max-width: 780px; color: var(--brun-2); margin-top: 10px; display: grid; gap: 4px; }
.tarifs-vide { margin-top: 24px; color: var(--taupe); }
.tarifs-dl { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tarifs-onglets { display: flex; gap: 6px; flex-wrap: wrap; margin: 26px 0 14px; }
.tarifs-onglets a { padding: 7px 15px; border-radius: 999px; background: var(--carte); text-decoration: none; font-size: 14.5px; box-shadow: var(--ombre); color: var(--brun); }
.tarifs-onglets a[aria-current="true"] { background: var(--ambre); color: var(--sur-ambre); }
.tarifs-onglets small { opacity: .7; margin-left: 3px; }
.tarifs-texte { max-width: 900px; color: var(--brun-2); font-size: 15px; margin-bottom: 6px; }
.tarifs-legende { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--taupe); margin: 10px 0 12px; }
.tarifs-legende span { width: 26px; height: 14px; border-radius: 4px; background: var(--surligne); border: 1px solid var(--filet); }
.tarifs-wrap { overflow-x: auto; background: var(--carte); border-radius: 18px; box-shadow: var(--ombre); }
.tarifs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.tarifs th { text-align: left; font-weight: 500; font-size: 13px; color: var(--taupe); padding: 11px 10px; border-bottom: 1px solid var(--filet); white-space: nowrap; position: sticky; top: 0; background: var(--carte); }
.tarifs td { padding: 5px 10px; border-bottom: 1px solid var(--filet); vertical-align: middle; }
.tarifs tr:last-child td { border-bottom: 0; }
.tarifs tr.nouveau td { background: var(--surligne); }
.tarifs .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tarifs a { color: var(--brun); text-decoration: none; }
.tarifs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tarifs s { color: var(--taupe); }
.tarifs__marque { font-weight: 600; white-space: nowrap; }
.tarifs__panier { width: 1%; padding: 3px 8px !important; }
.tarifs__panier form { margin: 0; }
.tarifs__ajout { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; border: 0; background: var(--ambre); color: var(--sur-ambre); cursor: pointer; transition: transform .15s; }
.tarifs__ajout:hover { transform: scale(1.08); }
.tarifs__ajout:disabled { opacity: .5; }
.tarifs__ajout .ico { width: 16px; height: 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.produit__equiv { font-size: 13.5px; color: var(--taupe); margin-top: 2px; }
.fiche__equiv { font-size: 17px; color: var(--brun-2); margin-top: 6px; }
@media (max-width: 620px) {
  .tarifs { font-size: 13.5px; }
  .tarifs td, .tarifs th { padding: 7px 7px; }
  .tarifs__marque { white-space: normal; }
}

/* Vignettes : le prix ne se coupe jamais, la disponibilité passe dessous si la place manque */
.produit__bas { flex-wrap: wrap; row-gap: 6px; }
.etiquette { white-space: nowrap; }
@media (max-width: 620px) {
  .etiquette { flex-wrap: wrap; column-gap: 5px; row-gap: 0; }
  .produit__bas .etiquette .prix-barre { flex-basis: 100%; font-size: 12px; line-height: 1.2; }
}
