  /* Style de la bande supérieure */
body {
    text-align:center;
     display: flex;
    flex-direction: column;
    height: 100%;
    
    background-color: #ffffff ;
    
}

.top-bar {
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100; /* Pour rester au-dessus */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: top 0.1s ease; /* Transition pour l'animation */
}


/* Ligne du haut */

.TopText {
  position: relative;
  top:6px;
  display: inline-block;
  animation: fadeInOut 2s infinite;
  font-weight: bold;
  text-align: center;
  white-space: nowrap;
  font-size: 1rem;
  color: white;
  font-family: "Montserrat", sans-serif;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}


/* Ligne du bas */
.bottom-text {
    font-size: 20px;
    font-weight: bold;
    margin-top: -3px; /* Ajuste l'espace entre les lignes */
}
        /* Style de la barre de navigation */
        .navbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            position: relative;
            top: 40px;
            left: 0;
            right: 0;
            height: 60px;
            padding: 5px 15px;
            border-radius: 30px;
            box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
            
             /*contour du nav bar*/
            outline: 1px solid #070619; /* Contour bleu */
    outline-offset: 1px; /* Espacement entre l'input et le contour */
            
        }

        .menu-icon, .cart-icon {
            font-size: 30px;
            cursor: pointer;
            
        }
        
       
        
        /* Style du menu latéral */
        .menu {
            position: fixed;
            top: 0;
            left: -250px; /* Caché au départ */
            width: 250px;
            height: 100vh;
            color: white;
            margin-top:0;
            z-index: 1002;
            padding-top: 50px;
            transition: left 0.3s
            ease-in-out; /* Animation fluide */
        }

        .menu a {
            display: block;
            color: white;
            text-decoration: none;
            padding: 15px;
            font-size: 18px;
        }

        .menu a:hover {
            background-color: #575757;
        }

        
        /* Bouton pour fermer */
        .close-btn {
            position: absolute;
            top: 10px;
            right: 15px;
            font-size: 30px;
            cursor: pointer;
        }
        
       /* Style du lien Connexion en bas du menu */
.connexion-link {
    position: absolute;
    bottom: 50px; /* Positionne le lien au pied du menu */
    width: 220px;
    padding: 15px;
    font-size: 18px;
    font-weight: bold;
    background-color: #444; /* Couleur de fond */
    color: white;
    text-align: center;
    text-decoration: none;
}

.connexion-link:hover {
    background-color: #575757; /* Couleur au survol */
}
       
 /* Panier */
.cart-dropdown {
  display: none;
  background: #ff55b3dc;
  border: 1px solid #42c755;
  position: relative ;
  top: 60px;
  left: 0;
  right: 0;
  text-align:center;
  border-radius: 15px;
  padding: 5px;
}


#produit-details {
    position :relative;
    left: 0;
    right: 0;
    top:10px;
    font-size:18px;
    background: transparent;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box; /* Assure que padding et bordures sont inclus dans la largeur totale */
}

#ImagePrincipale img {
    text-align:center;
    object-fit: cover;
    border-radius: 8px;
    position : relative ;
    left:0 ;
    right:0 ;
    top:0 ;
    width: 100%;
}

#headerH2 {
   color:#009eeb ;
    font-size: 25px;
    text-align: center;
    margin:0 5px;
}



 /* notification*/

 #notif {
      display: none;
      position: fixed;
      bottom: 60px;
      left: 50px;
      background-color: #ff00f1dc;
      border-radius: 50px;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
      padding: 10px 10px;
      display: flex;
      align-items: center;
      gap: 10px;
      animation: fadein 0.5s;
      z-index: 1001;
      max-width: 90%;
    }

    #notif img {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: #fff;
    }

    #notif .message {
      flex: 1;
      font-family: Arial, sans-serif;
      font-size: 16px;
      color : #ffffff;
    }

    #notif .close {
      cursor: pointer;
      font-size: 25px;
      font-weight: bold;
      margin-left: 10px;
    }
    
    

    @keyframes fadein {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeout {
      from { opacity: 1; }
      to { opacity: 0; }
    }

.Formation {
    color : #09326c;
    font-size: 16px;
}

.Minuite {
   font-size: 14px;
    opacity: 0.7;
}



/*footer {
   position: relative;
   left: 0;
   bottom: 0;
   right:0;
   top: 25px;
   font-size:18px;
   text-align:center;
    background-color: black;
    height: auto;
}
footer p {
    color: white;
    text-align:center;
}*/



/*produit*/

header h2 {
    color:#009eeb ;
    font-size: 25px;
    text-align:left;
}

header {
    text-align: center;
    position: relative ;
    top: 30px;
}

 #produits-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    position : relative ;
    left: 0;
    right: 0;
    top: 25px;
    text-align:center ;
    background: transparent ;
}


.produit {
    background: transparent ;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    padding: 3px;
    text-align: center;
    margin: 5px; /* espace entre les produits */
    width: calc(50% - 20px); /* Deux par ligne avec espace */
    box-sizing: border-box;
}

.produit img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.produit h3 {
    font-size: 14px;
    margin: 6px 0;
}

      

.prix {
    display: flex;
    justify-content: center; /* Aligner les prix horizontalement */
    align-items: center;
    gap: 10px; /* Espace entre les prix */
    margin-top: 0px; /* Espacement entre l'image et les prix */
}



.prix-original {
    text-decoration: line-through; /* Barrer le prix original */
    color: red;
    font-size: 14px;
}

.prix-actuel {
    color: #42c755;
    font-size: 14px;
    font-weight: bold;
}

 



/* Styles pour la galerie */

.gallery-container {
    display: flex;
    background: transparent;
    padding: 2px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 10px;
    scroll-behavior: smooth;
    align-items: flex-start; /* ✅ Empêche l'étirement vertical */
}

.gallery-container img {
    background: transparent;
    width: auto;      /* Garde largeur naturelle */
    max-width: 90%;
    height: auto;     /* Garde hauteur naturelle */
    max-height: 280px;
    border-radius: 10px;
    scroll-snap-align: start;
}








video {
    position : relative ;
     left:0 ;
    right:0 ;
   border-radius: 15px;
    margin-top: 15px;
    width: 100%;
    height: auto;
    text-align:center;
}



.prix {
    display: flex;
    justify-content: center; /* Aligner les prix horizontalement */
    align-items: center;
    gap: 20px; /* Espace entre les prix */
    margin-top: 10px; /* Espacement entre l'image et les prix */
}



.prix-original {
    text-decoration: line-through; /* Barrer le prix original */
    color: #000000;
    font-size: 18px;
}

.prix-actuel {
    color: green;
    font-size: 18px;
    font-weight: bold;
}



/* Style du bouton vibrant */
       #ajouter-au-panier {
            position: relative;
            animation: vibration 1s infinite;
            width: 80%;
        }

        /* Animation de vibration */
        @keyframes vibration {
    0% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-6px); }
    100% { transform: translateX(6px); }
}
        
        
#ajouter-au-panier:hover {
    background: #00b712d4;
}




#ajouter-au-panier {
    position: fixed;
    bottom: 3px;
    right: 0;
    transform: translateX(-50%);
    background-color: #007bff;
    color: white;
    border: none;
   border-radius: 20px;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 18px;
    transition: bottom 0.3s ease-in-out;
    z-index: 1000;
}


/* animation avant chargement des produits */
#loader {
  border: 6px solid #f800ff;
  border-top: 6px solid white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 50px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*WhatsApp*/
/* Style du bouton vibrant */
       .btn-whatsapp {
            position: relative;
            animation: vibration 1s infinite;
            width: 15%;
        }

        /* Animation de vibration */
        @keyframes vibration {
    0% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    50% { transform: translateX(6px); }
    75% { transform: translateX(-6px); }
    100% { transform: translateX(6px); }
}
        
        
.btn-whatsapp:hover {
    background: #007bff;
}




.btn-whatsapp {
    position: fixed;
    bottom:3px;
    left:0;
    background-color: #00b712d4;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: bottom 0.3s ease-in-out;
    z-index: 1000;
    text-align: center;
}

 .icon-whatsapp {
  width: 40px;
  height: 40px;
}


.social-links {
    margin-top: 5px;
}

.social-icon {
    margin: 0 15px;
    font-size: 30px;
    text-decoration: none;
    color: white;
}

.social-icon:hover {
    color: #e1e1e1ac; /* Change la couleur au survol */
    opacity: 0,1;
}


/*Masqué whatsapp*/

#commander-whatsapp,
#commander-whatsapp-2 {
    display: none !important;
}


/*catégorie */
#categories-container {
    position: relative;
    top: 25px;
    overflow-x: auto;
    white-space: nowrap;
    background-color: white;
    padding: 0px 5px;
    gap: 10px;
    display: flex;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

#categories-container::-webkit-scrollbar {
    display: none;
}

.categorie-btn {
    padding: 6px 12px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 18px;
}

.categorie-btn:hover {
    background-color: #129ededf;
}


/*formulaire*/
  #leadForm {
      max-width: 400px;
      margin: 20px auto;
      padding: 10px 30px;
      display: flex;
      text-align:center;
      flex-direction: column;
      gap: 10px;
    }
     #leadForm input {
      padding: 5px 10px;
      font-size: 14px;
      text-color: red;
      border-radius: 15px;
      opacity:0.6;
      
    }
    
    #bouton-validez {
      padding: 5px 10px;
      font-size: 16px;
      position : relative ;
      left: 65px;
      right: 65px;
      width: calc(100% - 130px);
      color: white;
      background-color:#0f6fb0db ;
      border-top-left-radius:20px ;
      border-top-right-radius: 4px;
      border-bottom-left-radius:4px ;
      border-bottom-right-radius:20px ;
      font-family: "Montserrat", sans-serif;
    }


  
  /* formulaire*/
  
.formulaire-commande {
    text-align: center;
    max-width: 400px;
    margin: 10px auto;
    padding: 15px;
    border: 2px solid #f800ff;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.image-container { position: relative; display: inline-block; 
border: 2px solid #f800ff;
border-radius: 10px;
}

.produit-image { width: 80px; height: 80px; border-radius: 8px;
 }

.quantite-badge { position: absolute; top: -8px; right: -8px; background: #f800ff; color: white; font-size: 12px; border-radius: 50%; padding: 4px 8px; 
}

.produit-nom {
 font-size: 18px;
 margin: 10px 0;
 text-align: left;
 }

.quantite-prix { margin-bottom: 10px; display : flex; flex-direcion: column; align-items: center; justify-content: center; gap: 20px;}
.quantite-prix input { text-align: center; border: 1px solid #f800ff;
border-radius: 5px;
width: 40%;
}
.champ { position: relative; margin-bottom: 10px; width: 100%; display: flex; justify-content: center; }
.champ i { background: #37373748; position: absolute; left: 2px; top: 50%; transform: translateY(-50%); color: #555; font-size: 14px; padding: 10px; border-radius: 4px; }
.champ i.fa-whatsapp { color: green; }
.champ i.fa-map-marker-alt { color: red; }
.champ input { width: 80%; padding: 8px 8px 8px 45px; border: 2px solid #f800ff; border-radius: 5px; font-size: 14px; border: 1px solid #f800ff; }
button#valider-commande { padding: 10px 20px; background: #f800ff; color: white; border: none; border-radius: 20px; cursor: pointer; transition: background 0.3s; font-size: 18px; font-weight : bold;}
button#valider-commande:hover { background: #blue; }


#NomProduit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;                  /* épaisseur du trait */
  height: 100%;                /* prend toute la hauteur du h2 */
  background-color: #f800ff;     /* couleur du trait */
  border-radius: 50px;         /* rend les extrémités rondes comme un cylindre */
}


/*footer*/

:root{
    --bg:black;
    --accent:#e6a8b2; /* rose pâle */
    --muted:#9b9b9b;
   /* --line: #c8c8c8;*/
    --white: #ffffff;
  }
  
  
  .footer{
    position : relative ;
    top: 10px;
    background:var(--bg);
    padding:10px 0px;
    padding-bottom:30px ;
    color:var(--white);
    margin: 0 auto;
    width:100%;
  }

  .accordion{
    display:flex;
    flex-direction:column;
    gap:0;
    border-top: 1px solid var(--line);
  }

  .acc-item{
    border-bottom:1px solid var(--line);
  }

  .acc-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:14px 0;
    cursor:pointer;
  }

  .acc-label{
   opacity: 0.9;
    font-size:15px;
    padding: 5px 20px;
    letter-spacing:1px;
    font-weight:700;
    /*font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;*/
    font-family: "Montserrat", sans-serif;
  }

  .plus{
    width:28px;
    height:28px;
    border-radius:50%;
    /*border:2px solid var(--accent); */
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--accent);
    font-weight:600;
    font-size:18px;
    transition: transform 0.3s;
    padding-right: 10px;
  }

  .acc-content{
    max-height:0;
    overflow:hidden;
    transition:max-height 0.3s ease, padding 0.3s ease;
    font-size:14px;
    color:var(--muted);
  }

 .acc-content p {
    text-align:left;
    padding: 2px 10px; 
    padding-left:20px;
    padding-right: 70px;
    opacity: 0.8;
    font-family: "Montserrat", sans-serif;
 }
 
  .acc-item.active .acc-content{
    max-height:200px; /* hauteur suffisante */
    padding:10px 0;
  }

  .acc-item.active .plus{
    transform:rotate(45deg); /* + devient × */
  }

  .footer-bottom{
    margin-top:30px;
    text-align:center;
    color:var(--muted);
    font-size:14px;
    line-height:1.6;
  }

  .brand{
    color:var(--muted);
    font-weight:600;
    margin-bottom:5px;
    font-size:16px;
    padding: 5px 25px 15px 25px;
    font-family: "Montserrat", sans-serif;
  }

  .copyright{
    margin-top:14px;
    margin-bottom: 12px;
    font-size:14px;
    color:var(--muted);
  }


/*description-conteneur*/
#touslesdetails {
  margin: 10px auto;     /* centre horizontalement */
  padding: 3px;
  border: 1px solid #ffffff;
  border-radius: 12px;
  background: #ffffff;
  max-width: 500px;      /* largeur max sur PC */
  width: 100%;           /* occupe toute la largeur sur mobile */
  box-sizing: border-box;/* pour inclure les bordures dans la largeur */
}




#valider-commande {
  background: #f800ff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
}

#valider-commande.loading {
  pointer-events: none; /* empêche double clic */
  opacity: 0.9;
}

#valider-commande .spinner {
  width: 18px;
  height: 18px;
  border: 3px solid white;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: none; /* caché par défaut */
}

#valider-commande.loading .spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}











