/* Le panier partagé de Fil : l'aperçu d'une ligne, ses montants, la ligne et sa matrice coloris par
   taille, la ligne retirée, et le tiroir. Chargé avec le tiroir sur toutes les pages, et en tête par les
   pages qui montrent des lignes (panier, caisse, commande) pour qu'elles ne se peignent jamais sans lui.
   La planche est la 07 (F1, « Panier mixte », et l'aperçu du tiroir ouvert). Rien ici n'écrit une
   couleur : tout vient de tokens.css, et components.css (sections 5, 20, 21, 27) reste la base. */

/* --------------------------------------------------------------------------------- l'aperçu
   La plaque de Fil sous la création ou les teintes de la ligne : 16 px de rayon, le lilas gris qui laisse
   la couleur du vêtement à l'image. Pas une photo de catalogue, le dessin que la boutique a étalonné. */
.apercu { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: var(--plaque); overflow: hidden; }
.apercu > svg { display: block; width: 92%; height: auto; }
.apercu--photo img { width: 88%; height: 88%; object-fit: contain; }
.ligne-panier__apercu { background: none; border-radius: var(--r-2); }
.ligne-panier__apercu > .apercu { border-radius: var(--r-2); }
/* La création d'une ligne de commande (« Création : » sur la commande reçue, dans le compte et au
   paiement) : le carré de la ligne compacte du panier, pas les 300 px que ses attributs annoncent.
   Le rendu (Cart::preview_img) pose son fond transparent en ligne ; seul !important le remet sur la
   plaque, que le récapitulatif teinté du paiement remplacerait sinon. */
.wc-item-meta img { width: 4.5rem; height: auto; aspect-ratio: 1; margin-block-start: var(--esp-1); object-fit: contain; background-color: var(--plaque) !important; border-radius: var(--r-1); }

/* --------------------------------------------------------------------------------- les icônes des avis
   Planche 07 puts an icon before every note and every reason: the flask of the test mode, the triangle
   of a warning, the circle of an error or of information, the tick of a change made, the lock of a held
   button (inc/panier.php, pictogramme()). The stroke takes the notice's ink; the notice goes on one row,
   the icon against the first line, 12 px from the sentence. The pay page's closed till (form-pay.php,
   .reglement__ferme) uses the same icons, and loads this sheet. Their place is components.css §21, whose
   message still says « aucune icône »: that sheet is outside this lot, and the move is reported. */
:is(.panier, .tiroir-panier, .reglement__ferme) .message__icone { flex: none; width: 1.25rem; height: 1.25rem; margin-block-start: .0625rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:is(.panier, .tiroir-panier, .reglement__ferme) .message:has(> .message__icone) { flex-wrap: nowrap; align-items: flex-start; gap: var(--esp-3); }
.raison--cadenas { display: flex; align-items: flex-start; gap: .5rem; }
.raison--cadenas:has(> [data-v]:empty) { display: none; }
.raison__icone { flex: none; width: 1rem; height: 1lh; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --------------------------------------------------------------------------------- le compteur roulant
   compteur() de motion.js ne pose pas de style en ligne sur ses cellules : sans ces règles, l'ancien et
   le nouveau chiffre s'affichent côte à côte pendant le pas. Une cellule par chiffre, haute d'une ligne
   et rognée ; la colonne des deux chiffres y glisse (transform seul, motion.js). */
.compteur__chiffre { display: inline-block; height: 1lh; overflow: clip; vertical-align: top; }
.compteur__colonne { display: flex; flex-direction: column; }
.compteur__colonne > span { display: block; height: 1lh; }

/* --------------------------------------------------------------------------------- les montants */
.montant { white-space: nowrap; font-variant-numeric: tabular-nums; }
.montant [data-texte] + .unite { display: none; }
.montant .compteur { vertical-align: top; }

/* --------------------------------------------------------------------------------- la ligne
   La .ln de la planche : l'aperçu de 128 px à gauche, la tête (nom, faits, total à droite), le prix à
   la pièce, la matrice, la phrase d'état réservée (rien ne bouge quand elle s'écrit), les gestes. */
.ligne-panier { border-bottom: 0; }
.ligne-panier:not(.ligne-panier--retiree, .ligne-panier--compacte) {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  grid-template-areas: "apercu tete" "unite unite" "matrice matrice" "etat etat" "actions actions";
  column-gap: .875rem;
  row-gap: var(--esp-3);
  padding-block: var(--esp-5);
  border-top: 1px solid var(--ligne);
}
.ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__apercu { grid-area: apercu; align-self: start; }
.ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__tete { grid-area: tete; display: grid; gap: var(--esp-2); align-content: start; }
.ligne-panier__titre { display: grid; gap: var(--esp-1); min-width: 0; }
.ligne-panier__nom { color: var(--encre); font: 800 var(--t1) / 1.25 var(--f); letter-spacing: -.01em; text-wrap: balance; overflow-wrap: anywhere; }
/* Le nom mène au vêtement : sans trait au repos (la planche), l'orange se dessine au survol et au focus. */
.ligne-panier__nom .link { --trait-base: transparent; color: inherit; font-weight: inherit; }
.ligne-panier__faits { color: var(--encre-2); font-size: var(--t-1); font-weight: 700; line-height: 1.45; text-wrap: pretty; }
.ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__tete .ligne-panier__total { justify-items: start; text-align: left; line-height: 1.1; }
.ligne-panier__total .montant--fort { color: var(--encre); font: 900 1.1875rem / 1.1 var(--f); letter-spacing: -.02em; }
.ligne-panier__total .montant--fort .unite { letter-spacing: 0; }
.ligne-panier__ht { color: var(--gris); font-size: .84375rem; font-weight: 700; }
.ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__unite { grid-area: unite; color: var(--gris); font-size: var(--t-1); font-weight: 700; font-variant-numeric: tabular-nums; text-wrap: pretty; }
.ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__phrase { grid-area: matrice; }
.ligne-panier:not(.ligne-panier--compacte) > .matrice { grid-area: matrice; }
/* La phrase d'état garde sa ligne (rien ne bouge quand elle s'écrit), et rend aux écarts qui l'entourent
   ce qu'elle leur prend : 28 px entre la matrice et les gestes, la planche en met 24. */
.ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__etat { grid-area: etat; margin-block: calc(-1 * var(--esp-2)); }
.ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__actions { grid-area: actions; }
.ligne-panier__etat { min-height: 1lh; color: var(--gris); font-size: var(--t-1); font-weight: 600; }
.ligne-panier__etat--erreur { color: var(--err); font-weight: 700; }

/* Les gestes de la ligne : « Modifier ma création » en second petit, le devis en lien, « Retirer » en lien
   rouge (l'erreur de Fil, 6,57:1 sur blanc). Chaque cible garde 40 px de haut. */
.ligne-panier__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--esp-2) 1.125rem; }
/* Le trait du lien (base.css) se pose sous le texte, pas au bas de la cible de 40 px qui le centre. Un
   bouton (« Modifier les tailles ») y perd son cadre et son fond, et garde ce trait. */
.ligne-panier__lien { display: inline-flex; align-items: center; min-height: 2.5rem; padding: 0; border: 0; background-color: transparent; background-position: 0 calc(100% - .5rem), 0 calc(100% - .5rem); color: var(--encre); font: 600 var(--t-1) / 1.3 var(--f-texte); text-align: left; cursor: pointer; }
.ligne-panier__retirer {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--err);
  font: 600 var(--t-1) / 1.3 var(--f-texte);
  text-decoration: underline 1.5px color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 4px;
  cursor: pointer;
  transition: text-decoration-color var(--d-survol) linear;
}
.ligne-panier__retirer:is(:hover, [data-force~="survol"]) { text-decoration-color: currentColor; }
.ligne-panier__retirer[aria-busy="true"] { cursor: progress; opacity: .62; }

/* WHILE THE SHOP PRICES IT, THE LINE SAYS « CALCUL DU PRIX. » IN PLACE OF ITS TOTAL (planche, « Ligne en
   calcul »; review of the order lot, D16): the old amount stays readable 200 ms (panier.js), then gives
   its place to the sentence and its ring, set in the same grid cell, so nothing around it moves. A
   screen reader hears the sentence from the state row (role=status): it is still written there, clipped
   out of view while the price is computed, so it is not shown twice. An error stays visible in its row.
   The drawer keeps its fade: the planche draws the page only. */
.ligne-panier__calcul { display: none; }
.ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__tete .ligne-panier__total > * { grid-column: 1; }
.ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__tete .ligne-panier__total > .montant--fort,
.ligne-panier__calcul { grid-row: 1; }
.ligne-panier:not(.ligne-panier--compacte)[data-attente] .ligne-panier__calcul { display: inline-flex; align-items: center; gap: var(--esp-2); color: var(--encre); font-size: var(--t-1); font-weight: 800; line-height: 1.3; white-space: nowrap; }
.ligne-panier:not(.ligne-panier--compacte)[data-attente] > .ligne-panier__tete .ligne-panier__total > .montant { visibility: hidden; }
.ligne-panier:not(.ligne-panier--compacte)[data-attente] > .ligne-panier__etat:not(.ligne-panier__etat--erreur) { clip-path: inset(50%); }
/* The planche's ring: 18 px, the grey at 35 % and its full quarter. It turns only while the sentence is
   shown (display: none stops it), and --mouvement at 0 leaves it still: the words are enough. */
.ligne-panier__calcul::before { content: ""; flex: none; width: 1.125rem; height: 1.125rem; box-sizing: border-box; border: 3px solid color-mix(in srgb, var(--gris) 35%, transparent); border-top-color: var(--gris); border-radius: 50%; animation: calcul-tourne calc(800ms * var(--mouvement)) linear infinite; }
@keyframes calcul-tourne { to { transform: rotate(1turn); } }

/* In the drawer, and under the cart's totals, the old amount fades to 42 % while it waits. */
.ligne-panier--compacte[data-attente] :is(.ligne-panier__resume, .ligne-panier__ht),
[data-panier][data-attente] :is(.recap__total, .recap__lignes dd, .barre-panier__total, .tiroir-panier__totaux dd) { opacity: .42; transition: opacity var(--d-entree) linear; }
.ligne-panier__total, .ligne-panier__resume, .ligne-panier--compacte .ligne-panier__ht, .recap__total, .recap__lignes dd, .barre-panier__total, .tiroir-panier__totaux dd { transition: opacity var(--d-survol) linear; }
.ligne-panier[data-exclue] :is(.ligne-panier__apercu, .ligne-panier__titre, .matrice) { opacity: .56; }
.ligne-panier[data-exclue] .montant--fort { color: var(--gris); }

/* La ligne se règle sur la largeur de sa liste (une requête de conteneur ne vise pas le conteneur lui-même). */
:is(.panier__lignes, .lignes) { container: lignes / inline-size; }
@container lignes (min-width: 36rem) {
  .ligne-panier:not(.ligne-panier--retiree, .ligne-panier--compacte) {
    grid-template-columns: 8rem minmax(0, 1fr);
    grid-template-areas: "apercu tete" "apercu unite" "apercu matrice" ". etat" ". actions";
    grid-template-rows: auto auto 1fr;
    column-gap: 1.25rem;
    padding-block: var(--esp-5);
  }
  .ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__tete { grid-template-columns: minmax(0, 1fr) auto; column-gap: 1.25rem; align-items: baseline; }
  .ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__tete .ligne-panier__total { justify-items: end; text-align: right; }
  .ligne-panier__total .montant--fort { font-size: 1.375rem; }
  .ligne-panier:not(.ligne-panier--compacte) > .ligne-panier__unite { align-self: start; }
  .ligne-panier:not(.ligne-panier--compacte) > :is(.matrice, .ligne-panier__phrase) { align-self: start; }
}

/* --------------------------------------------------------------------------------- la matrice
   La .mx de la planche : la légende en capitales grises, une rangée par coloris, une colonne par taille,
   la somme du coloris à droite ; en-tête de 12 px en capitales sur un filet --ligne-2, rangées sur des
   filets --ligne. Étroite, chaque coloris en bloc, trois tailles par rang. */
.matrice { container: matrice / inline-size; min-width: 0; }
.matrice__grille { display: grid; }
.matrice[hidden] { display: none; }
.matrice__titre { padding-block-end: var(--esp-2); color: var(--gris); font: 900 .75rem / 1.3 var(--f); letter-spacing: .1em; text-transform: uppercase; }
.matrice__tete { display: none; }
.matrice__rang { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--esp-2) var(--esp-4); padding-block: var(--esp-3) var(--esp-4); border-top: 1px solid var(--ligne); }
.matrice__rang:first-of-type { border-top-color: var(--ligne-2); }
.matrice__rang:last-child { border-bottom: 1px solid var(--ligne); }
.matrice__rang .ligne-panier__coloris-nom { grid-row: 1; color: var(--encre); font-size: var(--t-1); font-weight: 800; }
/* La pastille ne se tasse pas quand le nom passe à la ligne : 18 px, comme la planche. */
.matrice__rang .ligne-panier__coloris-nom::before { flex: none; width: 1.125rem; height: 1.125rem; }
.matrice__somme { grid-column: 2; grid-row: 1; justify-self: end; color: var(--gris); font-size: var(--t-1); font-variant-numeric: tabular-nums; white-space: nowrap; }
.matrice__somme [data-v] { color: var(--encre); font-weight: 800; font-size: 1rem; }
.matrice .ligne-panier__tailles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--esp-3) var(--esp-2); }
/* CHAQUE CASE SE RÈGLE SUR SA PROPRE LARGEUR, qu'elle tienne dans un rang de trois, dans le tableau ou dans
   le tiroir : la largeur d'une case dépend de la page, du nombre de tailles de la ligne et de la colonne
   qui la porte, et seule la case la connaît. Le champ garde la place de trois chiffres, parce que la
   boutique vend en ligne jusqu'à 250 pièces (`quote_from_qty`) et envoie au devis au-delà : un seuil
   relevé à 1 000 pièces demanderait ici la place d'un quatrième chiffre. Nunito 900 à 16 px, chiffres
   tabulaires : 30 px les trois chiffres les plus larges (mesuré le 17/11/2026 sur le miroir), sous les
   34 px que gardent 2,25rem moins les deux filets du champ. wp-e2e-verify (casesLisibles) le mesure de 360 à 1 024 px. */
.matrice .ligne-panier__taille { display: grid; gap: 4px; min-width: 0; container: case / inline-size; }
.matrice .ligne-panier__taille-nom { color: var(--gris); font: 800 .75rem / 1 var(--f); letter-spacing: .06em; }
.matrice .pas-a-pas { --pas-bouton: 2.25rem; width: 100%; grid-template-columns: var(--pas-bouton) minmax(0, 1fr) var(--pas-bouton); }
/* Les boutons rendent au chiffre ce qui lui manque, de 2,25rem jusqu'à 1,75rem : à 360 px, trois cases par
   rang laissaient 28 px au champ. Le chiffre ne descend jamais sous 16 px (l'iPhone grossit la page sur un
   champ plus petit). Sous @supports parce qu'une unité inconnue rendrait la variable invalide, et la grille
   du pas-à-pas avec elle : ce navigateur garde ses 2,25rem. */
@supports (width: 1cqi) {
  .matrice .pas-a-pas { --pas-bouton: clamp(1.75rem, (100cqi - max(2.25rem, 36px)) / 2, 2.25rem); }
}
/* « − » à zéro reste lisible : aria-disabled ne le retire pas de la page, et le --champ du composant
   (3,27:1) n'est pas un texte ; le gris de Fil tient 7,43:1. */
.matrice .pas-a-pas__bouton[aria-disabled="true"] { color: var(--gris); }
.matrice .pas-a-pas__bouton { min-height: 2.5rem; font-size: 1rem; }
.matrice .pas-a-pas__valeur { font-size: max(16px, 1rem); font-weight: 900; }
/* Une taille à zéro se retire visuellement : le chiffre en gris, sans graisse. Le cadre garde --champ
   (la limite d'un contrôle, WCAG 1.4.11) ; le survol et le focus le rendent violet. */
.matrice [data-vide] .pas-a-pas__valeur { color: var(--gris); font-weight: 600; }
.matrice .pas-a-pas:is(:hover, :focus-within, [data-force~="survol"]) { border-color: var(--violet); }
.matrice [data-refus] .ligne-panier__taille-nom { color: var(--warn); }
.matrice [data-refus] .pas-a-pas { border-color: var(--warn); background: var(--warn-bg); }

@container matrice (min-width: 34rem) {
  /* Autant de colonnes que la ligne a de tailles (`--tailles`, posé par le thème depuis la grille de la
     ligne) : le nombre de tailles d'une ligne est celui que son produit vend, plus celles qu'elle porte. */
  /* Des colonnes serrées (4 px) et une somme étroite : à 1 440 px, six tailles gardent ainsi 96 px chacune,
     de quoi poser « − », trois chiffres et « + » sur une rangée, comme la planche. */
  .matrice__grille { grid-template-columns: minmax(5.5rem, 1fr) repeat(var(--tailles, 6), minmax(0, 1fr)) minmax(3rem, .5fr); column-gap: var(--esp-1); }
  .matrice__tete { display: contents; }
  .matrice__tete > span { padding: 0 0 var(--esp-2); color: var(--gris); font: 900 .75rem / 1.3 var(--f); letter-spacing: .08em; text-transform: uppercase; text-align: center; }
  .matrice__tete > .matrice__coin { text-align: left; }
  .matrice__tete > .matrice__total { text-align: right; }
  .matrice__rang { grid-column: 1 / -1; grid-template-columns: subgrid; gap: 0 var(--esp-1); padding-block: var(--esp-2); }
  .matrice__rang .ligne-panier__tailles { display: contents; }
  .matrice__rang .ligne-panier__coloris-nom { grid-column: 1; }
  .matrice__somme { grid-column: -2; grid-row: 1; }
  .matrice__somme-unite { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .matrice .ligne-panier__taille { grid-row: 1; }
  .matrice .ligne-panier__taille-nom { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .matrice .pas-a-pas { --pas-bouton: 1.75rem; }
  .matrice .pas-a-pas__bouton { min-height: 2.5rem; }
}

/* TROP ÉTROITE POUR « − », TROIS CHIFFRES ET « + » CÔTE À CÔTE, la case pose le chiffre au-dessus de ses deux
   boutons. Le tableau garde ses six tailles sur une rangée dès 576 px de large, et ses colonnes ne mesurent
   que 55 à 89 px de 576 à 800 px et de 960 à 1 240 px, pour 56 px de boutons : sans cela, le client lisait
   « − + » sans le nombre de pièces (vérification finale du 01/11/2026, mesuré de 360 à 1 440 px, sur la page
   et dans le tiroir). 5,75rem : deux boutons de 1,75rem et les 2,25rem du champ ; 92 px pour une racine
   sous 16 px, où le chiffre garde ses 16 px. La pilule devient une plaque de 12 px : deux rangs dans un
   rayon de 999 px rogneraient le chiffre. */
@container case (width < 5.75rem) or (width < 92px) {
  .matrice .pas-a-pas { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "valeur valeur" "moins plus"; border-radius: var(--r-champ); }
  .matrice .pas-a-pas__valeur { grid-area: valeur; min-height: 2.25rem; border-inline: 0; border-block-end: 1px solid var(--ligne); }
  .matrice .pas-a-pas__bouton { min-height: 2.25rem; }
  .matrice .pas-a-pas__bouton:first-child { grid-area: moins; border-radius: 0 0 0 calc(var(--r-champ) - 2px); }
  .matrice .pas-a-pas__bouton:last-child { grid-area: plus; border-inline-start: 1px solid var(--ligne); border-radius: 0 0 calc(var(--r-champ) - 2px) 0; }
}

/* --------------------------------------------------------------------------------- la ligne compacte
   Dans le tiroir (la capture « tiroir-panier » du paquet) : l'aperçu de 72 px, le nom en 800, ce qui est
   imprimé en gris, puis « 50 pièces · 1 326,00 € TTC » en gras et le HT dessous ; la matrice repliée,
   que « Modifier les tailles » déplie sur place. */
.ligne-panier--compacte { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--esp-3) var(--esp-4); padding-block: var(--esp-4); border-bottom: 1px solid var(--ligne); }
.ligne-panier--compacte > .ligne-panier__apercu { align-self: start; }
.ligne-panier--compacte .ligne-panier__corps { display: grid; gap: 2px; min-width: 0; }
.ligne-panier--compacte .ligne-panier__nom { font-size: 1rem; }
.ligne-panier--compacte .ligne-panier__faits { color: var(--gris); font-size: .8125rem; font-weight: 400; }
.ligne-panier--compacte .ligne-panier__phrase { color: var(--gris); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.ligne-panier--compacte .ligne-panier__phrase:empty { display: none; }
.ligne-panier__resume { margin-block-start: var(--esp-1); color: var(--encre); font-size: var(--t-1); font-weight: 800; font-variant-numeric: tabular-nums; }
.ligne-panier__resume .montant--fort { font-weight: 800; }
.ligne-panier--compacte .ligne-panier__ht { font-size: .8125rem; font-weight: 600; }
.ligne-panier--compacte .ligne-panier__actions { gap: 0 var(--esp-3); margin-block-start: 0; }
.ligne-panier--compacte :is(.ligne-panier__lien, .ligne-panier__retirer) { min-height: 2.25rem; font-size: .8125rem; font-weight: 700; }
.ligne-panier--compacte [data-action="modifier"][aria-expanded="true"] { background-size: 100% 2px, 100% 1.5px; }
.ligne-panier__deplie, .ligne-panier--compacte > .ligne-panier__etat { grid-column: 1 / -1; }
/* Vide, la phrase d'état sort du flux (ni rangée ni écart) mais reste dans l'arbre : c'est une région
   vivante, et une région ôtée par display: none n'est plus annoncée quand elle se remplit. */
.ligne-panier--compacte { position: relative; }
.ligne-panier--compacte > .ligne-panier__etat:empty { position: absolute; min-height: 0; }
.ligne-panier__deplie:has(> .matrice[hidden]) { display: none; }
.ligne-panier__deplie .matrice { padding-block-start: var(--esp-2); }

/* --------------------------------------------------------------------------------- la ligne retirée
   La .retiree de la planche (F1, « Ligne retirée ») : une place bordée de tirets, 16 px de rayon, la
   phrase en gras, « Annuler » en second petit. Même hauteur que la ligne qu'elle remplace (posée par le
   script), centrée dans cette hauteur : rien ne bouge en dessous.
   Dashed (review of the order lot, D15): the dashes say a place left empty, which « Annuler » fills
   again, not one more card. */
.ligne-panier--retiree { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--esp-4); margin-block: var(--esp-4); padding: var(--esp-4) var(--esp-5); border: 1.5px dashed var(--ligne-2); border-radius: var(--r-2); background: var(--papier); color: var(--encre); }
.ligne-panier--retiree > p { font-size: var(--t-1); font-weight: 800; }
.ligne-panier--retiree .btn { min-height: 2.625rem; padding: .4375rem 1.125rem; font-size: var(--t-1); }
.ligne-panier--retiree .btn::after { content: none; }
.ligne-panier--retiree form { margin: 0; }

/* --------------------------------------------------------------------------------- le tiroir
   Le dialog de components.css (section 20) : 460 px au bureau, la feuille du bas au téléphone. Le titre en
   Nunito 800, « Fermer » en second petit, les lignes, et au pied la livraison, le total, les deux gestes. */
.tiroir-panier .tiroir__tete { padding-block-end: var(--esp-4); }
.tiroir-panier .tiroir__titre { font-size: 1.5rem; }
.tiroir-panier .tiroir__corps { padding-block-start: var(--esp-2); }
.tiroir-panier .tiroir__pied:empty { display: none; }
.tiroir-panier .tiroir__pied { border-top-color: var(--ligne); }
.tiroir-panier .chargement { min-height: 11rem; }
.tiroir-panier__squelette { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--esp-4); padding-block: var(--esp-4); }
.tiroir-panier__squelette .squelette__bloc { aspect-ratio: 1; border-radius: var(--r-2); }
.tiroir-panier__squelette-texte { display: grid; }
.tiroir-panier__totaux { display: grid; gap: var(--esp-2); }
.tiroir-panier__totaux > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--esp-4); }
.tiroir-panier__totaux dt { color: var(--encre); font-size: var(--t-1); }
.tiroir-panier__totaux dd { margin: 0; font-size: var(--t-1); font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.tiroir-panier__totaux > .tiroir-panier__total { align-items: center; }
.tiroir-panier__total dt { font: 800 1.0625rem / 1.2 var(--f); }
.tiroir-panier__total dd { display: grid; justify-items: end; gap: 2px; }
.tiroir-panier__ttc { color: var(--encre); font: 900 1.1875rem / 1.15 var(--f); letter-spacing: -.01em; }
.tiroir-panier__ht { color: var(--gris); font-size: .8125rem; font-weight: 700; }
.tiroir-panier__message { padding: var(--esp-3) var(--esp-4); font-size: var(--t-1); }
.tiroir-panier__raison { margin-block-start: calc(-1 * var(--esp-1)); }
.tiroir-panier__echec { padding-block: var(--esp-4); }
.tiroir-panier__vide { display: grid; gap: var(--esp-2); padding-block: var(--esp-4) var(--esp-2); }
.tiroir-panier__vide-titre { font: 900 var(--t2) / 1.1 var(--f); letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
.tiroir-panier__vide-suite { color: var(--gris); }
.tiroir-panier__familles { display: grid; gap: var(--esp-2); margin-block: var(--esp-4) var(--esp-2); }
.tiroir-panier__familles a { display: flex; justify-content: space-between; align-items: center; gap: var(--esp-4); min-height: 3.25rem; padding: var(--esp-3) var(--esp-4); border: 1px solid var(--ligne); border-radius: var(--r-2); background: var(--papier); color: var(--encre); font: 800 1rem / 1.25 var(--f); text-decoration: none; transition: border-color var(--d-survol) linear, box-shadow var(--d-survol) linear; }
.tiroir-panier__familles a:is(:hover, [data-force~="survol"]) { border-color: transparent; box-shadow: var(--sh-2); }
.tiroir-panier__zone { color: var(--gris); font: 400 .8125rem / 1.35 var(--f-texte); font-variant-numeric: tabular-nums; text-align: right; }
.tiroir-panier__regle { color: var(--encre); font-size: var(--t-1); font-weight: 700; }
