/* 1. RESET ET BASES (À rajouter pour bloquer les images géantes) */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  background: #121212;
  font-family: Arial, Helvetica, sans-serif;
}

/* Garde-fou universel pour les images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 2. MISE EN PAGE GLOBALE */
.landing-page {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* 3. BANNIÈRE DE TÊTE (Le bloc que tu ne voyais pas) */
.top-header {
  position: relative; /* Permet de positionner le texte par rapport à la bannière */
  width: 100%;
  overflow: hidden;
}

.lien-banniere {
  position: relative;
  display: block;
  width: 100%;
}

.header-banner {
  width: 100%;
  display: block;
  height: auto;
}

/* Le fameux slogan en code */
.slogan-header {
  position: absolute;
  bottom: 15px;      /* À 15 pixels du bas */
  right: 5%;         /* À 5% du bord droit */
  color: #f0ede9;    /* Ton joli gris clair/blanc cassé */
  font-family: 'Times New Roman', Times, serif; /* Ou ta police avec empattements */
  font-size: 2.2vw;  /* Taille dynamique : s'adapte à la largeur de l'écran ! */
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5); /* Petite ombre discrète pour décoller le texte du fond */
}

/* --- LE BONUS POUR LES MOBILES --- */
@media (max-width: 768px) {
  .slogan-header {
    position: relative; /* Repasse en dessous du logo sur petit écran */
    display: block;
    text-align: center;
    right: auto;
    bottom: auto;
    padding: 10px 0;
    font-size: 1.2rem; /* Taille fixe raisonnable sur téléphone */
    background-color: #790c17; /* Rappel de ton fond rouge foncé si besoin */
  }
}

/* 4. SECTION HERO (Le visuel groupe avec le bouton) */
.hero-section {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-image {
  width: 100%;
  height: auto;
}

/* 5. TON BOUTON CTA (VISITE A NOU) */
.cta-box {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(70%, 360px);
  background: #ffffff;
  border-radius: 34px;
  text-align: center;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  text-decoration: none;
}

.cta-box:hover {
  transform: translateX(-50%) scale(1.05);
}

.cta-title {
  color: #000;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1;
}

.cta-subtitle {
  color: #333;
  font-style: italic;
  font-family: serif;
}

/* 6. GRILLE DES FICHES PRODUITS */
.products-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px 20px;
}

.product-img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.1);
}

/* 7. FOOTER ET MENTIONS */
.site-footer {
  text-align: center;
  padding: 25px  20px 70px 20px;
  color: #666;
  font-size: 0.8rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .cta-box {
    width: 85%;
    bottom: 20px;
  }
}
/* --- AJOUTS POUR LA PAGE PRODUIT --- */

.produit-page {
  padding: 40px 20px;
  color: white;
}

.produit-detail {
  display: flex;
  flex-direction: row; /* Met l'image et le texte côte à côte */
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: flex-start;
}

.produit-visuel {
  flex: 1;
}

.infos-achat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.infos-achat h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.prix {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffffff;
}

.selecteur {
  margin: 20px 0;
}

.selecteur select {
  padding: 8px;
  border-radius: 5px;
  width: 100px;
  margin-left: 10px;
}

.btn-ajouter {
  background: white;
  color: black;
  border: none;
  padding: 15px;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  text-transform: uppercase;
  transition: 0.3s;
}

.btn-ajouter:hover {
  background: #ddd;
}

.navigation-bas {
  text-align: center;
  margin-top: 50px;
}

.btn-retour {
  color: #999;
  text-decoration: none;
}

/* Version mobile : on rempile l'un sur l'autre */
@media (max-width: 800px) {
  .produit-detail {
    flex-direction: column;
    align-items: center;
  }
}
/* Style pour le lien mail */
.note-specifique a {
    color: #ffffff; /* Blanc pur */
    text-decoration: underline; /* On garde le souligné pour qu'on sache que c'est un lien */
    font-weight: bold;
}

.note-specifique a:hover {
    color: #ff0000; /* Devient rouge au survol pour le style mBw */
}

.note-specifique {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ccc; /* Texte explicatif en gris clair */
}
/* --- LIENS CLIQUABLES SUR LES VISUELS COLLECTION --- */

.product-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.product-link:hover .product-img {
  transform: scale(1.01);
  transition: transform 0.2s ease;
}

/* --- FICHE VISUELLE NNTP — MODÈLE DE RÉFÉRENCE --- */
.nntp-sheet {
  width: 100%;
  overflow: hidden;
  background: #fbfaf8;
  color: #080808;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-link:hover .nntp-sheet {
  transform: scale(1.005);
  box-shadow: 0 14px 34px rgba(0,0,0,0.36);
}

.nntp-sheet figure,
.nntp-sheet h2 {
  margin: 0;
}

.nntp-title-band {
  min-height: 106px;
  padding: 0 clamp(22px, 4vw, 50px);
  display: grid;
  place-items: center;
  color: #88cbb8;
  background: #000;
  text-transform: uppercase;
}

.nntp-title-band h2 {
  width: 100%;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(17px, 2.7vw, 34px);
  font-weight: 500;
  letter-spacing: 0.13em;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
}

.nntp-title-band h2 span { font-weight: 600; }
.nntp-title-band h2 b { font-weight: 400; }

.nntp-product-views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 42px);
  padding: clamp(24px, 4vw, 50px) clamp(24px, 4vw, 56px) clamp(20px, 3vw, 34px);
}

.nntp-product-views figure {
  display: grid;
  place-items: center;
  min-width: 0;
}

.nntp-product-views img {
  width: 100%;
  height: clamp(320px, 38vw, 550px);
  object-fit: contain;
  filter: drop-shadow(0 12px 13px rgba(0,0,0,0.2));
}

.nntp-lifestyle-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.05fr);
  gap: 18px;
  padding: 0 18px 20px;
}

.nntp-lifestyle-grid figure {
  overflow: hidden;
  background: #eee9e5;
}

.nntp-portrait img { width: 100%; height: 100%; object-fit: cover; }
.nntp-right-column { display: grid; grid-template-rows: auto 1fr; gap: 18px; min-width: 0; }
.nntp-market { aspect-ratio: 16 / 8.95; }
.nntp-market img { width: 100%; height: 100%; object-fit: cover; }
.nntp-details-grid { display: grid; grid-template-columns: 1.22fr 0.78fr; gap: 18px; }
.nntp-details-grid figure { aspect-ratio: 1.28 / 1; }
.nntp-details-grid img { width: 100%; height: 100%; object-fit: cover; }
.nntp-motif-column { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.nntp-details-grid .nntp-motif { background: #fff; border: 2px solid #8c7b74; }
.nntp-details-grid .nntp-motif img { object-fit: contain; padding: 9%; }

.nntp-opening-offer {
  flex: 1;
  min-height: 64px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #88cbb8;
  background: #000;
  border: 2px solid #88cbb8;
  text-align: center;
  text-transform: uppercase;
}

.nntp-opening-offer span { font-size: clamp(8px, 0.85vw, 11px); font-weight: 500; letter-spacing: 0.12em; }
.nntp-opening-offer strong { margin-top: 4px; font-size: clamp(12px, 1.25vw, 16px); letter-spacing: 0.055em; line-height: 1.05; }
.nntp-feature-band { width: 100%; aspect-ratio: 1400 / 125; overflow: hidden; background: #000; }
.nntp-feature-band img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 760px) {
  .nntp-title-band { min-height: 82px; padding: 16px; }
  .nntp-title-band h2 { font-size: clamp(15px, 4.4vw, 24px); line-height: 1.35; text-align: center; white-space: normal; }
  .nntp-product-views { gap: 8px; padding-inline: 10px; }
  .nntp-product-views img { height: 47vw; }
  .nntp-lifestyle-grid { grid-template-columns: 1fr; padding-inline: 10px; gap: 10px; }
  .nntp-portrait { aspect-ratio: 3 / 4; }
  .nntp-right-column,
  .nntp-details-grid { gap: 10px; }
}

@media (max-width: 430px) {
  .nntp-details-grid { grid-template-columns: 1fr; }
  .nntp-opening-offer { min-height: 82px; }
  .nntp-opening-offer span { font-size: 10px; }
  .nntp-opening-offer strong { font-size: 16px; }
}

/* --- FICHE VISUELLE 5EL --- */
.el5-sheet {
  width: 100%;
  overflow: hidden;
  color: #111;
  background: #f4f3f0;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-link:hover .el5-sheet {
  transform: scale(1.005);
  box-shadow: 0 14px 34px rgba(0,0,0,0.36);
}

.el5-sheet figure,
.el5-sheet h2,
.el5-sheet p {
  margin: 0;
}

.el5-title-band {
  min-height: 106px;
  padding: 18px clamp(22px, 4vw, 50px);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: clamp(14px, 2vw, 28px);
  color: #f5f0eb;
  background: #000;
  text-transform: uppercase;
}

.el5-title-band p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(13px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.el5-title-band h2 {
  color: #88cbb8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(21px, 3.2vw, 40px);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

.el5-product-views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 4vw, 54px);
  padding: clamp(26px, 4vw, 52px);
  background:
    radial-gradient(circle at 50% 42%, rgba(136,203,184,0.12), transparent 43%),
    #f4f3f0;
}

.el5-product-views figure {
  display: grid;
  place-items: center;
  min-width: 0;
}

.el5-product-views img {
  width: 100%;
  height: clamp(350px, 48vw, 680px);
  object-fit: contain;
  filter: drop-shadow(0 13px 14px rgba(0,0,0,0.2));
}

.el5-lifestyle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 0 12px 12px;
  background: #f4f3f0;
}

.el5-lifestyle-grid figure {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #d7d7d7;
}

.el5-lifestyle-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.el5-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.75fr);
  gap: 12px;
  padding: 0 12px 12px;
  background: #f4f3f0;
}

.el5-detail-grid figure {
  min-width: 0;
  height: clamp(270px, 34vw, 470px);
  overflow: hidden;
  background: #d7d7d7;
}

.el5-detail-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.el5-motif-detail img {
  object-position: center;
}

.el5-neck-detail img {
  object-position: center 32%;
}

.el5-opening-offer {
  min-height: 92px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 26px);
  color: #88cbb8;
  background: #000;
  border-top: 2px solid #88cbb8;
  text-align: center;
  text-transform: uppercase;
}

.el5-opening-offer span {
  font-size: clamp(11px, 1.25vw, 16px);
  font-weight: 500;
  letter-spacing: 0.14em;
}

.el5-opening-offer strong {
  font-size: clamp(16px, 2vw, 25px);
  letter-spacing: 0.065em;
  line-height: 1.1;
}

@media (max-width: 760px) {
  .el5-title-band {
    min-height: 82px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
  }

  .el5-product-views {
    gap: 8px;
    padding: 22px 10px;
  }

  .el5-product-views img {
    height: 58vw;
  }

  .el5-lifestyle-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 10px 10px;
  }

  .el5-detail-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 10px 10px;
  }

  .el5-detail-grid figure {
    height: auto;
  }

  .el5-detail-grid img {
    height: auto;
    object-fit: contain;
  }

  .el5-opening-offer {
    flex-direction: column;
    gap: 6px;
  }
}
/* --- PAGE PANIER --- */

.panier-page {
  padding: 40px 20px;
  color: white;
  max-width: 1000px;
  margin: 0 auto;
}

.panier-page h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
}

.panier-contenu {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.panier-item {
  display: flex;
  gap: 25px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 20px;
  align-items: center;
}

.panier-img {
  width: 180px;
  border-radius: 10px;
}

.panier-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.panier-info h2 {
  font-size: 1.4rem;
}

.panier-total {
  margin-top: 35px;
  text-align: right;
  font-size: 1.5rem;
  font-weight: bold;
}

.panier-actions {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-secondaire,
.btn-supprimer {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 12px 18px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
}

.btn-secondaire:hover,
.btn-supprimer:hover {
  background: rgba(255,255,255,0.15);
}

.panier-vide {
  text-align: center;
  color: #ccc;
  font-size: 1.1rem;
  padding: 40px 0;
}

@media (max-width: 700px) {
  .panier-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .panier-img {
    width: 100%;
  }

  .panier-total,
  .panier-actions {
    text-align: center;
    justify-content: center;
  }
}
.lien-panier {
  color: white;
  text-align: center;
  text-decoration: underline;
  font-weight: bold;
  margin-top: 10px;
}

.lien-panier:hover {
  color: #ff0000;
}
.lien-continuer {
  display: inline-block;
  text-decoration: none;
  text-align: center;
}
/* --- PAGE COMMANDE PROPRE --- */

.commande-page {
  padding: 40px 20px;
  color: #ffffff;
  max-width: 1100px;
  margin: 0 auto;
}

.commande-page h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #ffffff;
}

.info-lancement {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 30px;
  color: #ffffff;
  line-height: 1.5;
}

.commande-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
  margin-bottom: 35px;
}

.commande-colonne-gauche,
.commande-colonne-droite {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 22px;
}

.commande-colonne-gauche h2,
.commande-colonne-droite h2 {
  color: #ffffff;
  margin-bottom: 18px;
}

.recap-commande-compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.commande-ligne {
  display: grid;
  grid-template-columns: 110px 1fr 110px 110px;
  gap: 15px;
  align-items: center;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 14px;
  padding: 14px;
}

.commande-ligne-img {
  width: 110px;
  border-radius: 10px;
}

.commande-ligne-info h3 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.commande-ligne-info p {
  color: #dddddd;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.commande-quantite {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(0,0,0,0.35);
}

.commande-quantite button {
  width: 34px;
  height: 36px;
  border: none;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
}

.commande-quantite button:hover {
  background: rgba(255,255,255,0.25);
}

.commande-quantite span {
  width: 36px;
  text-align: center;
  color: #ffffff;
  font-weight: bold;
}

.commande-sous-total {
  text-align: right;
  color: #ffffff;
  font-weight: bold;
}

.ligne-recap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding: 14px 0;
}

.ligne-recap span {
  color: #dddddd;
}

.ligne-recap strong {
  color: #ffffff;
  text-align: right;
}

.mini-disclaimer {
  color: #d0d0d0;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: 18px;
}

/* --- FORMULAIRE COMMANDE --- */

.form-commande {
  display: flex;
  flex-direction: column;
  gap: 10px;

  max-width: 760px;
  margin: 30px auto 0 auto;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 24px;
}

.form-commande h2 {
  color: #ffffff;
  margin-bottom: 12px;
}

.form-commande label {
  display: block;
  color: #ffffff;
  font-weight: bold;
  margin-top: 6px;
}

.form-commande input,
.form-commande textarea {
  display: block;
  width: 100%;
  max-width: 100%;

  padding: 12px;
  border-radius: 8px;
  border: none;

  background: #ffffff;
  color: #111111;

  font-size: 1rem;
  font-family: Arial, Helvetica, sans-serif;
}

.form-commande input {
  height: 44px;
}

.form-commande textarea {
  min-height: 90px;
  resize: vertical;
}

.form-commande input::placeholder,
.form-commande textarea::placeholder {
  color: #666666;
}

.bloc-rappel-confidentialite {
  margin: 15px 0;
  padding: 15px;
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: #dddddd;
  font-size: 0.9rem;
  line-height: 1.5;
}

.bloc-rappel-confidentialite p {
  color: #dddddd;
}

/* --- BOUTON FINAL COMMANDE --- */

.form-commande .btn-commande-finale {
  width: 100%;
  margin-top: 10px;

  background: #8b1018;
  color: #ffffff;
  border: 2px solid #b91c2a;

  padding: 15px;
  border-radius: 30px;

  font-weight: 900;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
}

.form-commande .btn-commande-finale:hover {
  background: #ffffff;
  color: #8b1018;
  border-color: #8b1018;
}

/* --- RESPONSIVE COMMANDE --- */

@media (max-width: 900px) {
  .commande-layout {
    grid-template-columns: 1fr;
  }

  .commande-ligne {
    grid-template-columns: 90px 1fr;
  }

  .commande-ligne-img {
    width: 90px;
  }

  .commande-quantite {
    grid-column: 2;
    justify-self: start;
  }

  .commande-sous-total {
    grid-column: 2;
    text-align: left;
  }
}
/* --- MINI NAV COLLECTION --- */

.mini-nav {
  display: flex;
  justify-content: flex-end;
  padding: 15px 20px 0 20px;
}

.mini-nav .btn-secondaire {
  text-decoration: none;
}
/* --- STYLES DES LIENS ET DE LA FENÊTRE LÉGALE --- */
.lien-legal {
  color: #666;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease;
}

.lien-legal:hover {
  color: #ffffff;
}

/* Structure de la fenêtre cachée */
.modale-legal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9999;
}

/* Déclenchement au clic sur le lien grâce au # target HTML */
.modale-legal:target {
  opacity: 1;
  pointer-events: auto;
}

/* La boîte de texte blanche au milieu de l'écran noir */
.contenu-modale {
  background: #1e1e1e;
  color: #ffffff;
  padding: 30px;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.contenu-modale h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #ffffff;
}

.contenu-modale h3 {
  font-size: 1.1rem;
  margin-top: 15px;
  margin-bottom: 5px;
  color: #dddddd;
}

.contenu-modale p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #b3b3b3;
}

.contenu-modale hr {
  border: 0;
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin-bottom: 15px;
}

/* Le bouton pour fermer la fenêtre */
.fermer-modale {
  float: right;
  color: #ff0000;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 10px;
  border-radius: 20px;
}

.fermer-modale:hover {
  background: #ff0000;
  color: #ffffff;
}
.modale-legal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  overflow-y: auto;
}

.modale-legal:target {
  display: block;
}

.contenu-modale {
  background: white;
  margin: 5% auto;
  padding: 20px;
  width: 80%;
  max-width: 800px;
  position: relative;
}

.fermer-modale {
  float: right;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
/* Container de la page - Style Document */
.recap-paiement {
  max-width: 800px;
  margin: 50px auto;
  padding: 60px;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  font-family: Arial, sans-serif; /* Police standard et lisible */
  line-height: 1.6;
}

/* Titres propres et alignés à gauche */
.recap-paiement h1,
.recap-paiement h2 {
  text-align: left;
  border-bottom: 2px solid #333;
  padding-bottom: 10px;
  margin-bottom: 30px;
  color: #000;
  font-size: 1.5rem;
}

/* Sections aérées */
.block-client,
.block-panier,
.block-paiement {
  background: #fcfcfc;
  border: 1px solid #eee;
  padding: 25px;
  margin-bottom: 30px;
}

/* Tableau épuré sans bordures latérales */
.table-commande {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.table-commande th {
  border-bottom: 2px solid #333;
  text-align: left;
  padding: 10px;
}

.table-commande td {
  padding: 15px 10px;
  border-bottom: 1px solid #eee;
}

/* Total mis en évidence */
.total-recap {
  text-align: right;
  font-size: 1.4rem;
  color: #000;
  font-weight: bold;
  margin-top: 20px;
}
/* Bouton flottant de fermeture des annexes */
.bouton-fermer {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1000;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: #8b2f2f;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.bouton-fermer:hover {
    background: #6f2525;
}

/* Cache le bouton en cas d’impression */
@media print {
    .bouton-fermer {
        display: none;
    }
}
[hidden] {
  display: none !important;
}
/* --- INTRO COLLECTION --- */
.collection-intro {
  max-width: 900px;
  margin: 28px auto 24px;
  padding: 0 20px;
  text-align: center;
  color: #ccc;
}

.collection-intro h1 {
  margin: 0 0 8px;
  font-size: 1.6rem;
  font-weight: 600;
  color: #f5f0eb;
}

.collection-intro p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}