/* calcule la hauteur de l'écran de façon fiable */


/* HERO plein écran - utilise la hauteur visible (dvh) */
.hero{
  width: 100%;
  height: calc(100vh - var(--header-total));           /* fallback */
  height: calc(100dvh - var(--header-total)) !important;/* moderne */
  overflow: hidden;
}
.hero img{
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}


.popup-promo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  backdrop-filter: blur(3px);
}

.popup-promo.active {
  opacity: 1;
  visibility: visible;
}

.popup-contenu {
  position: relative;
  width: 90%;
  max-width: 420px;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  animation: popupFadeIn 0.6s ease;
}

.popup-contenu img {
  width: 100%;
  height: auto;
  display: block;
}

.texte-promo {
  padding: 25px 20px;
  background-color: #fffef9;
}

.texte-promo .promo-titre {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #AA4C00;
  margin-bottom: 5px;
}

.texte-promo h2 {
  font-size: 32px;
  font-weight: 800;
  color: #000;
  margin: 15px 0 10px;
}

.texte-promo p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
}

.bouton-promo {
  display: inline-block;
  padding: 12px 25px;
  background-color: #AA4C00;
  color: white;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 14px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}

.bouton-promo:hover {
  background-color: #A0522D;
}

.fermer-popup {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 26px;
  font-weight: bold;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.fermer-popup:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

@keyframes popupFadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}


   .footer-nubelle {
        max-width: 900px;
        margin: 40px auto 0;
        text-align: center;
        font-family: 'Segoe UI', sans-serif;
        padding: 40px 20px 20px;
        color: #444;
      }
    
      .footer-nubelle .footer-links,
      .footer-nubelle .footer-legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        margin-bottom: 20px;
      }
    
      .footer-nubelle .footer-links a,
      .footer-nubelle .footer-legal a {
        text-decoration: none;
        color: #555;
        font-size: 14px;
        transition: color 0.3s ease;
      }
    
      .footer-nubelle .footer-legal a {
        font-size: 12px;
        color: #888;
      }
    
      .footer-nubelle a:hover {
        color: #AA4C00;
      }
    
      .footer-nubelle p {
        font-size: 12px;
        color: #aaa;
        margin-top: 10px;
      }









      .footer-nubelle {
        max-width: 900px;
        margin: 40px auto 0;
        text-align: center;
        font-family: 'Segoe UI', sans-serif;
        padding: 40px 20px 20px;
        color: #444;
      }
    
      .footer-nubelle .footer-links,
      .footer-nubelle .footer-legal {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        margin-bottom: 20px;
      }
    
      .footer-nubelle .footer-links a,
      .footer-nubelle .footer-legal a {
        text-decoration: none;
        color: #555;
        font-size: 14px;
        transition: color 0.3s ease;
      }
    
      .footer-nubelle .footer-legal a {
        font-size: 12px;
        color: #888;
      }
    
      .footer-nubelle a:hover {
        color: #AA4C00;
      }
    
      .footer-nubelle p {
        font-size: 12px;
        color: #aaa;
        margin-top: 10px;
      }






      /* Conteneur de chaque élément FAQ */
  .faq-item {
    border-top: 1px solid #ddd;
    padding: 15px 0;
  }

  /* Style du bouton question */
  .faq-question {
    width: 100%;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Icône + ou - */
  .faq-question .icon {
    font-weight: bold;
    font-size: 20px;
    transition: transform 0.3s ease;
  }

  /* Réponse masquée par défaut */
  .faq-answer {
    display: none;
    margin-top: 10px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
  }

  /* Quand la question est active, on affiche la réponse */
  .faq-question.active + .faq-answer {
    display: block;
  }

  /* Rotation de l'icône quand c'est ouvert */
  .faq-question.active .icon {
    transform: rotate(45deg); /* fait apparaître un "–" */
  }








  .avis-images {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 0 10px;
  }
  
  .avis-images img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
  }
  
  .avis-images img:hover {
    transform: scale(1.05);
  }
  
  .popup-avis {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: 0.4s ease;
    z-index: 9999;
  }
  
  .popup-avis.active {
    visibility: visible;
    opacity: 1;
  }
  
  .popup-avis-contenu {
    display: flex;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 700px;
    width: 90%;
    position: relative;
    animation: fadeInPopup 0.4s ease;
    flex-wrap: wrap;
  }
  
  .popup-avis-contenu img {
    width: 100%;
    max-width: 300px;
    object-fit: cover;
    height: auto;
  }
  
  .texte-avis-client {
    padding: 20px;
    font-size: 16px;
    color: #333;
    flex: 1;
    display: flex;
    align-items: center;
  }
  
  .fermer-popup-avis {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 0 10px;
  }
  
  @keyframes fadeInPopup {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }
  
  /* Responsive mobile */
  @media (max-width: 600px) {
    .popup-avis-contenu {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .popup-avis-contenu img {
      width: 100%;
      max-width: 100%;
    }
  
    .texte-avis-client {
      padding: 15px;
      font-size: 14px;
    }
  }
  
  @keyframes defilement {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }





  .section-apropos {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
  }

  .section-apropos.active {
    opacity: 1;
    transform: translateY(0);
  }

  .apropos-photo {
    flex: 1 1 300px;
  }

  .apropos-photo img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  }

  .apropos-texte {
    flex: 1 1 400px;
  }

  .apropos-texte h2 {
    font-size: 26px;
    margin-bottom: 15px;
    color: #AA4C00;
    font-weight: bold;
  }

  .apropos-texte p {
    font-size: 16px;
    color: #444;
    line-height: 1.7;
  }

  @media (max-width: 768px) {
    .section-apropos {
      flex-direction: column;
      text-align: center;
    }

    .apropos-texte h2 {
      margin-top: 20px;
    }
  }




  .section-highlight {
    text-align: center;
    padding: 60px 20px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
  }
  
  .section-highlight.active {
    opacity: 1;
    transform: translateY(0);
  }
  
  .highlight-img {
    max-width: 100%;
    width: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 20px;
  }
  
  .btn-voir-plus {
    padding: 12px 24px;
    font-size: 16px;
    background-color: #Aa4c00;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .btn-voir-plus:hover {
    background-color: #c30066;
  }



  .section-kylie-categories {
    max-width: 1100px;
    margin: 30px auto;
    padding: 0 20px;
    overflow: hidden;
  }

  .icones-categories-kylie {
display: flex;
justify-content: center;
gap: 20px;
margin-bottom: 20px;
padding-bottom: 10px;
scroll-snap-type: x mandatory;
-webkit-overflow-scrolling: touch;
overflow-x: auto;
max-width: 100%;
scrollbar-width: none; /* Firefox */
}


  .icones-categories-kylie::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }

  .categorie-kylie {
flex: 0 0 auto;
width: 70px;
text-align: center;
font-size: 13px;
scroll-snap-align: start;
font-weight: 600; /* plus gras */
color: #FF8C00; /* couleur tangerine */
font-family: 'Segoe UI Semibold', 'Segoe UI', sans-serif; /* police élégante */
}

  .categorie-kylie img {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 5px;
  }

  .filtres-kylie {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    position: relative;
  }

  .filtres-kylie button {
    padding: 10px 24px;
    border: 2px solid var(--burnt-sienna);
    background: var(--sunlit-yellow);
    color: var(--burnt-sienna);
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  }

  .filtres-kylie button:hover {
    background-color: var(--burnt-sienna);
    color: #fff;
  }

  .liste-filtrage {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff7ea;
    border: 1px solid var(--burnt-sienna);
    border-radius: 10px;
    padding: 12px 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    margin-top: 10px;
    animation: fadeIn 0.3s ease-in-out;
    z-index: 10;
    min-width: 200px;
  }

  .liste-filtrage ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .liste-filtrage li {
    padding: 10px 12px;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    color: var(--ember);
    transition: background-color 0.2s ease;
  }

  .liste-filtrage li:last-child {
    border-bottom: none;
  }

  .liste-filtrage li:hover {
    background-color: #fff2d6;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translate(-50%, 10px);
    }
    to {
      opacity: 1;
      transform: translate(-50%, 0);
    }
  }








  * { margin: 0; padding: 0; box-sizing: border-box; }

      body {
        font-family: 'Segoe UI', sans-serif;
        background-color: #fff;
        color: #000;
        overflow-x: hidden;
        
      }

   
     

      .dropdown-menu a {
        display: block;
        padding: 10px 15px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
      }

      .dropdown-menu a:hover {
        background-color: #f2f2f2;
      }

      @media (max-width: 600px) {
        .icones-droits {
          gap: 10px;
        }
      }
      

      

     

      
      .categories {
        max-width: 1100px;
        margin: 20px auto;
        text-align: center;
      }

      .fil-ariane {
        font-size: 14px;
        color: #333;
        margin-bottom: 10px;
      }

      .icones-categories {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
      }

      .categorie {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70px;
        font-size: 13px;
      }

      .categorie img {
        width: 70px;
        height: 70px;
        border-radius: 10px;
        object-fit: cover;
        margin-bottom: 5px;
      }

      /* remplace l'ancien header {...} par ceci si besoin d’un titre */
.titre-section {
  text-align: center;
  font-size: 32px;
  padding: 20px 0;
  font-family: serif;
  font-weight: 600;
}


      .filtres {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
      }

      .filtres button {
        padding: 10px 20px;
        border: 1px solid #000;
        background: #fff;
        cursor: pointer;
        border-radius: 6px;
        font-weight: 500;
      }

      .grille-produits {
      max-width: 1100px;
      margin: 0 auto 60px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
      padding: 0 20px;
    }

    .produit {
      position: relative;
      padding: 20px;
      background: transparent;
      border-radius: 12px;
      text-align: left;
      height: 350px; /* hauteur carrée plus courte */
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .produit img {
      width: 100%;
      height: 180px; /* image plus courte */
      object-fit: cover;
      border-radius: 10px;
      margin-bottom: 10px;
    }

    .titre-produit {
      font-weight: bold;
      font-size: 16px;
      margin-bottom: 6px;
    }

    .desc-produit {
      font-size: 14px;
      color: #555;
      margin-bottom: 8px;
    }

    .bouton-panier {
      margin-top: 10px;
      padding: 10px 16px;
      border: 1px solid #000;
      border-radius: 8px;
      background-color: #fff;
      font-weight: 500;
      cursor: pointer;
    }

    .etiquette {
      position: absolute;
      top: 15px;
      right: 15px;
      background-color: #eee;
      padding: 6px 10px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: bold;
      color: #333;
    }

    .etoiles {
      color: #f5a623;
      font-size: 14px;
    }

    .nuances {
      display: flex;
      gap: 5px;
      margin-top: 5px;
    }

    .rond {
      width: 15px;
      height: 15px;
      border-radius: 50%;
      border: 1px solid #ccc;
    }

    .rond.blanc { background-color: #fff; }
    .rond.beige { background-color: #fce5cd; }
    .rond.brun { background-color: #8b4513; }


    .article-info {
      flex: 1;
    }

    .article-info h4 {
      font-size: 14px;
      margin-bottom: 4px;
    }

    .article-info p {
      font-size: 13px;
      font-weight: bold;
    }

    @media (max-width: 600px) {
      .categorie {
        width: 60px;
        font-size: 12px;
      }
      .categorie img {
        width: 60px;
        height: 60px;
      }
      .grille-produits {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
      }
    }
    .btn-auth {
      background-color: #AA4C00;
      color: white;
      padding: 12px 30px;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      font-weight: bold;
      cursor: pointer;
      margin: 10px;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: background 0.3s ease;
    }

    .btn-auth:hover {
      background-color: #a0522d;
    }

    /* Overlay */
    .overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100vw; height: 100vh;
      background: rgba(0,0,0,0.4);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 1000;
      padding: 20px;
    }

    .popup {
      background: #fff;
      padding: 30px;
      border-radius: 16px;
      width: 100%;
      max-width: 420px;
      position: relative;
      animation: fadeIn 0.3s ease;
      box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }

    .popup h2 {
      color: #AA4C00;
      margin-bottom: 20px;
      font-size: 20px;
      text-align: center;
    }

    .popup input {
      width: 100%;
      padding: 12px;
      margin-bottom: 14px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
      background: #fafafa;
    }

    .popup button {
      width: 100%;
      background: #AA4C00;
      color: white;
      padding: 13px;
      border: none;
      border-radius: 8px;
      font-size: 15px;
      font-weight: bold;
      cursor: pointer;
      transition: background 0.3s ease;
    }

    .popup button:hover {
      background: #a0522d;
    }

    .close-btn {
      position: absolute;
      top: 12px;
      right: 18px;
      font-size: 22px;
      font-weight: bold;
      color: #aaa;
      cursor: pointer;
    }

    .close-btn:hover {
      color: #000;
    }

    .popup p {
      text-align: center;
      margin-top: 16px;
      font-size: 13px;
    }

    .popup p a {
      color: #AA4C00;
      text-decoration: none;
      font-weight: 600;
    }

    .popup p a:hover {
      text-decoration: underline;
    }

    @media (max-width: 480px) {
      .popup {
        padding: 20px;
        border-radius: 12px;
      }

      .popup h2 {
        font-size: 18px;
      }

      .popup input,
      .popup button {
        font-size: 14px;
      }

      .popup p {
        font-size: 12px;
      }
    }

    /* caroussel */


.carousel-textes {
  flex: 1;
  text-align: center;
  position: relative;
  height: 22px;
  overflow: hidden;
}

.texte-carousel {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 1s ease;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}

.texte-carousel.active {
  opacity: 1;
}

/* === OVERRIDE CATEGORIES – style "comme la photo" ====================== */
/* Conteneur global */
.section-kylie-categories{
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 0 20px;
}

/* Centre la rangée sur desktop. 
   On couvre tes deux variantes de markup : .cats-scroller et .icones-categories-kylie */
.cats-wrap{ position: relative; }

.cats-scroller,
.icones-categories-kylie{
  display:flex;
  align-items:flex-start;
  justify-content:center;
  gap:48px;
  padding:18px 8px 6px;
  overflow:visible;                /* pas de scroll sur desktop */
  -webkit-overflow-scrolling:touch;
  scroll-snap-type:none;
}

/* Élément */
.categorie-kylie{
  flex:0 0 auto;
  display:inline-block;
  text-align:center;
  text-decoration:none;
  color:inherit;
}

/* Carte carrée arrondie (si tu utilises <span class="cat-card"><img/></span>) */
.categorie-kylie .cat-card{
  width:180px; height:180px;               /* carré */
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  border:1px solid #eee;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
  display:block;
  transition:transform .18s ease, box-shadow .18s ease;
}
.categorie-kylie .cat-card:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 28px rgba(0,0,0,.10);
}

/* Si ton HTML met l'image directement (.categorie-kylie > img), on lui applique le même rendu */
.categorie-kylie > img{
  width:180px; height:180px;
  border-radius:28px;
  object-fit:cover;
  display:block;
  border:1px solid #eee;
  box-shadow:0 8px 20px rgba(0,0,0,.06);
}

/* Image dans la carte */
.categorie-kylie img{ width:100%; height:100%; object-fit:cover; display:block; }

/* Libellé orange sous l’image */
.categorie-kylie > span{
  display:block;
  margin-top:14px;
  font-weight:800;
  color:#ff8c00;
  font-size:22px;
  line-height:1.1;
  text-transform:lowercase;
  letter-spacing:.2px;
}

/* ==== Responsif ======================================================= */
@media (max-width: 900px){
  .cats-scroller,
  .icones-categories-kylie{ gap:32px; }
  .categorie-kylie .cat-card,
  .categorie-kylie > img{ width:150px; height:150px; border-radius:24px; }
  .categorie-kylie > span{ font-size:18px; }
}

@media (max-width: 600px){
  /* Sur mobile : rangée défilable horizontalement */
  .cats-scroller,
  .icones-categories-kylie{
    gap:20px;
    padding:14px 12px 6px;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .cats-scroller::-webkit-scrollbar,
  .icones-categories-kylie::-webkit-scrollbar{ display:none; }

  .categorie-kylie .cat-card,
  .categorie-kylie > img{ width:120px; height:120px; border-radius:20px; }
  .categorie-kylie > span{ font-size:16px; }
}
