:root{--accent:#f6d36a;--actif:#f3f7f0;--actif-encre:#1d4639;--bouton:#f6d36a;--bouton-encre:#193a2f;--carte:#224f41;--cartouche:#1d4639;--cartouche-encre:#f3f7f0;--champ:#224f41;--champ-bord:#c6d9cd;--champ-encre:#f3f7f0;--encre:#f3f7f0;--encre-douce:#c6d9cd;--fond:#275a4a;--grille:#2f6453;--grille-forte:#3d725f;--hachure:#7fa995;--pied:#1a3f33;--pied-encre:#ebf3ed;--pied-trait:#4a7766;--police:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;--police-cotes:Charter,"Bitstream Charter","Sitka Text",Cambria,serif;--police-titres:Charter,"Bitstream Charter","Sitka Text",Cambria,serif;--tirage:#ffffff;--tirage-encre:#1f4538;--trait:#8db7a2;}
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  font-family: var(--police);
  font-size: 1rem;
  line-height: 1.55;
  overflow-wrap: break-word;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(var(--grille-forte) 1px, transparent 1px), linear-gradient(90deg, var(--grille-forte) 1px, transparent 1px),
    linear-gradient(var(--grille) 1px, transparent 1px), linear-gradient(90deg, var(--grille) 1px, transparent 1px);
  background-size: 2.5rem 2.5rem, 2.5rem 2.5rem, .5rem .5rem, .5rem .5rem;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  background: var(--encre);
  color: var(--fond);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--police-titres);
  font-weight: 700;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

p {
  margin: 0;
}

.masque,
.contenu--fiche .ariane__element--courant,
.contenu--article .ariane__element--courant {
  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: 10;
  padding: .75rem 1rem;
  border: 2px solid var(--encre);
  background: var(--bouton);
  color: var(--bouton-encre);
  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;
}

.planche {
  width: 100%;
  max-width: 80rem;
  margin-right: auto;
  margin-left: auto;
  padding-right: .75rem;
  padding-left: .75rem;
}

.contenu {
  flex: 1 0 auto;
  padding-bottom: 1rem;
}

.entete {
  padding-top: .75rem;
}

.entete::before {
  content: "";
  display: block;
  height: .5rem;
  margin: -.75rem 0 .25rem;
  border-bottom: 1px solid var(--trait);
  background: repeating-linear-gradient(90deg, var(--trait) 0 1px, transparent 1px 2.5rem) left bottom / 100% .5rem no-repeat,
    repeating-linear-gradient(90deg, var(--trait) 0 1px, transparent 1px .5rem) left bottom / 100% .25rem no-repeat;
}

.entete__haut {
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--encre);
  background: var(--carte);
  color: var(--encre);
}

.marque {
  flex: 1 1 10rem;
  display: flex;
  align-items: center;
  gap: .625rem;
  min-width: 0;
  min-height: 3rem;
  padding: .375rem .75rem;
  color: var(--encre);
  font-family: var(--police-titres);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.15;
  text-decoration: none;
}

.marque:hover .marque__nom {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
}

.marque__tuile {
  flex: none;
  display: block;
  padding: 3px;
  border: 1px solid var(--encre);
  border-radius: .5rem;
  background: var(--tirage);
  color: var(--tirage-encre);
}

.marque__logo {
  display: block;
  width: 2rem;
  height: 2rem;
  border-radius: .3rem;
}

.marque__nom {
  min-width: 0;
}

.ecom-recherche {
  flex: 1 1 100%;
  display: flex;
  gap: .5rem;
  min-width: 0;
  padding: .3125rem .75rem;
  border-top: 1px solid var(--trait);
}

.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;
}

.ecom-recherche__champ {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.75rem;
  padding: .5rem .75rem;
  border: 1px solid var(--champ-bord);
  border-radius: 2px;
  background: var(--champ);
  color: var(--champ-encre);
  font: inherit;
  font-size: 1rem;
}

.ecom-recherche__bouton {
  flex: none;
  min-height: 2.75rem;
  padding: .5rem .875rem;
  border: 1px solid var(--encre);
  border-radius: 2px;
  background: var(--carte);
  color: var(--encre);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ecom-recherche__bouton:hover {
  background: var(--encre);
  color: var(--carte);
}

.panier {
  flex: none;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .875rem;
  border-left: 1px solid var(--trait);
  color: var(--encre);
  font-weight: 700;
  text-decoration: none;
}

.panier::before {
  content: "";
  flex: none;
  width: 1rem;
  height: .8rem;
  border: 2px solid currentColor;
  border-top-width: 1px;
  border-radius: 0 0 .2rem .2rem;
  box-shadow: 0 -.2rem 0 -.05rem currentColor;
}

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

.index__liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--encre);
}

.index__case {
  display: flex;
  min-width: 0;
  border-right: 1px solid var(--trait);
  border-bottom: 1px solid var(--trait);
}

.index__lien {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: .4rem;
  min-width: 0;
  min-height: 2.25rem;
  padding: .25rem .5625rem;
  background: var(--carte);
  color: var(--encre);
  font-size: .875rem;
  line-height: 1.15;
  text-decoration: none;
  overflow-wrap: normal;
}

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

.index__lien--actif,
.index__lien--actif:hover {
  background: var(--actif);
  color: var(--actif-encre);
  box-shadow: inset 0 -.25rem 0 var(--accent);
}

.index__case:last-child {
  border-right-color: var(--encre);
}

.ariane {
  margin: .625rem 0 .5rem;
  color: var(--encre-douce);
  font-size: .875rem;
}

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

.ariane__element {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ariane__element + .ariane__element::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: .9em;
  margin: 0 .65em;
  background: currentColor;
  vertical-align: -.1em;
  transform: rotate(20deg);
}

.ariane a {
  padding: .25rem 0;
  color: var(--encre-douce);
}

.ariane a:hover {
  color: var(--encre);
}

.ariane [aria-current] {
  color: var(--encre);
}

.cartouche {
  position: relative;
  margin: .75rem 0 1.75rem;
  padding: 0 3.5rem .875rem 0;
  border: 2px solid var(--encre);
  background: var(--cartouche);
  color: var(--cartouche-encre);
}

.cartouche::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: .875rem;
  width: 3.5rem;
  border-left: 1px solid var(--trait);
  background: radial-gradient(circle, transparent 0 .4rem, var(--trait) .4rem calc(.4rem + 1px), transparent calc(.4rem + 1px) .8rem, var(--trait) .8rem calc(.8rem + 1px), transparent calc(.8rem + 1px)),
    linear-gradient(var(--trait), var(--trait)) center / 2.3rem 1px no-repeat, linear-gradient(var(--trait), var(--trait)) center / 1px 2.3rem no-repeat;
}

.cartouche::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: .875rem;
  border-top: 1px solid var(--trait);
  background: repeating-linear-gradient(90deg, var(--trait) 0 1px, transparent 1px 2.5rem) left top / 100% .625rem no-repeat,
    repeating-linear-gradient(90deg, var(--trait) 0 1px, transparent 1px .5rem) left top / 100% .3rem no-repeat;
}

.cartouche__titre {
  min-height: 4rem;
  padding: .875rem 1rem;
  font-size: clamp(1.625rem, 5vw, 2.625rem);
  letter-spacing: -.005em;
}

.cartouche--accueil .cartouche__titre {
  font-size: clamp(1.875rem, 7vw, 3.5rem);
}

.cartouche--article .cartouche__titre {
  font-size: clamp(1.375rem, 4.2vw, 2.25rem);
}

.cartouche__ligne {
  padding: .625rem 1rem;
  border-top: 1px solid var(--trait);
  color: var(--cartouche-encre);
  font-size: .9375rem;
}

.cartouche__ligne a {
  padding: .25rem 0;
}

.bloc {
  margin-top: 2.5rem;
}

.bloc__titre {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: .875rem;
  font-size: 1.375rem;
}

.bloc__titre::before {
  content: "";
  flex: none;
  width: .75rem;
  height: .875rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.bloc__titre::after {
  content: "";
  flex: 1 1 2rem;
  align-self: center;
  height: .75rem;
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) right center / 1px 100% no-repeat,
    linear-gradient(currentColor, currentColor) left center / 1px 100% no-repeat;
}

.releve {
  margin-top: 0;
}

.message-vide {
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px dashed var(--encre);
  background: var(--carte);
  color: var(--encre);
  text-align: center;
}

.pieces {
  --base: 6;
  counter-reset: repere;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--encre);
  border-left: 1px solid var(--encre);
}

.pieces__case {
  --span: var(--base);
  grid-column: span var(--span);
  display: flex;
  min-width: 0;
  border-right: 1px solid var(--encre);
  border-bottom: 1px solid var(--encre);
  background: var(--carte);
  color: var(--encre);
}

.piece {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto auto;
  grid-template-areas: "vue" "nom" "etat" "prix";
  min-width: 0;
  counter-increment: repere;
}

.piece::before {
  content: counter(repere, decimal-leading-zero) / "";
  position: absolute;
  z-index: 2;
  top: .375rem;
  left: .375rem;
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid var(--encre);
  border-radius: 50%;
  background: var(--carte);
  color: var(--encre);
  font-family: var(--police-cotes);
  font-size: .6875rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.piece__vue {
  position: relative;
  grid-area: vue;
  aspect-ratio: 1 / 1;
  padding: clamp(.75rem, 6%, 1.5rem);
  border-bottom: 1px solid var(--trait);
  background: var(--tirage);
  color: var(--tirage-encre);
}

.piece__vue::before {
  content: "";
  position: absolute;
  top: .3rem;
  right: .3rem;
  bottom: .3rem;
  left: .3rem;
  pointer-events: none;
  background: linear-gradient(var(--trait), var(--trait)) right top / .625rem 1px no-repeat, linear-gradient(var(--trait), var(--trait)) right top / 1px .625rem no-repeat,
    linear-gradient(var(--trait), var(--trait)) left bottom / .625rem 1px no-repeat, linear-gradient(var(--trait), var(--trait)) left bottom / 1px .625rem no-repeat,
    linear-gradient(var(--trait), var(--trait)) right bottom / .625rem 1px no-repeat, linear-gradient(var(--trait), var(--trait)) right bottom / 1px .625rem no-repeat;
}

.piece:has(.piece__etat) .piece__vue::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background: repeating-linear-gradient(-45deg, var(--hachure) 0 1px, transparent 1px .5rem);
}

.piece__photo {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.piece__nom {
  grid-area: nom;
  padding: .625rem .75rem .75rem;
  font-family: var(--police);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: pretty;
}

.piece__lien {
  color: var(--encre);
  text-decoration: none;
}

.piece__lien::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.piece__lien:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

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

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

.piece__prix {
  grid-area: prix;
  display: flex;
  align-items: center;
  min-height: 2.5rem;
  padding: .375rem .75rem;
  border-top: 1px solid var(--trait);
  font-family: var(--police-cotes);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.piece__etat {
  grid-area: etat;
  display: flex;
  align-items: center;
  gap: .375rem;
  min-height: 2.25rem;
  padding: .375rem .75rem;
  border-top: 1px solid var(--trait);
  color: var(--encre);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.piece__etat::before,
.fiche__dispo--non::before {
  content: "";
  flex: none;
  width: .8rem;
  height: .8rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(45deg, transparent calc(50% - 1px), currentColor calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
}

.rubriques {
  counter-reset: rubrique;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--encre);
  border-left: 1px solid var(--encre);
}

.rubriques__case {
  display: flex;
  min-width: 0;
  border-right: 1px solid var(--encre);
  border-bottom: 1px solid var(--encre);
  counter-increment: rubrique;
}

.rubrique {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: .875rem;
  min-width: 0;
  min-height: 3rem;
  padding: 0 1rem 0 0;
  background: var(--carte);
  color: var(--encre);
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.rubrique::before {
  content: counter(rubrique, decimal-leading-zero) / "";
  flex: none;
  align-self: stretch;
  display: grid;
  place-items: center;
  width: 2.75rem;
  border-right: 1px solid var(--trait);
  font-family: var(--police-cotes);
  font-size: .8125rem;
  font-style: italic;
}

.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);
}

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

.notes {
  position: relative;
  margin-top: 2.5rem;
  padding: 1.25rem 1.25rem 1.25rem 3rem;
  border: 1px solid var(--encre);
  background: var(--carte);
  color: var(--encre);
}

.notes::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1.75rem;
  border-right: 1px solid var(--trait);
  background: repeating-linear-gradient(var(--trait) 0 1px, transparent 1px 1.25rem) right top / .5rem 100% no-repeat;
}

.notes > * {
  max-width: 46rem;
}

.feuillets {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--encre);
  border-left: 1px solid var(--encre);
}

.feuillets__case {
  grid-column: span 6;
  display: flex;
  min-width: 0;
  border-right: 1px solid var(--encre);
  border-bottom: 1px solid var(--encre);
  background: var(--carte);
  color: var(--encre);
}

.feuillet {
  position: relative;
  flex: 1 1 auto;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  grid-template-areas: "vue" "date" "titre" "extrait" "suite";
  min-width: 0;
}

.feuillet__vue {
  grid-area: vue;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--trait);
  background: var(--tirage);
  color: var(--tirage-encre);
}

.feuillet__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feuillet__date {
  grid-area: date;
  padding: .625rem 1rem 0;
  color: var(--encre-douce);
  font-family: var(--police-cotes);
  font-size: .875rem;
  font-style: italic;
}

.feuillet__titre {
  grid-area: titre;
  padding: .25rem 1rem 0;
  font-size: 1.0625rem;
  line-height: 1.25;
}

.feuillet__lien {
  color: var(--encre);
  text-decoration: none;
}

.feuillet__lien::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.feuillet__lien:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

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

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

.feuillet__extrait {
  grid-area: extrait;
  margin: .5rem 1rem 0;
  color: var(--encre-douce);
  font-size: .9375rem;
  line-height: 1.5;
}

.feuillet__suite {
  grid-area: suite;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  padding: .5rem 1rem;
  border-top: 1px solid var(--trait);
  font-size: .875rem;
  font-weight: 700;
}

.feuillet__suite::after {
  content: "";
  flex: none;
  width: 1.5rem;
  height: .5rem;
  background: currentColor;
  clip-path: polygon(0 40%, 70% 40%, 70% 0, 100% 50%, 70% 100%, 70% 60%, 0 60%);
}

.fiche__planche {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: .5rem;
  align-items: start;
}

.vues {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--encre);
  border-left: 1px solid var(--encre);
}

.vues__grande,
.vues__case {
  position: relative;
  min-width: 0;
  border-right: 1px solid var(--encre);
  border-bottom: 1px solid var(--encre);
  background: var(--tirage);
  color: var(--tirage-encre);
}

.vues__grande {
  aspect-ratio: 1 / 1;
  padding: clamp(1rem, 6%, 2.5rem);
}

.vues__grande::before,
.vues__grande::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.vues__grande::before {
  right: clamp(1rem, 6%, 2.5rem);
  bottom: .4rem;
  left: clamp(1rem, 6%, 2.5rem);
  height: .5rem;
  background: linear-gradient(var(--trait), var(--trait)) center / 100% 1px no-repeat, linear-gradient(var(--trait), var(--trait)) left center / 1px 100% no-repeat,
    linear-gradient(var(--trait), var(--trait)) right center / 1px 100% no-repeat;
}

.vues__grande::after {
  top: clamp(1rem, 6%, 2.5rem);
  right: .4rem;
  bottom: clamp(1rem, 6%, 2.5rem);
  width: .5rem;
  background: linear-gradient(var(--trait), var(--trait)) center / 1px 100% no-repeat, linear-gradient(var(--trait), var(--trait)) center top / 100% 1px no-repeat,
    linear-gradient(var(--trait), var(--trait)) center bottom / 100% 1px no-repeat;
}

.vues__grande .vues__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vues__case {
  display: flex;
}

.vues__lien {
  flex: 1 1 auto;
  display: block;
  min-width: 0;
  padding: .1875rem;
  border: 3px solid var(--tirage);
  background: var(--tirage);
  color: var(--tirage-encre);
}

.vues__lien .vues__image {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.vues__lien:hover {
  border-color: var(--trait);
}

.vues__lien:focus-visible,
.vues__lien[aria-current] {
  outline: none;
  border-color: var(--tirage-encre);
}

.vues:not(:has(> :nth-child(2))) .vues__grande {
  aspect-ratio: 4 / 3;
}

.vues:has(> :nth-child(2)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vues:has(> :nth-child(3)) {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vues:has(> :nth-child(3)) .vues__grande {
  grid-row: span 2;
  grid-column: span 2;
}

.vues:has(> :nth-child(4)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vues:has(> :nth-child(4)) .vues__grande {
  grid-row: span 3;
  grid-column: span 3;
}

.vues:has(> :nth-child(5)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vues:has(> :nth-child(5)) .vues__grande {
  grid-row: auto;
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
}

.vues:has(> :nth-child(6)) {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.vues:has(> :nth-child(7)) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.vues:has(> :nth-child(8)) {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.vues:has(> :nth-child(9)) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vues:has(> :nth-child(9)) > :last-child:nth-child(4n+2) {
  grid-column: span 4;
}

.vues:has(> :nth-child(9)) > :last-child:nth-child(4n+3) {
  grid-column: span 3;
}

.vues:has(> :nth-child(9)) > :last-child:nth-child(4n) {
  grid-column: span 2;
}

.fiche__cartouche {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 2px solid var(--encre);
  background: var(--cartouche);
  color: var(--cartouche-encre);
}

.fiche__cartouche > * {
  grid-column: 1 / -1;
  padding: .5rem 1rem;
  border-bottom: 1px solid var(--trait);
}

.fiche__cartouche > :last-child {
  border-bottom: 0;
}

.fiche__titre {
  padding-top: .75rem;
  padding-bottom: .75rem;
  font-size: clamp(1.25rem, 3.2vw, 2.125rem);
  line-height: 1.15;
}

.fiche__cartouche > .fiche__prix {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--trait);
}

.fiche__prix-libelle {
  color: var(--cartouche-encre);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.fiche__prix-montant {
  font-family: var(--police-cotes);
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  white-space: nowrap;
  font-style: italic;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.fiche__cartouche > .fiche__dispo {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.25;
}

.fiche__dispo--oui::before {
  content: "";
  flex: none;
  width: .8rem;
  height: .8rem;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle, currentColor 0 .2rem, transparent .2rem);
}

.fiche__dispo--non {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.fiche__archive {
  font-weight: 600;
}

.fiche__resume {
  font-size: .9375rem;
}

.fiche__rayon {
  font-size: .9375rem;
}

.fiche__rayon-lien {
  padding: .25rem 0;
  color: var(--accent);
  font-weight: 600;
}

.fiche__bloc {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--encre);
  background: var(--carte);
  color: var(--encre);
}

.fiche__bloc > .texte-riche,
.fiche__bloc > * > * {
  max-width: 48rem;
}

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

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

.texte-riche > * + * {
  margin-top: 1rem;
}

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

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

.texte-riche h3 {
  margin-top: 1.5rem;
  font-size: 1.0625rem;
}

.texte-riche h4 {
  margin-top: 1.25rem;
  font-size: 1rem;
}

.texte-riche ul {
  padding-left: 0;
  list-style: none;
}

.texte-riche ul > li {
  position: relative;
  padding-left: 1.25rem;
}

.texte-riche ul > li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: .2rem;
  width: .45rem;
  height: .45rem;
  border: 1px solid currentColor;
}

.texte-riche ol {
  padding-left: 1.5rem;
}

.texte-riche li + li {
  margin-top: .3rem;
}

.texte-riche table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

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

.texte-riche img {
  display: block;
  height: auto;
}

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

.memoire__corps {
  padding: 1.25rem;
  border: 1px solid var(--encre);
  background: var(--carte);
  color: var(--encre);
}

.memoire__corps.texte-riche > * {
  max-width: 46rem;
}

.memoire__une img {
  width: 100%;
}

.memoire--article .memoire__corps {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.lies--articles .bloc__titre {
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.lies--articles .feuillet__titre {
  font-size: .9375rem;
}

.lies--articles .feuillet__extrait {
  font-size: .875rem;
}

.feuillets--lies {
  display: flex;
  flex-direction: column;
}

.lies--articles {
  max-width: 48rem;
}

.page--plan_du_site .texte-riche ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
  gap: .3rem 1.5rem;
  max-width: none;
}

.page--plan_du_site .texte-riche li + li {
  margin-top: 0;
}

.erreur__corps {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 1.25rem 1.5rem 6rem;
  border: 1px solid var(--encre);
  background: var(--carte);
  color: var(--encre);
}

.erreur__corps::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 1.25rem;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px dashed var(--encre);
  background: repeating-linear-gradient(-45deg, var(--hachure) 0 1px, transparent 1px .45rem);
}

.erreur__texte {
  font-size: 1.125rem;
}

.lien-action {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: .75rem 1.25rem;
  border: 2px solid var(--encre);
  background: var(--bouton);
  color: var(--bouton-encre);
  font-weight: 700;
  text-decoration: none;
}

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

.pagination {
  margin-top: 1.5rem;
}

.pagination__liste {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination__lien {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0 .875rem;
  border: 1px solid var(--encre);
  background: var(--carte);
  color: var(--encre);
  font-family: var(--police-cotes);
  font-style: italic;
  font-weight: 700;
  text-decoration: none;
}

.pagination__lien--sens {
  font-family: var(--police);
  font-style: normal;
}

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

.pagination__lien--courante,
.pagination__lien--courante:hover {
  background: var(--actif);
  color: var(--actif-encre);
}

.ecom-resultats__statut {
  font-weight: 600;
}

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

.ecom-resultats__groupe {
  margin-top: 1.75rem;
}

.ecom-resultats__titre {
  margin-bottom: .75rem;
  font-size: 1.25rem;
}

.ecom-resultats__produits,
.ecom-resultats__liens {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ecom-resultats__produits {
  border-top: 1px solid var(--trait);
}

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

.ecom-resultats__liens a {
  padding: .25rem 0;
}

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

.ecom-resultat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .625rem 0;
  border-bottom: 1px solid var(--trait);
}

.ecom-resultat__image {
  flex: none;
  width: 4rem;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: .25rem;
  border: 1px solid var(--trait);
  background: var(--tirage);
  color: var(--tirage-encre);
  object-fit: contain;
}

.ecom-resultat__texte {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ecom-resultat__lien {
  color: var(--encre);
  font-weight: 600;
}

.ecom-resultat__prix {
  font-family: var(--police-cotes);
  font-style: italic;
  font-weight: 700;
}

.ecom-resultat__etat {
  color: var(--encre-douce);
  font-size: .875rem;
}

.pied {
  margin-top: 2.5rem;
  padding-bottom: 1rem;
}

.pied__cartouche {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.pied__cartouche > * {
  background: var(--pied);
  color: var(--pied-encre);
}

.pied__nom {
  padding: 1rem 1.25rem;
  border: 2px solid var(--pied);
  border-bottom: 1px solid var(--pied-trait);
  font-family: var(--police-titres);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.2;
}

.pied__nav {
  overflow: hidden;
  border-right: 2px solid var(--pied);
  border-left: 2px solid var(--pied);
  border-bottom: 1px solid var(--pied-trait);
}

.pied__liens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 -1px -1px 0;
  padding: 0;
  list-style: none;
}

.pied__case {
  display: flex;
  min-width: 0;
  border-right: 1px solid var(--pied-trait);
  border-bottom: 1px solid var(--pied-trait);
}

.pied__lien {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  padding: .375rem .875rem;
  border: 2px solid var(--pied);
  background: var(--pied);
  color: var(--pied-encre);
  font-size: .9375rem;
  line-height: 1.3;
  text-decoration: none;
}

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

.pied__lien:focus-visible {
  outline: none;
  border-color: var(--pied-encre);
}

.pied__mention {
  padding: .75rem 1.25rem;
  border: 2px solid var(--pied);
  border-top: 0;
  font-size: .875rem;
}

@media (max-width: 39.99em) {
  .pieces > :last-child:nth-child(odd) {
    --span: 12;
  }

  .pieces > :last-child:nth-child(odd) .piece {
    grid-template-columns: 50% minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    grid-template-areas: "vue nom" "vue etat" "vue prix";
  }

  .pieces > :last-child:nth-child(odd) .piece__vue {
    border-right: 1px solid var(--trait);
    border-bottom: 0;
  }

  .pieces > :last-child:nth-child(odd) .piece__nom {
    align-self: center;
  }
}

@media (max-width: 63.99em) {
  .feuillets--lies .feuillet:has(.feuillet__vue) {
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    grid-template-rows: auto 1fr auto auto;
    grid-template-areas: "vue date" "vue titre" "extrait extrait" "suite suite";
  }

  .feuillets--lies .feuillet__vue {
    align-self: start;
    border-right: 1px solid var(--trait);
    border-bottom: 1px solid var(--trait);
  }
}

@media (max-width: 22.49em) {
  .index__case:first-child:nth-last-child(odd) {
    grid-column: 1 / -1;
  }

  .marque {
    gap: .5rem;
    padding-right: .625rem;
    padding-left: .625rem;
    font-size: 1.0625rem;
  }

  .panier {
    padding-right: .625rem;
    padding-left: .625rem;
  }

  .piece__nom {
    padding: .5rem .5625rem .625rem;
    font-size: .875rem;
  }

  .piece__prix,
  .piece__etat {
    padding-right: .5625rem;
    padding-left: .5625rem;
  }
}

@media (min-width: 22.5em) and (max-width: 47.99em) {
  .index__liste {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .index__lien {
    padding-right: .375rem;
    padding-left: .375rem;
    font-size: .84375rem;
  }

  .index__case:first-child:nth-last-child(3n+4),
  .index__case:last-child:nth-child(3n+4),
  .index__case:last-child:nth-child(3n+2) {
    grid-column: span 2;
  }

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

@media (min-width: 40em) and (max-width: 63.99em) {
  .pieces:has(> :nth-child(4)):has(> :last-child:nth-child(3n+1)) > :nth-last-child(-n+4),
  .pieces:has(> :last-child:nth-child(3n+2)) > :nth-last-child(-n+2) {
    --span: 6;
  }
}

@media (min-width: 40em) {
  .pieces {
    --base: 4;
  }

  .pieces > :only-child {
    --span: 12;
  }

  .pieces > :only-child .piece {
    grid-template-columns: minmax(0, 17rem) minmax(0, 1fr) auto;
    grid-template-rows: minmax(0, 1fr) auto;
    grid-template-areas: "vue nom nom" "vue prix etat";
  }

  .pieces > :only-child .piece__etat {
    border-left: 1px solid var(--trait);
  }

  .pieces > :only-child .piece__vue {
    border-right: 1px solid var(--trait);
    border-bottom: 0;
  }

  .pieces > :only-child .piece__nom {
    align-self: center;
    padding: 1.5rem 2rem;
    font-family: var(--police-titres);
    font-size: clamp(1.375rem, 2.4vw, 1.875rem);
    line-height: 1.2;
  }

  .pieces > :only-child .piece__prix {
    min-height: 3.5rem;
    padding: .5rem 2rem;
    font-size: 1.5rem;
  }

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

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

  .pied__case:first-child:nth-last-child(3n+4),
  .pied__case:last-child:nth-child(3n+4),
  .pied__case:last-child:nth-child(3n+2) {
    grid-column: span 2;
  }
}

@media (max-width: 39.99em) {
  .pied__case:last-child:nth-child(odd) {
    grid-column: span 2;
  }
}

@media (min-width: 40em) and (max-width: 63.99em) {
  .rubriques__case:last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .feuillets__case {
    grid-column: span 3;
  }

  .feuillets__case:last-child:nth-child(odd) {
    grid-column: span 6;
  }

  .feuillets__case:last-child:nth-child(odd) .feuillet:has(.feuillet__vue) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "vue date" "vue titre" "vue extrait" "vue suite";
  }

  .feuillets__case:last-child:nth-child(odd) .feuillet__vue {
    border-right: 1px solid var(--trait);
    border-bottom: 0;
  }
}

@media (min-width: 48em) {
  .planche {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .entete__haut {
    flex-wrap: nowrap;
  }

  .marque {
    flex: 1 1 auto;
    min-height: 3.75rem;
    padding: .5rem 1rem;
    font-size: 1.375rem;
  }

  .marque__logo {
    width: 2.5rem;
    height: 2.5rem;
  }

  .ecom-recherche {
    flex: 0 1 26rem;
    align-items: center;
    padding: .5rem 1rem;
    border-top: 0;
    border-left: 1px solid var(--trait);
  }

  .panier {
    padding: .5rem 1.25rem;
  }

  .fiche__planche {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.25rem;
  }

  .ariane {
    margin: 1rem 0 .75rem;
  }

  .vues {
    position: sticky;
    top: 1rem;
  }

  .fiche__bloc {
    padding: 1.5rem 2rem;
  }

  .memoire__corps {
    padding: 1.75rem 2rem;
  }

  .pied__cartouche {
    grid-template-columns: minmax(0, 16rem) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
  }

  .pied__nom {
    border-right: 1px solid var(--pied-trait);
    border-bottom: 0;
  }

  .pied__nav {
    grid-row: 1 / span 2;
    grid-column: 2;
    border-top: 2px solid var(--pied);
    border-bottom: 2px solid var(--pied);
    border-left: 0;
  }

  .pied__nom {
    border-bottom: 1px solid var(--pied-trait);
  }

  .pied__mention {
    grid-column: 1;
    align-self: stretch;
    border-top: 0;
    border-right: 1px solid var(--pied-trait);
  }

}

@media (min-width: 48em) and (max-width: 63.99em) {
  .index__liste {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .index__case:first-child:nth-last-child(4n+5),
  .index__case:last-child:nth-child(4n+3) {
    grid-column: span 2;
  }

  .index__case:last-child:nth-child(4n+5),
  .index__case:last-child:nth-child(4n+2) {
    grid-column: span 3;
  }

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

  .ecom-recherche {
    flex-basis: 20rem;
  }
}

@media (min-width: 64em) {
  .pieces {
    --base: 3;
  }

  .piece {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "vue vue" "nom nom" "prix etat";
  }

  .piece__etat {
    border-left: 1px solid var(--trait);
  }

  .pieces:has(> :nth-child(9)):has(> :last-child:nth-child(4n+1)) > :nth-last-child(-n+9),
  .pieces:has(> :nth-child(6)):has(> :last-child:nth-child(4n+2)) > :nth-last-child(-n+6),
  .pieces:has(> :last-child:nth-child(4n+3)) > :nth-last-child(-n+3),
  .pieces:has(> :last-child:nth-child(5)) > :nth-child(-n+3) {
    --span: 4;
  }

  .pieces:has(> :last-child:nth-child(5)) > :nth-child(n+4),
  .pieces:has(> :last-child:nth-child(2)) > * {
    --span: 6;
  }

  .pieces:has(> :last-child:nth-child(5)) > :nth-child(n+4) .piece,
  .pieces:has(> :last-child:nth-child(2)) > * .piece {
    grid-template-columns: 42% minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto auto;
    grid-template-areas: "vue nom" "vue etat" "vue prix";
  }

  .pieces:has(> :last-child:nth-child(5)) > :nth-child(n+4) .piece__nom,
  .pieces:has(> :last-child:nth-child(2)) > * .piece__nom {
    align-self: center;
    padding: 1rem 1.25rem;
    font-size: 1.125rem;
  }

  .pieces:has(> :last-child:nth-child(5)) > :nth-child(n+4) .piece__vue,
  .pieces:has(> :last-child:nth-child(2)) > * .piece__vue {
    border-right: 1px solid var(--trait);
    border-bottom: 0;
  }

  .pieces:has(> :last-child:nth-child(5)) > :nth-child(n+4) .piece__etat,
  .pieces:has(> :last-child:nth-child(2)) > * .piece__etat {
    border-left: 0;
  }

  .pieces > :only-child {
    --span: 12;
  }

  .index__liste {
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
  }

  .index__liste:has(> :nth-child(8)) {
    grid-auto-flow: row;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .index__liste:has(> :nth-child(9)) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .index__liste:has(> :nth-child(11)) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .index__liste:has(> :nth-child(13)) {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .index__liste:has(> :nth-child(15)) {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .index__liste:has(> :nth-child(9)) > :last-child:nth-child(odd) {
    grid-column: span 2;
  }

  .index__lien {
    justify-content: center;
    min-height: 2.75rem;
    padding: .375rem .75rem;
    text-align: center;
  }

  .cartouche {
    padding-right: 14rem;
  }

  .cartouche::before {
    width: 5rem;
  }

  .cartouche__titre {
    padding: 1.125rem 1.5rem;
  }

  .cartouche__titre::after {
    content: "";
    position: absolute;
    top: 0;
    right: 5rem;
    bottom: .875rem;
    width: 9rem;
    border-left: 1px solid var(--trait);
    background: repeating-linear-gradient(90deg, var(--cartouche-encre) 0 1.25rem, transparent 1.25rem 2.5rem) center / 6.25rem .375rem no-repeat,
      linear-gradient(var(--cartouche-encre), var(--cartouche-encre)) center calc(50% - .1875rem) / 6.25rem 1px no-repeat,
      linear-gradient(var(--cartouche-encre), var(--cartouche-encre)) center calc(50% + .1875rem) / 6.25rem 1px no-repeat,
      linear-gradient(var(--trait), var(--trait)) calc(50% - 3.125rem) calc(50% + .75rem) / 1px .5rem no-repeat,
      linear-gradient(var(--trait), var(--trait)) 50% calc(50% + .75rem) / 1px .5rem no-repeat,
      linear-gradient(var(--trait), var(--trait)) calc(50% + 3.125rem) calc(50% + .75rem) / 1px .5rem no-repeat;
  }

  .cartouche__ligne {
    padding: .75rem 1.5rem;
  }

  .feuillets__case {
    grid-column: span 2;
  }

  .feuillets:has(> :nth-child(4)):has(> :last-child:nth-child(3n+1)) > :nth-last-child(-n+4),
  .feuillets:has(> :last-child:nth-child(3n+2)) > :nth-last-child(-n+2) {
    grid-column: span 3;
  }

  .feuillets__case:only-child {
    grid-column: span 6;
  }

  .feuillets__case:only-child .feuillet:has(.feuillet__vue) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: "vue date" "vue titre" "vue extrait" "vue suite";
  }

  .feuillets__case:only-child .feuillet__vue {
    border-right: 1px solid var(--trait);
    border-bottom: 0;
  }

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

  .rubriques__case:first-child:nth-last-child(3n+4),
  .rubriques__case:last-child:nth-child(3n+4),
  .rubriques__case:last-child:nth-child(3n+2) {
    grid-column: span 2;
  }

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

  .fiche__planche {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }

  .fiche__description {
    display: grid;
    grid-template-columns: 13rem minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
  }

  .contenu--article .planche {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 19rem;
    column-gap: 2rem;
    align-items: start;
  }

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

  .contenu--article .lies {
    max-width: none;
    margin-top: .75rem;
  }

  .fiche__description > .bloc__titre {
    flex-wrap: wrap;
  }

  .fiche__description > .bloc__titre::after {
    flex-basis: 100%;
  }
}

@media (min-width: 80em) {
  .index__liste:has(> :nth-child(8)):not(:has(> :nth-child(10))) {
    grid-auto-flow: column;
    grid-template-columns: none;
  }

  .index__liste:has(> :nth-child(8)):not(:has(> :nth-child(10))) > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

@media print {
  body::before,
  .index,
  .ecom-recherche,
  .pied__nav,
  .pagination,
  .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;
}

.page-vente {
  padding-bottom: 1.5rem;
}

.ecom-achat {
  display: flex;
  flex-direction: column;
}

.ecom-achat__delai {
  order: 1;
  margin-top: .625rem;
  color: var(--cartouche-encre);
  font-size: .875rem;
  line-height: 1.45;
}

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

.ecom-achat__panier {
  font-weight: 600;
}

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

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

.ecom-bouton:hover {
  background: var(--encre);
  color: var(--carte);
}

.ecom-bouton:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.ecom-lien,
.ecom-ligne__retirer {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}

.ecom-message {
  margin-top: 1rem;
  padding: .75rem 1rem;
  border: 1px solid var(--trait);
  border-left: 4px solid var(--encre);
  background: var(--carte);
  color: var(--encre);
}

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

.ecom-infos__titre,
.ecom-avis__titre,
.ecom-commande__titre {
  display: flex;
  align-items: center;
  gap: .625rem;
  margin-bottom: 1rem;
  font-size: 1.375rem;
}

.ecom-infos__titre::before,
.ecom-avis__titre::before,
.ecom-commande__titre::before {
  content: "";
  flex: none;
  width: .75rem;
  height: .875rem;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.ecom-infos__sous-titre {
  margin: 1.25rem 0 .5rem;
  font-size: 1.0625rem;
}

.ecom-infos__fabricant {
  color: var(--encre-douce);
}

.ecom-infos__mentions {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.ecom-infos__mentions li {
  position: relative;
  padding-left: 1.25rem;
}

.ecom-infos__mentions li::before {
  content: "";
  position: absolute;
  top: .55em;
  left: .2rem;
  width: .45rem;
  height: .45rem;
  border: 1px solid currentColor;
}

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

.ecom-lignes {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--encre);
}

.ecom-ligne {
  padding: .75rem 0;
  border-bottom: 1px solid var(--trait);
}

.ecom-ligne:has(.ecom-ligne__nom) {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  grid-template-areas: "image nom nom" "image prix montant" "image quantite quantite" "image retirer retirer";
  align-items: center;
  gap: .375rem .875rem;
}

.ecom-ligne__image {
  grid-area: image;
  align-self: start;
  width: 4.5rem;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: .25rem;
  border: 1px solid var(--trait);
  background: var(--tirage);
  color: var(--tirage-encre);
  object-fit: contain;
}

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

.ecom-ligne__prix {
  grid-area: prix;
}

.ecom-ligne__quantite {
  grid-area: quantite;
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.ecom-ligne__montant {
  grid-area: montant;
  justify-self: end;
  font-family: var(--police-cotes);
  font-style: italic;
  font-weight: 700;
}

.ecom-ligne__retirer {
  grid-area: retirer;
  justify-self: start;
  min-height: 2.75rem;
}

.ecom-ligne__prix,
.ecom-ligne__montant {
  white-space: nowrap;
}

.ecom-quantite {
  min-width: 2.75rem;
  min-height: 2.75rem;
  border: 1px solid var(--encre);
  border-radius: 0;
  background: var(--carte);
  color: var(--encre);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.ecom-quantite:hover {
  background: var(--encre);
  color: var(--carte);
}

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

.ecom-quantite__valeur {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  min-height: 2.75rem;
  border-top: 1px solid var(--encre);
  border-bottom: 1px solid var(--encre);
  font-variant-numeric: tabular-nums;
}

.ecom-total {
  margin-top: 1rem;
  line-height: 1.8;
}

.ecom-total--final {
  font-weight: 700;
}

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

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

.ecom-commande__titre {
  margin-top: 2rem;
}

.ecom-commande__saisie > .ecom-commande__titre:first-child {
  margin-top: .5rem;
}

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

.ecom-formulaire__obligatoire,
.ecom-champ__aide {
  color: var(--encre-douce);
  font-size: .875rem;
}

.ecom-formulaire__groupe {
  min-width: 0;
  margin: 1rem 0 1.25rem;
  padding: 0 1rem 1rem;
  border: 1px solid var(--encre);
}

.ecom-formulaire__groupe legend {
  padding: .25rem .625rem;
  border: 1px solid var(--encre);
  background: var(--cartouche);
  color: var(--cartouche-encre);
  font-weight: 700;
}

.ecom-champ {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-top: .875rem;
}

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

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

.ecom-champ input[aria-invalid="true"] {
  border-color: var(--encre);
  outline: 2px solid var(--encre);
}

.ecom-champ--case {
  flex-direction: row;
  align-items: flex-start;
  gap: .75rem;
  padding: .75rem 1rem;
  border: 1px solid var(--encre);
  background: var(--cartouche);
  color: var(--cartouche-encre);
}

.ecom-champ--case input {
  flex: none;
  width: 1.375rem;
  height: 1.375rem;
  min-height: 0;
  margin: .05rem 0 0;
  accent-color: var(--encre);
  cursor: pointer;
}

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

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

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

.ecom-phrase {
  margin-top: 1.5rem;
  padding: 1rem;
  border: 1px solid var(--trait);
  background: var(--cartouche);
  color: var(--cartouche-encre);
}

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

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

.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(--encre-douce);
  font-size: .9375rem;
}

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

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

.ecom-avis__avis {
  padding: 1rem 0;
  border-top: 1px solid var(--trait);
}

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

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

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

.ecom-avis__plus {
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
}

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

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

.ecom-etoiles {
  position: relative;
  display: inline-block;
  color: var(--trait);
  line-height: 1;
  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(--encre);
}

.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 (min-width: 48em) {
  .ecom-lignes:has(.ecom-ligne__nom) {
    display: grid;
    grid-template-columns: 4.5rem minmax(0, 1fr) auto auto auto auto;
    column-gap: 1.25rem;
  }

  .ecom-lignes:has(.ecom-ligne__nom):not(:has(.ecom-ligne__retirer)) {
    grid-template-columns: 4.5rem minmax(0, 1fr) auto auto auto;
  }

  .ecom-lignes > .ecom-ligne {
    grid-column: 1 / -1;
  }

  .ecom-ligne:has(.ecom-ligne__nom) {
    grid-template-columns: subgrid;
    grid-template-areas: "image nom prix quantite montant retirer";
    gap: .5rem 1.25rem;
  }

  .ecom-ligne:has(.ecom-ligne__nom):not(:has(.ecom-ligne__retirer)) {
    grid-template-areas: "image nom prix quantite montant";
  }

  .ecom-ligne__prix {
    justify-self: end;
  }

  .ecom-ligne__image {
    align-self: center;
  }

  .ecom-champ {
    max-width: 32rem;
  }

  .ecom-champ--case {
    max-width: none;
  }

  .ecom-formulaire__groupe {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.25rem;
  }

  .ecom-formulaire__groupe .ecom-champ {
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    row-gap: .25rem;
    max-width: none;
  }

  .ecom-formulaire__groupe .ecom-champ label {
    grid-row: 1;
  }

  .ecom-formulaire__groupe .ecom-champ__aide {
    grid-row: 2;
  }

  .ecom-formulaire__groupe .ecom-champ input {
    grid-row: 3;
    align-self: end;
  }
}
