/* Page « Suivi de ma commande » (suivi.html) : reprend les couleurs et l'en-tête du configurateur (style.css). */
.suivi { max-width: 1100px; margin: 0 auto; padding: 1.5rem clamp(16px, 4vw, 48px) 3rem; }
.suivi .carte { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 1.25rem; margin-bottom: 1.25rem; }
.suivi h1 { margin: 0 0 .2rem; }
.suivi h2 { font-size: 1.1rem; }
.doux { color: var(--texte-doux); margin: 0; }
.suivi-message { color: var(--texte-doux); }
.suivi-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.suivi-prevue { text-align: right; }
.suivi-prevue-date { font-size: 1.4rem; font-weight: 700; }

.frise { display: flex; list-style: none; margin: 0; padding: 0; }
.frise li { flex: 1; text-align: center; position: relative; font-size: .9rem; }
.frise li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 3px; background: var(--bord); }
.frise li:first-child::before { display: none; }
.frise li.fait::before, .frise li.en_cours::before { background: var(--accent); }
.frise .point { width: 32px; height: 32px; border-radius: 50%; margin: 0 auto .4rem; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--surface); border: 3px solid var(--bord); color: var(--texte-doux); font-weight: 700; box-sizing: border-box; }
.frise .fait .point { background: var(--accent); border-color: var(--accent); color: var(--accent-texte); }
.frise .en_cours .point { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 0 5px var(--accent-doux); }
.frise .libelle { font-weight: 600; display: block; }
.frise .en_cours .libelle { color: var(--accent); }
.frise .date { color: var(--texte-doux); font-size: .8rem; }
.suivi-info { background: var(--accent-doux); border-radius: 8px; padding: .75rem 1rem; margin: 1.25rem 0 0; }

.suivi .bandeau-compte { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; background: var(--accent-doux); }
.bandeau-compte > div { flex: 1 1 18rem; }
.bandeau-compte[hidden] { display: none; }
.bandeau-compte .bouton-secondaire { text-decoration: none; background: var(--surface); }
.suivi-grille { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 0 1.25rem; }
.suivi-lignes, .suivi-totaux { width: 100%; border-collapse: collapse; font-size: .92rem; }
.suivi-lignes th { text-align: left; color: var(--texte-doux); font-weight: 500; border-bottom: 1px solid var(--bord); padding: .4rem .3rem; }
.suivi-lignes td { padding: .65rem .3rem; border-bottom: 1px solid var(--bord); vertical-align: top; }
.suivi-lignes .d, .suivi-totaux td:last-child { text-align: right; white-space: nowrap; }
.suivi-lignes .ref { font-weight: 600; }
.suivi-lignes small { display: block; color: var(--texte-doux); }
.etiquettes { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.etiquette { font-size: .75rem; padding: 0 .5rem; border-radius: 4px; background: var(--fond); color: var(--texte-doux); border: 1px solid var(--bord); }
.etiquette.ok { color: var(--ok); border-color: currentColor; }
.etiquette.encours { color: var(--attention); border-color: currentColor; }
.suivi-totaux { width: auto; margin: .6rem 0 0 auto; min-width: 15rem; }
.suivi-totaux td { padding: .2rem .3rem; }
.suivi-totaux tr:last-child td { font-weight: 700; }

.suivi-docs { list-style: none; margin: 0; padding: 0; }
.suivi-docs li { display: flex; align-items: center; gap: .75rem; padding: .55rem 0; border-bottom: 1px solid var(--bord); }
.suivi-docs li:last-child { border-bottom: 0; }
.suivi-docs .nom { font-weight: 600; display: block; }
.suivi-docs .date { color: var(--texte-doux); font-size: .8rem; }
.suivi-docs a { margin-left: auto; font-weight: 600; font-size: .9rem; }
.suivi-docs .attente .nom { color: var(--texte-doux); font-weight: 500; }
.suivi-adresse { margin: 0 0 .75rem; white-space: pre-line; }

@media (max-width: 760px) {
  .suivi-grille { grid-template-columns: 1fr; }
  /* Sur téléphone, la frise passe à la verticale : six statuts ne tiennent pas côte à côte. */
  .frise { flex-direction: column; }
  .frise li { display: grid; grid-template-columns: 32px 1fr; column-gap: .75rem; align-items: center; text-align: left; min-height: 44px; }
  .frise li::before { top: -50%; bottom: 50%; left: 14.5px; right: auto; width: 3px; height: auto; }
  .frise .point { margin: 0; grid-row: span 2; }
  .frise .date:empty { display: none; }
  .frise li:has(.date:empty) .libelle { grid-row: span 2; }
  .suivi-prevue { text-align: left; }
}
.suivi-envoi { border-top: 1px solid var(--bord); padding: .75rem 0; }
.suivi-envoi .titre { margin-bottom: .2rem; }
.suivi-envoi .pastille { display: inline-block; font-size: .75rem; font-weight: 700; border-radius: 99px; padding: 1px 8px; background: #e0f2fe; color: #075985; }
.suivi-envoi a { font-weight: 600; }
