:root{--bouton:#2d6a4c;--bouton-encre:#ffffff;--bristol:#fffdf4;--bristol-doux:#585036;--bristol-encre:#2b281c;--champ:#ffffff;--champ-bord:#585036;--champ-encre:#2b281c;--couverture:#2d6a4c;--couverture-encre:#ffffff;--encre:#2b281c;--encre-douce:#554d31;--etiquette:#fffcea;--etiquette-bord:#2d6a4c;--etiquette-encre:#2b281c;--focus:#2b281c;--lien:#244c86;--ligne:#c9bd8a;--marge:#b53a29;--onglet-a:#f2a65e;--onglet-b:#f6c3cb;--onglet-c:#b9dcf0;--onglet-d:#d3e9a9;--onglet-e:#fff1c2;--onglet-encre:#2b281c;--papier:#f6e6a2;--photo:#ffffff;--police:Charter,"Bitstream Charter","Sitka Text",Cambria,serif;--police-titres:"Iowan Old Style","Palatino Linotype","URW Palladio L",P052,serif;--trombone:#8c8466;}
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  --pas: 1.75rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--police);
  font-size: 1rem;
  line-height: 1.5;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 8 4 4;
}

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

a {
  color: inherit;
  text-decoration-thickness: .075em;
  text-underline-offset: .2em;
}

a:hover {
  text-decoration-thickness: .15em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--police-titres);
  line-height: 1.2;
}

p {
  margin: 0;
}

.masque,
.ecom-recherche__etiquette {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.evitement {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 30;
  padding: .75rem 1.125rem;
  background: var(--etiquette);
  color: var(--etiquette-encre);
  border: 3px solid var(--focus);
  border-radius: .5rem;
  font-weight: 700;
  text-decoration: none;
}

.evitement:not(:focus) {
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.couverture {
  background: var(--couverture);
  color: var(--couverture-encre);
}

.couverture__cadre {
  max-width: 82rem;
  margin: 0 auto;
  padding: .625rem .75rem 0;
}

.couverture__haut {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .5rem .625rem;
}

.etiquette {
  grid-column: 1 / -1;
  justify-self: start;
  display: flex;
  max-width: 100%;
  min-width: 0;
  padding: .375rem;
  background: var(--etiquette);
  color: var(--etiquette-encre);
  border-radius: .875rem;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .18);
}

.etiquette__lien {
  display: flex;
  align-items: center;
  gap: .625rem;
  min-width: 0;
  min-height: 2.875rem;
  padding: .25rem .875rem .25rem .375rem;
  border: 3px double var(--etiquette-bord);
  border-radius: .625rem;
  text-decoration: none;
}

.etiquette__logo {
  flex: none;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: .5rem;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--etiquette), 0 0 0 3.5px var(--etiquette-bord);
  transform: rotate(-4deg);
}

.etiquette__nom {
  min-width: 0;
  font-family: var(--police-titres);
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.15;
  -webkit-hyphens: manual;
  hyphens: manual;
  overflow-wrap: normal;
}

.etiquette__lien:hover .etiquette__nom {
  text-decoration: underline;
}

.ecom-recherche {
  display: flex;
  gap: 3px;
  min-width: 0;
  max-width: 32rem;
  padding: 3px;
  background: var(--champ);
  color: var(--champ-encre);
  border-radius: .5rem;
}

.ecom-recherche__champ {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: 2.625rem;
  margin: 0;
  padding: 0 .625rem;
  background: var(--champ);
  color: var(--champ-encre);
  border: 2px solid var(--champ-bord);
  border-radius: .3125rem;
  font: inherit;
  font-size: 1rem;
  -webkit-appearance: none;
  appearance: none;
}

.ecom-recherche__champ:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

.ecom-recherche__bouton {
  flex: none;
  height: 2.625rem;
  margin: 0;
  padding: 0 .75rem;
  background: var(--bouton);
  color: var(--bouton-encre);
  border: 2px solid var(--bouton);
  border-radius: .3125rem;
  font: inherit;
  font-size: .9375rem;
  font-weight: 700;
  cursor: pointer;
}

.ecom-recherche__bouton:hover {
  text-decoration: underline;
}

.cartable {
  position: relative;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: .4375rem;
  min-height: 2.75rem;
  padding: 0 .25rem;
  font-weight: 700;
  text-decoration: none;
}

.cartable::before {
  content: "";
  flex: none;
  width: 1.375rem;
  height: 1.0625rem;
  margin-top: .3125rem;
  border: 2px solid currentColor;
  border-top-width: .4375rem;
  border-radius: .3125rem .3125rem .25rem .25rem;
}

.cartable::after {
  content: "";
  position: absolute;
  top: .4375rem;
  left: .6875rem;
  width: .5rem;
  height: .375rem;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: .3125rem .3125rem 0 0;
}

.cartable:hover {
  text-decoration: underline;
}

.cartable:focus-visible {
  outline-color: currentColor;
}

.onglets {
  margin-top: .625rem;
}

.onglets__liste {
  display: flex;
  margin: 0 -.75rem;
  padding: .25rem .75rem 0;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--couverture-encre) var(--couverture);
}

.onglet {
  position: relative;
  flex: none;
  display: flex;
  width: max(9rem, calc((100vw - 1.5rem) / 2.3));
  margin-right: -.3125rem;
  background: var(--onglet-a);
  color: var(--onglet-encre);
  border-radius: .75rem .75rem 0 0;
  box-shadow: -2px 0 0 rgba(0, 0, 0, .16);
}

.onglet:first-child {
  box-shadow: none;
}

.onglet:nth-child(5n + 2) {
  background: var(--onglet-b);
  color: var(--onglet-encre);
}

.onglet:nth-child(5n + 3) {
  background: var(--onglet-c);
  color: var(--onglet-encre);
}

.onglet:nth-child(5n + 4) {
  background: var(--onglet-d);
  color: var(--onglet-encre);
}

.onglet:nth-child(5n + 5) {
  background: var(--onglet-e);
  color: var(--onglet-encre);
}

.onglet.onglet--actif,
body:has(.feuille--accueil) .onglet.onglet--accueil {
  z-index: 1;
  background: var(--papier);
  color: var(--encre);
  box-shadow: inset 0 .3125rem 0 var(--marge), -2px 0 0 rgba(0, 0, 0, .16);
}

.onglet__lien {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 2.75rem;
  padding: .4375rem .875rem .3125rem .625rem;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.onglet__lien:hover {
  text-decoration: underline;
}

.onglet__lien:focus-visible {
  outline-offset: -5px;
}

.feuille {
  position: relative;
  flex: 1 0 auto;
  padding-bottom: 3rem;
  isolation: isolate;
}

.feuille::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(.75rem, calc(50% - 41rem + .75rem));
  z-index: -1;
  border-left: 2px solid var(--marge);
}

.feuille__cadre {
  max-width: 82rem;
  margin: 0 auto;
  padding: 1rem .875rem 0 1.625rem;
}

.ariane {
  margin-bottom: .875rem;
  font-size: .875rem;
}

.ariane__liste {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ariane__element {
  display: flex;
  align-items: center;
  max-width: 100%;
  color: var(--encre-douce);
}

.ariane__element + .ariane__element::before {
  content: "";
  flex: none;
  width: .375em;
  height: .375em;
  margin: 0 .55em 0 .35em;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.ariane__lien {
  display: inline-block;
  padding: .3125rem 0;
}

.ariane__element--courant span {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ariane__element + .ariane__element--courant::before {
  content: none;
}

.titre-page {
  font-size: clamp(1.625rem, 6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-color: var(--marge);
  text-decoration-thickness: 2px;
  text-underline-offset: .22em;
  text-decoration-skip-ink: none;
}

.titre-bloc {
  margin-bottom: 1rem;
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-color: var(--marge);
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
  text-decoration-skip-ink: none;
}

.note {
  margin-top: 1.5rem;
  padding: .875rem 1rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-left: .3125rem solid var(--marge);
  font-weight: 600;
}

.fiches {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.375rem .75rem;
  margin: 0;
  padding: .5rem 0 0;
  list-style: none;
}

.fiches__case {
  position: relative;
  display: flex;
  min-width: 0;
  container-type: inline-size;
}

.fiches__case::after {
  content: "";
  position: absolute;
  top: -.5rem;
  left: .875rem;
  z-index: 2;
  width: .6875rem;
  height: 2.125rem;
  border: 2px solid var(--trombone);
  border-radius: .5rem;
  outline: 2px solid var(--trombone);
  outline-offset: -6px;
  transform: rotate(-10deg);
  pointer-events: none;
}

.bristol {
  --pas-carte: 1.375rem;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto auto;
  grid-template-areas: "photo" "nom" "vide" "etat" "prix";
  width: 100%;
  padding: 1.125rem .5rem .5rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 6px 12px -8px rgba(0, 0, 0, .35);
  transition: transform .15s ease;
}

.bristol::before {
  content: "";
  grid-row: 2 / -1;
  grid-column: 1 / -1;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--pas-carte) - 4px), var(--ligne) calc(var(--pas-carte) - 4px), var(--ligne) calc(var(--pas-carte) - 3px), transparent calc(var(--pas-carte) - 3px), transparent var(--pas-carte));
}

.bristol::after {
  content: "";
  position: absolute;
  top: .75rem;
  right: 0;
  left: 0;
  border-top: 2px solid var(--marge);
}

.bristol:hover {
  transform: translateY(-2px);
}

.bristol__photo {
  grid-area: photo;
  width: 100%;
  height: auto;
  margin-bottom: .5rem;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--photo);
  color: var(--bristol-encre);
}

.bristol__nom {
  grid-area: nom;
  padding: 0 .125rem;
  font-family: var(--police);
  font-size: .9375rem;
  font-weight: 600;
  line-height: var(--pas-carte);
}

.bristol__lien {
  text-decoration: none;
}

.bristol__lien::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}

.bristol:hover .bristol__lien {
  text-decoration: underline;
}

.bristol__lien:focus-visible {
  outline: none;
}

.bristol__lien:focus-visible::after {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.bristol__prix {
  grid-area: prix;
  position: relative;
  justify-self: end;
  margin: .625rem .375rem .1875rem .5rem;
  padding: 0 .375rem;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: var(--pas-carte);
  white-space: nowrap;
}

.bristol__prix::before {
  content: "";
  position: absolute;
  inset: -.3125rem -.3125rem -.25rem;
  border: 2px solid var(--marge);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.bristol__epuise {
  grid-area: etat;
  justify-self: start;
  margin: .5rem 0 0 .125rem;
  padding: 0 .375rem;
  background: var(--bristol);
  color: var(--bristol-doux);
  border: 2px dashed currentColor;
  border-radius: .25rem;
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.25rem;
}

.bristol:has(.bristol__epuise) .bristol__prix {
  margin-top: .25rem;
  color: var(--bristol-doux);
  font-weight: 600;
}

.bristol:has(.bristol__epuise) .bristol__prix::before {
  display: none;
}

.bristol__voir {
  display: none;
}

.rubriques__liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 1fr));
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rubriques__case {
  display: flex;
  min-width: 0;
}

.rubriques__case:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.rubrique {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: .625rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: .5rem .875rem .5rem .625rem;
  background: var(--onglet-a);
  color: var(--onglet-encre);
  border-radius: .1875rem 1rem 1rem .1875rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.rubrique::before {
  content: "";
  flex: none;
  width: .75rem;
  height: .75rem;
  border-radius: 50%;
  background: var(--papier);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .22);
}

.rubrique::after {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  margin-left: auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.rubriques__case:nth-child(5n + 2) .rubrique {
  background: var(--onglet-b);
  color: var(--onglet-encre);
}

.rubriques__case:nth-child(5n + 3) .rubrique {
  background: var(--onglet-c);
  color: var(--onglet-encre);
}

.rubriques__case:nth-child(5n + 4) .rubrique {
  background: var(--onglet-d);
  color: var(--onglet-encre);
}

.rubriques__case:nth-child(5n + 5) .rubrique {
  background: var(--onglet-e);
  color: var(--onglet-encre);
}

.rubrique:hover {
  text-decoration: underline;
}

.rubrique:focus-visible {
  outline-offset: 3px;
}

.accueil__titre {
  margin-bottom: 1.25rem;
}

.accueil__rubriques,
.accueil__intro,
.accueil__journal {
  margin-top: 2.5rem;
}

:where(.fiches--selection > .fiches__case:first-child, .fiches--selection > .fiches__case:first-child:nth-last-child(even) ~ .fiches__case:last-child, .fiches--rayon > .fiches__case:last-child:nth-child(odd), .fiches--lies > .fiches__case:last-child:nth-child(odd)) {
  grid-column: 1 / -1;
}

.rayon {
  margin-top: 1.25rem;
}

.rayon__texte {
  max-width: 46rem;
  margin-top: 2.5rem;
}

.journal--cahier {
  margin-top: 1.25rem;
}

.pagination {
  margin-top: 2rem;
}

.pagination__liste {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__lien {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .375rem;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 .75rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 4px 8px -6px rgba(0, 0, 0, .35);
  font-weight: 700;
  text-decoration: none;
}

.pagination__lien:hover {
  text-decoration: underline;
}

.pagination__lien--courante::before {
  content: "";
  position: absolute;
  inset: .3125rem .125rem;
  border: 2px solid var(--marge);
  border-radius: 50%;
  transform: rotate(-4deg);
}

.pagination__lien--sens {
  color: var(--lien);
}

.pagination__lien--sens[rel="prev"]::before {
  content: "\2190";
}

.pagination__lien--sens[rel="next"]::after {
  content: "\2192";
}

.texte-riche {
  line-height: var(--pas);
  isolation: isolate;
}

.texte-riche > * {
  margin-top: 0;
  margin-bottom: 0;
}

.texte-riche p,
.texte-riche li,
.texte-riche h2,
.texte-riche h3,
.texte-riche h4 {
  position: relative;
}

.texte-riche p::before,
.texte-riche li::before,
.texte-riche h2::before,
.texte-riche h3::before,
.texte-riche h4::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent calc(var(--pas) - 6px), var(--ligne) calc(var(--pas) - 6px), var(--ligne) calc(var(--pas) - 5px), transparent calc(var(--pas) - 5px), transparent var(--pas));
}

.texte-riche li::before {
  left: -1.375rem;
}

.texte-riche p + p {
  text-indent: 1.5em;
}

.texte-riche h2,
.texte-riche h3,
.texte-riche h4 {
  padding-top: var(--pas);
  line-height: var(--pas);
}

.texte-riche h2 {
  font-size: 1.25rem;
}

.texte-riche h3 {
  font-size: 1.125rem;
}

.texte-riche h4,
.texte-riche h5,
.texte-riche h6 {
  font-size: 1rem;
}

.texte-riche > :first-child {
  padding-top: 0;
}

.texte-riche ul,
.texte-riche ol {
  padding-left: 1.375rem;
}

.texte-riche li::marker {
  color: var(--marge);
}

.texte-riche a {
  text-decoration-line: underline;
}

.texte-riche strong {
  font-weight: 700;
}

.texte-riche img {
  margin: .5rem 0;
}

.texte-riche table {
  display: block;
  max-width: 100%;
  margin: .5rem 0;
  overflow-x: auto;
  border-collapse: collapse;
  line-height: 1.5;
}

.texte-riche th,
.texte-riche td {
  padding: .375rem .625rem;
  border: 1px solid var(--ligne);
  text-align: left;
  vertical-align: top;
}

.texte-riche blockquote {
  margin: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--marge);
}

.produit {
  display: flex;
  flex-direction: column;
}

.identite {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .75rem 2rem;
  padding: 1.5rem 1rem 1rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 8px 16px -10px rgba(0, 0, 0, .35);
}

.identite::before {
  content: "";
  position: absolute;
  top: .875rem;
  right: 0;
  left: 0;
  border-top: 2px solid var(--marge);
}

.identite__nom {
  padding-top: .25rem;
  font-size: clamp(1.375rem, 5.4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.identite__prix {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .875rem;
  margin-top: .875rem;
}

.identite__libelle {
  color: var(--bristol-doux);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.identite__montant {
  position: relative;
  padding: .125rem .625rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.identite__montant::before {
  content: "";
  position: absolute;
  inset: -.25rem -.375rem;
  border: 2.5px solid var(--marge);
  border-radius: 50%;
  transform: rotate(-3deg);
}

.identite:has(.identite__dispo--non) .identite__montant {
  color: var(--bristol-doux);
}

.identite:has(.identite__dispo--non) .identite__montant::before {
  display: none;
}

.identite__dispo {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  font-weight: 700;
}

.identite__dispo--oui::before {
  content: "";
  flex: none;
  width: .625rem;
  height: 1rem;
  margin: 0 .125rem 0 .25rem;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(40deg) translateY(-.125rem);
}

.identite__dispo--non {
  align-self: flex-start;
  width: fit-content;
  padding: .125rem .5rem;
  color: var(--bristol-doux);
  border: 2px dashed currentColor;
  border-radius: .25rem;
}

.identite__archive {
  margin-top: .75rem;
  padding: .5rem .75rem;
  background: var(--papier);
  color: var(--encre);
  border-left: .25rem solid var(--marge);
  font-weight: 600;
}

.identite__achat {
  min-width: 0;
  padding-top: .75rem;
  border-top: 2px dotted var(--ligne);
}

.planche {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.galerie {
  --n: 1;
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: .625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.galerie__case {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
  background: var(--photo);
  color: var(--bristol-encre);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 4px 10px -6px rgba(0, 0, 0, .35);
}

.galerie__case--grande {
  grid-column: 1 / -1;
}

.galerie__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.galerie__lien {
  position: absolute;
  inset: 0;
  display: block;
}

.galerie__lien:hover {
  outline: 2px solid var(--encre);
  outline-offset: -2px;
}

.galerie__lien:focus-visible {
  outline-offset: -4px;
}

.galerie:has(> li:nth-child(3)) {
  --n: 2;
}

.galerie:has(> li:nth-child(4)) {
  --n: 3;
}

.galerie:has(> li:nth-child(5)) {
  --n: 4;
}

.galerie:has(> li:nth-child(6)) {
  --n: 5;
}

.galerie:has(> li:nth-child(7)) {
  --n: 3;
}

.galerie:has(> li:nth-child(8)) {
  --n: 4;
}

.galerie:has(> li:nth-child(10)) {
  --n: 3;
}

.galerie:has(> li:nth-child(11)) {
  --n: 5;
}

.galerie:has(> li:nth-child(12)) {
  --n: 4;
}

.planche__note:not(:has(p)) {
  display: none;
}

.planche__resume {
  font-size: 1.0625rem;
  line-height: 1.6;
}

.planche__rayon {
  margin-top: .75rem;
  font-weight: 700;
}

.planche__lien {
  display: inline-block;
  padding: .25rem 0;
  color: var(--lien);
}

.produit__bloc {
  margin-top: 2.5rem;
  max-width: 50rem;
}

.lies {
  margin-top: 3rem;
}

.lies:not(:has(li)) {
  display: none;
}

.journal__liste {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.journal__case {
  display: flex;
  min-width: 0;
  container-type: inline-size;
}

.copie {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas: "photo" "date" "titre" "extrait" "suite";
  width: 100%;
  padding: .625rem .75rem .875rem 1.75rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 6px 12px -8px rgba(0, 0, 0, .35);
}

.copie::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  border-left: 2px solid var(--marge);
}

.copie__photo {
  grid-area: photo;
  width: 100%;
  height: auto;
  margin-bottom: .625rem;
  aspect-ratio: 1.9;
  object-fit: cover;
  background: var(--photo);
  color: var(--bristol-encre);
}

.copie__date {
  grid-area: date;
  justify-self: end;
  color: var(--bristol-doux);
  font-size: .875rem;
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.copie__titre {
  grid-area: titre;
  margin-top: .25rem;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

.copie__lien {
  text-decoration: none;
}

.copie__lien::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.copie:hover .copie__lien {
  text-decoration: underline;
}

.copie__lien:focus-visible {
  outline: none;
}

.copie__lien:focus-visible::after {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.copie__extrait {
  grid-area: extrait;
  display: -webkit-box;
  margin-top: .375rem;
  overflow: hidden;
  color: var(--bristol-doux);
  font-size: .9375rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.copie__suite {
  grid-area: suite;
  margin-top: .5rem;
  color: var(--lien);
  font-size: .9375rem;
  font-weight: 700;
}

.copie__suite::after {
  content: "\2192";
  margin-left: .375rem;
}

.rubriques--blog {
  margin-top: 2.5rem;
}

.lecon {
  max-width: 48rem;
}

.lecon__tete {
  margin-bottom: 1.25rem;
}

.lecon__date {
  margin-bottom: .625rem;
  color: var(--encre-douce);
  font-size: .9375rem;
  font-style: italic;
}

.lecon__rubrique {
  color: var(--lien);
  font-style: normal;
  font-weight: 700;
}

.lecon .titre-page {
  margin-bottom: 1.25rem;
}

.lecon__tete .titre-page {
  margin-bottom: 0;
}

.lecon__une img {
  width: 100%;
  margin: 0 0 .75rem;
}

.lecon--article .texte-riche {
  font-size: 1.0625rem;
}

.journal--lies {
  margin-top: 3rem;
}

.titre-bloc--lies {
  font-size: 1rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.journal--lies:not(:has(li)) {
  display: none;
}

.journal--lies .copie__titre {
  font-size: 1rem;
}

.feuille--plan_du_site .texte-riche ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  column-gap: 2rem;
}

.feuille--plan_du_site .lecon {
  max-width: none;
}

.erreur {
  max-width: 40rem;
}

.erreur__texte {
  margin-top: 1.25rem;
  font-size: 1.125rem;
}

.erreur__suite {
  margin-top: 1.75rem;
}

.action {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .5rem 1.375rem;
  background: var(--bouton);
  color: var(--bouton-encre);
  border-radius: .375rem;
  box-shadow: 3px 3px 0 var(--encre);
  font-weight: 700;
  text-decoration: none;
}

.action:hover {
  text-decoration: underline;
}

.ecom-resultats {
  margin-top: 1.25rem;
}

.ecom-resultats__statut {
  padding: .75rem 1rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-left: .3125rem solid var(--marge);
  font-weight: 600;
}

.ecom-resultats__statut:empty {
  display: none;
}

.ecom-resultats__coupe {
  margin-top: .75rem;
  font-size: .9375rem;
}

.ecom-resultats__groupe,
.ecom-resultats__rayons {
  margin-top: 2rem;
}

.ecom-resultats__titre {
  margin-bottom: .875rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-color: var(--marge);
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}

.ecom-resultats__produits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .875rem .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ecom-resultat {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: .5rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 6px 12px -8px rgba(0, 0, 0, .35);
}

.ecom-resultat__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--photo);
  color: var(--bristol-encre);
}

.ecom-resultat__texte {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .25rem;
  margin-top: .5rem;
}

.ecom-resultat__lien {
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.ecom-resultat__lien::after {
  content: "";
  position: absolute;
  inset: 0;
}

.ecom-resultat:hover .ecom-resultat__lien {
  text-decoration: underline;
}

.ecom-resultat__lien:focus-visible {
  outline: none;
}

.ecom-resultat__lien:focus-visible::after {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.ecom-resultat__prix {
  order: 2;
  margin-top: auto;
  font-weight: 800;
}

.ecom-resultat__texte:has(.ecom-resultat__etat) .ecom-resultat__prix {
  margin-top: .25rem;
}

.ecom-resultat__etat {
  order: 1;
  align-self: flex-start;
  margin-top: auto;
  padding: 0 .375rem;
  color: var(--bristol-doux);
  border: 2px dashed currentColor;
  border-radius: .25rem;
  font-size: .8125rem;
  font-weight: 700;
}

.ecom-resultats__liens {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ecom-resultats__liens li {
  display: flex;
  flex: 1 1 14rem;
  max-width: 24rem;
}

.ecom-resultats__liens a {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .375rem .875rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-left: .3125rem solid var(--marge);
  font-weight: 700;
  text-decoration: none;
}

.ecom-resultats__liens a:hover {
  text-decoration: underline;
}

.vente {
  max-width: 50rem;
}

.vente .titre-page {
  margin-bottom: 1.25rem;
}

.dos {
  background: var(--couverture);
  color: var(--couverture-encre);
}

.dos__cadre {
  display: grid;
  gap: 1rem;
  max-width: 82rem;
  margin: 0 auto;
  padding: 1.75rem 1rem 1.5rem;
}

.dos__marque {
  font-family: var(--police-titres);
  font-size: 1.125rem;
  font-weight: 700;
}

.dos__liens {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr));
  gap: 0 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dos__case {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  min-width: 0;
}

.dos__case::before {
  content: "";
  flex: none;
  width: .375rem;
  height: .375rem;
  margin-top: .9375rem;
  border-radius: 50%;
  background: currentColor;
}

.dos__lien {
  display: inline-block;
  padding: .5rem 0;
  line-height: 1.3;
}

.dos__lien:focus-visible {
  outline-color: currentColor;
}

.dos__mention {
  padding-top: .875rem;
  border-top: 1px solid currentColor;
  font-size: .875rem;
}

@container (min-width: 34rem) {
  .copie:has(.copie__photo) {
    grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
    grid-template-rows: auto auto auto 1fr auto;
    grid-template-areas: "photo date" "photo titre" "photo extrait" "photo vide" "photo suite";
    column-gap: 1.25rem;
  }

  .copie:has(.copie__photo) .copie__photo {
    margin-bottom: 0;
  }

  .copie:has(.copie__photo) .copie__date {
    justify-self: start;
  }
}

@container (min-width: 20rem) {
  .bristol {
    --pas-carte: 1.625rem;
  }

  .bristol__nom {
    font-size: 1.125rem;
  }

  .bristol__prix {
    font-size: 1.25rem;
  }
}

@container (min-width: 25rem) {
  .fiches:has(> .fiches__case:nth-child(3)) .bristol {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    grid-template-rows: auto auto 1fr auto auto;
    grid-template-areas: "photo nom" "photo voir" "photo vide" "photo etat" "photo prix";
    column-gap: .875rem;
    padding: 1.125rem .75rem .625rem .5rem;
  }

  .fiches:has(> .fiches__case:nth-child(3)) .bristol::before {
    grid-row: 1 / -1;
    grid-column: 2;
  }

  .fiches:has(> .fiches__case:nth-child(3)) .bristol .bristol__photo {
    margin-bottom: 0;
  }

  .fiches:has(> .fiches__case:nth-child(3)) .bristol .bristol__nom {
    font-size: 1.1875rem;
  }

  .fiches:has(> .fiches__case:nth-child(3)) .bristol .bristol__voir {
    grid-area: voir;
    display: block;
    margin-top: .375rem;
    color: var(--lien);
    font-size: .9375rem;
    font-weight: 700;
    line-height: var(--pas-carte);
  }

  .fiches:has(> .fiches__case:nth-child(3)) .bristol .bristol__voir::after {
    content: "\2192";
    margin-left: .375rem;
  }

  .fiches:has(> .fiches__case:nth-child(3)) .bristol .bristol__prix,
  .fiches:has(> .fiches__case:nth-child(3)) .bristol .bristol__epuise {
    justify-self: start;
  }

  .fiches:has(> .fiches__case:nth-child(3)) .bristol .bristol__prix {
    margin-left: .625rem;
  }
}

@media (max-width: 26.24em) {
  .ecom-recherche__bouton {
    position: relative;
    width: 2.75rem;
    padding: 0;
    font-size: 0;
  }

  .ecom-recherche__bouton::before {
    content: "";
    position: absolute;
    top: .5625rem;
    left: .625rem;
    width: .875rem;
    height: .875rem;
    border: 3px solid currentColor;
    border-radius: 50%;
  }

  .ecom-recherche__bouton::after {
    content: "";
    position: absolute;
    top: 1.625rem;
    left: 1.4375rem;
    width: .625rem;
    height: 3px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: left center;
  }
}

@media (max-width: 22.49em) {
  .bristol {
    padding-right: .375rem;
    padding-left: .375rem;
  }

  .bristol__nom {
    font-size: .875rem;
  }
}

@media (min-width: 30em) {
  .onglet {
    width: max(9rem, calc((100vw - 1.5rem) / 3.4));
  }
}

@media (max-width: 47.99em) {
  .onglets__liste {
    scroll-padding-inline: 2.5rem;
  }

  .onglets__liste:not(:has(> li:nth-child(4))) > .onglet {
    flex: 1 1 0;
    width: auto;
  }

  .onglet--actif {
    scroll-initial-target: nearest;
  }
}

@media (min-width: 40em) {
  .fiches {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1.5rem 1rem;
  }

  .fiches > .fiches__case {
    grid-column: span 2;
  }

  .fiches--selection > .fiches__case:nth-child(3n + 1):last-child {
    grid-column: 2 / span 4;
  }

  .fiches--selection > .fiches__case:nth-child(3n + 1):nth-last-child(2),
  .fiches--selection > .fiches__case:nth-child(3n + 1):nth-last-child(2) + .fiches__case {
    grid-column: span 3;
  }

  .fiches--selection > .fiches__case:first-child:nth-last-child(4),
  .fiches--selection > .fiches__case:first-child:nth-last-child(4) ~ .fiches__case {
    grid-column: span 3;
  }

  .rubriques__liste {
    display: flex;
    flex-wrap: wrap;
  }

  .rubriques__case {
    flex: 1 1 13rem;
    max-width: 22rem;
  }

  .journal__liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  :where(.journal__case:last-child:nth-child(odd)) {
    grid-column: 1 / -1;
  }

  .journal--cahier .journal__liste {
    grid-template-columns: minmax(0, 1fr);
  }

  .ecom-resultats__produits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .planche:has(.planche__note p):has(.galerie > li:only-child) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    align-items: start;
  }

  .planche:has(.planche__note p):has(.galerie > li:nth-child(2):last-child) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }

  .galerie:has(> li:only-child) {
    max-width: 30rem;
  }

  .galerie:has(> li:nth-child(2)) .galerie__case--grande {
    grid-column: auto;
  }

  .galerie:has(> li:nth-child(2)) {
    --n: 2;
  }

  .galerie:has(> li:nth-child(3)) {
    --n: 3;
  }

  .galerie:has(> li:nth-child(4)) {
    --n: 4;
  }

  .galerie:has(> li:nth-child(5)) {
    --n: 4;
  }

  .galerie:has(> li:nth-child(5)) .galerie__case--grande {
    grid-column: span 2;
    grid-row: span 2;
  }

  .galerie:has(> li:nth-child(6)) {
    --n: 3;
  }

  .galerie:has(> li:nth-child(7)) {
    --n: 5;
  }

  .galerie:has(> li:nth-child(8)) {
    --n: 4;
  }

  .galerie:has(> li:nth-child(10)) {
    --n: 5;
  }

  .galerie:has(> li:nth-child(11)) {
    --n: 7;
  }

  .galerie:has(> li:nth-child(12)) {
    --n: 6;
  }

  .galerie:has(> li:nth-child(6):last-child) .galerie__case--grande,
  .galerie:has(> li:nth-child(8):last-child) .galerie__case--grande,
  .galerie:has(> li:nth-child(10):last-child) .galerie__case--grande,
  .galerie:has(> li:nth-child(12)) .galerie__case--grande {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (min-width: 40em) and (max-width: 79.99em) {
  .fiches--rayon > .fiches__case:nth-child(3n + 1):last-child,
  .fiches--lies > .fiches__case:nth-child(3n + 1):last-child {
    grid-column: 2 / span 4;
  }

  .fiches--rayon > .fiches__case:nth-child(3n + 1):nth-last-child(2),
  .fiches--rayon > .fiches__case:nth-child(3n + 1):nth-last-child(2) + .fiches__case,
  .fiches--lies > .fiches__case:nth-child(3n + 1):nth-last-child(2),
  .fiches--lies > .fiches__case:nth-child(3n + 1):nth-last-child(2) + .fiches__case,
  .fiches--rayon > .fiches__case:first-child:nth-last-child(4),
  .fiches--rayon > .fiches__case:first-child:nth-last-child(4) ~ .fiches__case,
  .fiches--lies > .fiches__case:first-child:nth-last-child(4),
  .fiches--lies > .fiches__case:first-child:nth-last-child(4) ~ .fiches__case {
    grid-column: span 3;
  }
}

@media (min-width: 48em) {
  .couverture__cadre {
    padding: .875rem 1.5rem 0;
  }

  .couverture__haut {
    display: flex;
    flex-wrap: wrap;
  }

  .etiquette {
    flex: 0 1 auto;
    margin-right: auto;
  }

  .ecom-recherche {
    flex: 1 1 14rem;
  }

  .onglets {
    margin-top: .875rem;
  }

  .onglets__liste {
    --c: 4;
    display: grid;
    grid-template-columns: repeat(var(--c), minmax(0, 1fr));
    gap: .25rem;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .onglets__liste:not(:has(> li:nth-child(6))) {
    grid-template-columns: none;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
  }

  .onglets__liste:has(> li:nth-child(6)) {
    --c: 3;
  }

  .onglets__liste:has(> li:nth-child(7)) {
    --c: 4;
  }

  .onglets__liste:has(> li:nth-child(9)) {
    --c: 5;
  }

  .onglets__liste:has(> li:nth-child(11)) {
    --c: 4;
  }

  .onglets__liste:has(> li:nth-child(13)) {
    --c: 5;
  }

  .onglets__liste:has(> li:nth-child(16)) {
    --c: 6;
  }

  .onglet {
    width: auto;
    margin: 0;
    border-radius: .75rem .75rem 0 0;
    box-shadow: none;
  }

  .onglet.onglet--actif,
  body:has(.feuille--accueil) .onglet.onglet--accueil {
    box-shadow: inset 0 .3125rem 0 var(--marge);
  }

  .onglet__lien {
    padding: .5rem .75rem .4375rem .875rem;
  }

  .feuille::before {
    left: max(2.25rem, calc(50% - 41rem + 2.25rem));
  }

  .feuille__cadre {
    padding: 1.5rem 1.5rem 0 3.5rem;
  }

  .identite {
    padding: 1.75rem 1.5rem 1.25rem;
  }

  .identite:has(.identite__achat) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .identite__achat {
    padding-top: .25rem;
    padding-left: 1.5rem;
    border-top: 0;
    border-left: 2px dotted var(--ligne);
  }

  .dos__cadre {
    grid-template-columns: minmax(0, 14rem) minmax(0, 1fr);
    align-items: start;
    padding: 2rem 1.5rem 1.5rem;
  }

  .dos__mention {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64em) {
  body {
    --pas: 1.875rem;
    font-size: 1.0625rem;
  }

  .couverture__haut {
    flex-wrap: nowrap;
  }

  .ecom-recherche {
    flex: 0 1 28rem;
    margin-left: auto;
  }

  .etiquette {
    margin-right: 0;
  }

  .onglets__liste:not(:has(> li:nth-child(8))) {
    grid-template-columns: none;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
  }

  .onglets__liste:has(> li:nth-child(8)) {
    --c: 4;
  }

  .onglets__liste:has(> li:nth-child(9)) {
    --c: 5;
  }

  .onglets__liste:has(> li:nth-child(11)) {
    --c: 6;
  }

  .onglets__liste:has(> li:nth-child(13)) {
    --c: 5;
  }

  .onglets__liste:has(> li:nth-child(16)) {
    --c: 6;
  }

  .feuille::before {
    left: max(3rem, calc(50% - 41rem + 3rem));
  }

  .feuille__cadre {
    padding: 1.75rem 2rem 0 4.75rem;
  }

  .accueil {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14rem;
    grid-template-areas: "titre titre" "selection rubriques" "intro intro" "journal journal";
    column-gap: 2rem;
    align-items: start;
  }

  .accueil__titre {
    grid-area: titre;
  }

  .accueil__note,
  .accueil__selection {
    grid-area: selection;
  }

  .accueil__rubriques {
    grid-area: rubriques;
    position: sticky;
    top: 1rem;
    margin-top: 0;
  }

  .accueil__rubriques .rubriques__liste {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: .375rem;
  }

  .accueil__rubriques .rubriques__case {
    max-width: none;
  }

  .accueil__intro {
    grid-area: intro;
    max-width: 50rem;
  }

  .accueil__journal {
    grid-area: journal;
  }

  .journal__liste {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .journal__case {
    grid-column: span 2;
  }

  .journal__case:first-child:nth-last-child(2),
  .journal__case:first-child:nth-last-child(2) ~ .journal__case {
    grid-column: span 3;
  }

  .journal__case:only-child {
    grid-column: 1 / -1;
  }

  .journal--cahier .journal__liste {
    grid-template-columns: minmax(0, 1fr);
    max-width: 62rem;
  }

  .journal--cahier .journal__case {
    grid-column: auto;
  }

  .feuille--article .feuille__cadre {
    display: grid;
    grid-template-columns: minmax(0, 48rem) minmax(0, 17rem);
    justify-content: space-between;
    column-gap: 3rem;
    align-items: start;
  }

  .feuille--article .ariane {
    grid-column: 1 / -1;
  }

  .feuille--article .journal--lies {
    margin-top: 0;
  }

  .feuille--article .journal--lies .journal__liste {
    grid-template-columns: minmax(0, 1fr);
  }

  .feuille--article .journal--lies .journal__case:nth-child(n) {
    grid-column: auto;
  }

  .lecon--article .texte-riche {
    font-size: 1.125rem;
  }

  .journal--cahier .copie {
    grid-template-columns: 8.5rem minmax(0, 17rem) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "date photo titre" "date photo extrait" "date photo vide" "date photo suite";
    column-gap: 1.5rem;
    padding: 1rem 1.25rem 1rem 1rem;
  }

  .journal--cahier .copie::before {
    left: 9.75rem;
  }

  .journal--cahier .copie__photo {
    margin-bottom: 0;
  }

  .journal--cahier .copie__date {
    justify-self: start;
    padding-top: .125rem;
  }

  .journal--cahier .copie__titre {
    margin-top: 0;
    font-size: 1.25rem;
  }

  .ecom-resultats__produits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 80em) {
  .onglets__liste:not(:has(> li:nth-child(9))) {
    grid-template-columns: none;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
  }

  .onglets__liste:has(> li:nth-child(9)) {
    --c: 5;
  }

  .onglets__liste:has(> li:nth-child(11)) {
    --c: 6;
  }

  .onglets__liste:has(> li:nth-child(13)) {
    --c: 7;
  }

  .onglets__liste:has(> li:nth-child(15)) {
    --c: 8;
  }

  .accueil {
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    column-gap: 2.5rem;
  }

  .fiches--rayon,
  .fiches--lies {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .fiches--rayon > .fiches__case,
  .fiches--lies > .fiches__case {
    grid-column: span 3;
  }

  .fiches--rayon > .fiches__case:nth-child(4n + 1):last-child,
  .fiches--lies > .fiches__case:nth-child(4n + 1):last-child {
    grid-column: 4 / span 6;
  }

  .fiches--rayon > .fiches__case:nth-child(4n + 1):nth-last-child(2),
  .fiches--rayon > .fiches__case:nth-child(4n + 1):nth-last-child(2) + .fiches__case,
  .fiches--lies > .fiches__case:nth-child(4n + 1):nth-last-child(2),
  .fiches--lies > .fiches__case:nth-child(4n + 1):nth-last-child(2) + .fiches__case {
    grid-column: span 6;
  }

  .fiches--rayon > .fiches__case:nth-child(4n + 1):nth-last-child(3),
  .fiches--rayon > .fiches__case:nth-child(4n + 1):nth-last-child(3) ~ .fiches__case,
  .fiches--lies > .fiches__case:nth-child(4n + 1):nth-last-child(3),
  .fiches--lies > .fiches__case:nth-child(4n + 1):nth-last-child(3) ~ .fiches__case {
    grid-column: span 4;
  }
}

@media print {
  .onglets,
  .ecom-recherche,
  .cartable,
  .dos__nav,
  .pagination,
  .lies,
  .journal--lies {
    display: none;
  }
}

[hidden] {
  display: none !important;
}

.ecom-annonce {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}

.ecom-achat__delai {
  color: var(--bristol-doux);
  font-size: .9375rem;
  line-height: 1.45;
}

.ecom-achat__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem 1.25rem;
  margin-top: .875rem;
}

.ecom-bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .625rem 1.5rem;
  background: var(--bouton);
  color: var(--bouton-encre);
  border: 2px solid var(--bouton);
  border-radius: .375rem;
  box-shadow: 3px 3px 0 var(--encre);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.ecom-bouton:hover {
  text-decoration: underline;
}

.ecom-bouton:active {
  box-shadow: 1px 1px 0 var(--encre);
  transform: translate(2px, 2px);
}

.ecom-bouton:disabled {
  box-shadow: none;
  cursor: not-allowed;
}

.ecom-achat__panier {
  display: inline-block;
  padding: .375rem 0;
  color: var(--lien);
  font-weight: 700;
}

.ecom-lien,
.ecom-ligne__retirer {
  min-height: 2.75rem;
  padding: 0;
  background: transparent;
  color: var(--lien);
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.ecom-message {
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-left: .3125rem solid var(--marge);
}

.ecom-message--erreur {
  font-weight: 700;
}

.ecom-infos {
  position: relative;
  padding: 1.25rem 1rem 1rem 1.75rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
}

.ecom-infos::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  border-left: 2px solid var(--marge);
}

.ecom-infos__titre {
  margin-bottom: .75rem;
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-color: var(--marge);
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}

.ecom-infos__sous-titre {
  margin: 1rem 0 .375rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.ecom-infos__fabricant {
  color: var(--bristol-doux);
  line-height: 1.55;
}

.ecom-infos__mentions {
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.55;
}

.ecom-infos__mentions li + li {
  margin-top: .5rem;
}

.ecom-infos a {
  color: var(--lien);
}

.ecom-panier,
.ecom-commande,
.ecom-merci {
  max-width: 46rem;
}

.ecom-lignes {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ecom-ligne {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  grid-template-areas: "image nom nom" "image prix prix" "image quantite montant" "image retirer retirer";
  align-items: center;
  gap: .25rem .875rem;
  margin-top: .75rem;
  padding: .75rem .875rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
}

.ecom-ligne__image {
  grid-area: image;
  align-self: start;
  width: 4.5rem;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--photo);
  color: var(--bristol-encre);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1);
}

.ecom-ligne__nom {
  grid-area: nom;
  min-width: 0;
  color: var(--bristol-encre);
  font-weight: 700;
  line-height: 1.35;
}

.ecom-ligne__prix {
  grid-area: prix;
  color: var(--bristol-doux);
  font-size: .9375rem;
  white-space: nowrap;
}

.ecom-ligne__quantite {
  grid-area: quantite;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

.ecom-ligne__montant {
  grid-area: montant;
  justify-self: end;
  font-size: 1.125rem;
  font-weight: 800;
  white-space: nowrap;
}

.ecom-ligne__retirer {
  grid-area: retirer;
  justify-self: start;
  font-size: .9375rem;
}

.ecom-quantite {
  min-width: 2.75rem;
  min-height: 2.75rem;
  margin: 0;
  background: var(--bristol);
  color: var(--bristol-encre);
  border: 2px solid var(--champ-bord);
  border-radius: .375rem;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
}

.ecom-quantite:disabled {
  cursor: not-allowed;
}

.ecom-quantite__valeur {
  display: inline-block;
  min-width: 2rem;
  font-weight: 700;
  text-align: center;
}

.ecom-recapitulatif .ecom-ligne {
  display: block;
}

.ecom-total {
  margin-top: 1rem;
  padding: .875rem 1rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-top: 2px solid var(--marge);
  line-height: 1.75;
}

.ecom-total strong {
  font-size: 1.25rem;
}

.ecom-panier__suite,
.ecom-formulaire__valider {
  margin-top: 1.5rem;
}

.ecom-conditions {
  margin-top: 1.25rem;
  color: var(--encre-douce);
  font-size: .9375rem;
}

.ecom-conditions a,
.ecom-panier a:not(.ecom-bouton),
.ecom-commande a:not(.ecom-bouton),
.ecom-merci a:not(.ecom-bouton) {
  color: var(--lien);
}

.ecom-commande__titre {
  margin-top: 2rem;
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-color: var(--marge);
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}

.ecom-commande__saisie > p {
  margin-top: .875rem;
}

.ecom-formulaire {
  margin-top: 1.5rem;
}

.ecom-formulaire__obligatoire {
  margin-bottom: 1rem;
  color: var(--encre-douce);
  font-size: .9375rem;
}

.ecom-formulaire__groupe {
  position: relative;
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: 1.75rem 1rem 1.25rem 1.75rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14), 0 6px 12px -8px rgba(0, 0, 0, .35);
}

.ecom-formulaire__groupe::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  border-left: 2px solid var(--marge);
}

.ecom-formulaire__groupe legend {
  float: left;
  width: 100%;
  margin-bottom: .25rem;
  padding: 0;
  font-family: var(--police-titres);
  font-size: 1.125rem;
  font-weight: 700;
}

.ecom-champ {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .25rem;
  margin-top: .875rem;
  clear: both;
}

.ecom-champ label {
  font-weight: 700;
}

.ecom-champ__aide {
  color: var(--bristol-doux);
  font-size: .875rem;
  line-height: 1.4;
}

.ecom-champ input {
  width: 100%;
  min-height: 2.875rem;
  padding: .5rem .75rem;
  background: var(--champ);
  color: var(--champ-encre);
  border: 2px solid var(--champ-bord);
  border-radius: .375rem;
  font: inherit;
  font-size: 1rem;
}

.ecom-champ input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.ecom-champ input[aria-invalid="true"] {
  border-color: var(--marge);
  border-width: 3px;
}

.ecom-champ--case {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: .75rem;
  margin-top: 1.25rem;
  padding: .875rem 1rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border: 2px dashed var(--champ-bord);
}

.ecom-champ--case input {
  width: 1.5rem;
  min-height: 1.5rem;
  height: 1.5rem;
  margin: .125rem 0 0;
  padding: 0;
  accent-color: var(--bouton);
}

.ecom-champ--case label {
  font-weight: 600;
}

.ecom-recapitulatif {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
}

.ecom-recapitulatif p + p,
.ecom-recapitulatif ul + p {
  margin-top: .5rem;
}

.ecom-recapitulatif .ecom-lignes {
  margin-top: .5rem;
}

.ecom-recapitulatif .ecom-ligne {
  margin-top: .25rem;
  padding: .375rem 0;
  box-shadow: none;
  border-bottom: 1px solid var(--ligne);
}

.ecom-phrase {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  border-left: .3125rem solid var(--marge);
}

.ecom-paypal {
  max-width: 30rem;
  margin-top: 1.5rem;
}

.ecom-verification {
  margin-top: 1rem;
}

.ecom-merci p + p {
  margin-top: 1rem;
}

.ecom-merci__numero strong {
  font-size: 1.25rem;
}

.produit__informations,
.produit__avis {
  max-width: 50rem;
}

.ecom-avis {
  position: relative;
  padding: 1.25rem 1rem 1rem 1.75rem;
  background: var(--bristol);
  color: var(--bristol-encre);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14);
}

.ecom-avis::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1rem;
  border-left: 2px solid var(--marge);
}

.ecom-avis__titre {
  margin-bottom: .75rem;
  font-size: 1.375rem;
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-style: double;
  text-decoration-color: var(--marge);
  text-decoration-thickness: 2px;
  text-underline-offset: .25em;
}

.ecom-avis__resume {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .75rem;
}

.ecom-avis__moyenne,
.ecom-avis__auteur {
  font-weight: 700;
}

.ecom-avis__nombre,
.ecom-avis__date,
.ecom-avis__mention,
.ecom-avis__regles {
  color: var(--bristol-doux);
  font-size: .9375rem;
}

.ecom-avis__mention {
  margin-top: .625rem;
}

.ecom-avis__liste {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.ecom-avis__avis {
  padding: .875rem 0;
  border-top: 1px dashed var(--ligne);
}

.ecom-avis__auteur {
  margin-top: .25rem;
}

.ecom-avis__texte {
  margin-top: .5rem;
  line-height: 1.55;
}

.ecom-avis__suite,
.ecom-avis__fonctionnement {
  margin-top: 1rem;
}

.ecom-avis__plus {
  min-height: 2.75rem;
  padding: .5rem 0;
  color: var(--lien);
  font-weight: 700;
  cursor: pointer;
}

.ecom-avis__regles {
  margin-top: .5rem;
}

.ecom-avis__regles > * + * {
  margin-top: .5rem;
}

.ecom-etoiles {
  position: relative;
  display: inline-block;
  color: var(--ligne);
  font-size: 1.125rem;
  line-height: 1;
  letter-spacing: .05em;
  white-space: nowrap;
}

.ecom-etoiles::before,
.ecom-etoiles::after {
  content: "\2605\2605\2605\2605\2605";
}

.ecom-etoiles::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  overflow: hidden;
  color: var(--marge);
}

.ecom-etoiles--1::after {
  width: 10%;
}

.ecom-etoiles--2::after {
  width: 20%;
}

.ecom-etoiles--3::after {
  width: 30%;
}

.ecom-etoiles--4::after {
  width: 40%;
}

.ecom-etoiles--5::after {
  width: 50%;
}

.ecom-etoiles--6::after {
  width: 60%;
}

.ecom-etoiles--7::after {
  width: 70%;
}

.ecom-etoiles--8::after {
  width: 80%;
}

.ecom-etoiles--9::after {
  width: 90%;
}

.ecom-etoiles--10::after {
  width: 100%;
}

@media (max-width: 29.99em) {
  .ecom-panier .ecom-ligne {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    grid-template-areas: "image nom" "image prix" "image quantite" "image montant" "image retirer";
  }

  .ecom-panier .ecom-ligne__montant {
    justify-self: start;
  }
}

@media (min-width: 40em) {
  .ecom-ligne {
    grid-template-columns: 5.5rem minmax(0, 1fr) auto auto;
    grid-template-areas: "image nom nom nom" "image prix quantite montant" "image retirer retirer retirer";
    column-gap: 1.25rem;
  }

  .ecom-ligne__image {
    width: 5.5rem;
  }

  .ecom-champ {
    grid-template-columns: 11rem minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
  }

  .ecom-champ label {
    grid-column: 1;
  }

  .ecom-champ input {
    grid-column: 2;
  }

  .ecom-champ__aide {
    grid-column: 2;
    order: 2;
  }

  .ecom-champ:not(:has(input)) {
    grid-template-columns: minmax(0, 1fr);
  }

  .ecom-champ--case {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ecom-champ--case input,
  .ecom-champ--case label {
    grid-column: auto;
  }
}

@media (min-width: 64em) {
  .feuille--panier .vente,
  .feuille--commande .vente {
    max-width: 74rem;
  }

  .ecom-panier,
  .ecom-commande {
    max-width: none;
  }

  .ecom-panier__contenu {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 21rem;
    grid-template-rows: auto auto 1fr;
    column-gap: 2rem;
    align-items: start;
  }

  .ecom-panier__contenu .ecom-lignes {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin-top: 0;
  }

  .ecom-panier__contenu .ecom-total {
    grid-column: 2;
    margin-top: .75rem;
  }

  .ecom-panier__contenu .ecom-panier__suite {
    grid-column: 2;
  }

  .ecom-commande__saisie {
    display: grid;
    grid-template-columns: minmax(0, 22rem) minmax(0, 44rem);
    grid-template-rows: auto auto auto auto 1fr;
    column-gap: 2.5rem;
    align-items: start;
  }

  .ecom-commande__saisie > * {
    grid-column: 1;
  }

  .ecom-commande__saisie > .ecom-formulaire {
    grid-column: 2;
    grid-row: 1 / -1;
    margin-top: 2rem;
  }

  .ecom-commande__saisie .ecom-ligne {
    grid-template-columns: 4rem minmax(0, 1fr) auto;
    grid-template-areas: "image nom nom" "image prix prix" "image quantite montant";
  }

  .ecom-commande__saisie .ecom-ligne__image {
    width: 4rem;
  }
}
