/* Apparence de jour CHM. Les couleurs d'état restent propres à chaque opération. */
:root {
  --fond: var(--teinte-f6f3ed);
  --surface-2: var(--teinte-faf8f4);
  --sable: var(--teinte-f1ebe0);
  --sable-actif: var(--teinte-e8decd);
  --encre-chm: var(--teinte-202020);
  --ivoire-chm: var(--teinte-fffaf3);
  --bord: var(--teinte-ded8cc);
  --bord-fort: var(--teinte-bdb3a2);
  --texte: var(--teinte-302d29);
  --texte-2: var(--teinte-59554d);
  --texte-3: var(--teinte-686258);
  --choix-fond: var(--sable-actif);
  --choix-texte: var(--texte);
  --choix-bord: var(--bord-fort);
}

@media screen {
  .rail, .vitrine, .phare {
    background: var(--sable);
    color: var(--texte);
  }
  .direction-entete, .entete.titre-catalogue {
    background:var(--encre-chm); color:var(--ivoire-chm);
  }
  .direction-entete h1, .titre-catalogue h1 {color:var(--ivoire-chm)}
  .direction-entete .contexte-page, .direction-entete .contexte-page a,
  .titre-catalogue .sous-titre {color:var(--teinte-e5ded1)}
  .rail { border-inline-end: 1px solid var(--bord); }
  .rail .marque, .rail .rail-portail, .rail-pied, .vitrine ul { border-color: var(--bord); }
  .rail .menu a, .rail .menu a .icone,
  .vitrine h2, .vitrine li .icone { color: var(--texte); }
  .rail .groupe-titre, .rail-pied, .rail .menu a small, .vitrine p,
  .phare .etiquette, .phare .grand small, .phare .precision, .phare dt { color: var(--texte-2); }
  .direction-entete .contexte-page .ancienne { color: var(--teinte-ffda88); }
  .rail .menu a:hover {
    background: var(--sable-actif);
    color: var(--texte);
  }
  .rail .menu a[aria-current="page"], .onglets-tarifs a[aria-current=page] {
    background:var(--encre-chm); color:var(--ivoire-chm); font-weight:700;
  }
  .rail .menu a[aria-current="page"] :is(.icone,small) {color:var(--ivoire-chm)}
  .rail :focus-visible, .onglets :focus-visible { outline-color: var(--focus, var(--teinte-795334)); }
  .raccourcis a, .carte-service .blason {
    background: var(--surface-2);
    border: 1px solid var(--bord);
    color: var(--texte);
  }
  .raccourcis .icone, .raccourcis small { color: var(--texte-2); }
  .raccourcis a:hover { background: var(--sable); }
  .entete.titre-catalogue { border: 1px solid var(--bord); border-bottom: 0; }
  .titre-catalogue::after { width: 3.5rem; height: 3px; background: var(--action); }
  .rayon h2, .bloc-prix h2, .vente-table thead th, .table-prix thead th {
    background: var(--surface-2);
    color: var(--texte);
  }
  .rayon-promo h2 {
    color: var(--teinte-82232c);
    background: var(--teinte-faeeea);
    box-shadow: inset 0 -2px var(--teinte-ead1cb);
  }
  .vente-table .total-prix, .table-prix .total-prix {
    background: var(--sable);
    color: var(--texte);
  }
  .supports-stock button { background: var(--surface); border: 1px solid var(--bord-fort); color: var(--lien-fort); }
  .supports-stock button:hover { background: var(--sable); color: var(--lien-fort); }
  .vitrine::after { background: var(--rouge); width: 3px; }
}
@media screen and (max-width: 900px) {
  .corps > .barre, .chercher > form { background: var(--surface-2); color: var(--texte); }
  .corps > .barre { border-bottom: 1px solid var(--bord); }
  .cloche, .cloche:hover, .chercher > summary { background: var(--sable); color: var(--texte); }
  .chercher input, .filtre-agence select { border-color: var(--bord-fort); }
}
