/* ----------------------------- */
/*      RESET DE BASE            */
/* ----------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f8f8f8;
  margin: 0;
}


/* ----------------------------- */
/*           NAVBAR              */
/* ----------------------------- */

header {
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}

.navbar {
    display : flex;
    flex-direction: column;
    max-width: 1100px;
    max-height: 60px;
    margin: auto;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    position : relative ;
    top: 0;
    width: 100px;
    height: 55px;
}



main {
  padding: 0;
  text-align: center;
}




/* ----------------------------- */
/*             FOOTER            */
/* ----------------------------- */

/*footer*/

:root{
    --bg:black;
    --accent:#e6a8b2; /* rose pâle */
    --muted:#9b9b9b;
   /* --line: #c8c8c8;*/
    --white: #ffffff;
  }
  
  
  .footer {
    position: relative;
    top: 0;
    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 25px 25px;
    font-family: "Montserrat", sans-serif;
  }

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

/* Deuxième partie */
 /* images supplémentaires */

#section1 {  
    margin-top: 65px;
    display: flex;
    flex-direction: column;
    align-items: center;
    }

.slider-container {
    width: 100%;
    max-width: 400px;
    overflow: hidden;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    width: 100%;
    flex-shrink: 0;
}

.dots {
    margin-top: 10px;
    display: flex;
    gap: 7px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bbb;
}

.dot.active {
    background: #A020F0;
}






.slide-wrapper {
    position: relative;
    width: 100%;
    flex-shrink: 0;
}

.zoom-icon {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 10;
}

/* Mode plein écran */
.fullscreen-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.fullscreen-view img {
    width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.fullscreen-close {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 35px;
    color: white;
    cursor: pointer;
    z-index: 10000;
}



/* Les étoiles avec le nom et les prix */
/* ---- ZONE INFOS PRODUIT ---- */

.product-info {
    max-width: 400px;
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    font-family: Arial;
}

/* ⭐ Étoiles */

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.star {
    font-size: 22px;
    color: #ffd700;
}

.star.half {
    color: #ccc; /* étoile vide */
    position: relative;
}

.star.half::before {
    content: "★";
    color: #ffd700;
    position: absolute;
    width: 50%;
    overflow: hidden;
}

/* Texte de note */
.rating-text {
    font-size: 14px;
    margin-left: 10px;
    color: #444;
}

/* Trait vertical + Nom du produit */

.product-name {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.product-name h2 {
    text-align: left;
}

.blue-line {
    width: 8px;
    height: 50px;
    background: #A020F0;
    border-radius: 3px;
    margin-right: 10px;
}

.product-name h2 {
    font-size: 20px;
    margin: 0;
}

/* Prix */

.prices {
    margin-top: 10px;
    display: flex;
    gap: 25px;
    font-size: 25px;
}

.old-price {
    text-decoration: line-through;
    color: #777;
}

.new-price {
    font-weight: bold;
    color: #007bff;
}



/*-------------*/
/*- Formulaire -*/
/*-------------*/

#section2 {
    font-family: Arial, sans-serif;
    padding: 15px;
    margin: 10px;
    border-radius: 10px;
    border: 2px solid #A020F0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.7);
    max-width: 600px;
    background-color: #00000036;
}

.title {
    text-align: center;
    margin-bottom: 20px;
    color: red;
}

.quantity-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.card {
    width: 32%;
    background: white;
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    position: relative;
    cursor: pointer;
    border: 2px solid #A020F0;
}

.card input {
    display: none;
}

.card .radio-circle {
    width: 18px;
    height: 18px;
    border: 2px solid black;
    border-radius: 50%;
    margin: 5px auto;
    display: block;
    position: relative;
}

.card input:checked + .radio-circle {
    background: #E6C35A;
}


.card.active {
    background: #A020F0;
    color: #ffdc00;
}


.card.active .radio-circle {
    background: white;
    border-color: white;
}




.product-img {
    width: 100%;
    border-radius: 10px;
    margin: 10px 0;
}

.price {
    font-size: 14px;
    margin-top: 5px;
}

.form {
    margin-top: 25px;
}

/* les champs invalide en rouge */

#order-form input:invalid,
#order-form select:invalid,
#order-form textarea:invalid {
  border: 1px solid red !important;
}

.input-group {
    background: white;
    display: flex;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 2px solid #A020F0;
    overflow: hidden; /* important pour que l'icône garde la forme arrondie */
}

/* Partie gauche colorée */
.icon {
    width: 55px;                 /* largeur fixe */
    height: 45px;                /* même hauteur que l’input */
    background: #A020F0;            /* couleur de fond */
    color: white;                /* couleur de l’icône */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;

    /* coins arrondis uniquement à gauche */
    border-radius: 6px 0 0 6px;
}

.icon i {
    color: black;
}

.input-group input {
    width: 100%;
    border: none;
    outline: none;
    padding: 12px;
    font-size: 16px;
    background: transparent;
}



.confirmation-box {
display:flex;
align-items:center;
justify-content:center;
gap:12px;
margin-top:15px;
text-align:left;
margin-bottom:10px;
font-weight:600;
}

.confirmation-box input{
transform:scale(1.4);
cursor:pointer;
}





/*image de livraison*/

#livraison {
    width: 100%;
    text-align: center;       /* Centre l’image horizontalement */
    margin: 20px 0;           /* Espace autour */
}

#livraison img {
    max-width: 350px;         /* Taille maximale de l’image */
    width: 100%;              /* Devient responsive */
    height: auto;             /* Conserve les proportions */
    display: inline-block;
    
    /* Effet visuel moderne */
    transition: transform 0.3s ease, filter 0.3s ease;
}

#livraison img:hover {
    transform: scale(1.05);   /* Petit zoom au survol */
    filter: brightness(1.1);  /* Légère augmentation de la luminosité */
}





/* Bouton flottant en bas de l'écran */
.floating-btn {
  position: fixed;
  bottom: 5px;
  width: 90%;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px;
  font-weight:700 ;
  background: #A020F0;
  color: black;
  border: none;
  border-radius: 30px;
  font-size: 20px;
  z-index: 9999;
  cursor: pointer;
  display: block; /* visible au début */
  box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}



.btn {
    width: 100%;
    padding: 12px;
    background: #A020F0;
    color: black;
    font-weight:700 ;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    margin-top: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.5);
}

.message {
    text-align: center;
    margin-top: 10px;
}


.btn.loading {
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    border: 3px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}





/* zone avis modifié */

#section-feedback {
  font-family: 'Poppins', sans-serif;
  background:  #09477118;
  margin: 0;
  padding: 40px 10px;
}

#section-feedback h2 {
  text-align: center;
  color:  #009eeb;
  font-size: 28px;
}

#section-feedback .txtIntro {
  text-align: center;
  max-width: 700px;
  margin: 10px auto 30px;
  color: #666;
}

.sliderWrapper {
  overflow-x: auto;
  scroll-behavior: smooth;
  display: flex;
  gap: 20px;
  padding: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.reviewCard {
  flex: 0 0 auto;
  width: 300px;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  scroll-snap-align: start;
  user-select: none;
}

.reviewCard .starZone {
  color: #f5a623;
  font-size: 18px;
}

.reviewCard p {
  color: #333;
  font-size: 15px;
}

.reviewCard .reviewAuthor {
  margin-top: 10px;
  font-weight: bold;
  color:  #009eeb;
}

.sliderWrapper::-webkit-scrollbar {
  display: none;
}
.sliderWrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#section-feedback .bulletsArea {
  text-align: center;
  margin-top: 15px;
}

#section-feedback .bulletItem {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#section-feedback .bulletActive {
  background-color: #333;
}



/* LES DÉTAILS */
#LesDetails {
  max-width: 900px;
  margin: 20px auto;
  padding: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.NomProduit {
    color: #A020F0;
}

.ImgDesc {
  border-radius: 10px;
  padding: 0 ;
  text-align: center;
}

.ImgDesc img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}

 .ImgDesc p {
  font-size: 18px;
  color: #444;
  text-align: left;
  margin-left: 10px;
}

.ImgDesc b,
.ImgDesc h1,
.ImgDesc h2,
.ImgDesc h3,
.ImgDesc h4,
.ImgDesc h5 {
  text-align: left;
  margin-left: 10px;
}

.titre {
    color: #A020F0;
}

/* Responsive */
@media (min-width: 600px) {
  #LesDetails {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  #LesDetails {
    grid-template-columns: repeat(3, 1fr);
  }
}




/*BOUTON WHATSAPP */

.btn-whatsapp{
  position: fixed;
  right: 1px;
  top: 65%;
  transform: translateY(-35%);
  width: 75px;
  height: 75px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  z-index: 9999;
  text-decoration: none;
}



 /* notification*/

 #notif {
      display: none;
      position: fixed;
      bottom: 85px;
      left: 5px;
      background-color: #A020F0;
      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: white;
    }

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





/**************************/
/* l'ensemble des produits*/
/*************************/

.container {
    max-width: 1200px;
    margin: auto;
    padding: 15px;
}

/* Titres */
h1 {
    color: #00a8e8;
    margin-bottom: 5px;
    text-align: center;
}

.subtitle {
    color: #666;
    margin-bottom: 15px;
    text-align: center;
}






/* Catégories */
.categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;

    overflow-x: auto;        /* Scroll horizontal */
    white-space: nowrap;     /* Une seule ligne */
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;   /* Firefox */
    
    mask-image: linear-gradient(to right, black 90%, transparent); /* Ombre à droite */
}

.categories::-webkit-scrollbar {
    display: none;           /* Chrome / Android */
}

.categories button {
    flex: 0 0 auto;          /* Empêche le retour à la ligne */
    padding: 8px 18px;
    border: none;
    border-radius: 20px;
    background: #e0e0e0;
    cursor: pointer;
    font-size: 14px;
}

.categories button.active {
    background: #00a8e8;
    color: white;
}






/* produits */
.products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.product {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}


.product:hover {
    transform: scale(1.03);
}

.product img {
    width: 100%;
    border-radius: 8px;
}

.product h3 {
    font-size: 15px;
    margin: 10px 0;
}

.old1-price {
    text-decoration: line-through;
    color: #999;
    font-size: 14px;
}

.price1 {
    color: green;
    font-weight: bold;
    font-size: 16px;
}

/* Responsive */
@media (min-width: 768px) {
    .products {
        grid-template-columns: repeat(4, 1fr);
    }
}


