/* KAKANA : charte du groupe Marwell.
   Lilas et violet pour KAKANA, encre brune, or pour les appels a l'action.
   Mobile d'abord : tout est verifie en 390 px avant 1440 px. */

:root {
  --ink: #3d1e1d;
  --ink-soft: #6e5250;
  --line: #e6d9d3;
  --cream: #f7f2ee;
  --nude: #efe3dc;
  --lilac: #f5ebf3;
  --violet: #8b5fa8;
  --violet-deep: #6f4a88;
  --brown: #623d36;
  --gold: #dfb84e;
  --gold-deep: #c9a13a;
  --sand: #b09072;
  --max: 1120px;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(61, 30, 29, .05), 0 8px 24px rgba(61, 30, 29, .06);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 16px/1.65 Inter, "Noto Sans Thai", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .serif {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.01em;
  line-height: 1.18;
  margin: 0;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ---------- En-tete ---------- */

header.top {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 242, 238, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.top-in {
  display: flex; align-items: center; gap: 14px;
  height: 62px;
  max-width: var(--max); margin: 0 auto; padding: 0 16px;
}

.logo img { height: 31px; width: auto; }

nav.main { display: none; gap: 26px; margin-left: auto; font-size: 14.5px; }
nav.main a { color: var(--ink-soft); padding: 6px 0; border-bottom: 1.5px solid transparent; }
nav.main a:hover, nav.main a[aria-current] { color: var(--ink); border-color: var(--violet); }

.top-act { margin-left: auto; display: flex; align-items: center; gap: 4px; }

/* Cibles tactiles 44 px : la surface deborde, le dessin reste fin. */
.icon-btn {
  position: relative;
  min-width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
  color: var(--ink); font: inherit; font-size: 14px;
  border-radius: 12px;
}
.icon-btn:hover { background: var(--lilac); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }

#pastille {
  position: absolute; top: 6px; right: 4px;
  min-width: 17px; height: 17px; padding: 0 4px;
  background: var(--violet); color: #fff;
  border-radius: 9px;
  font-size: 10.5px; font-weight: 600; line-height: 17px; text-align: center;
}
#pastille[hidden] { display: none; }

/* Selecteur de langue : 3 pastilles, une seule ligne, jamais un menu */
.langues { display: flex; gap: 2px; background: var(--nude); border-radius: 12px; padding: 3px; }
.langues button {
  min-width: 34px; height: 30px; padding: 0 6px;
  border: 0; background: none; border-radius: 9px; cursor: pointer;
  font: 600 11.5px/1 Inter, sans-serif; letter-spacing: .04em;
  color: var(--ink-soft);
}
.langues button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(61,30,29,.12); }

/* Menu burger sous 860 px */
#burger { display: inline-flex; }
#menu-mobile {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream);
  padding: 8px 16px 18px;
}
#menu-mobile.ouvert { display: block; }
#menu-mobile a {
  display: block; padding: 13px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
#menu-mobile a:last-child { border-bottom: 0; }

/* ---------- Heros ---------- */

/* Mobile : le portrait occupe l'ecran, le texte se pose dessus.
   Bureau : deux colonnes, le portrait sort du cadre a droite. */
.hero { position: relative; background: var(--cream); border-bottom: 1px solid var(--line); padding: 0; }

.hero-media { position: relative; aspect-ratio: 4 / 5; max-height: 72vh; background: var(--nude); overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 16%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(61,30,29,0) 34%, rgba(61,30,29,.28) 58%, rgba(40,18,17,.86) 100%);
}

.hero-texte { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; color: #fff; padding-bottom: 30px; }
.hero h1 { font-size: clamp(38px, 10.5vw, 62px); letter-spacing: -.02em; }
.hero .kicker {
  font: 600 11px/1 Inter, "Noto Sans Thai", sans-serif;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}
.hero p.chapo { font-size: 16px; color: rgba(255,255,255,.86); max-width: 44ch; margin: 16px 0 22px; }
.hero .btn.fant { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn.fant:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Bandeau de reassurance sous le heros */
.bandeau {
  background: var(--ink); color: rgba(255,255,255,.82);
  font: 500 11px/1.5 Inter, "Noto Sans Thai", sans-serif;
  letter-spacing: .08em; text-transform: uppercase;
}
.bandeau .wrap {
  -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 86%, transparent 100%);
  display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding-top: 13px; padding-bottom: 13px; }
.bandeau .wrap::-webkit-scrollbar { display: none; }
.bandeau span { flex: 0 0 auto; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 Inter, "Noto Sans Thai", sans-serif;
  background: var(--ink); color: var(--cream);
  transition: transform .12s ease, background .16s ease;
}
.btn:hover { background: var(--brown); }
.btn:active { transform: scale(.98); }
.btn.or { background: var(--gold); color: var(--ink); }
.btn.or:hover { background: var(--gold-deep); }
.btn.violet { background: var(--violet); color: #fff; }
.btn.violet:hover { background: var(--violet-deep); }
.btn.fant { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn.fant:hover { background: #fff; border-color: var(--ink); }
.btn.large { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ---------- Sections ---------- */

section { padding: 52px 0; }
section.lilas { background: var(--lilac); }

.titre-sec { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 24px; }
.titre-sec h2 { font-size: clamp(25px, 6vw, 36px); }
.titre-sec p { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px; }

/* Onglets pills : toujours sur une ligne, defilables au doigt */
.filtres {
  display: flex; gap: 8px; margin-bottom: 26px;
  overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.filtres::-webkit-scrollbar { display: none; }
.filtres button {
  flex: 0 0 auto;
  min-height: 42px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: 999px;
  background: transparent; cursor: pointer;
  font: 500 14px/1 Inter, "Noto Sans Thai", sans-serif; color: var(--ink-soft);
  white-space: nowrap;
}
.filtres button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--cream); }

/* ---------- Nuancier ---------- */

/* La carte de teintes : c'est le coeur d'une marque de coloration,
   donc elle passe avant la grille marchande. */
.nuancier { background: var(--ink); color: var(--cream); }
.nuancier .titre-sec h2 { color: var(--cream); }
.nuancier .titre-sec p { color: rgba(255,255,255,.6); }

.piste {
  display: flex; gap: 12px;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x mandatory; scroll-padding-left: 20px;
  -webkit-overflow-scrolling: touch;
  margin: 0 -20px; padding: 0 20px 4px;
}
.piste::-webkit-scrollbar { display: none; }

.teinte { flex: 0 0 47%; scroll-snap-align: start; }
.teinte-vue { display: block; position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; background: #2a1413; }
.teinte-vue img { width: 100%; height: 100%; object-fit: cover; }
.teinte-nom { display: block; font-family: "Playfair Display", serif; font-size: 17px; margin-top: 11px; }
.teinte-ton { font-size: 12.5px; color: rgba(255,255,255,.58); display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.teinte-ton i { width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 0 0 1px rgba(255,255,255,.3); }

/* ---------- Grille produits ---------- */

.grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.carte {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}
.carte:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

/* Le visuel est le rendu sur cheveux, pas la boite : la boite passe
   en medaillon, toujours visible, jamais revelee au survol. */
.carte .vue { position: relative; aspect-ratio: 3 / 4; background: var(--nude); overflow: hidden; }
.carte .vue img.rendu { width: 100%; height: 100%; object-fit: cover; }
.carte .mini {
  position: absolute; right: 7px; bottom: 7px;
  width: 27%; aspect-ratio: 2 / 3;
  background: rgba(255,255,255,.94); border-radius: 9px;
  padding: 4px; box-shadow: 0 2px 10px rgba(61,30,29,.16);
}
.carte .mini img { width: 100%; height: 100%; object-fit: contain; }

.etiq {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 10px; border-radius: 999px;
  background: rgba(255,255,255,.93);
  font: 600 10px/1 Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--violet-deep);
}

.carte .corps { padding: 13px 14px 16px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.carte .nuance { font-family: "Playfair Display", serif; font-size: 19.5px; line-height: 1.2; }
.carte .ton { font-size: 13px; color: var(--ink-soft); display: flex; align-items: center; gap: 7px; margin-top: 4px; }
.carte .bas { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; }
.carte .prix { font-weight: 600; font-size: 16px; white-space: nowrap; }
.carte .ml { font-size: 12.5px; color: var(--ink-soft); font-weight: 400; }

.pastille-couleur {
  width: 16px; height: 16px; border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  flex: 0 0 auto;
}

/* Le bouton d'ajout est TOUJOURS visible, jamais revele au survol :
   sur telephone le survol n'existe pas. */
/* Sur telephone le libelle tombe, l'icone reste : la carte garde une seule
   ligne au lieu d'un bouton qui se replie sur deux. */
.ajout {
  min-width: 44px; height: 44px; padding: 0; flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; cursor: pointer;
  font: 600 13px/1 Inter, "Noto Sans Thai", sans-serif; color: var(--ink);
}
.ajout .lbl { display: none; }
.ajout .ico { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.ajout:hover { background: var(--ink); color: var(--cream); }
.ajout.ok { background: var(--violet); border-color: var(--violet); color: #fff; }

/* ---------- Trois gammes ---------- */

.gammes { display: grid; gap: 14px; }
.gamme {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 22px 20px 24px;
}
.gamme h3 { font-size: 22px; }
.gamme p { margin: 9px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.gamme .num { font: 600 11px/1 Inter, sans-serif; letter-spacing: .2em; color: var(--violet); display: block; margin-bottom: 12px; }

/* ---------- Panneau panier ---------- */

.voile {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(61, 30, 29, .34);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.voile.ouvert { opacity: 1; pointer-events: auto; }

aside.panier {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 95;
  width: min(410px, 100%);
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(101%); transition: transform .24s cubic-bezier(.4,0,.2,1);
  box-shadow: -10px 0 40px rgba(61,30,29,.14);
}
aside.panier.ouvert { transform: none; }

.panier-tete {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 10px 14px 20px;
  border-bottom: 1px solid var(--line);
}
.panier-tete h2 { font-size: 21px; margin-right: auto; }

.panier-corps { flex: 1; overflow-y: auto; padding: 8px 20px; }

.ligne { display: flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.ligne img { width: 66px; height: 66px; object-fit: cover; border-radius: 12px; flex: 0 0 auto; background: var(--nude); }
.ligne .info { flex: 1; min-width: 0; }
.ligne .nom { font-family: "Playfair Display", serif; font-size: 16px; }
.ligne .meta { font-size: 12.5px; color: var(--ink-soft); }

.qte { display: flex; align-items: center; gap: 2px; margin-top: 7px; }
.qte button {
  min-width: 34px; height: 34px;
  border: 1px solid var(--line); background: #fff; border-radius: 9px; cursor: pointer;
  font-size: 17px; line-height: 1; color: var(--ink);
}
.qte span { min-width: 34px; text-align: center; font-weight: 600; font-size: 14px; }

.panier-pied { border-top: 1px solid var(--line); padding: 16px 20px 22px; background: #fff; }
.tot { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 14.5px; color: var(--ink-soft); }
.tot.grand { font-size: 19px; color: var(--ink); font-weight: 600; margin: 12px 0 16px; }

.vide { text-align: center; padding: 56px 16px; color: var(--ink-soft); }

/* ---------- Formulaire ---------- */

.champ { margin-bottom: 15px; }
.champ label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; color: var(--ink-soft); }
.champ input, .champ textarea, .champ select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
  font: 400 16px/1.4 Inter, "Noto Sans Thai", sans-serif;
}
.champ input:focus, .champ textarea:focus, .champ select:focus {
  outline: 0; border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(139, 95, 168, .14);
}
.champ textarea { min-height: 88px; resize: vertical; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.paiement { display: grid; gap: 10px; margin-bottom: 18px; }
.paiement label {
  display: flex; align-items: flex-start; gap: 11px;
  padding: 14px; border: 1.5px solid var(--line); border-radius: 14px;
  background: #fff; cursor: pointer;
}
.paiement label:has(input:checked) { border-color: var(--violet); background: var(--lilac); }
.paiement input { margin-top: 3px; accent-color: var(--violet); width: 18px; height: 18px; }
.paiement .t { font-weight: 600; font-size: 14.5px; }
.paiement .d { font-size: 13px; color: var(--ink-soft); }

.note {
  padding: 14px 16px; border-radius: 14px;
  background: var(--nude); font-size: 13.5px; color: var(--ink-soft);
}

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

footer.bas {
  background: var(--ink); color: var(--nude);
  padding: 46px 0 30px; margin-top: 30px;
}
footer.bas img { height: 26px; width: auto; margin-bottom: 18px; opacity: .95; }
footer.bas a { color: var(--nude); opacity: .75; }
footer.bas a:hover { opacity: 1; }
.pied-grille { display: grid; gap: 30px; margin-bottom: 30px; }
.pied-grille h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-family: Inter, sans-serif; font-weight: 600; opacity: .55; margin-bottom: 11px; }
.pied-grille li { list-style: none; margin-bottom: 8px; font-size: 14.5px; }
.pied-grille ul { padding: 0; margin: 0; }
.copie { border-top: 1px solid rgba(239,227,220,.16); padding-top: 20px; font-size: 13px; opacity: .6; }

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

.fiche { display: grid; gap: 26px; padding: 30px 0 10px; }
.galerie .principale {
  aspect-ratio: 4 / 5; background: var(--nude);
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
/* Le rendu sur cheveux remplit le cadre, la boite s'y inscrit en entier. */
.galerie .principale img { width: 100%; height: 100%; object-fit: cover; }
.galerie .principale img.pack { object-fit: contain; background: #fff; padding: 14px; }
.vignettes img.pack { object-fit: contain; background: #fff; }
.vignettes { display: flex; gap: 9px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.vignettes::-webkit-scrollbar { display: none; }
.vignettes button {
  flex: 0 0 auto; width: 62px; height: 62px; padding: 0;
  border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--nude); cursor: pointer;
}
.vignettes button[aria-pressed="true"] { border-color: var(--violet); }
.vignettes img { width: 100%; height: 100%; object-fit: cover; }

.fiche h1 { font-size: clamp(28px, 7.5vw, 42px); }
.fiche .prix-gros { font-size: 27px; font-weight: 600; margin: 14px 0 4px; }

.autres-teintes { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 10px; }
.autres-teintes a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line);
}
.autres-teintes a[aria-current] { box-shadow: 0 0 0 2px var(--violet); }

.detail { border-top: 1px solid var(--line); padding: 16px 0; }
.detail summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
  min-height: 28px;
}
.detail summary::-webkit-details-marker { display: none; }
.detail summary::after { content: "+"; font-size: 20px; color: var(--ink-soft); font-weight: 400; }
.detail[open] summary::after { content: "\2212"; }
.detail .dedans { padding-top: 11px; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Message flottant ---------- */

#toast {
  position: fixed; left: 50%; top: 78px; z-index: 120;
  transform: translate(-50%, -180%);
  background: var(--ink); color: var(--cream);
  padding: 13px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 500;
  transition: transform .26s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 8px 28px rgba(61,30,29,.24);
  max-width: calc(100vw - 32px);
}
#toast.vu { transform: translate(-50%, 0); }
/* Dans le tiroir, l'article ajoute est deja visible : le toast masquerait
   le nom du produit pour rien. */
body:has(#tiroir.ouvert) #toast { display: none; }

/* ---------- Langue ---------- */

[data-lang] { display: none; }
html[lang="en"] [data-lang~="en"],
html[lang="th"] [data-lang~="th"] { display: initial; }
html[lang="th"] body { font-family: "Noto Sans Thai", Inter, sans-serif; }

/* ---------- Grands ecrans ---------- */

@media (min-width: 640px) {
  .grille { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .ajout { width: auto; padding: 0 16px; }
  .ajout .lbl { display: inline; }
  .ajout .ico { display: none; }
  .gammes { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .pied-grille { grid-template-columns: repeat(3, 1fr); }
  .teinte { flex: 0 0 30%; }
  section { padding: 66px 0; }
}

@media (min-width: 860px) {
  nav.main { display: flex; }
  #burger { display: none; }
  #menu-mobile { display: none !important; }
  .grille { grid-template-columns: repeat(4, 1fr); }
  .teinte { flex: 0 0 19%; }

  /* Le heros passe en deux colonnes : le texte respire sur le creme,
     le portrait sort du cadre a droite. */
  /* Plafond en pixels : au dela, l'image laisse voir le texte imprime
     sur la boite, en bas du cadrage. */
  .hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
          min-height: 78vh; max-height: 760px; }
  .hero-media { aspect-ratio: auto; max-height: none; order: 2; }
  .hero-media::after { background: none; }
  .hero-media img { object-position: 50% 26%; }
  .hero-texte { position: static; order: 1; color: var(--ink); align-self: center; padding: 60px 0; }
  .hero-texte .wrap { max-width: 560px; margin-left: auto; margin-right: 0; padding-right: 48px; }
  .hero .kicker { color: var(--violet); }
  .hero p.chapo { color: var(--ink-soft); }
  .hero .btn.fant { color: var(--ink); border-color: var(--line); }
  .fiche { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; padding: 44px 0 20px; }
  .pied-grille { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- Commande ---------- */

.commande { display: grid; gap: 22px; padding: 26px 0 10px; }
/* Sur telephone le recapitulatif passe en tete : VJ veut voir le total
   avant de remplir sept champs. */
.commande .recap { order: -1; }
.commande h1 { font-size: clamp(26px, 6.5vw, 36px); margin-bottom: 4px; }
.recap {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 20px;
}
.recap h2 { font-size: 19px; margin-bottom: 4px; }
.recap .ligne:last-of-type { border-bottom: 0; }
.recap .ligne img { width: 54px; height: 54px; }
.etape { font: 600 11.5px/1 Inter, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.erreur { color: #a3242e; font-size: 12.5px; margin-top: 5px; }
.champ input[aria-invalid="true"], .champ textarea[aria-invalid="true"] { border-color: #a3242e; }
.qr { width: 190px; height: 190px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: block; margin: 12px auto 6px; }
.merci { text-align: center; padding: 46px 0 20px; max-width: 46ch; margin: 0 auto; }
.merci .num { font-family: "Playfair Display", serif; font-size: 25px; margin: 14px 0 6px; }
.recap-texte {
  width: 100%; min-height: 212px; font: 400 12.5px/1.6 ui-monospace, monospace;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; background: #fff; color: var(--ink);
}

@media (min-width: 860px) {
  .commande { grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
  .commande .recap { order: 0; }
  .commande .recap { position: sticky; top: 92px; }
}
