/* =========================================================
   VARIABLES – CUSTOMISATION RAPIDE
   ========================================================= */

:root {
  --lists-width: 600px;

  --top-font-size: 13px;
  --bottom-font-size: 13px;

  --bottom-height: 300px;
  --padding-block: 1rem;

  --bottom-bg: #FFFFFF;
  --title-bg: #FAFAFA;
  --title-color: #000;
  --border-color: #d4b89f;
}


/* =========================================================
   STRUCTURE GÉNÉRALE
   ========================================================= */

.lists-page {
  display: flex;
  justify-content: center;
  padding: 80px 0;
}

.lists-wrapper {
  width: var(--lists-width);
  display: flex;
  flex-direction: column;
  gap: 0; /* continuité visuelle */
}
.lists-wrapper a{
  text-decoration: none;
  color: #000;
}
.lists-wrapper a:hover{
  color: #808080;
}
.lists-wrapper span{
  text-decoration: none;
  color: #808080;
}


/* =========================================================
   LISTE TOP (ENCADRÉE, SANS SCROLL)
   ========================================================= */

.list-top {
position: relative;
  background: ;
  overflow: hidden;
  margin-bottom: 50px; /* ← ajuste ici (12px, 20px, etc.) */
}

/* Titre top */
.list-top .list-title {
  text-align: right;
  font-family: "Special Elite", cursive;
  font-size: 13px;
  padding: 5px 10px;
  background: ;
  color: var(--title-color);
  border-bottom: 1px solid rgba(0,0,0,0.25);
}

/* Contenu */
.list-top .list-items {
  list-style: none;
  margin: 0;
  padding: var(--padding-block);
  border-left: 1px solid rgba(0,0,0,0.25);
}
.list-top .list-items span{
  text-decoration: none;
  color: #FA4500;
}

.list-top .list-items li {
  font-family: "Cutive Mono", monospace;
  font-size: 14px;
  line-height: 1.6;
  padding: 2px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.list-top .list-items {
  font-weight: bold;
  padding-right: 80px;
}
/* petite image décorative */
.list-corner-img {
  position: absolute;
  top: 28px;      /* ajuste pour tomber au niveau du premier li */
  right: 0px;
  width: 60px;    /* taille */
  height: auto;
  pointer-events: none; /* évite d’interférer avec les liens */
}
/* =========================================================
   COMMANDE
   ========================================================= */
.text-prix {
  font-family: "Cutive Mono", monospace;
  color: var(--title-color);
  padding: 0px 30px; 
}
.visuels-commande {
  font-family: "Cutive Mono", monospace;
  font-size: 15px;
  font-weight: bold;
  color: var(--title-color);
  padding: 50px 30px;
  text-align: center;
}
.item-line {
  font-family: "Cutive Mono", monospace;
  letter-spacing: 0.02em;
}

/* Titre */
.title {
  font-size: 15px;
  font-weight: 600;
}
/* Papier */
.paper {
  font-style: italic;
  font-size: 11px;
  opacity: 0.8;
}

/* Dimensions */
.size {
  font-style: italic;
  font-size: 12px;
  opacity: 0.8;
}

/* Séparateur */
.sep {
  margin: 0 ;
  color: rgba(0,0,0,0.35);
  font-weight: 300;
}

/* Prix */
.price {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* =========================================================
   LISTE BOTTOM (SCROLLABLE)
   ========================================================= */

.list-bottom {
  background: var(--bottom-bg);
  overflow: hidden;  
  margin: 0 auto;
}

/* Titre bottom */
.list-bottom .list-title {
  text-align: right;
  font-family: "Special Elite", cursive;
  font-size: 12px;
  padding: 5px 10px;
  background: ;
  color: var(--title-color);
  border-bottom: 1px solid rgba(0,0,0,0.25);
  font-style: italic;
}

/* Zone scrollable */
.list-bottom .list-items {
  height: var(--bottom-height);
  overflow-y: auto;
  padding: 10px;
  margin: 0;
  list-style: none;
  border-left: 1px solid rgba(0,0,0,0.25);
   position: relative;
}
.list-bottom .list-items::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px; /* hauteur du fondu */
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.85) 100%
  );
}


.list-bottom .list-items li {
  font-family: "Cutive Mono", monospace;
  font-size: var(--bottom-font-size);
  padding: 3px 0;
  letter-spacing: -0.05em;

}



/* =========================================================
   SCROLLBAR DISCRÈTE
   ========================================================= */

.list-bottom .list-items {
  scrollbar-width: thin;
  scrollbar-color: #000 transparent;
}

.list-bottom .list-items::-webkit-scrollbar {
  width: 6px;
}

.list-bottom .list-items::-webkit-scrollbar-thumb {
  background: #000;
  border-radius: 4px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 600px) {
  :root {
    --lists-width: 90%;
    --bottom-height: 220px;
  }

  .lists-page {
    padding: 40px 0;
  }
}

