/* Naturellement Essentiel — maquette
   Monde : le comptoir où Élodie emballe un cadeau. Papier de soie pastel,
   étiquettes kraft, ruban satin. */

:root {
  --fond: oklch(0.985 0.005 350);
  --blanc: oklch(1 0 0);
  --soie-rose: oklch(0.905 0.038 8);
  --soie-rose-2: oklch(0.855 0.058 8);
  --soie-lilas: oklch(0.885 0.042 305);
  --soie-lilas-2: oklch(0.83 0.06 305);
  --soie-eau: oklch(0.915 0.042 172);
  --soie-eau-2: oklch(0.86 0.06 172);
  --ruban: oklch(0.52 0.14 4);
  --ruban-clair: oklch(0.66 0.13 4);
  --ruban-fonce: oklch(0.44 0.13 4);
  --prune: oklch(0.27 0.06 335);
  --prune-doux: oklch(0.42 0.05 335);
  --kraft: oklch(0.8 0.06 70);
  --kraft-fonce: oklch(0.6 0.07 62);
  --filet: oklch(0.89 0.018 340);
  --succes: oklch(0.48 0.09 160);
  --alerte: oklch(0.5 0.15 30);

  --f-titre: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --f-texte: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --f-main: "Gaegu", "Comic Sans MS", cursive;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 22px;
  --ombre-papier: 0 1px 2px oklch(0.27 0.06 335 / 0.08), 0 8px 24px -8px oklch(0.27 0.06 335 / 0.18);
  --ombre-haute: 0 2px 6px oklch(0.27 0.06 335 / 0.1), 0 24px 48px -16px oklch(0.27 0.06 335 / 0.3);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gouttiere: clamp(16px, 4vw, 48px);
  --large: 1280px;

  --z-collant: 20;
  --z-tiroir-fond: 40;
  --z-tiroir: 50;
  --z-toast: 70;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--prune);
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-titre); line-height: 1.08; margin: 0; text-wrap: balance; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--soie-rose-2); color: var(--prune); }
:focus-visible { outline: 2.5px solid var(--ruban); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--soie-lilas-2) var(--fond); }
[x-cloak] { display: none !important; }

.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic-s { width: 18px; height: 18px; }
.cadre { width: min(100% - 2 * var(--gouttiere), var(--large)); margin-inline: auto; }

/* ---------- Matière : papier de soie ---------- */
.soie { position: relative; isolation: isolate; }
.soie::before {
  /* texture de papier de soie froissé (image répétable), fondue dans la couleur du champ */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/matieres/tuile-soie.png") 0 0 / 512px 512px repeat;
  mix-blend-mode: soft-light; opacity: 0.75;
}
.soie::after {
  /* grain du papier */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .45 0 0 0 0 .5 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
.soie-rose { background: var(--soie-rose); }
.soie-lilas { background: var(--soie-lilas); }
.soie-eau { background: var(--soie-eau); }

/* ---------- Étiquette kraft ---------- */
.kraft {
  --trou: 7px;
  position: relative;
  display: inline-flex; align-items: center; gap: 0.4em;
  background: var(--kraft) url("../img/matieres/kraft.png") 0 0 / 256px 256px;
  color: var(--prune);
  padding: 0.35em 0.8em 0.35em 1.55em;
  border-radius: 3px 6px 6px 3px;
  clip-path: polygon(0.7em 0, 100% 0, 100% 100%, 0.7em 100%, 0 50%);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
  box-shadow: inset 0 0 0 1px oklch(0.6 0.07 62 / 0.35);
}
.kraft::before {
  content: ""; position: absolute; left: 0.62em; top: 50%; width: var(--trou); height: var(--trou);
  translate: 0 -50%; border-radius: 50%; background: var(--fond);
  box-shadow: inset 0 0 0 1.5px var(--kraft-fonce);
}
.kraft-prix { font-size: 1rem; }
.kraft-barre { font-weight: 500; text-decoration: line-through; opacity: 0.75; font-size: 0.85em; }
.mot-main { font-family: var(--f-main); font-weight: 700; font-size: 1.25em; line-height: 1; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.4em;
  border: 0; border-radius: 999px;
  font-weight: 650; font-size: 1rem; text-decoration: none; letter-spacing: 0.005em;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-ruban {
  background: var(--ruban); color: var(--blanc);
  background-image: linear-gradient(180deg, oklch(1 0 0 / 0.16), transparent 45%, oklch(0 0 0 / 0.06));
  box-shadow: 0 1px 0 oklch(1 0 0 / 0.25) inset, 0 6px 16px -6px oklch(0.44 0.13 4 / 0.7);
}
.btn-ruban:hover { background-color: var(--ruban-fonce); }
.btn-prune { background: var(--prune); color: var(--blanc); }
.btn-prune:hover { background: oklch(0.34 0.07 335); }
.btn-papier { background: var(--blanc); color: var(--prune); box-shadow: inset 0 0 0 1.5px var(--prune); }
.btn-papier:hover { background: var(--soie-rose); }
.btn-lien { background: none; padding-inline: 0.2em; min-height: 44px; text-decoration: underline; text-underline-offset: 0.25em; font-weight: 600; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-icone {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: transparent; color: inherit; position: relative;
  transition: background-color 0.2s var(--ease);
}
.btn-icone:hover { background: oklch(0.27 0.06 335 / 0.07); }
.pastille {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 999px; background: var(--ruban); color: var(--blanc);
  font-size: 0.72rem; font-weight: 700; display: grid; place-items: center; font-variant-numeric: tabular-nums;
}
.pastille.rebond { animation: rebond 0.6s var(--ease); }
@keyframes rebond { 30% { scale: 1.45; } 100% { scale: 1; } }

/* ---------- Bandeau + en-tête ---------- */
.bandeau {
  background: var(--prune); color: var(--soie-rose);
  font-size: 0.875rem; text-align: center; padding: 0.5em var(--gouttiere);
}
.bandeau strong { color: var(--blanc); font-weight: 650; }
.entete {
  position: sticky; top: 0; z-index: var(--z-collant);
  background: oklch(0.985 0.005 350 / 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--filet);
}
.entete-ligne { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.marque img { width: 52px; height: auto; }
.marque-nom { font-family: var(--f-titre); font-weight: 750; font-size: 1.15rem; line-height: 1; letter-spacing: -0.02em; }
.marque-nom small { display: block; font-family: var(--f-main); font-weight: 400; font-size: 1rem; color: var(--prune-doux); letter-spacing: 0; margin-top: 3px; }
@media (max-width: 560px) {
  .entete-ligne { min-height: 62px; gap: 4px; }
  .marque img { width: 40px; }
  .marque-nom { font-size: 1rem; }
  .marque-nom small { display: none; }
  .bandeau .long { display: none; }
  .actions-entete .btn-icone { width: 40px; height: 40px; }
  .lien-compte { display: none !important; }
}
.nav-principale { display: none; }
.nav-principale a {
  text-decoration: none; font-weight: 550; font-size: 0.97rem; padding: 0.55em 0.75em; border-radius: 999px;
  transition: background-color 0.2s var(--ease);
}
.nav-principale a:hover, .nav-principale a[aria-current="page"] { background: var(--soie-rose); }
.actions-entete { display: flex; align-items: center; gap: 2px; }
@media (min-width: 1080px) {
  .nav-principale { display: flex; gap: 2px; margin-right: auto; }
  .marque { margin-right: 12px; }
  .burger { display: none; }
}
.recherche-entete {
  display: flex; align-items: center; gap: 8px; background: var(--blanc); border-radius: 999px;
  padding: 0 14px; height: 46px; box-shadow: inset 0 0 0 1px oklch(0.27 0.06 335 / 0.18);
}
.recherche-entete:focus-within { box-shadow: inset 0 0 0 2px var(--ruban); }
.recherche-entete input { border: 0; outline: 0; background: none; width: 100%; font-size: 1rem; min-height: 44px; }
.recherche-entete input::placeholder { color: var(--prune-doux); }
.entete .recherche-entete { display: none; }
@media (min-width: 1240px) {
  .entete .recherche-entete { display: flex; width: 200px; height: 42px; }
  .btn-recherche-mobile { display: none; }
}

/* ---------- Tiroirs (menu, panier, filtres) ---------- */
.voile {
  position: fixed; inset: 0; z-index: var(--z-tiroir-fond);
  background: oklch(0.27 0.06 335 / 0.38); backdrop-filter: blur(2px);
}
.tiroir {
  position: fixed; z-index: var(--z-tiroir); top: 0; bottom: 0; right: 0;
  width: min(440px, 100%); background: var(--fond);
  display: flex; flex-direction: column; box-shadow: var(--ombre-haute);
}
.tiroir.gauche { right: auto; left: 0; }
.tiroir-tete { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 14px 22px; border-bottom: 1px solid var(--filet); }
.tiroir-tete h2 { font-size: 1.35rem; }
.tiroir-corps { flex: 1; overflow-y: auto; padding: 18px 22px; overscroll-behavior: contain; }
.tiroir-pied { padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--filet); background: var(--blanc); }
.entre-droite { transition: transform 0.45s var(--ease), opacity 0.3s; }
.entre-droite-de { transform: translateX(100%); }
.entre-gauche-de { transform: translateX(-100%); }
.entre-fondu { transition: opacity 0.3s var(--ease); }
.entre-fondu-de { opacity: 0; }

.menu-mobile a { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--filet); text-decoration: none; font-size: 1.15rem; font-weight: 600; }
.menu-mobile .pastille-couleur { width: 14px; height: 14px; border-radius: 50%; }

/* Panier */
.ligne-panier { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--filet); align-items: start; }
.ligne-panier img { width: 76px; height: 76px; object-fit: contain; background: var(--blanc); border-radius: var(--r-s); box-shadow: inset 0 0 0 1px var(--filet); }
.ligne-panier h3 { font-size: 0.98rem; font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.ligne-panier .marque-produit { font-size: 0.8rem; }
.quantite { display: inline-flex; align-items: center; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--filet); background: var(--blanc); margin-top: 8px; }
.quantite button { width: 36px; height: 36px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; }
.quantite button:hover { background: var(--soie-rose); }
.quantite output { min-width: 26px; text-align: center; font-weight: 650; font-variant-numeric: tabular-nums; }
.quantite.grande button { width: 46px; height: 46px; }
.quantite.grande output { min-width: 34px; font-size: 1.05rem; }
.prix-ligne { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.retirer { font-size: 0.82rem; color: var(--prune-doux); background: none; border: 0; padding: 6px 0; text-decoration: underline; text-underline-offset: 0.2em; }

.jauge-livraison { margin-bottom: 14px; font-size: 0.93rem; }
.jauge { position: relative; height: 10px; border-radius: 999px; background: var(--soie-rose); margin-top: 8px; overflow: hidden; }
.jauge span {
  position: absolute; inset: 0 auto 0 0; border-radius: inherit;
  background: linear-gradient(180deg, var(--ruban-clair), var(--ruban) 60%, var(--ruban-fonce));
  transition: width 0.6s var(--ease);
}
.total-ligne { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; margin-bottom: 12px; }
.total-ligne strong { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.panier-vide { text-align: center; padding: 48px 8px; display: grid; gap: 16px; justify-items: center; }
.panier-vide .noeud { width: 120px; }

.toast {
  position: fixed; z-index: var(--z-toast); left: 50%; bottom: calc(20px + env(safe-area-inset-bottom));
  translate: -50% 0; background: var(--prune); color: var(--blanc);
  padding: 12px 18px; border-radius: 999px; box-shadow: var(--ombre-haute);
  display: flex; gap: 10px; align-items: center; font-weight: 550; font-size: 0.95rem;
  max-width: calc(100% - 32px);
}

/* ---------- Carte produit : l'objet posé sur son papier ---------- */
.produit {
  position: relative; display: grid; grid-template-rows: auto 1fr; gap: 12px;
  text-decoration: none; min-width: 0;
}
.produit-papier {
  position: relative; aspect-ratio: 1; border-radius: var(--r-m);
  background: var(--blanc); box-shadow: var(--ombre-papier);
  overflow: clip;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.produit-papier img { width: 100%; height: 100%; object-fit: contain; padding: 8%; transition: transform 0.6s var(--ease); }
.produit:hover .produit-papier { box-shadow: var(--ombre-haute); }
.produit:hover .produit-papier img { transform: translateY(-3px) scale(1.05) rotate(-1deg); }
.produit-papier .kraft { position: absolute; left: 10px; bottom: 12px; font-size: 0.95rem; }
.produit-etat {
  position: absolute; top: 10px; left: 10px; font-size: 0.78rem; font-weight: 650; padding: 4px 10px; border-radius: 999px;
  background: var(--soie-lilas); color: var(--prune);
}
.produit-etat.epuise { background: var(--prune); color: var(--blanc); }
.produit-coeur {
  position: absolute; top: 6px; right: 6px; background: oklch(1 0 0 / 0.9);
}
.produit-coeur[aria-pressed="true"] { color: var(--ruban); }
.produit-coeur[aria-pressed="true"] .ic { fill: currentColor; }
.produit-infos { display: grid; gap: 2px; align-content: start; }
.marque-produit { font-size: 0.82rem; color: var(--prune-doux); font-weight: 550; letter-spacing: 0.01em; }
.produit-nom { font-size: 1.02rem; font-weight: 600; line-height: 1.3; letter-spacing: 0; }
.produit-nom a { text-decoration: none; }
.produit-nom a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-m); }
.produit-ajout {
  position: absolute; right: 10px; bottom: 10px; z-index: 1;
  width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--prune); color: var(--blanc); display: grid; place-items: center;
  box-shadow: 0 6px 14px -6px oklch(0.27 0.06 335 / 0.7);
  transition: background-color 0.2s var(--ease), transform 0.3s var(--ease);
}
.produit-ajout:hover { background: var(--ruban); transform: rotate(90deg); }
.produit-coeur, .produit-ajout { z-index: 2; }

.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr);
  gap: clamp(14px, 2vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 8px var(--gouttiere) 28px; margin-inline: calc(-1 * var(--gouttiere));
  scrollbar-width: thin; scroll-padding-inline: var(--gouttiere);
}
.rail > * { scroll-snap-align: start; }
@media (min-width: 900px) { .rail { grid-auto-columns: calc((100% - 2 * var(--gouttiere) - 3 * 24px) / 4); } }

.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 42vw), 1fr)); gap: 28px clamp(14px, 2vw, 24px); }
@media (min-width: 700px) { .grille-produits { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.tete-section { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(22px, 3vw, 36px); }
.tete-section h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); max-width: 18ch; }
.tete-section p { max-width: 46ch; color: var(--prune-doux); }
.lien-fleche { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; padding: 10px 0; }
.lien-fleche .ic { transition: translate 0.3s var(--ease); }
.lien-fleche:hover .ic { translate: 4px 0; }

/* ---------- Accueil : le paquet ouvert ---------- */
.ouverture { overflow: clip; padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 80px); }
.ouverture-grille { display: grid; gap: 28px; align-items: center; }
@media (min-width: 980px) { .ouverture-grille { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px; } }
.ouverture h1 { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5rem); letter-spacing: -0.035em; line-height: 1; max-width: 13ch; }
.ouverture h1 em { font-style: normal; color: var(--ruban-fonce); }
.ouverture-texte { display: grid; gap: 22px; justify-items: start; position: relative; z-index: 2; }
.ouverture-texte > p { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); max-width: 40ch; }
.ouverture-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ouverture-actions .btn-ruban { min-height: 56px; padding-inline: 1.8em; font-size: 1.08rem; }
.ouverture-faits { display: flex; flex-wrap: wrap; gap: 10px 14px; }

.paquet { position: relative; min-height: 440px; display: grid; place-items: center; isolation: isolate; }
@media (min-width: 980px) { .paquet { min-height: 580px; } }
/* Trois feuilles de papier de soie (images), translucides : les couleurs se mêlent là où elles se chevauchent */
.feuille {
  position: absolute; width: 78%; height: auto; pointer-events: none; z-index: 0;
  mix-blend-mode: multiply; filter: drop-shadow(0 22px 26px oklch(0.27 0.06 335 / 0.22));
  transform-origin: 50% 85%;
}
.feuille-1 { rotate: -16deg; translate: -15% 1%; }
.feuille-2 { rotate: 13deg; translate: 15% -2%; }
.feuille-3 { rotate: -3deg; translate: 0 5%; mix-blend-mode: normal; opacity: 0.82; } /* translucide sans assombrir les recouvrements */
.ruban-trace { position: absolute; z-index: 1; left: -16%; top: 6%; width: 112%; pointer-events: none; }
.ruban-trace img { width: 100%; height: auto; clip-path: inset(0 100% 0 0); animation: derouler 1.5s 0.5s var(--ease) forwards; }
@keyframes derouler { to { clip-path: inset(0 0 0 0); } }
.ruban-bande { display: none; }
.paquet-contenu {
  position: relative; z-index: 2; width: min(96%, 640px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end;
  padding-top: 40px;
}
.paquet-contenu .produit:nth-child(1) { rotate: -4deg; translate: 0 16px; }
.paquet-contenu .produit:nth-child(2) { translate: 0 -18px; }
.paquet-contenu .produit:nth-child(3) { rotate: 4deg; translate: 0 10px; }
.paquet-contenu .produit-nom { font-size: 0.92rem; }
.paquet-etiquette {
  position: absolute; z-index: 3; right: 1%; top: 7%; rotate: 7deg;
  font-size: 0.95rem; font-weight: 600; padding-block: 0.7em; max-width: 250px; line-height: 1.3;
  transform-origin: 0 50%; animation: balance 6s ease-in-out infinite;
}
.paquet-noeud { position: absolute; z-index: 4; width: 128px; height: auto; right: 205px; top: -1%; rotate: -14deg; pointer-events: none;
  animation: nouer 0.6s 1.7s var(--ease) both; }
@keyframes nouer { from { scale: 0.4; opacity: 0; rotate: -40deg; } }
@keyframes balance { 50% { rotate: 4deg; } }
.feuille { animation: deplier 1.1s var(--ease) both; }
.feuille-2 { animation-delay: 0.08s; }
.feuille-3 { animation-delay: 0.16s; }
@keyframes deplier { from { rotate: 0deg; translate: 0 8%; scale: 0.86; } }
@media (max-width: 979px) {
  .ouverture { padding-block: 22px 28px; }
  .ouverture h1 { font-size: clamp(2.05rem, 1.2rem + 4vw, 3rem); }
  .ouverture-texte { gap: 16px; }
  .ouverture-texte > p { font-size: 1rem; }
  .ouverture-actions { flex-wrap: nowrap; gap: 14px; }
  .ouverture-actions .btn-ruban { min-height: 52px; padding-inline: 1.3em; font-size: 1rem; }
  .ruban-trace { display: none; }
  .ruban-bande { display: block; position: absolute; z-index: 1; left: -6%; right: -6%; top: 14%; }
  .ouverture-actions .btn, .ouverture-actions .btn-lien { white-space: nowrap; }
  .ruban-bande img { width: 100%; height: auto; }
  .paquet { min-height: 0; padding: 14px 0 6px; }
  .paquet-contenu { gap: 10px; width: 100%; padding-top: 30px; }
  .paquet-contenu .produit-nom { font-size: 0.85rem; }
  .paquet-contenu .marque-produit { display: none; }
  .paquet-contenu .produit-ajout { width: 40px; height: 40px; right: 6px; bottom: 6px; }
  .paquet-contenu .produit-papier .kraft { font-size: 0.82rem; left: 6px; bottom: 8px; }
  .paquet-etiquette { display: none; }
  .paquet-noeud { width: 92px; right: -4px; top: -6px; rotate: 10deg; }
  .feuille { width: 100%; top: -6%; }
}
@media (max-width: 440px) {
  .paquet-contenu .produit-coeur { display: none; }
  .paquet-contenu .produit-papier .kraft { font-size: 0.74rem; left: 4px; bottom: 6px; padding-right: 0.55em; }
  .paquet-contenu .produit-ajout { width: 34px; height: 34px; }
}
.prix-sous { display: none; font-weight: 700; font-variant-numeric: tabular-nums; font-size: 0.9rem; }

/* ---------- Univers ---------- */
.univers-grille { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .univers-grille { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 18px; }
  .univers-grille > a:nth-of-type(1) { grid-column: span 3; grid-row: span 2; }
  .univers-grille > a:nth-of-type(2) { grid-column: span 3; }
  .univers-grille > a:nth-of-type(3) { grid-column: span 3; }
  .univers-grille > a:nth-of-type(n+4) { grid-column: span 2; }
}
.univers {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  min-height: 190px; padding: 20px; border-radius: var(--r-m); text-decoration: none; overflow: clip;
  transition: transform 0.5s var(--ease);
}
.univers:hover { transform: translateY(-3px); }
.univers h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); max-width: 11ch; position: relative; z-index: 1; }
.univers > p { font-size: 0.93rem; max-width: 26ch; position: relative; z-index: 1; color: var(--prune-doux); }
.univers .compte { font-weight: 650; font-size: 0.9rem; display: inline-flex; gap: 6px; align-items: center; position: relative; z-index: 1; }
.univers-photos { position: absolute; right: -6px; bottom: -6px; display: flex; }
.univers-photos img {
  width: 92px; height: 92px; object-fit: contain; background: var(--blanc); border-radius: var(--r-s); padding: 6px;
  box-shadow: var(--ombre-papier); margin-left: -26px; rotate: 6deg; transition: rotate 0.5s var(--ease), translate 0.5s var(--ease);
}
.univers-photos img:first-child { rotate: -8deg; }
.univers:hover .univers-photos img { translate: 0 -6px; rotate: 0deg; }
.univers:nth-of-type(1) .univers-photos img { width: 150px; height: 150px; margin-left: -40px; }
@media (max-width: 899px) {
  .univers { min-height: 168px; padding: 16px; }
  .univers > p, .univers .compte { display: none; }
  .univers-photos img { width: 70px; height: 70px; margin-left: -22px; }
  .univers:nth-of-type(1) .univers-photos img { width: 70px; height: 70px; margin-left: -22px; }
}

/* ---------- Budget cadeau ---------- */
.budget { border-radius: var(--r-l); padding: clamp(24px, 4vw, 56px); }
.budget-choix { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.budget-choix button {
  border: 0; background: var(--blanc); min-height: 48px; padding: 0.4em 1.2em 0.4em 1.8em; font-size: 1rem;
  transition: background-color 0.25s var(--ease), color 0.25s, translate 0.25s var(--ease);
}
.budget-choix button.kraft { background: var(--blanc); box-shadow: inset 0 0 0 1px var(--filet); }
.budget-choix button[aria-pressed="true"] { background: var(--prune); color: var(--blanc); translate: 0 -2px; }
.budget-choix button[aria-pressed="true"]::before { background: var(--soie-lilas); box-shadow: none; }

/* ---------- Boutique physique ---------- */
.boutique { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; }
@media (min-width: 900px) { .boutique { grid-template-columns: 1.05fr 0.95fr; } }
.boutique h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.4rem); margin-bottom: 16px; }
.boutique-infos { display: grid; gap: 14px; margin: 24px 0 28px; }
.boutique-infos div { display: flex; gap: 12px; align-items: start; }
.boutique-infos strong { display: block; }
.emplacement-photo {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-l); background: oklch(1 0 0 / 0.55);
  border: 2px dashed oklch(0.42 0.05 335 / 0.45); display: grid; place-items: center; text-align: center; padding: 24px;
  color: var(--prune-doux);
}
.emplacement-photo .ic { display: block; width: 34px; height: 34px; margin: 0 auto 10px; }
.tampon {
  position: absolute; width: 132px; height: 132px; border-radius: 50%; right: -14px; top: -28px; rotate: -12deg;
  display: grid; place-items: center; text-align: center; font-weight: 750; font-size: 0.82rem; line-height: 1.15;
  color: var(--ruban); border: 2.5px solid currentColor; background: oklch(1 0 0 / 0.6);
  box-shadow: inset 0 0 0 5px oklch(1 0 0 / 0.6), inset 0 0 0 6.5px currentColor;
  letter-spacing: 0.02em; padding: 18px;
}

/* ---------- Pied ---------- */
.pied { padding-block: 56px 28px; margin-top: 0; }
.pied-grille { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.pied h2 { font-size: 1rem; margin-bottom: 12px; letter-spacing: 0; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.pied a { text-decoration: none; display: inline-block; padding: 4px 0; }
.pied a:hover { text-decoration: underline; }
.pied-bas { margin-top: 40px; padding-top: 18px; border-top: 1px solid oklch(0.27 0.06 335 / 0.15); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 0.88rem; color: var(--prune-doux); }
.mention-demo { font-size: 0.85rem; color: var(--prune-doux); }

/* ---------- Catégorie ---------- */
.tete-categorie { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.fil { font-size: 0.9rem; color: var(--prune-doux); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.fil a { text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.tete-categorie h1 { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4.4rem); letter-spacing: -0.03em; }
.tete-categorie p { margin-top: 12px; max-width: 52ch; font-size: 1.08rem; }
.sous-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.puce {
  border: 0; min-height: 40px; padding: 0.35em 1em; border-radius: 999px; background: oklch(1 0 0 / 0.7);
  box-shadow: inset 0 0 0 1px oklch(0.27 0.06 335 / 0.15); font-size: 0.93rem; font-weight: 550;
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s;
}
.puce:hover { background: var(--blanc); }
.puce[aria-pressed="true"] { background: var(--prune); color: var(--blanc); box-shadow: none; }
.catalogue { display: grid; gap: 28px; padding-block: 32px 80px; }
@media (min-width: 1000px) { .catalogue { grid-template-columns: 250px 1fr; gap: 44px; } }
.filtres { display: none; }
@media (min-width: 1000px) { .filtres { display: block; position: sticky; top: 96px; align-self: start; max-height: calc(100dvh - 110px); overflow-y: auto; padding-right: 6px; } }
.filtre { border-bottom: 1px solid var(--filet); padding-block: 18px; }
.filtre:first-child { padding-top: 0; }
.filtre h3 { font-size: 1rem; letter-spacing: 0; margin-bottom: 12px; }
.filtre .puces { display: flex; flex-wrap: wrap; gap: 6px; }
.filtre .puce { min-height: 36px; font-size: 0.88rem; background: var(--blanc); }
.case { display: flex; align-items: center; gap: 10px; min-height: 40px; cursor: pointer; font-size: 0.93rem; }
.case input { width: 20px; height: 20px; accent-color: var(--prune); }
.bornes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bornes label { font-size: 0.82rem; color: var(--prune-doux); display: grid; gap: 4px; }
.champ, .bornes input, select.champ {
  width: 100%; min-height: 46px; border-radius: var(--r-s); border: 0; background: var(--blanc); padding: 0 12px;
  box-shadow: inset 0 0 0 1px oklch(0.27 0.06 335 / 0.22); font-variant-numeric: tabular-nums;
}
.champ:focus, .bornes input:focus { outline: 2px solid var(--ruban); outline-offset: 0; }
.champ::placeholder { color: oklch(0.5 0.04 335); }
.barre-outils { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.barre-outils .compte-resultats { font-weight: 600; }
.barre-outils select { width: auto; min-width: 200px; }
.btn-filtrer { display: inline-flex; }
@media (min-width: 1000px) { .btn-filtrer { display: none; } }
.filtres-actifs { display: flex; gap: 6px; flex-wrap: wrap; }
.vide-filtres { padding: 48px 20px; text-align: center; border-radius: var(--r-l); display: grid; gap: 14px; justify-items: center; }
.grille-produits > .produit { transition: opacity 0.35s var(--ease), translate 0.35s var(--ease); }

/* ---------- Fiche produit ---------- */
.fiche { display: grid; gap: clamp(24px, 4vw, 64px); padding-block: 24px 64px; }
@media (min-width: 940px) { .fiche { grid-template-columns: 1.05fr 0.95fr; align-items: start; } }
.fiche-visuel { position: relative; border-radius: var(--r-l); padding: clamp(28px, 5vw, 64px); overflow: clip; }
@media (min-width: 940px) { .fiche-visuel { position: sticky; top: 96px; } }
.fiche-visuel .produit-papier { box-shadow: var(--ombre-haute); rotate: -2deg; max-width: 520px; margin-inline: auto; }
.fiche-visuel .produit-papier img { padding: 6%; }
.fiche-infos { display: grid; gap: 20px; align-content: start; }
.fiche-infos h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); letter-spacing: -0.03em; }
.fiche-prix { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.fiche-prix .kraft { font-size: 1.5rem; padding-block: 0.3em; }
.fiche-stock { font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.fiche-stock.peu { color: var(--alerte); }
.fiche-stock.ok { color: var(--succes); }
.fiche-resume { font-size: 1.1rem; max-width: 52ch; }
.variantes { display: grid; gap: 10px; }
.variantes .titre { font-weight: 650; }
.variantes .titre span { font-weight: 450; color: var(--prune-doux); }
.variantes .puces { display: flex; gap: 8px; flex-wrap: wrap; }
.variantes .puce { background: var(--blanc); }
.achat { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.achat .btn-ruban { flex: 1; min-width: 220px; min-height: 56px; font-size: 1.08rem; }
.achat .quantite { margin: 0; }
.garanties { display: grid; gap: 2px; padding: 6px 0; border-block: 1px solid var(--filet); }
.garanties div { display: flex; gap: 12px; align-items: center; padding: 10px 0; font-size: 0.97rem; }
.etiquette-dos {
  background: var(--kraft) url("../img/matieres/kraft.png") 0 0 / 256px 256px; border-radius: var(--r-m); padding: 22px 24px; position: relative;
  box-shadow: inset 0 0 0 1px oklch(0.6 0.07 62 / 0.35);
}
.etiquette-dos::before { content: ""; position: absolute; top: 14px; right: 16px; width: 14px; height: 14px; border-radius: 50%; background: var(--fond); box-shadow: inset 0 0 0 2px var(--kraft-fonce); }
.etiquette-dos h2 { font-size: 1.25rem; margin-bottom: 12px; }
.etiquette-dos dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; }
.etiquette-dos dt { font-weight: 650; }
.etiquette-dos dd { margin: 0; }
.description { max-width: 68ch; display: grid; gap: 12px; }
.pictos { display: flex; gap: 22px; flex-wrap: wrap; }
.pictos figure { margin: 0; display: grid; justify-items: center; gap: 6px; font-size: 0.85rem; text-align: center; width: 112px; text-wrap: balance; }
.pictos .rond { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--soie-eau); }
.pictos .rond .ic { width: 28px; height: 28px; }

.ensemble { border-radius: var(--r-l); padding: clamp(22px, 4vw, 44px); }
.ensemble-ligne { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ensemble-ligne .plus { font-size: 1.6rem; font-weight: 300; }
.ensemble-item { display: grid; gap: 8px; width: 150px; }
.ensemble-item .produit-papier { width: 150px; }
.ensemble-item label { display: flex; gap: 8px; align-items: start; font-size: 0.9rem; line-height: 1.3; cursor: pointer; }
.ensemble-item input { width: 20px; height: 20px; accent-color: var(--prune); flex: none; }
.ensemble-total { display: grid; gap: 10px; margin-left: auto; min-width: 220px; }

.avis-liste { display: grid; gap: 14px; }
.avis { background: var(--blanc); border-radius: var(--r-m); padding: 18px 20px; box-shadow: var(--ombre-papier); display: grid; gap: 6px; }
.etoiles { display: inline-flex; color: var(--ruban); }
.etoiles .ic { width: 18px; height: 18px; fill: currentColor; stroke-width: 1; }
.etiquette-exemple { display: inline-block; font-size: 0.76rem; font-weight: 650; background: var(--soie-lilas); padding: 3px 9px; border-radius: 999px; }

.barre-achat-mobile {
  position: fixed; z-index: var(--z-collant); left: 0; right: 0; bottom: 0;
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: oklch(1 0 0 / 0.96);
  backdrop-filter: blur(8px); border-top: 1px solid var(--filet); box-shadow: 0 -10px 30px -18px oklch(0.27 0.06 335 / 0.4);
}
.barre-achat-mobile .btn { flex: 1; max-width: 260px; }
@media (min-width: 940px) { .barre-achat-mobile { display: none; } }

/* ---------- Commande ---------- */
.commande { display: grid; gap: 32px; padding-block: 24px 80px; }
@media (min-width: 940px) { .commande { grid-template-columns: 1fr 400px; align-items: start; } }
.bloc { background: var(--blanc); border-radius: var(--r-l); padding: clamp(18px, 3vw, 32px); box-shadow: var(--ombre-papier); display: grid; gap: 16px; }
.bloc h2 { font-size: 1.35rem; display: flex; gap: 10px; align-items: center; }
.etape { width: 30px; height: 30px; border-radius: 50%; background: var(--soie-rose); display: inline-grid; place-items: center; font-size: 0.95rem; }
.champs { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.champs label, .champ-seul { display: grid; gap: 6px; font-weight: 550; font-size: 0.95rem; }
.option-livraison {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border-radius: var(--r-m);
  box-shadow: inset 0 0 0 1.5px var(--filet); cursor: pointer; transition: box-shadow 0.2s var(--ease), background-color 0.2s;
}
.option-livraison:has(input:checked) { box-shadow: inset 0 0 0 2px var(--prune); background: var(--soie-rose); }
.option-livraison input { width: 20px; height: 20px; accent-color: var(--prune); }
.option-livraison small { display: block; color: var(--prune-doux); font-size: 0.88rem; }
.btn-paypal {
  width: 100%; min-height: 52px; border: 0; border-radius: 8px; background: #ffc439; color: #111;
  font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 1.05rem;
}
.btn-paypal:hover { background: #f2ba36; }
.btn-paypal b { font-style: italic; font-weight: 800; letter-spacing: -0.02em; }
.btn-paypal b span { color: #009cde; }
.btn-paypal b i { color: #003087; font-style: italic; }
.recap { position: sticky; top: 96px; }
.code-promo { display: flex; gap: 8px; }
.code-promo .champ { flex: 1; }
.message-ok { color: var(--succes); font-weight: 600; font-size: 0.93rem; }
.message-erreur { color: var(--alerte); font-weight: 600; font-size: 0.93rem; }
.confirmation { text-align: center; padding: clamp(40px, 8vw, 96px) 20px; display: grid; gap: 18px; justify-items: center; border-radius: var(--r-l); }
.confirmation h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); }

/* ---------- Mouvement : emballage à l'ajout au panier ---------- */
.vol-paquet { position: fixed; z-index: var(--z-toast); pointer-events: none; border-radius: var(--r-m); overflow: hidden; background: var(--blanc); box-shadow: var(--ombre-haute); }
.vol-paquet img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.vol-paquet .enveloppe { position: absolute; inset: 0; }
.vol-paquet .enveloppe::before, .vol-paquet .enveloppe::after { content: ""; position: absolute; inset: 0; }
.vol-paquet .enveloppe::before { background: var(--soie-rose-2); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); animation: envelopper-haut 0.42s var(--ease) forwards; }
.vol-paquet .enveloppe::after { background: var(--soie-lilas-2); clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%); animation: envelopper-bas 0.42s 0.06s var(--ease) forwards; }
.vol-paquet .noeud-vol { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; animation: apparaitre 0.25s 0.42s var(--ease) forwards; }
@keyframes envelopper-haut { to { clip-path: polygon(0 0, 100% 0, 100% 56%, 0 44%); } }
@keyframes envelopper-bas { to { clip-path: polygon(0 100%, 100% 100%, 100% 42%, 0 54%); } }
@keyframes apparaitre { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .ruban-trace img { clip-path: none; }
}

/* Puce sélectionnée : doit l'emporter sur les fonds blancs des contextes (filtres, variantes, admin) */
.puce[aria-pressed="true"], .filtre .puce[aria-pressed="true"], .variantes .puce[aria-pressed="true"],
.adm-puces .puce[aria-pressed="true"], .puces .puce[aria-pressed="true"] { background: var(--prune); color: var(--blanc); box-shadow: none; }
.avis .etiquette-exemple { justify-self: start; }
@media (max-width: 899px) { .tampon { right: 8px; top: -36px; width: 112px; height: 112px; font-size: 0.74rem; } }

/* Flèches des rails (souris) */
.fleches-rail { display: none; gap: 8px; }
@media (min-width: 900px) { .fleches-rail { display: flex; } }
.fleches-rail button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--blanc); box-shadow: inset 0 0 0 1.5px var(--prune); display: grid; place-items: center; transition: background-color 0.2s var(--ease); }
.fleches-rail button:hover { background: var(--soie-rose); }
.tete-section .actions-rail { display: flex; align-items: center; gap: 18px; }
/* Recherche de la page catalogue : inutile quand l'en-tête affiche déjà la sienne */
@media (min-width: 1240px) { #recherche { display: none !important; } }

/* Champs natifs habillés aux couleurs du site */
select.champ {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; border-radius: 999px; padding-left: 16px;
  background: var(--blanc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233c1f3e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
}
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=checkbox] { accent-color: var(--prune); }
.univers:nth-of-type(1) .univers-photos img { width: 210px; height: 210px; margin-left: -60px; }
@media (max-width: 899px) { .univers:nth-of-type(1) .univers-photos img { width: 70px; height: 70px; margin-left: -22px; } }

/* Rayonnage : la rangée des univers sous l'en-tête (ordinateur) */
.rayonnage { display: none; border-top: 1px solid var(--filet); }
.rayonnage .cadre { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-block: 6px; }
.rayonnage a {
  flex: none; text-decoration: none; font-weight: 550; font-size: 0.95rem; padding: 0.5em 0.8em; border-radius: 999px;
  transition: background-color 0.2s var(--ease);
}
.rayonnage a:hover, .rayonnage a[aria-current="page"] { background: var(--soie-rose); }
@media (min-width: 1080px) {
  .rayonnage { display: block; }
  .entete .marque { margin-right: auto; }
}

/* Pagination des listes de produits */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: inset 0 0 0 1px var(--filet); background: var(--blanc);
}
.pagination a:hover { background: var(--soie-rose); }
.pagination [aria-current="page"] { background: var(--prune); color: var(--blanc); box-shadow: none; }

/* Contenu éditorial des pages (à propos, FAQ, légales) */
.texte-page { max-width: 70ch; display: grid; gap: 16px; padding-block: 8px 80px; }
.texte-page h2 { font-size: 1.5rem; margin-top: 18px; }
.texte-page h3 { font-size: 1.15rem; margin-top: 8px; letter-spacing: 0; }
.texte-page ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.texte-page a { color: var(--ruban-fonce); }
.alerte-formulaire { background: oklch(0.95 0.03 30); color: var(--alerte); padding: 12px 16px; border-radius: var(--r-m); font-weight: 600; }

/* Filtres : colonne sur ordinateur, tiroir sur téléphone (même formulaire) */
.filtres-tete, .filtres-pied { display: none; }
fieldset.filtre { border: 0; border-bottom: 1px solid var(--filet); margin: 0; padding: 18px 0; min-width: 0; }
fieldset.filtre legend { padding: 0; float: left; width: 100%; }
fieldset.filtre legend + * { clear: both; }
.puce-case { cursor: pointer; background: var(--blanc); position: relative; }
.puce-case input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.puce-case:has(input:checked) { background: var(--prune); color: var(--blanc); box-shadow: none; }
.puce-case:has(input:focus-visible) { outline: 2.5px solid var(--ruban); outline-offset: 2px; }
@media (min-width: 1000px) {
  .filtres-pied { display: flex; gap: 10px; padding-top: 18px; }
  .filtres-pied .btn { min-height: 44px; padding-inline: 1em; }
}
@media (max-width: 999px) {
  .filtres.ouvert {
    display: flex; flex-direction: column; position: fixed; z-index: var(--z-tiroir); top: 0; bottom: 0; right: 0;
    width: min(420px, 100%); background: var(--fond); box-shadow: var(--ombre-haute);
  }
  .filtres.ouvert .filtres-tete { display: flex; }
  .filtres.ouvert .filtres-corps { flex: 1; overflow-y: auto; padding: 8px 22px 18px; overscroll-behavior: contain; }
  .filtres.ouvert .filtres-pied { display: flex; gap: 10px; padding: 16px 22px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--filet); background: var(--blanc); }
  .filtres-pied .btn-ruban { flex: 1; }
}

/* Compte cliente */
.compte-cadre { display: grid; gap: 22px; padding-block: 40px 80px; }
@media (min-width: 860px) { .compte-cadre { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); align-items: start; } }
.compte-carte h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.5rem); }
.compte-formulaire { display: grid; gap: 14px; }
.compte-espace { display: grid; gap: 28px; padding-block: 32px 80px; }
.compte-espace h2 { font-size: 1.4rem; margin-bottom: 12px; }
.compte-colonnes { display: grid; gap: 22px; }
@media (min-width: 860px) { .compte-colonnes { grid-template-columns: 1fr 1fr; align-items: start; } }
.compte-commandes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.compte-commande {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 16px; border-radius: var(--r-m);
  background: var(--blanc); box-shadow: var(--ombre-papier); text-decoration: none; transition: box-shadow 0.3s var(--ease);
}
.compte-commande:hover { box-shadow: var(--ombre-haute); }
.compte-commande img { width: 64px; height: 64px; object-fit: contain; border-radius: var(--r-s); box-shadow: inset 0 0 0 1px var(--filet); }
.compte-commande .texte { display: grid; gap: 2px; min-width: 0; }
.compte-commande small { color: var(--prune-doux); }
@media (max-width: 560px) { .compte-commande { grid-template-columns: 52px 1fr; } .compte-commande img { width: 52px; height: 52px; } .compte-commande .etat-commande { grid-column: 2; justify-self: start; } }
.etat-commande { font-size: 0.82rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; background: var(--soie-lilas); }
.etat-attente-virement, .etat-attente-paypal { background: var(--kraft); }
.etat-a-preparer, .etat-prete { background: var(--soie-rose-2); }
.etat-expediee { background: var(--soie-eau-2); }
.etat-annulee { background: var(--filet); color: var(--prune-doux); }

/* ---------- V2 : envies partagées, « prévenez-moi », choix d'Élodie ---------- */
.ensemble-choix { font-family: var(--f-main); font-size: 1.3rem; color: var(--ruban); margin-bottom: 18px; }
.partage-envies { display: grid; gap: 10px; justify-items: start; margin-top: 16px; }
.partage-lien { display: grid; gap: 6px; width: min(100%, 520px); font-size: 0.9rem; font-weight: 600; }
.partage-lien .champ { font-weight: 400; font-size: 0.95rem; }
.alerte-stock { border-radius: var(--r-m); padding: 16px 18px; display: grid; gap: 10px; position: relative; }
.alerte-champs { display: flex; flex-wrap: wrap; gap: 10px; }
.alerte-champs .champ { flex: 1 1 220px; min-width: 0; }
.note-alerte { font-weight: 600; font-size: 0.93rem; }
.note-alerte:empty { display: none; }

/* ---------- V2 : carte cadeau ---------- */
.carte-cadeau-page { display: grid; gap: 22px; margin-block: 28px 72px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .carte-cadeau-page { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.carte-cadeau-form { display: grid; gap: 18px; }
.montants-carte { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.montants-carte legend { font-weight: 650; margin-bottom: 8px; }
.montants-carte .puces { display: flex; flex-wrap: wrap; gap: 8px; }
.champ-montant { display: grid; gap: 6px; font-weight: 600; font-size: 0.95rem; }
.champ-montant span { display: flex; align-items: center; gap: 8px; max-width: 12rem; font-weight: 650; }
.champ-montant .champ { text-align: right; font-variant-numeric: tabular-nums; }
.carte-cadeau-form .champ-seul small { font-weight: 400; color: var(--prune-doux); }
.carte-cadeau-infos ul { margin: 0; padding-left: 20px; display: grid; gap: 10px; }

/* ---------- V2 : avis des clientes ---------- */
.note-carte { display: inline-flex; align-items: center; gap: 4px; font-size: 0.82rem; color: var(--prune-doux); }
.note-carte .etoiles .ic { width: 13px; height: 13px; }
.note-fiche { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-size: 0.92rem; color: var(--prune-doux); text-decoration: none; min-height: 32px; }
.note-fiche:hover { text-decoration: underline; }
.avis-reponse { border-left: 3px solid var(--soie-rose-2); padding: 6px 0 6px 12px; margin-top: 4px; font-size: 0.95rem; display: grid; gap: 2px; }
.avis-depot { display: grid; gap: 18px; margin-block: 28px 72px; max-width: 760px; }
.avis-formulaire { display: grid; gap: 18px; position: relative; }
.avis-produit-tete { display: flex; align-items: center; gap: 14px; }
.avis-produit-tete img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--r-m); background: var(--fond); flex: none; }
.avis-produit-tete h2 { font-size: 1.15rem; }
.choix-note { border: 0; padding: 0; margin: 0; }
.choix-note legend { font-weight: 600; margin-bottom: 4px; }
/* Ordre inversé dans le code (5 → 1) : l'étoile cochée colore aussi celles « avant » elle */
.choix-etoiles { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.choix-etoiles label { cursor: pointer; color: var(--filet); padding: 4px; display: grid; place-items: center; min-width: 44px; min-height: 44px; }
.choix-etoiles label .ic { width: 32px; height: 32px; fill: currentColor; stroke-width: 1; }
.choix-etoiles input:checked ~ label, .choix-etoiles label:hover, .choix-etoiles label:hover ~ label { color: var(--ruban); }
.choix-etoiles input:focus-visible + label { outline: 2.5px solid var(--ruban); outline-offset: 2px; border-radius: 8px; }
@media (prefers-reduced-motion: no-preference) { .choix-etoiles label { transition: color 0.15s; } }
