:root {
    --rose-clair: #fce4ec;
    --rose: #f8bbd0;
    --rose-foncé: #ec407a;
    --blanc: #ffffff;
    --gris: #f5f5f5;
  }
  
  body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: var(--rose-clair);
    color: var(--rose-foncé);
    overflow-x: hidden;
  }
  
/* 🧁 Bannière */
.banniere {
  background-color: var(--rose-foncé);
  padding: 1rem 1.5rem;
  text-align: center;
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5rem 0;
}

.logo-texte {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-site {
  height: 70px;
  width: auto;
  object-fit: contain;
}

.texte-site {
  text-align: left;
}

.texte-site h1 {
  font-size: 1.6rem;
  margin: 0;
  color: var(--blanc);
  font-family: 'Pacifico', cursive;
}

.texte-site p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--rose-clair);
}

.menu-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--blanc);
  font-weight: bold;
  text-decoration: none;
  position: relative;
  padding: 0.4rem 0.6rem;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background-color: var(--rose-clair);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--rose);
}

.nav-link:hover::after {
  width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .menu-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .logo-site {
    height: 60px;
  }

  .texte-site h1 {
    font-size: 1.3rem;
  }
}


.banniere h1 {
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  color: var(--blanc);
  font-size: 2.2rem;
  margin: 0.3rem 0;
}

.banniere p {
  color: var(--rose-clair);
  font-size: 1rem;
  margin: 0.2rem 0;
}

/* 📱 Responsive pour mobiles */
@media (max-width: 768px) {
  .banniere {
    padding: 0.8rem 1rem;
  }

  .banniere h1 {
    font-size: 1.6rem;
  }

  .banniere p {
    font-size: 0.9rem;
  }
}
  
  /* 🖼️ Galerie */
  .galerie {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem;
  }
  
  .produit {
    background-color: var(--blanc);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
  }
  
  .produit:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
  }
  
  .produit img {
    max-width: 100%;
    border-radius: 15px;
    transition: transform 0.3s ease;
  }
  
  .produit:hover img {
    transform: scale(1.05);
  }
  
  .produit h3 {
    margin: 0.8rem 0 0.3rem;
    font-size: 1.2rem;
    color: var(--rose-foncé);
  }
  
  .produit p {
    font-size: 1rem;
    color: #666;
    margin: 0.3rem 0 1rem;
  }
  
  /* 🛍️ Bouton Ajouter au panier */
  .btn-ajouter {
    background-color: var(--rose-foncé);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  .btn-ajouter:hover {
    background-color: #c2185b;
    transform: scale(1.05);
  }
  
  /* 🛒 Bouton fixe pour ouvrir le panier */
  #btn-panier {
    position: fixed;
    top: 2.5rem;
    right: 2rem;
    background-color: var(--rose-foncé);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease;
  }
  
  #btn-panier:hover {
    background-color: #c2185b;
  }
  
  /* 🧾 Sidebar panier */
  #sidebar-panier {
    position: fixed;
    top: 1.5rem;
    right: 0;
    width: 20rem;
    height: 100%;
    background-color: var(--blanc);
    box-shadow: -4px 0 15px rgba(0, 0, 0, 0.15);
    padding: 2rem 1.5rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 999;
    overflow-y: auto;
  }
  
  #sidebar-panier.open {
    transform: translateX(0);
  }
  
  /* ❌ Bouton fermer */
  #btn-fermer-panier {
    position: absolute;
    top: 4rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--rose-foncé);
  }
  
  /* 📝 Contenu du panier */
  #sidebar-panier h2 {
    margin-top: 2rem;
    color: var(--rose-foncé);
    font-size: 1.6rem;
    text-align: center;
  }
  
  #sidebar-panier ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
  }
  
  #sidebar-panier li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #555;
  }
  
  /* 💳 Bouton Paiement */
  #payer {
    margin-top: 0.5rem;
    width: 100%;
    background-color: var(--rose-foncé);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
  }
  
  #payer:hover {
    background-color: #c2185b;
    transform: scale(1.03);
  }
  
  .btn-supprimer {
    background: none;
    border: none;
    color: red;
    font-size: 1rem;
    margin-left: 10px;
    cursor: pointer;
  }
  .btn-supprimer:hover {
    color: darkred;
  }

@keyframes pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}
#btn-panier.pop {
  animation: pop 0.3s ease;
}

.section-contact {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background-color: #fff0f6;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.section-contact h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--rose-foncé, #e91e63);
  font-family: 'Pacifico', cursive;
}

.form-contact label {
  display: block;
  margin-top: 1rem;
  font-weight: bold;
}

.form-contact input,
.form-contact textarea {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0.3rem;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

.btn-envoyer {
  margin-top: 1.5rem;
  background-color: var(--rose-foncé, #e91e63);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  width: 100%;
}

.btn-envoyer:hover {
  background-color: #c2185b;
}

.btn-contact {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background-color: var(--rose-foncé, #e91e63);
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* ✅ l’ombre douce */
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.btn-contact:hover {
  background-color: #c2185b;
  transform: scale(1.03);
}
.entete-logo-texte {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: left;
}

.logo-site {
  height: 115px;
  width: auto;
}

.footer {
  background-color: var(--rose-foncé);
  color: var(--blanc);
  text-align: center;
  padding: 1.5rem 1rem;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  margin-top: 3rem;
}

.footer .contenu-footer p {
  margin: 0.4rem 0;
  font-size: 0.95rem;
}

.lien-footer {
  color: var(--rose-clair);
  text-decoration: none;
  margin: 0 0.5rem;
}

.lien-footer:hover {
  text-decoration: underline;
  color: white;
}
.footer {
  background-color: var(--rose-foncé);
  color: white;
  padding: 1rem 0;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
  text-align: center; /* Centre le contenu */
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column; /* Empile verticalement */
  align-items: center;
  gap: 0rem; /* Espace entre logo et texte */
}

.footer-socials a {
  display: inline-block;
  transition: opacity 0.3s ease;
}

.footer-socials a:hover {
  opacity: 0.7;
}

.social-icon {
  width: 32px;
  height: 32px;
  filter: invert(1); /* Icône blanche */
}

.bandeau-taxes {
  background-color: #d81b60;
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-weight: bold;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 10000;
}

.btn-panier:hover {
  background-color: #c2185b;
}

/* 🎯 Animation panier */
@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

#btn-panier.animate {
  animation: bounce 0.4s ease;
}

/* --- Styles pour le panier (quantités + flèches) --- */
.ligne-panier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ligne-left {
  flex: 1;
  text-align: left;
  min-width: 0;
}

.ligne-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

/* contrôles quantité */
.quantite-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.quantite-controls button {
  background: var(--rose-foncé, #e91e63);
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  transition: transform 0.12s ease;
}

.quantite-controls button:active { transform: scale(0.95); }

.qte-input {
  width: 52px;
  text-align: center;
  border-radius: 6px;
  padding: 0.2rem;
  border: 1px solid #ddd;
}

/* prix et bouton supprimer */
.prix-item { min-width: 80px; text-align: right; font-weight: 600; }
.btn-supprimer {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #c2185b;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}
.btn-supprimer:hover { background: rgba(194,24,91,0.06); }

#nb-items.animate, #btn-panier.animate {
  transform: scale(1.2);
  transition: transform 0.2s;
}
.ligne-panier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.ligne-left { flex: 1; }
.ligne-right { display: flex; align-items: center; gap:0.5rem; }
.quantite-controls { display:flex; align-items:center; gap:0.3rem; }
.qte-input { width:40px; text-align:center; }

#fiche-produit img {
  max-width: 400px;  /* largeur maximale souhaitée */
  width: 100%;       /* s’adapte si écran plus petit */
  height: auto;      /* conserve les proportions */
  display: block;
  margin: 0 auto 1rem auto; /* centrer l’image */
  border-radius: 12px;
}
#fiche-produit {
  max-width: 500px;        /* largeur de la boîte */
  margin: 2rem auto;       /* centrer horizontalement et un peu d'espace vertical */
  padding: 2rem;           /* espace intérieur */
  background-color: #fff;  /* fond blanc */
  border-radius: 12px;     /* coins arrondis */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* ombre douce */
  text-align: center;      /* centre le texte et les boutons */
  font-family: 'Arial', sans-serif;
}

#fiche-produit img {
  max-width: 100%;    /* image responsive */
  height: auto;
  display: block;
  margin: 0 auto 1rem auto; /* centrer image */
  border-radius: 12px;
}

#fiche-produit select,
#fiche-produit input[type="number"] {
  width: 80%;
  padding: 0.5rem;
  margin: 0.5rem 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

#fiche-produit button {
  padding: 0.6rem 1.2rem;
  margin: 0.5rem 0;
  border-radius: 8px;
  border: none;
  background-color: #e91e63;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

#fiche-produit button:hover {
  background-color: #d81b60;
}

/* 🔢 Retirer les flèches des input number (tous navigateurs) */
.qte-input::-webkit-inner-spin-button,
.qte-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qte-input {
  -moz-appearance: textfield; /* Firefox */
}

/* 🍪 Bandeau Cookies */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 600px;
  background-color: var(--rose-clair, #fce4ec);
  color: #333;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  z-index: 9999; /* toujours au-dessus */
}

/* Les boutons à l'intérieur du bandeau */
#cookie-banner .cookie-buttons {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

/* Liens et boutons */
.cookie-link {
  color: var(--rose-foncé, #e91e63);
  text-decoration: underline;
  font-weight: bold;
}

.btn-cookie {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 25px;
  background-color: var(--rose-foncé, #e91e63);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cookie:hover {
  background-color: #c2185b;
  transform: scale(1.05);
}

.btn-cookie.refuse {
  background-color: #bbb;
}

.btn-cookie.refuse:hover {
  background-color: #999;
}
