body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: Calibri, sans-serif;
}


/* =================================== */
/* NAV : STYLES DE BASE (Desktop)      */
/* =================================== */

.main-header {
    display: flex;
    background-color: white;
    justify-content: space-between;
    align-items: center;
    padding: 10px 70px; /* Padding pour desktop */
    position: sticky;
    top: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.logo-img {
    height: 75px;
    display: block;
}

/* Wrapper pour le menu et les actions */
.nav-container {
    display: flex;
    align-items: center;
    gap: 100px; /* Espacement principal entre le menu et les actions */
}

.menu {
    display: flex;
    gap: 50px; /* Espacement réduit entre les liens du menu */
    font-size: 20px;
    font-weight: bold;
}

.menu a {
    text-decoration: none;
    color: black;
    transition: transform 0.2s ease;
    display: inline-block;
}

.menu a:hover {
    transform: scale(1.1);
}

.actions {
    display: flex;
    align-items: center; /* S'assure que les icônes sont alignées */
    gap: 20px;
}

.btn i {
    margin-right: 5px;
}

.actions .btn {
    padding: 5px 10px;
    text-decoration: none;
    color: black;
    font-size: 24px;
}

/* Bouton burger : caché sur desktop */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: black;
    cursor: pointer;
    z-index: 1001; /* Doit être au-dessus du menu mobile */
}

/* Classe utilitaire pour bloquer le scroll */
.no-scroll {
    overflow: hidden;
}

/* =================================== */
/* NAV : DROPDOWN "COMPTE" (Desktop)   */
/* =================================== */

.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-trigger {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 135%;
  left: 50%;
  transform: translate(-50%, -10px);
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  width: 240px;
  padding: 15px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 5;
}

/* Flèche sur le dropdown */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -35px;
  left: 49.3%;
  transform: translateX(-50%);
  border-width: 20px;
  border-style: solid;
  border-color: transparent transparent White transparent;
}

/* Affichage au survol */
.dropdown-container:hover .dropdown-menu {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/* Contenu du Dropdown (Connexion, Liste, etc.) */
.dropdown-menu .auth-actions {
    text-align: center;
    margin-bottom: 10px;
}

.dropdown-menu .auth-actions .connect {
    font-weight: bold;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
    text-decoration: none;
    color: black;
    transition: color 0.2s ease;
}

.dropdown-menu .auth-actions .register {
    font-size: 14px;
    color: #777;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dropdown-menu .auth-actions .connect:hover,
.dropdown-menu .auth-actions .register:hover {
    color: #FABC2A; /* Couleur de survol personnalisée */
}

.dropdown-menu hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 12px 0;
}

.dropdown-menu ul {
    list-style: none; /* <-- Retire les puces */
    padding: 0;
    margin: 10px 0 0;
}

.dropdown-menu ul li {
    margin: 0;
}

.dropdown-menu ul li a {
    text-decoration: none; /* <-- Retire le soulignement */
    color: #333;
    font-size: 15px;
    display: block;
    padding: 10px 12px;
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu ul li a:hover {
    background-color: #f5f5f5;
    color: #000;
}


/* =================================== */
/* STYLES RESPONSIVE (Mobile)          */
/* =================================== */

@media (max-width: 992px) { /* Breakpoint pour tablettes et mobiles */
    
    .main-header {
        padding: 10px 20px; /* Padding réduit sur mobile */
    }

    /* Affiche le bouton burger */
    .menu-toggle {
        display: block;
    }

    /* Cache le conteneur de navigation par défaut */
    .nav-container {
        position: fixed;
        top: 0;
        left: -100%; /* Caché hors de l'écran */
        width: 100%;
        height: 100vh; /* 100% de la hauteur de l'écran */
        
        /* Réorganise les éléments verticalement */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        
        background-color: white;
        gap: 60px; /* Espace entre le bloc menu et le bloc actions */
        
        transition: left 0.3s ease-in-out;
        z-index: 1000; /* En dessous du bouton burger */
        
        /* Important : display: flex pour être visible lors de l'activation */
        display: flex; 
    }

    /* Le JS ajoute cette classe pour faire apparaître le menu */
    .nav-container.active {
        left: 0;
    }

    /* Réorganise les liens du menu en colonne */
    .menu {
        flex-direction: column;
        gap: 30px;
        font-size: 24px; /* Texte plus grand pour le mobile */
        text-align: center;
    }

    /* Espace les icônes d'actions */
    .actions {
        gap: 40px;
    }
    .actions .btn {
        font-size: 28px; /* Icônes plus grandes */
    }

    /* Sur mobile, le hover n'existe pas. */
    /* On cache le dropdown complexe au profit d'un simple clic sur l'icône */
    .dropdown-menu {
        display: none;
    }

    /* Désactive le hover sur desktop pour le mobile */
    .dropdown-container:hover .dropdown-menu {
        opacity: 0;
        pointer-events: none;
    }
}
/*footer*/

.pied-de-page {
  background-color: white;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 0px 15px rgba(0, 0, 0, 0.25);
  color: #000;
}

.contenu-footer {
  max-width: 1000px;
  margin: 0 auto;
}

.pied-de-page p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #000;
}

.lien-contact {
  color: #F05365;
  font-weight: bold;
  transition: transform 0.2s ease-in-out;
  display: inline-block;
  text-decoration: none;
}

.lien-contact:hover {
  transform: scale(1.05);
}

.liens-footer {
  margin: 20px 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.liens-footer a {
  color: #000;
  text-decoration: none;
  transition: transform color 0.2s ease-in-out;
}

.liens-footer a:hover {
  color: #F05365;
  transform: scale(1.1);
}

.reseaux-footer {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.reseaux-footer a {
  color: #000;
  font-size: 20px;
  transition: transform 0.2s ease-in-out, color 0.2s;
}

.reseaux-footer a:hover {
  color: #F05365;
  transform: scale(1.2);
}

/* Responsive Footer */

@media (max-width: 1500px) {
  .contenu-footer {
    max-width: 900px;
  }

  .liens-footer {
    gap: 20px;
  }
}

@media (max-width: 1200px) {
  .contenu-footer {
    max-width: 800px;
  }

  .pied-de-page p {
    font-size: 16px;
  }

  .liens-footer {
    gap: 16px;
    font-size: 15px;
  }

  .reseaux-footer a {
    font-size: 18px;
  }
}

@media (max-width: 1000px) {
  .contenu-footer {
    padding: 0 20px;
  }

  .pied-de-page {
    padding: 30px 15px;
  }

  .liens-footer {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .reseaux-footer {
    flex-direction: row;
    gap: 16px;
    margin-top: 16px;
  }

  .reseaux-footer a {
    font-size: 18px;
  }
}


/* Accueil */
.accueil-hero {
    padding: 40px 80px;
    max-width: 80%;
    margin: auto;
    background: transparent;
}

/* Image principale */
.accueil-img1 {
    text-align: center;
    margin-bottom: 60px;
}

.accueil-img1 img {
    max-width: 65%;
    height: auto;
    border-radius: 0;
}

/* --- Bloc Texte/Image --- */
.image-texte-bloc {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: transparent;
}

.image-texte-bloc2 {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    background: transparent;
    flex-direction: row-reverse;
}

/* Image */
.bloc-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 0;
}

/* Texte */
.bloc-texte {
    flex: 1;
}

.bloc-texte2 {
    flex: 1;
    /* Mieux pour les listes et la lecture */
    text-align: left; 
}

/* Titres */
.bloc-texte h2, .bloc-texte2 h2 {
    font-size: 30px; /* Augmenté pour plus d'impact */
    margin-bottom: 12px;
    color: #D62828; /* Couleur vive pour le titre */
    text-transform: uppercase;
    border-bottom: 2px solid #D62828; /* Ligne de séparation sous le titre */
    padding-bottom: 5px;
    line-height: 1.2;
}

/* Paragraphes */
.bloc-texte p, .bloc-texte2 p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px; /* Ajout d'un espacement sous les paragraphes */
}

/* --- Nouveaux Styles pour les listes (UL/OL) et le Gras (Strong) --- */

/* Gras (Strong) */
.bloc-texte strong, .bloc-texte2 strong {
    /* Rendre le gras plus visible */
    font-weight: 700;
    color: #000;
}

/* Listes (UL et OL) */
.bloc-texte ul, .bloc-texte2 ul,
.bloc-texte ol, .bloc-texte2 ol {
    /* Réinitialiser l'espacement pour une meilleure intégration */
    margin: 15px 0 25px 20px;
    padding: 0;
}

/* Éléments de liste */
.bloc-texte li, .bloc-texte2 li {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 8px;
}

/* Liste à puces (UL) - Style des puces */
.bloc-texte ul li, .bloc-texte2 ul li {
    list-style-type: '👉 '; /* Puce personnalisée (ou circle, square, disc) */
    padding-left: 5px;
}

/* Liste numérotée (OL) - Style des numéros */
.bloc-texte ol li, .bloc-texte2 ol li {
    list-style-type: decimal;
    font-weight: normal; 
}
/* Mettre seulement le numéro en gras (pour les étapes) */
.bloc-texte ol li strong, .bloc-texte2 ol li strong {
    font-weight: 700;
}


/* Style spécifique pour le dernier paragraphe (accroche) */
.bloc-texte p:last-child, .bloc-texte2 p:last-child {
    font-style: italic;
}


/* Responsive */
@media (max-width: 1000px) {
    .accueil-hero {
        padding: 20px 20px; /* Moins de padding sur mobile */
        max-width: 100%;
    }
    
    .accueil-img1 img {
        max-width: 100%;
        height: auto;
        border-radius: 0;
    }

    .image-texte-bloc, .image-texte-bloc2 {
        flex-direction: column;
        text-align: center; /* Centrer tout le texte pour la version mobile */
        gap: 20px;
    }

    /* Corriger l'inversion pour que l'image soit toujours en haut sur mobile */
    .image-texte-bloc2 {
        flex-direction: column;
    }

    .bloc-texte, .bloc-texte2 {
        padding: 0;
        text-align: center !important; /* Force le centrage du texte */
    }

    .bloc-texte ul, .bloc-texte2 ul,
    .bloc-texte ol, .bloc-texte2 ol {
        /* Recentrer les listes sur mobile */
        margin-left: auto;
        margin-right: auto;
        max-width: 80%;
        text-align: left;
    }

    .bloc-image img {
        max-width: 60%; /* Rendre l'image un peu plus petite sur mobile */
    }

    .bloc-texte h2, .bloc-texte2 h2 {
        font-size: 24px;
    }
}

/*catalogue*/
.titre_catalogue{
    padding:30px 0px 20px 0px;
    text-align: center;
}
.product-grid {
    display: grid;
    padding: 0px 130px;
    /* Changez 0.5fr en 1fr ici */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 30px 30px 70px 30px;
    /* (Optionnel, mais bon à avoir) Centre les colonnes si elles ne remplissent pas tout */
    justify-content: center; 
}


.product-card {
    text-align: center;
    font-family: 'Arial', sans-serif;
    position: relative;
    max-width: 500px;
    height: auto;
}


.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* carré parfait */
    background: #f3f3f3;
    overflow: hidden;
    border-radius: 12px;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 100%;
    width: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}


.badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 12px;
    z-index: 2;
}


.product-title {
    font-size: 14px;
    text-transform: uppercase;
    margin: 10px 0 0;
}

.product-price {
    font-weight: bold;
    font-size: 14px;
    margin-top: 5px;
}

.product-card {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
    position: relative;
    border-radius: 12px;
    transition: transform 0.2s ease;
    
}

.product-card:hover {
    transform: scale(1.02);
}

/*produits*/
.fiche-produit .container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 130px;
}

.fiche-produit-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

.product-title2 {
    font-size: 48px;
    text-transform: uppercase;
    margin: 10px 0 0;
}

.product-price2 {
    font-weight: bold;
    font-size: 32px;
    margin-top: 5px;
}

.fiche-image {
    flex: 1 1 400px;
    position: relative;
    background: #f3f3f3;
    border-radius: 12px;
    overflow: hidden;
}

.fiche-image img {
    width: 100%;
    height: auto;
    display: block;
}

.fiche-details {
    flex: 1 1 400px;
}

.product-description {
    font-size: 24px;
    line-height: 1.6;
    margin: 20px 0;
}

.add-to-cart-form {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.add-to-cart-form input[type="number"] {
    width: 100px;
    padding: 6px;
    font-size: 16px;
    border-radius: 10px;
}

.add-to-cart-btn {
    background-color: black;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    width: fit-content;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}


.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    color: black;
    border: 2px solid black;
    padding: 10px 16px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.2s;
}

.share-btn:hover {
    background-color: black;
    color: white;
}

.share-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
}

.catalogue-filtres {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap; /* ❗ force tous les éléments sur une ligne */
    align-items: center;
    margin: 30px auto;
    padding: 20px 130px;
    box-sizing: border-box;
    width: 90%;
}


.catalogue-filtres input[type="text"],
.catalogue-filtres button {
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 100px;
    border: 2px solid #000;
    background: white;
    outline: none;
    transition: all 0.2s ease-in-out;
    width: 90%;
}

.catalogue-filtres select{
    font-size: 16px;
    padding: 12px 20px;
    border-radius: 100px;
    border: 2px solid #000;
    background: white;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.catalogue-filtres input[type="text"]:focus,
.catalogue-filtres select:focus {
    border-color: #f05365;
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

.catalogue-filtres button {
    background-color: #f05365;
    color: white;
    cursor: pointer;
}

.catalogue-filtres button:hover {
    background-color: #ca4554;
}

.recherche {
    flex: 0 0 70%;
    display: flex;
    align-items: center;
}

.recherche input[type="text"] {
    width: 100%;
}

.filtres-droite {
    flex: 0 0 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.recherche2 {
    flex: 1;
    display: flex;
}

.recherche2 select,
.recherche2 button {
    width: 100%;
}

/*======================*/

.fiche-produit-wrapper {
    display: flex;
    flex-wrap: nowrap; /* ❗ C'est cette règle qui pose problème */
    gap: 40px;
    align-items: flex-start;
    justify-content: space-between;
}


.fiche-image-gallery {
    display: flex;
    flex-direction: row; /* Miniatures à gauche, image principale à droite */
    gap: 20px;
    flex: 0 0 60%;
    max-width: 70%;
    align-items: flex-start;
}



.thumbnails {
    display: flex;
    flex-direction: column; /* Miniatures empilées verticalement */
    gap: 12px;
    flex-shrink: 0;
    max-height: 500px;
    overflow-y: auto;
}

.main-image-wrapper {
    position: relative;
    flex: 1;
    background: #f3f3f3;
    border-radius: 12px;
    overflow: hidden;
    max-width: 100%;
}

.main-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}


.fiche-details {
    flex: 0 0 40%;
    max-width: 30%;
}


.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.8);
    border: none;
    font-size: 16px;
    padding: 4px 11px 6px 11px;
    cursor: pointer;
    border-radius: 100px;
    z-index: 1;
    transition: background 0.3s;
}
.nav-btn:hover {
    background: black;
    color: white;
}
.nav-btn.leftcar {
    left: 10px;
}
.nav-btn.rightcar {
    right: 10px;
}

.thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s;
}
.thumbnails img.active {
    border: 2px solid black;
}


/* =================================== */
/* STYLES RESPONSIVE (Mobile)          */
/* =================================== */

/* On utilise 900px pour correspondre au breakpoint de la navigation */
@media (max-width: 900px) {

    /* --- Page Catalogue --- */

    .product-grid {
        /* Réduction du padding et de la marge pour les mobiles */
        padding: 0 20px;
        margin: 30px 0 70px 0;
        gap: 15px; /* Espace réduit entre les cartes */
    }

    .catalogue-filtres {
        flex-direction: column; /* Empile la recherche et les filtres */
        flex-wrap: wrap;
        padding: 20px;
        width: auto;
        margin: 20px;
        gap: 15px;
    }

    .recherche,
    .filtres-droite {
        flex-basis: auto; /* Annule le flex-basis de 70% et 30% */
        width: 100%;
    }
    
    .filtres-droite {
        flex-direction: column; /* Empile le tri et le bouton */
    }

    .recherche2 {
        flex-direction: column; /* Empile le select et le bouton */
        gap: 10px;
    }
    
    /* Force les inputs/selects/boutons à prendre 100% de leur conteneur */
    .catalogue-filtres input[type="text"],
    .catalogue-filtres select,
    .catalogue-filtres button {
        width: 100%;
    }

    /* --- Page Fiche Produit --- */

    .fiche-produit .container {
        padding: 0 20px; /* Réduit le padding de la page */
        margin: 20px auto;
    }

    .fiche-produit-wrapper {
        flex-direction: column; /* Empile la galerie et les détails */
        flex-wrap: wrap; /* Annule le 'nowrap' */
        gap: 30px;
    }

    .fiche-image-gallery {
        flex-direction: column; /* Empile l'image principale et les miniatures */
        flex-basis: auto;
        max-width: 100%;
        gap: 15px;
    }

    .thumbnails {
        flex-direction: row; /* Les miniatures deviennent horizontales */
        order: 2; /* Place les miniatures *sous* l'image principale */
        overflow-x: auto; /* Permet de scroller horizontalement */
        overflow-y: hidden;
        max-height: none; /* Annule la hauteur max */
    }
    
    .thumbnails img {
        width: 60px; /* Légère réduction de la taille des miniatures */
        height: 60px;
    }

    .main-image-wrapper {
        order: 1; /* Place l'image principale en haut */
    }
    
    .fiche-details {
        flex-basis: auto; /* Annule les flex-basis/max-width */
        max-width: 100%;
        width: 100%;
    }

    /* Réduction des polices pour le mobile */
    .product-title2 {
        font-size: 28px;
    }

    .product-price2 {
        font-size: 24px;
    }

    .product-description {
        font-size: 16px;
    }
}



/* === Panier === */
.main-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  padding: 60px 5%;
}

.left, .right {
  background: white;
  padding: 30px;
  border-radius: 10px;
}

.left {
  flex: 3;
}

.right {
  flex: 1.5;
}

.product-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.product-line img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 10px;
}

.product-info {
  flex-grow: 1;
  margin-left: 10px;
}

.product-name {
  font-weight: bold;
}

.btn-paiement {
  background: #f05365;
  color: white;
  padding: 14px;
  width: 100%;
  border: none;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
}

.btn-paiement:hover {
  background-color: #bd3d4f;
}

.empty-state {
  text-align: center;
  margin-top: 120px;
}

.empty-state i {
  font-size: 60px;
  color: #bbb;
}

.btn-panier {
  padding: 12px;
  display: block;
  margin: 10px auto;
  width: 250px;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}

.btn-login {
  background: #f05365;
  color: white;
}

.btn-signup {
  border: 1px solid black;
  color: black;
  background: none;
}


.btn-compte {
  padding: 12px;
  display: block;
  margin: 10px auto;
  width: 250px;
  text-align: center;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
}




.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 2px solid #f05365;
    border-radius: 999px;
    padding: 3px 10px;
    background: white;
    margin-left: 30px;
}

.quantity-control button {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: black;
}

.quantity-control span {
  font-weight: bold;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Style pour la case CGV ajoutée */
.cgv-validation {
    display: flex;
    align-items: center;
    margin: 20px 0;
    font-size: 14px;
}
.cgv-validation label {
    display: flex;
    align-items: center;
}
.cgv-validation input[type="checkbox"] {
    margin-right: 8px;
}
.cgv-validation a {
    color: #f05365;
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
}
/* S'assurer que le bouton désactivé a un style visuellement désactivé */
.btn-paiement:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.7;
}
/* Style pour aligner les boutons de contrôle */
.quantity-control {
    margin-left: 20px; /* Ajoute un peu d'espace */
    gap: 5px !important; /* Resserre les éléments à l'intérieur du contrôle */
}

/* =================================== */
/* STYLES RESPONSIVE (Mobile)          */
/* =================================== */
@media (max-width: 900px) {
    
    /* ... (vos autres styles mobiles : .main-container, .left, .right, etc.) ... */

    /* AJOUTS POUR CORRIGER LE BUG DU PANIER */

    .product-line {
        flex-wrap: wrap;
        row-gap: 15px; /* Garde l'espace vertical */
        
        /* On change 'space-between' pour 'flex-start'.
           Cela empêche les éléments de la première ligne
           de s'écarter bizarrement.
        */
        justify-content: flex-start;
        column-gap: 10px; /* Ajoute un petit espace entre l'image et l'info */
    }

    /* On force le contrôle de quantité à prendre 100% de la largeur */
    .quantity-control {
        flex-basis: 100%; /* <-- Force le passage à la ligne */
        justify-content: center; /* <-- Centre les boutons (+ 2 -) */
        margin-left: 0; /* Annule la marge de la version PC */
    }
    
    /* Empile les colonnes gauche (panier) et droite (résumé) */
    .main-container {
        flex-direction: column;
        padding: 20px 5%; /* Padding vertical réduit */
        gap: 20px;         /* Espace réduit entre les blocs */
    }

    /* Réduit le padding intérieur des blocs */
    .left, .right {
        padding: 20px;
    }


    /* Réduit la marge supérieure pour le "panier vide" */
    .empty-state {
        margin-top: 60px;
    }

    /* Force les boutons à prendre toute la largeur pour être faciles à taper */
    .btn-panier,
    .btn-compte {
        width: 100%;
    }

    /* Aligne la checkbox avec la *première* ligne de texte (au cas où le texte passe à la ligne) */
    .cgv-validation {
        align-items: flex-start;
    }

    .cgv-validation input[type="checkbox"] {
        margin-top: 3px; /* Ajustement visuel pour un meilleur alignement */
    }
}

/* === COMPTE === */
.compte-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  gap: 40px;
  padding: 60px 5%;
  flex-direction: column;
}

.bloc-gauche, .bloc-droite {
  background: white;
  border-radius: 12px;
}

.bloc-gauche {
  flex: 1.5;
  text-align:center;
  padding:15px;
}

.bloc-droite {
  flex: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 15px;
  justify-content: center;
}

.user-info {
  font-size: 16px;
  line-height: 1.6;
}

/* Onglet style carte */
.onglet-carte {
  width: 280px;
  background: #fafafa;
  border-radius: 16px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
}

.onglet-carte:hover {
  transform: translateY(-5px);
}

.onglet-carte i {
  font-size: 30px;
  color: #f05365;
  margin-bottom: 10px;
}

.onglet-carte h3 {
  margin: 10px 0 5px;
  font-size: 18px;
  font-weight: bold;
}

.onglet-carte p {
  font-size: 14px;
  color: #555;
  margin: 0;
}

/* Partie non connectée */
.empty-state {
  text-align: center;
  margin-top: 120px;
}

.empty-state i {
  font-size: 60px;
  color: #bbb;
  margin-bottom: 20px;
}



/*mes_commandes*/
.commandes-client-body {
    font-family: Arial, sans-serif;
    background-color: white;
    margin: 0;
    padding: 0;
}

.commandes-client-conteneur {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background:#f7f7f7 ;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.commandes-client-titre {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.commandes-client-tableau {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.commandes-client-tableau thead {
    background-color: #333;
    color: white;
}

.commandes-client-tableau th,
.commandes-client-tableau td {
    padding: 14px 18px;
    text-align: center;
    border-bottom: 1px solid #e5e5e5;
}

.commandes-client-tableau tbody tr:hover {
    background-color: #f0f0f0;
}

.commandes-client-lien {
    text-decoration: none;
    color: #007bff;
    transition: color 0.2s;
}

.commandes-client-lien:hover {
    color: #0056b3;
}

.commandes-client-vide {
    text-align: center;
    color: #777;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .commandes-client-conteneur {
        padding: 10px;
    }
    .commandes-client-tableau {
        font-size: 13px;
    }
}

/* === Choix Adresse === */


.choix_address_main_container {
  max-width: 600px;
  margin: 40px auto;
  padding: 40px 30px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  font-family: Arial, sans-serif;
}

.choix_address_form_title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #111;
}

.choix_address_form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.choix_address_form_block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.choix_address_form_block label {
  font-weight: bold;
  font-size: 15px;
  color: #111;
}

.choix_address_form_block input[type="text"],
.choix_address_form_block input[type="tel"],
.choix_address_form_block select {
  width: 100%;
  padding: 12px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  transition: border-color 0.2s ease-in-out;
  box-sizing: border-box;
}

.choix_address_form_block input:focus,
.choix_address_form_block select:focus {
  outline: none;
  border-color: #f05365;
}

.choix_address_row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.choix_address_row div {
  flex: 1;
  min-width: 45%;
}

.choix_address_hint {
  font-size: 13px;
  color: #666;
  margin-top: -10px;
  margin-bottom: 10px;
}

.choix_address_checkbox_toggle {
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
}

.choix_address_btn_paiement {
  background: #f05365;
  color: white;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s;
  text-align: center;
  width: 100%;
}

.choix_address_btn_paiement:hover {
  background-color: #c73e4e;
}

@media (max-width: 600px) {
  .choix_address_main_container {
    margin: 30px 20px;
    padding: 20px;
  }

  .choix_address_row {
    flex-direction: column;
  }

  .choix_address_row div {
    min-width: 100%;
  }
}

 h1, h2, h3 {
            color: #000;
            margin-top: 0.5em;
            margin-bottom: 0.5em;
        }

        h1 {
            font-size: 32px;
            text-transform: uppercase;
            text-align: center;
            margin-bottom: 40px;
        }

        h2 {
            font-size: 24px;
            color: #f05365; /* Utilisation de la couleur d'accentuation pour les articles */
            border-bottom: 2px solid #f05365;
            padding-bottom: 5px;
            margin-top: 30px;
            margin-bottom: 20px;
        }

        h3 {
            font-size: 18px;
            margin-top: 20px;
            margin-bottom: 10px;
        }

        p, li {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 15px;
        }

        /* Conteneur principal centré, repris du style CGV */
        .cgu-container {
            max-width: 900px;
            margin: 60px auto;
            padding: 40px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        /* Style spécifique pour le bloc d'informations de l'entreprise/Mise à jour */
        .info-mise-a-jour {
            background-color: #fafafa;
            padding: 20px;
            border-radius: 8px;
            border-left: 5px solid #f05365;
            margin-bottom: 30px;
            font-size: 15px;
        }
        
        .info-mise-a-jour p {
            margin: 5px 0;
        }

        /* Style pour les liens et mentions en gras */
        .mention-gras {
            font-weight: bold;
            color: #000;
        }
        
        .cgu-container ul {
            padding-left: 20px;
        }

        .cgu-container ul li {
            list-style-type: disc;
        }

        /* Responsive simple */
        @media (max-width: 768px) {
            .cgu-container {
                margin: 20px;
                padding: 20px;
            }
            h1 {
                font-size: 26px;
            }
            h2 {
                font-size: 20px;
            }
        }
        
        /* Utilisation d'un conteneur principal centré, inspiré de `.main-container` ou `.commandes-client-conteneur` */
        .cgv-container {
            max-width: 900px;
            margin: 60px auto;
            padding: 40px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        /* Style spécifique pour le bloc d'informations de l'entreprise */
        .info-entreprise {
            background-color: #fafafa;
            padding: 20px;
            border-radius: 8px;
            border-left: 5px solid #f05365;
            margin-bottom: 30px;
            font-size: 15px;
        }
        
        .info-entreprise p {
            margin: 5px 0;
        }

        /* Style pour les termes "Les créations inutiles" et "l’Acheteur(se)" */
        .partie-identifiee {
            font-weight: bold;
            color: #000;
        }

        /* Responsive simple */
        @media (max-width: 768px) {
            .cgv-container {
                margin: 20px;
                padding: 20px;
            }
            h1 {
                font-size: 26px;
            }
            h2 {
                font-size: 20px;
            }
        }
        
        /* Conteneur principal centré, repris du style CGV/CGU */
        .mentions-container {
            max-width: 900px;
            margin: 60px auto;
            padding: 40px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        /* Style spécifique pour les blocs d'informations (Editeur, Hébergeur) */
        .info-block {
            background-color: #fafafa;
            padding: 20px;
            border-radius: 8px;
            border-left: 5px solid #f05365;
            margin-bottom: 30px;
            font-size: 15px;
        }
        
        .info-block p {
            margin: 5px 0;
        }

        /* Style pour les liens et mentions en gras */
        .mention-gras {
            font-weight: bold;
            color: #000;
        }
        
        .mentions-container ul {
            padding-left: 20px;
        }

        .mentions-container ul li {
            list-style-type: disc;
        }

        /* Responsive simple */
        @media (max-width: 768px) {
            .mentions-container {
                margin: 20px;
                padding: 20px;
            }
            h1 {
                font-size: 26px;
            }
            h2 {
                font-size: 20px;
            }
        }
        
        /* Conteneur principal centré, repris du style CGV/CGU */
        .politique-container {
            max-width: 900px;
            margin: 60px auto;
            padding: 40px;
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
        }

        /* Style spécifique pour les blocs d'informations (Contact) */
        .info-block {
            background-color: #fafafa;
            padding: 20px;
            border-radius: 8px;
            border-left: 5px solid #f05365;
            margin-bottom: 30px;
            font-size: 15px;
        }
        
        .info-block p {
            margin: 5px 0;
        }

        /* Style pour les liens et mentions en gras */
        .mention-gras {
            font-weight: bold;
            color: #000;
        }
        
        .politique-container ul {
            padding-left: 20px;
        }

        .politique-container ul li {
            list-style-type: disc;
        }

        /* Responsive simple */
        @media (max-width: 768px) {
            .politique-container {
                margin: 20px;
                padding: 20px;
            }
            h1 {
                font-size: 26px;
            }
            h2 {
                font-size: 20px;
            }
        }
        
        