/* ================================================= Page Accueil ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  overflow-x: hidden;
}

/* ======== BANNIÈRE ========= */
.banner {
  width: 100%;
  height: 40px;
  background-color: beige;
  overflow: hidden;
  position: relative;
}

.banner-content {
  position: absolute;
  white-space: nowrap;
  font-weight: bold;
  color: #000;
  animation: slideText 15s linear infinite;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes slideText {
  0% {
    transform: translateX(0%) translateY(-50%);
  }

  100% {
    transform: translateX(calc(-100% - 100vw)) translateY(-50%);
  }
}

/* ============ HEADER ============ */
.main-header {
  background-color: #fff;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ordre par défaut mobile : empilé */
.logo,
.search-section,
.flag-selector1,
.btn-account,
.btn-cart {
  flex: 1 1 100%;
  text-align: center;
}

.btn-account a {
  text-decoration: none;
  color: inherit;
}

.btn-account {
  cursor: pointer;
}

/* .logo img {
  height: 36px;
} */
.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding-left: 25px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  /* pour qu’il reste au-dessus des autres éléments */
  /* background-color: white; */
  /* optionnel : évite que le logo soit transparent si le fond défile */
  padding: 10px 25px;
}

.search-section {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  margin: auto;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-input-wrapper input {
  width: 100%;
  padding: 8px 40px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.search-icon-button {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  width: 34px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-icon-button:hover {
  background-color: #45a049;
}

.search-icon-button i {
  font-size: 14px;
}

.flag-selector1 {
  display: flex;
  align-items: center;
  gap: 6px;
}

.flag-selector1 select {
  font-size: 12px;
  padding: 1px 1px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #fff;
}

.flag-icon1 {
  width: 18px;
  height: 12px;
  object-fit: contain;
  vertical-align: middle;
}

.btn-cart,
.btn-account {
  display: inline-flex;
  align-items: center;
  background-color: #f8f8f8;
  /* ou autre couleur */
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  font-weight: bold;
}

.btn-cart i,
.btn-account i {
  margin-right: 6px;
}

/* ======= SLIDER, NAV, ASIDE, RESPONSIVE ============ */

/* =========== SLIDER =========== */
.slider {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 400px;
  overflow: hidden;
}

.slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  animation: fade 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  display: block;
  z-index: 1;
}

.slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: opacity 0.5s ease-in-out;
}

.slider-text {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: rgb(231, 223, 223);
  padding: 10px 20px;
  text-align: center;
  font-weight: bold;
  width: calc(100% - 30px);
  max-width: 90%;
}

.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}

.dot {
  display: inline-block;
  font-size: 24px;
  cursor: pointer;
  color: #ccc;
  margin: 0 5px;
  transition: color 0.3s ease;
}

.dot.active {
  color: #f9f9f9;
}

/* Flèches slider */
.slider .prev,
.slider .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  font-size: 24px;
  border: none;
  z-index: 10;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.slider:hover .prev,
.slider:hover .next {
  opacity: 1;
}

.slider .prev {
  left: 15px;
}

.slider .next {
  right: 15px;
}

.slider .prev:hover,
.slider .next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

@keyframes fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* === Menu NAV ==== */
.side-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ============= ASIDE ================= */
.side-aside {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.aside-box {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 15px;
  border: 1px solid gainsboro;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.aside-box p {
  margin: 10px 0;
  font-size: 15px;
}

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

/*============ Version mobile=========== */
/* ======= RESPONSIVE ====== */
@media (max-width: 768px) {

  /* Par défaut : en colonne (mobile first) */
  .top-bar,
  .bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  /* Positionne la top-bar en haut sur mobile */
  .top-bar {
    flex-direction: row;
    /* ligne */
    gap: 80px;
  }

  /* Positionne la bottom-bar en ligne aussi */
  .bottom-bar {
    flex-direction: row;
    gap: 20px;
    padding-left: 5px;
  }

  .bottom-bar .logo {
    flex: 0 0 auto;
    margin-left: 0;
    /* tu peux ajuster si tu veux encore plus à gauche */
  }

  /* Logo réduit sur mobile */
  .bottom-bar .logo img {
    height: 40px;
    max-width: 100px;
    object-fit: contain;
  }

  /* Ajuste barre de recherche sur mobile */
  .search-section {
    flex: 1;
  }

  .search-input-wrapper {
    display: flex;
    width: 100%;
  }

  .search-input-wrapper input {
    flex: 1;
    padding: 6px;
    font-size: 14px;
  }

  .search-icon-button {
    padding: 6px 10px;
    font-size: 14px;
  }

  /* Icônes plus petits sur mobile */
  .btn-account,
  .btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* espace entre l’icône et le texte */
    padding: 6px 10px;
    font-size: 14px;
    white-space: nowrap;
    /* évite que "Se connecter" passe à la ligne */
    background: none;
    border: none;
    cursor: pointer;
  }

  .btn-account .account-text {
    display: none;
    /* Masque "Se connecter" sur mobile */
  }

  .btn-cart .cart-text {
    display: none;
    /* Masque "Panier" sur mobile */
  }

  /* Pour très petits écrans */
  @media screen and (max-width: 480px) {

    .btn-account i,
    .btn-cart i {
      font-size: 16px;
    }

    .btn-account span,
    .btn-cart span {
      display: none;
      /* cache le texte si tu veux icône seule */
    }
  }

  .slider-text {
    background-color: transparent !important;
    font-size: 14px;
    padding: 10px 0;
    bottom: 30px;
  }

  .slider-text h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .slider-text p {
    font-size: 14px;
    margin: 0;
  }

  .main-content {
    display: flex;
    flex-direction: column;
  }

  .side-nav ul {
    display: flex;
    overflow-x: auto;
    background-color: #fff;
    padding: 10px;
    border-bottom: 1px solid #ccc;
  }

  .side-nav ul li {
    flex: 1;
    white-space: nowrap;
    text-align: center;
    padding: 8px;
    font-size: 14px;
    border-right: 1px solid #ddd;
  }

  .side-nav ul li:last-child {
    border-right: none;
  }

  .side-aside {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 0;
  }

  .aside-box {
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
  }

  .aside-box p {
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 8px 12px;
    border-radius: 6px;
    flex-shrink: 0;
    font-size: 14px;
    margin: 0;
  }

}

.aside-box a {
  color: inherit !important;
  text-decoration: none !important;
}

.side-nav a {
  color: inherit !important;
  /* Hérite de la couleur du <li> ou du parent */
  text-decoration: none !important;
  /* Retire le soulignement */
}

.side-nav a:hover {
  text-decoration: none;
  color: inherit;
}

/*=================== Version PC=================== */
@media (min-width: 769px) {
  .main-content {
    display: grid;
    grid-template-columns: 200px 1fr 250px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 10px;
    align-items: start;
  }

  /* Barre de recherche centrée et extensible */
  .search-section {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Top-bar à droite : drapeau + compte + panier */
  .top-bar {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .side-nav ul {
    flex-direction: column;
    gap: 12px;
  }

  .side-nav ul li {
    padding: 10px;
    background: #f3f3f3;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
  }

  .side-nav ul li:hover {
    background: #e0e0e0;
  }

  .slider-text {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    background: none;
    font-size: 18px;
  }

}

/* Comportement mobile par défaut (tout empilé) */
.logo,
.search-section,
.flag-selector1,
.btn-account,
.btn-cart {
  flex: 1 1 100%;
  text-align: center;
}

.btn-cart a {
  color: inherit !important;
  text-decoration: none !important;
}

@media (min-width: 768px) {
  .header-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
  }

  .logo {
    order: 0;
    flex: 0 0 auto;
  }

  .search-section {
    order: 1;
    flex: 1 1 40%;
    max-width: 400px;
  }

  .flag-selector1 {
    order: 2;
    flex: 0 0 auto;
  }

  .btn-account {
    order: 3;
    flex: 0 0 auto;
  }

  .btn-cart {
    order: 4;
    flex: 0 0 auto;
  }

  .top-bar,
  .bottom-bar {
    display: contents;
  }
}

/* ========= section cartes produits =========== */
.titre-produit {
  font-size: 14px;
  color: #222;
  margin-top: 5px;

  /* ✂️ Pour couper proprement le texte */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.produits-appr {
  background: #f9f9f9;
  padding: 30px 15px;
  overflow-x: hidden;
}

.produits-appr .header-row-scroll {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.produits-appr h2 {
  font-size: 20px;
  font-weight: bold;
  color: #000;
}

.produits-appr a {
  color: #0073e6;
  font-size: 14px;
  text-decoration: none;
}

.produits-liste {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.produits-liste::-webkit-scrollbar {
  display: none;
}

/* ===========bloc carte produit ========= */
.lien-produit {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 240px;
  /* même valeur que ton flex-basis */
}

.carte-produit {
  flex: 0 0 240px;
  /* ou essaie 240px si tu veux encore plus large */
  padding: 10px;
  scroll-snap-align: start;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  width: 100%;
  margin: auto;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.carte-produit:hover {
  transform: scale(1.02);
}

.carte-produit img {
  width: 100%;
  height: auto;
  object-fit: contain;
  aspect-ratio: 1/1;
  /* carré propre */
  background-color: #f8f8f8;
}

.etiquettes {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 8px;
}

.etiquettes span {
  font-size: 0.8em;
  background: #e53935;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
}

.etiquettes .limite {
  background: #f57c00;
}

.reduction {
  background: #c70039;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.limite {
  color: rgb(237, 32, 32);
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 4px;
}

.prix-zone {
  /* margin: 10px 0 5px; */
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  padding: 10px;
}

.prix-actuel {
  font-weight: bold;
  color: #080807;
  font-size: 1.2em;
}

.prix-original {
  margin-left: 5px;
  text-decoration: line-through;
  color: #999;
  font-size: 0.9em;
}

.titre-produit {
  margin-top: 5px;
  padding: 0 10px 15px;
  font-size: 1em;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.container-produits {
  max-width: 1200px;
  /* même largeur que ton main si tu l'as défini */
  margin: 0 auto;
  padding: 0 15px;
}

.slider-wrapper-scroll {
  position: relative;
}

.slider-btn-scroll {
  position: absolute;
  top: 35%;
  transform: translateY(-50%);
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 8px 12px;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}

.slider-btn-scroll:hover {
  background-color: #f0f0f0;
}

.slider-btn-scroll.left {
  left: -10px;
}

.slider-btn-scroll.right {
  right: -10px;
}

/* Cache les boutons sur mobile */
@media screen and (max-width: 768px) {
  .slider-btn-scroll {
    display: none;
  }
}

/* =====================bouton retour en haut======================== */
.back-to-top {
  background-color: #485769;
  color: white;
  text-align: center;
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.back-to-top:hover {
  background-color: #586777;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .back-to-top {
    font-size: 0.95rem;
    padding: 0.8rem;
  }
}

/* ============= pied de page ================== */
.footer-ferargile {
  background-color: #131a22;
  color: #fff;
  font-family: Arial, sans-serif;
  padding: 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column li {
  margin-bottom: 0.5rem;
}

.footer-column a {
  text-decoration: none;
  color: #ddd;
  font-size: 0.95rem;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #2e3a47;
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 100px;
}

.footer-lang-region {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-lang-region select {
  padding: 0.3rem;
  border: none;
  border-radius: 4px;
}

.footer-country {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-country img {
  width: 20px;
  height: auto;
}


/* === Responsive mobile === */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-column {
    flex: 1 1 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-lang-region {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ========================================== Landing_Page ==================================================== */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
}

.background-site {
  background-image: url('https://via.placeholder.com/1400x800');
  /* Remplace par visuel de ta boutique */
  background-size: cover;
  background-position: center;
  height: 100vh;
  filter: blur(2px);
  position: fixed;
  width: 100%;
  z-index: 0;
}

.launch-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.launch-content {
  text-align: center;
  max-width: 600px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  backdrop-filter: blur(8px);
}

.btn-enter {
  margin-top: 20px;
  background-color: #27ae60;
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
}

.btn-enter:hover {
  background-color: #219150;
}

h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

.launch-content p {
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
}

/* input[type="email"] {
  padding: 12px;
  width: 80%;
  border-radius: 8px;
  border: none;
  margin-top: 15px;
  font-size: 16px;
} */

/* input[type="submit"] {
  padding: 12px 24px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
} */

.btn-form {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #3498db;
  color: white;
  border-radius: 8px;
  text-decoration: none;
}

.btn-enter {
  margin-top: 25px;
  background-color: transparent;
  color: white;
  border: 2px solid white;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.socials {
  margin-top: 25px;
}

.socials a {
  margin: 0 10px;
  font-size: 24px;
  color: white;
  text-decoration: none;
}

@media(max-width: 600px) {
  .launch-content {
    width: 90%;
  }
}

/* ========================================== Fiche_Produit_Client ==================================================== */
.product-page {
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
}

.product-container {
  display: grid;
  grid-template-columns: auto 1.7fr 1.3fr 1fr;
  gap: 12px;
  /* espacement réduit et équilibré */
  align-items: start;
}

/* Icônes verticales à gauche */
.left-icons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  /* ✅ Aligne parfaitement en haut */
  align-self: start;
  margin: 0;
}



.left-icons .icon {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  transition: border 0.2s ease;
}

.left-icons .icon:hover {
  border: 2px solid #ffa41c;
}

/* Image principale du produit */
.main-image {
  width: 100%;
  /* ou 100%, ou fixe selon ta maquette */
  max-width: 500px;
  /* ← augmente ici la taille du carré */
  aspect-ratio: 1 / 1;
  /* force un carré */
  overflow: hidden;
  background: #f5f5f5;
  /* couleur de fond en cas d’espace vide */
  border: 1px solid #ccc;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  /* ← centre horizontalement */
}

.main-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* ou 'cover' si tu veux que ça remplisse */
  aspect-ratio: 1 / 1;
  /* image reste carrée */
  pointer-events: none;
  /* empêche interaction si "non modifiable" */
  user-select: none;
}


/* Bloc infos produit */
.product-info {
  font-size: 15px;
  line-height: 1.5;
}

.product-info h1 {
  font-size: 20px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

/* === Section Variante dispo === */
.product-variations {
  margin: 10px 0;
}

.product-variations label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.product-variations select {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  width: 100%;
  max-width: 300px;
}

/* ====ouverture + fermeture Barre d'étoile===== */
.rating-toggle {
  color: #000000;
  cursor: pointer;
  font-weight: bold;
  margin-bottom: 0.5em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}

.rating-toggle:hover {
  text-decoration: underline;
}

.arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.9em;
}

/* flèche tournée */
.arrow.rotate {
  transform: rotate(180deg);
}

/* bloc de barres étoiles animé */
.rating-breakdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.rating-breakdown.expanded {
  max-height: 500px;
  opacity: 1;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* style barres étoiles */
.star-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 5px 0;
}

.star-bar span:first-child {
  width: 70px;
}

.bar {
  flex: 1;
  height: 8px;
  background: #eee;
  margin: 0 10px;
  border-radius: 4px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: #ffa41c;
}

/* ===Prix du produit === */
.price {
  font-size: 19px;
  color: #181818dc;
  font-weight: bold;
  margin: 10px 0;
}

.price span {
  font-size: 13px;
  color: #333;
  font-weight: normal;
}

.details p {
  margin: 3px 0;
  font-size: 13.5px;
}
/* === Conteneur de description === */
.description {
  position: relative;
  text-align: justify;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.description h3 {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #222;
}

/* === Liste du texte avec effet d’ouverture === */
.description ul {
  list-style-type: disc;
  padding-left: 20px;
  overflow: hidden;
  transition: max-height 0.6s ease;
  margin-bottom: 1rem;
}

/* === Bouton Voir plus / Voir moins === */
#toggle-btn {
  display: inline-block;
  background-color: #10202f;
  color: #fff;
  border: none;
  border-radius: 25px;
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 10px auto 0 auto;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

#toggle-btn:hover {
  background-color: #192d40;
  transform: translateX(-50%) scale(1.05);
}

/* === Bloc description limité === */
#description-list {
  max-height: 300px; /* hauteur visible initiale */
  overflow: hidden;
  transition: max-height 0.6s ease;
}

/* === Ajustement mobile === */
@media (max-width: 600px) {
  #toggle-btn {
    font-size: 14px;
    padding: 7px 15px;
  }
}
/* Dégradé Amazon-style */
  .fade::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 90%);
    pointer-events: none;
    transition: opacity 0.4s;
  }

  .expanded::after {
    opacity: 0;
  }

  /* Flèche animée */
  .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
  }

  .rotated {
    transform: rotate(180deg);
  }
/* Bloc achat à droite */
.purchase-box {
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  background: #fdfdfd;
  font-size: 13.5px;
}

.purchase-box .stock {
  color: green;
  font-weight: bold;
  margin: 10px 0;
}

.purchase-box .btn {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  margin: 5px 0;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.btn.primary {
  background-color: #ffd814;
  border: 1px solid #fcd200;
}

.btn.secondary {
  background-color: #ffa41c;
  border: none;
  color: white;
}

.subscribe {
  background: #fffce5;
  padding: 10px;
  border-radius: 6px;
  border: 1px dashed #ccc;
  margin-top: 10px;
  font-size: 13px;
}

/* ✅ Responsive mobile */
@media (max-width: 1024px) {
  .product-container {
    grid-template-columns: 1fr;
  }

  .left-icons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    max-height: none;
    padding-top: 60px;
    /* ⬅️ Descend légèrement les icônes */
    margin-left: 10px;
    /* ⬅️ Décale vers la droite */
  }

  .left-icons .icon {
    width: 40px;
    height: 40px;
  }

  .main-image {
    margin-bottom: 20px;
  }

  .main-image img {
    max-height: none;
    width: 100%;
    transform: none;
  }

  .purchase-box {
    margin-top: 25px;
  }
}

.purchase-box .price-summary {
  border-top: 1px solid #ccc;
  margin-top: 16px;
  padding-top: 12px;
  font-size: 16px;
}

.purchase-box .price-summary p {
  margin: 4px 0;
}

.purchase-box .price-summary strong {
  float: right;
  color: #111;
}

.paypal-note {
  font-size: 13px;
  color: #555;
  margin-top: 8px;
  line-height: 1.4;
}

.paypal-note strong {
  color: #222;
}

/* ================== zone infos sur produit ====================== */
/* Accordion styles */
.accordion-toggle {
  background-color: #f5f5f5;
  color: #333;
  font-size: 1.1em;
  padding: 1em;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-top: 2px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.accordion-toggle::after {
  content: '+';
  float: right;
  font-weight: bold;
}

.accordion-toggle.active::after {
  content: '-';
}


.accordion-content {
  display: none;
  padding: 1em;
  background: #fff;
  border: 1px solid #ccc;
  border-top: none;
}


.technical-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2em;
  margin-bottom: 1em;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1em;
}

.technical-info .left,
.technical-info .right {
  flex: 1 1 300px;
}

.technical-info table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid #ddd;
  margin-top: 0.5em;
}

.technical-info table tr {
  border-bottom: 1px solid #eee;
}


.technical-info td {
  padding: 6px 8px;
  vertical-align: top;
}

.full-details {
  margin-top: 1.5em;
  border-top: 1px solid #ddd;
  padding-top: 1em;
}

.full-details p {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
  margin: 0;
}

.review-call {
  margin-top: 1em;
  border-top: 1px solid #ddd;
  padding-top: 1em;
}

@media (max-width: 768px) {
  .technical-info {
    flex-direction: column;
  }
}

/* ============ zone Commentaire client=============== */
.customer-reviews {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 2px solid #ccc;
  font-family: Arial, sans-serif;
}

.reviews-container {
  display: flex;
  gap: 2em;
  flex-wrap: wrap;
}

.stars-summary {
  flex: 1 1 300px;
  border-right: 1px solid #eee;
  padding-right: 1em;
}

.rating-score {
  font-size: 1.4em;
  margin-bottom: 0.5em;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.9em;
  margin: 6px 0;
}

.rating-bar .bar {
  flex: 1;
  height: 10px;
  background: #eee;
  border-radius: 3px;
  overflow: hidden;
}

.rating-bar .bar div {
  height: 100%;
  background: #ffa41c;
  border-radius: 3px;
}

.review-action {
  margin-top: 2em;
  padding-top: 1em;
  border-top: 1px solid #ddd;
}

.btn-outline {
  background: white;
  border: 1px solid #ccc;
  padding: 0.5em 1em;
  cursor: pointer;
  margin-top: 0.5em;
  font-weight: bold;
}

.review-ai-summary {
  flex: 2;
}

.review-ai-summary h4 {
  margin-top: 1em;
  font-size: 1em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  margin-top: 0.5em;
}

.tags span {
  background: #f3f3f3;
  color: darkgreen;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.85em;
}

/* ====== Avis avec images===== */
.review-images {
  margin-top: 2em;
  border-top: 1px solid #ddd;
  padding-top: 1em;
}

.review-images h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1em;
}

.images-scroll {
  display: flex;
  gap: 0.5em;
  overflow-x: auto;
  margin-top: 0.5em;
}

.images-scroll img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #ccc;
}

@media (max-width: 768px) {
  .reviews-container {
    flex-direction: column;
  }

  .stars-summary {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid #eee;
    padding-bottom: 1em;
  }
}

/* ==zone avis client== */
.top-reviews {
  margin-top: 3em;
  border-top: 2px solid #ccc;
  padding-top: 2em;
}

.translated-note {
  font-size: 0.9em;
  color: #555;
  margin-bottom: 1em;
}

.review-card {
  margin-bottom: 2em;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5em;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.3em;
}

.avatar {
  width: 30px;
  height: 30px;
  background: #ccc;
  border-radius: 50%;
}

.review-rating {
  color: #e69a30;
  font-size: 1em;
  margin: 0.5em 0;
}

.review-meta {
  font-size: 0.9em;
  color: #555;
}

.verified {
  color: #1b4924;
  font-weight: bold;
}

.review-text {
  margin: 1em 0;
  line-height: 1.5em;
}

.review-feedback {
  font-size: 0.85em;
  color: #555;
  margin-bottom: 0.5em;
}

.review-actions {
  display: flex;
  gap: 1em;
  align-items: center;
}

.review-actions .btn-outline {
  padding: 4px 12px;
  font-size: 0.9em;
}

.review-actions a {
  font-size: 0.85em;
  color: #007185;
}

/* ==========================================Fiche2_Produit_client ====================================================== */
/* === Personnalisation Pizza === */
.option-group {
  margin-bottom: 30px;
}

.option-group p {
  margin-bottom: 12px;
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
}

.option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-group label {
  display: inline-block;
  padding: 10px 16px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
  user-select: none;
  min-width: 120px;
  text-align: center;
}

.option-group input[type="radio"],
.option-group input[type="checkbox"] {
  display: none;
}

.option-group input[type="radio"]:checked+label,
.option-group input[type="checkbox"]:checked+label {
  background-color: #ff5722;
  color: white;
  border-color: #ff5722;
}

.option-group label:hover {
  border-color: #ff5722;
  background-color: #ffe5db;
}

@media (max-width: 768px) {
  .option-group label {
    font-size: 14px;
    min-width: auto;
    padding: 8px 12px;
  }

  .option-list {
    gap: 8px;
    justify-content: flex-start;
  }
}

/* ======================================== page produitbio =========================================================== */
/* ==================== Structure générale ==================== */
body.produits-page {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

/* ==================== Conteneur principal ==================== */
.page-produits-container {
  max-width: 1300px;
  margin: 40px auto;
  padding: 0 20px;
}

/* ==================== En-tête de section ==================== */
.page-produits-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.page-produits-header h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.page-produits-filtres {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.page-produits-filtres select,
.page-produits-filtres input[type="search"] {
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
}

/* ==================== Grille de produits ==================== */
.grid-produits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  /* ✅ 5 cartes par ligne */
  gap: 20px;
  max-width: 1300px;
  margin: auto;
}

/* ==================== Carte produit ==================== */
.card-produit {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.2s ease;
  width: 100%;
  cursor: pointer;
  margin-bottom: 20px;
  /* ✅ C’est cette ligne qu’on ajoute */
}

.card-produit:hover {
  transform: scale(1.02);
}

.card-produit img {
  width: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background-color: #f8f8f8;
}

/* ==================== Infos produit ==================== */
.card-info {
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.card-titre {
  font-size: 1rem;
  font-weight: bold;
  color: #222;
  margin: 0;
  text-align: center;
}

.card-prix {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.card-prix-actuel {
  color: #e60023;
  font-size: 1.2rem;
  font-weight: 600;
}

.card-prix-original {
  font-size: 0.9rem;
  color: #888;
  text-decoration: line-through;
}

.card-tags {
  font-size: 0.75rem;
  background-color: #f04;
  color: white;
  padding: 3px 7px;
  border-radius: 12px;
  display: inline-block;
  margin-top: 5px;
}

/* ==================== Responsive ==================== */
@media screen and (max-width: 1024px) {
  .grid-produits {
    grid-template-columns: repeat(3, 1fr);
    /* 🟠 3 cartes par ligne sur tablette */
  }
}

/* ===Mobile===== */
@media screen and (max-width: 768px) {
  .grid-produits {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding: 10px 0;
    scroll-snap-type: x mandatory;

  }

  .card-produit {
    flex: 0 0 auto;
    width: 220px;
    scroll-snap-align: start;

  }
}

@media screen and (max-width: 480px) {
  .grid-produits {
    gap: 10px;
  }

  .card-produit {
    width: 200px;
  }
}


/* ============== header Page Menu ============= */

/* ==================== BANNIÈRE ANIMÉE ==================== */
.custom-banner {
  width: 100%;
  height: 40px;
  background-color: beige;
  overflow: hidden;
  position: relative;
}

.custom-banner-content {
  position: absolute;
  white-space: nowrap;
  font-weight: bold;
  color: #000;
  animation: slideText 15s linear infinite;
  left: 100%;
  top: 50%;
}

@keyframes slideText {
  0% {
    transform: translateX(0%) translateY(-50%);
  }

  100% {
    transform: translateX(calc(-100% - 100vw)) translateY(-50%);
  }
}

/* ==================== EN-TÊTE PRINCIPAL ==================== */
.custom-header {
  background-color: #fff;
  padding: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Conteneur général de l'en-tête */
.custom-header-row {
  display: flex;
  flex-wrap: wrap;
  /* empilement sur mobile */
  align-items: center;
  justify-content: center;
  gap: 20px;
}

/* Permet aux enfants de s'afficher dans le parent flex */
.custom-bottom-bar,
.custom-top-bar {
  display: contents;
}

/* Ordre par défaut mobile : empilé */
.custom-logo,
.custom-search-section,
.custom-flag-selector,
.custom-btn-cart,
.custom-btn-account {
  flex: 1 1 100%;
  text-align: center;
}

/* Ordre PC */
@media (min-width: 768px) {
  .custom-header-row {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .custom-logo {
    order: 0;
    flex: 0 0 auto;
  }

  .custom-search-section {
    order: 1;
    flex: 1 1 auto;
    max-width: 400px;
    justify-content: center;
  }

  .custom-flag-selector {
    order: 2;
    flex: 0 0 auto;
  }

  .custom-btn-account {
    order: 3;
    flex: 0 0 auto;
  }

  .custom-btn-cart {
    order: 4;
    flex: 0 0 auto;
  }
}

.custom-logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  padding-left: 25px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1;
  /* pour qu’il reste au-dessus des autres éléments */
  background-color: white;
  /* optionnel : évite que le logo soit transparent si le fond défile */
  padding: 10px 25px;
}

/* Masquer le logo quand le menu glissant est actif */
.custom-mobile-menu.open~.custom-header .logo,
.custom-mobile-menu.open~.custom-header .custom-logo {
  display: none;
}

.custom-search-section {
  display: flex;
  flex-grow: 1;
  justify-content: center;
  margin: auto;
  padding: 10px;
  align-items: center;
}

.custom-search-input-wrapper {
  position: relative;
  width: 100%;
}

.custom-search-input-wrapper input {
  width: 100%;
  padding: 8px 40px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.custom-search-icon-button {
  position: absolute;
  top: 2px;
  right: 2px;
  bottom: 2px;
  width: 34px;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-search-icon-button:hover {
  background-color: #45a049;
}

.custom-search-icon-button i {
  font-size: 14px;
}

@media (max-width: 767px) {
  .custom-search-section {
    display: flex;
    width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    /* pour qu’elle ne soit pas masquée */
    z-index: 10;
  }

  .custom-search-input-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .custom-search-input-wrapper input {
    font-size: 16px;
    padding: 10px 38px 10px 12px;
    width: 100%;
  }

  .custom-search-icon-button {
    width: 38px;
    font-size: 16px;
    right: 0;
    top: 0;
    bottom: 0;
  }

  .custom-header-row {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==================== TOP BAR (drapeau, panier, compte) ==================== */
.custom-flag-selector {
  display: flex;
  align-items: center;
  gap: 6px;
}

.custom-flag-selector select {
  font-size: 12px;
  padding: 1px 1px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #fff;
}

.custom-flag-icon {
  width: 18px;
  height: 12px;
  object-fit: contain;
  vertical-align: middle;
}

.custom-btn-cart,
.custom-btn-account {
  display: inline-flex;
  align-items: center;
  background-color: #f0f0f0;
  /* ajustable */
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  border: 1px solid #ccc;
  margin-left: 10px;
}

.custom-btn-cart i,
.custom-btn-account i {
  margin-right: 6px;
}

.custom-cart-count {
  display: none;
  position: absolute;
  top: 0px;
  right: -10px;
  background-color: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
  min-width: 20px;
  text-align: center;
}

/* ==================== RESPONSIVE ==================== */


@media (max-width: 768px) {

  /* Par défaut : en colonne (mobile first) */
  .custom-top-bar,
  .custom-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }

  /* Positionne la top-bar en haut sur mobile */
  .custom-top-bar {
    flex-direction: row;
    /* ligne */
    gap: 80px;
  }

  /* Positionne la bottom-bar en ligne aussi */
  .custom-bottom-bar {
    flex-direction: row;
    gap: 20px;
    padding-left: 5px;
  }

  .custom-bottom-bar .custom-logo {
    flex: 0 0 auto;
    margin-left: 0;
    /* tu peux ajuster si tu veux encore plus à gauche */
  }

  /* Logo réduit sur mobile */
  .custom-bottom-bar .custom-logo img {
    height: 40px;
    max-width: 100px;
    object-fit: contain;
  }

  /* Ajuste barre de recherche sur mobile */
  .custom-search-section {
    flex: 1;
  }

  .custom-search-input-wrapper {
    display: flex;
    width: 100%;
  }

  .custom-search-input-wrapper input {
    flex: 1;
    padding: 6px;
    font-size: 14px;
  }

  .custom-search-icon-button {
    padding: 6px 10px;
    font-size: 14px;
  }

  /* Icônes plus petits sur mobile */
  .custom-btn-account,
  .custom-btn-cart {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* espace entre l’icône et le texte */
    padding: 6px 10px;
    font-size: 14px;
    white-space: nowrap;
    /* évite que "Se connecter" passe à la ligne */
    background: none;
    border: none;
    cursor: pointer;
  }

  .custom-btn-account .custom-account-text {
    display: none;
    /* Masque "Se connecter" sur mobile */
  }

  .custom-btn-cart .custom-cart-text {
    display: none;
    /* Masque "Panier" sur mobile */
  }

  /* Pour très petits écrans */
  @media screen and (max-width: 480px) {

    .custom-btn-account i,
    .custom-btn-cart i {
      font-size: 16px;
    }

    .custom-btn-account span,
    .custom-btn-cart span {
      display: none;
      /* cache le texte si tu veux icône seule */
    }
  }
}

/* ================= Menu Burger ================================ */
/* ==================== MENU LATÉRAL (toujours actif) ==================== */
.custom-mobile-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 240px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: left 0.3s ease-in-out;
  padding-top: 60px;
}

.custom-mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-mobile-menu ul li {
  border-bottom: 1px solid #eee;
}

.custom-mobile-menu ul li a {
  display: block;
  padding: 15px 20px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.custom-mobile-menu ul li a:hover {
  background-color: #f5f5f5;
}

/* Overlay semi-transparent */
.custom-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: none;
  z-index: 999;
}

/* État actif */
.custom-mobile-menu.open {
  left: 0;
}

.custom-menu-overlay.show {
  display: block;
}

/* ==================== Bouton burger (PC + mobile) ==================== */
.custom-burger-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
}

.custom-burger-button i {
  pointer-events: none;
}

/* ==================== BOTTOM BAR ==================== */
/* Responsive (mobile : empile verticalement) */
@media screen and (max-width: 768px) {
  .custom-bottom-bar {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .custom-search-section {
    flex: 1;
    /* permet à la barre de recherche de prendre l'espace restant */
  }

  .custom-logo img {
    height: 32px;
    /* réduire un peu le logo si nécessaire */
  }
}

/* ======================================================== PAGE A PROPOS / CONTACT ====================================== */
/* ==================== PAGE À PROPOS ==================== */
.Apropos-page main {
  max-width: 960px;
  margin: auto;
  padding: 20px;
  background: #fff;
  margin-top: 20px;
  /* ajuste selon la hauteur exacte de ton header */
  margin-bottom: 20px;
  /* ou padding-bottom */
}

.section-Apropos {
  margin-bottom: 40px;
}

.section-Apropos h1,
.section-Apropos.service-client h2,
.section-Apropos h2 {
  color: #000000;
  margin-bottom: 10px;
  text-align: center;
}

.section-Apropos p {
  color: #333;
  line-height: 1.6;
}

/* ==================== GRILLE ==================== */
.grid-Apropos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.card-Apropos {
  background: #f4f4f4;
  flex: 1 1 280px;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ==================== FORMULAIRE CONTACT ==================== */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

form button {
  background: #2e7d32;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #256428;
}

/* ==================== INFO DE CONTACT ==================== */
.contact-info p,
.service-client p {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ==================== SOCIAL ==================== */
.social-links a {
  margin-right: 15px;
  font-size: 1.4em;
  color: #000000;
  text-decoration: none;
}

.social-links a:hover {
  color: #000000;
}

/* ==================== FAQ ==================== */
details summary {
  cursor: pointer;
  font-weight: bold;
  color: #2e7d32;
  margin-bottom: 10px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
  .Apropos-page main {
    padding: 15px;
  }

  .grid-Apropos {
    flex-direction: column;
  }

  form input,
  form textarea {
    font-size: 1em;
  }

  .social-links {
    text-align: center;
  }
}

/* ========================================= CSS pour tous les liens du footer ====================================================== */
/* Contenu principal */
.contenu-page {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-mission h2 {
  color: #000000;
  margin-top: 20px;
}

.section-mission ul {
  padding-left: 20px;
}

.section-mission ol {
  padding-left: 20px;
}

.section-mission li {
  margin-bottom: 10px;
}

/* ========================================== Page Recette-vidéo =================================================================== */
/* Barre de recherche à droite */
/* Conteneur principal */
.barre-recherche-video {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.5rem 0;
}

/* Bloc avec l’icône et le champ */
.champ-recherche {
  position: relative;
  width: 150px;
}

/* Champ de recherche stylé */
.champ-recherche input {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  border-radius: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
  transition: border-color 0.3s ease;
}

/* Icône loupe à gauche */
.icone-loupe {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  color: #666;
}

/* Focus : juste une bordure un peu plus foncée */
.champ-recherche input:focus {
  outline: none;
  border-color: #888;
}

/* PC : largeur plus confortable */
@media (min-width: 1024px) {
  .champ-recherche {
    width: 250px;
  }
}

.btn-acheter a {
  color: inherit !important;
  text-decoration: none !important;

}


/* Conteneur global des lignes */
.scroll-lignes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1rem;
}

/* Chaque ligne scrollable */
.ligne-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
}

.ligne-scroll::-webkit-scrollbar {
  display: none;
}

/* Blocs de vidéo */
.bloc-vendeur {
  flex: 0 0 160px;
  background: #fff;
  border-radius: 12px;
  padding: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
}

/* Vidéo */
.video-container {
  width: 100%;
  padding-bottom: 56.25%;
  position: relative;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}

/* Texte */
.titre-vendeur {
  font-size: 0.85rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.4rem;
}

/* Boutons */
.actions {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.actions button {
  padding: 0.4rem;
  font-size: 0.8rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
}

.btn-acheter {
  background-color: #4CAF50;
  color: white;
}

/* === Version PC : Grille classique === */
@media (min-width: 1024px) {
  .scroll-lignes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    padding: 2rem;
  }

  .ligne-scroll {
    overflow: visible;
    display: contents;
    /* Pour annuler le scroll sur PC */
  }

  .bloc-vendeur {
    flex: unset;
  }

  .barre-recherche {
    justify-content: center;
  }

  .barre-recherche input {
    width: 300px;
  }
}

/* ====================================== Page suivi-commande ================================================ */
.texte-explicatif {
  background-color: #f9f9f9;
  padding: 1.5rem;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 800px;
  font-size: 1rem;
  line-height: 1.6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.texte-explicatif h2 {
  margin-bottom: 1rem;
  color: #333;
}

.texte-explicatif ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.texte-explicatif li {
  margin-bottom: 0.5rem;
}

/* ====================================Page Formulaire-Retour-Produit ========================================================= */
/* ========== BLOC FORMULAIRE (ANNULATION & RETOUR) ========== */
.bloc-annulation,
.bloc-retour {
  width: 100%;
  max-width: 700px;
  /* largeur max pour garder un bon centrage */
  margin: 30px auto;
  /* espace vertical + centrage horizontal */
  padding: 25px;
  background-color: #fffef5;
  /* léger fond beige */
  border-left: 5px solid #4CAF50;
  /* bande verte à gauche */
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  /* ombre douce */
  font-family: 'Segoe UI', sans-serif;
  animation: fadeIn 0.4s ease-in-out;
  /* animation douce à l’apparition */
  transition: all 0.4s ease;
  box-sizing: border-box;
  /* inclut padding dans la largeur */
}

/* Titres des blocs */
.bloc-annulation h3,
.bloc-retour h3 {
  font-size: 22px;
  color: #333;
  margin-bottom: 20px;
}

/* Boutons d'action dans chaque bloc */
.bloc-annulation button,
.bloc-retour button {
  background-color: #4CAF50;
  color: white;
  padding: 12px 18px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* espace entre icône et texte */
}

.bloc-annulation button:hover,
.bloc-retour button:hover {
  background-color: #45a049;
}

/* ========== WRAPPER POUR LES DEUX BLOCS ========== */
.actions-commande {
  display: flex;
  flex-direction: column;
  /* empilé sur mobile */
  gap: 30px;
  align-items: center;
  margin: 40px auto;
}

/* ========== MODE BUREAU : AFFICHAGE CÔTE À CÔTE ========== */
@media (min-width: 992px) {
  .actions-commande {
    flex-direction: row;
    /* côte à côte */
    justify-content: center;
    align-items: flex-start;
  }

  .bloc-annulation,
  .bloc-retour {
    width: 48%;
    /* prend chacun presque la moitié */
  }
}

/* ========== FORMULAIRES INTÉGRÉS AUX BLOCS ========== */
.formulaire-retour-container,
.formulaire-annulation-container {
  margin-top: 20px;
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  animation: fadeIn 0.5s ease-in-out;
}

/* Titre du formulaire */
.formulaire-retour-container h2,
.formulaire-annulation-container h2 {
  text-align: center;
  color: #333;
  margin-bottom: 25px;
}

/* Labels du formulaire */
form label {
  display: block;
  margin: 15px 0 5px;
  font-weight: bold;
  color: #333;
}

/* Champs de saisie */
form input[type="text"],
form input[type="file"],
form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  font-size: 15px;
  transition: border-color 0.3s;
}

/* Focus champ */
form input:focus,
form textarea:focus {
  border-color: #4CAF50;
  outline: none;
}

/* Bouton d’envoi du formulaire */
form button[type="submit"] {
  display: block;
  width: 100%;
  background-color: #4CAF50;
  color: white;
  font-weight: bold;
  border: none;
  padding: 14px;
  border-radius: 8px;
  margin-top: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

form button[type="submit"]:hover {
  background-color: #3e9143;
}

/* ========== MESSAGE DE CONFIRMATION ========== */
#confirmation-message {
  margin-top: 20px;
  padding: 12px;
  background-color: #e8f5e9;
  border-left: 4px solid #4CAF50;
  border-radius: 5px;
  color: #2e7d32;
  font-weight: bold;
}

/* ========== SUIVI DU RETOUR ========== */
#suivi-retour {
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 12px;
  margin-top: 25px;
}

#suivi-retour ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

#suivi-retour li {
  padding: 6px 0;
  font-weight: 500;
  color: #555;
}

#suivi-retour a {
  color: #4CAF50;
  text-decoration: none;
  font-weight: bold;
}

#suivi-retour a:hover {
  text-decoration: underline;
}

/* ========== ANIMATION FADE-IN ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== VISIBILITÉ DES FORMULAIRES (toggle JS) ========== */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}

/* ============================================ Page Panier Produit =============================================================== */
.actions-commande {
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* espace vertical entre les 2 blocs */
  align-items: center;
}

main.section-panier {
  transform: scale(0.9);
  /* 90% de la taille originale */
  transform-origin: top center;
  /* Garde l’alignement centré vers le haut */
}

.section-panier {
  max-width: 1000px;
  /* Avant : 1200px */
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', sans-serif;
  animation: fadeIn 0.6s ease-in-out;
}

.section-panier h1 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2em;
  color: #333;
}

.contenu-panier-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

/* Colonne produits */
.zone-produits {
  flex: 1 1 58%;
  /* Avant 55% */
}

.article-panier {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: transform 0.3s;
}

.article-panier:hover {
  transform: scale(1.02);
}

.image-produit {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
}

.infos-produit h3 {
  margin: 0 0 10px;
  color: #333;
}

.quantite button {
  padding: 5px 5px;
  font-size: 16px;
  margin: 0 5px;
  border-radius: 5px;
  border: none;
  background: #4CAF50;
  color: white;
  cursor: pointer;
}

.quantite input {
  width: 50px;
  text-align: center;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Colonne paiement */
.paiement-section {
  flex: 1 1 38%;
  /* Avant 40% */
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  color: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: sticky;
  overflow: hidden;
  max-width: 380px;
  /* 👈 Ajout important */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: flex-start;
  /* Important si tu utilises Flexbox */
}

.paiement-section:hover {
  transform: scale(1.01);
}

.paiement-section h2 {
  text-align: center;
  margin-bottom: 25px;
}

.logos {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.logo-visa,
.logo-mastercard {
  width: 60px;
  height: auto;
}

.paiement-section input {
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 16px;
}

.paiement-section input::placeholder {
  color: #eee;
}

.input-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin-bottom: 15px;
}

.input-wrapper input {
  width: 100%;
  padding: 10px 40px 10px 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.toggle-visibility {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  user-select: none;
}

.total {
  background: rgba(0, 0, 0, 0.2);
  padding: 15px;
  border-radius: 12px;
  margin-top: 20px;
}

.total p {
  margin: 6px 0;
  color: #fff;
  font-weight: 500;
}

.paiement-section button {
  margin-top: 20px;
  width: 100%;
  background-color: #00e676;
  color: black;
  font-weight: bold;
  padding: 14px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.paiement-section button:hover {
  background-color: #00c853;
}

/* Graphique carte */
.carte-paiement-graphique {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.puce {
  width: 40px;
  height: 30px;
  background: linear-gradient(45deg, #f7d776, #b99735);
  border-radius: 6px;
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3);
}

.logo-carte {
  font-size: 28px;
  color: #fff;
}

@media (min-width: 1200px) {
  .section-panier {
    transform: scale(0.95);
    /* léger recul pour dézoomer */
  }
}

/* ======== section Adresse de livraison ========= */
.accordion-button {
  background-color: #eee;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  border-radius: 8px;
  margin-top: 20px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-button .chevron {
  transition: transform 0.3s ease;
}

.accordion-button.active .chevron {
  transform: rotate(180deg);
}

.accordion-content {
  overflow: hidden;
  margin-top: 10px;
}

.adresse-livraison label {
  font-weight: 600;
  margin-bottom: 5px;
  display: block;
  font-size: 0.95rem;
  color: #eff0f1;
  /* bleu foncé lisible */
}

.adresse-livraison input,
.adresse-livraison textarea {
  color: #111;
  /* texte saisi en noir */
  background-color: #fff;
  border: 1px solid #ccc;
}

.adresse-livraison input::placeholder,
.adresse-livraison textarea::placeholder {
  color: #888;
  /* placeholders gris moyens */
}

.choix-livraison {
  background-color: #1e3a5f;
  padding: 15px 20px;
  border-radius: 12px;
  color: #fff;
  margin-top: 20px;
  font-size: 1rem;
}

.choix-livraison h3 {
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 1.1rem;
}

.radio-option {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  font-weight: 500;
  position: relative;
  padding-left: 35px;
  line-height: 1.4;
}

.radio-option input[type="radio"] {
  opacity: 0;
  position: absolute;
  cursor: pointer;
}

.custom-radio {
  position: absolute;
  left: 0;
  top: 3px;
  height: 20px;
  width: 20px;
  background-color: #f1f1f1;
  border-radius: 50%;
  border: 2px solid #ccc;
  transition: all 0.2s ease-in-out;
}

.radio-option input[type="radio"]:checked~.custom-radio {
  background-color: #00e676;
  border-color: #00c853;
}

.custom-radio::after {
  content: "";
  position: absolute;
  display: none;
}

.radio-option input[type="radio"]:checked~.custom-radio::after {
  display: block;
}

.custom-radio::after {
  top: 5px;
  left: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

/* ✅ Responsive : pour petits écrans */
@media screen and (max-width: 480px) {
  .choix-livraison {
    font-size: 0.95rem;
    padding: 12px 15px;
  }

  .radio-option {
    padding-left: 32px;
  }

  .custom-radio {
    height: 18px;
    width: 18px;
  }

  .custom-radio::after {
    top: 4px;
    left: 4px;
    width: 7px;
    height: 7px;
  }
}

/* === Bloc livraison (ville, jour, options) === */
.Section-Ville,
.section-jour,
.shipping-options {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Titres des blocs */
.Section-Ville h2,
.section-jour h2,
.shipping-options h4,
.info-box h3 {
  font-size: 1.3em;
  margin-bottom: 12px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box {
  background-color: #fdf6f0;
  /* visuel chaleureux */
  border-left: 6px solid #000000;
  /* ligne orange à gauche */
  padding: 20px;
  border-radius: 10px;
  margin-top: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}


.info-box h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #000000;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}


.info-box ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.info-box ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.info-box ul li::before {
  content: '✔️';
  position: absolute;
  left: 0;
  top: 2px;
  font-size: 16px;
}

.info-box p strong {
  color: #000;
  font-weight: 600;
}

.info-box p {
  margin-top: 10px;
}

/* Sélecteurs */
.Section-Ville select,
.section select {
  width: 100%;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1em;
  background: white;
  margin-bottom: 10px;
}

/* Radio boutons personnalisés */
.shipping-options label {
  display: block;
  margin: 4px 0;
  font-size: 0.98em;
  color: #222;
}

.shipping-options input[type="radio"] {
  margin-right: 6px;
}

/* Message de livraison groupée */
#messageLivraison {
  font-style: italic;
  font-weight: 500;
  margin-top: 10px;
  color: #007a33;
}

/* Date express */
#dateExpress {
  color: #f29400;
  font-weight: bold;
  margin-top: 10px;
}

/* Responsive amélioré */
@media (max-width: 600px) {

  .Section-Ville,
  .section,
  .shipping-options,
  .info-box {
    padding: 15px;
  }
}

/* =================================== Dashboard de Suivi de Commande ======================================= */
.dashboard-container {
  max-width: 1000px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  font-family: 'Segoe UI', sans-serif;
  animation: fadeIn 0.6s ease-in-out;
}

.dashboard-container h2 {
  text-align: center;
  font-size: 2em;
  color: #333;
  margin-bottom: 40px;
}

/* Section détails commande */
.detail-commande {
  background: #f9f9f9;
  border-left: 5px solid #4CAF50;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  color: #333;
}

/* Suivi commande */
.etat-commande {
  margin-bottom: 40px;
}

.etat-commande h3 {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #444;
}

.etapes-commande {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.etapes-commande li {
  background: #eee;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 500;
  color: #555;
  transition: all 0.3s ease;
}

.etapes-commande li.etat-actif {
  background: #4CAF50;
  color: white;
  font-weight: bold;
}

/* Produits achetés */
.produits-commandes h3 {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: #444;
}

.produit {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px;
  background: #f5f5f5;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.produit img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}

.produit select {
  margin-top: 8px;
  padding: 6px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* Demande de retour */
.retour-commande {
  background: #fff3cd;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid #ffc107;
  margin-bottom: 40px;
}

.retour-commande h3 {
  margin-bottom: 10px;
  color: #856404;
}

.btn-retour {
  display: inline-block;
  background: #ffc107;
  color: #000;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-retour:hover {
  background: #e0a800;
}

/* Historique des commandes */
.historique-commandes h3 {
  font-size: 1.3em;
  margin-bottom: 15px;
  color: #444;
}

.historique-commandes ul {
  list-style: none;
  padding: 0;
}

.historique-commandes li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.historique-commandes li a {
  color: #4CAF50;
  font-weight: bold;
  text-decoration: none;
}

.historique-commandes li a:hover {
  text-decoration: underline;
}

/* Animation fadeIn */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bloc-annulation {
  background-color: #fff3cd;
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid #ffc107;
  margin: 20px 0;
  color: #6b4e00;
}

.btn-retour {
  background-color: #ffc107;
  color: #000;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
}

.btn-retour:hover {
  background-color: #e0a800;
}

.form-retour input,
.form-retour textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

/* ============================================= Section Newsletter avec réduction =============================================================== */
.newsletter-section {
  background-color: #f5f5f5;
  padding: 40px 20px;
  text-align: center;
  border-top: 2px solid #e0e0e0;
  margin-top: 40px;
}

.newsletter-container {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-section h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #333;
}

.newsletter-section p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  padding: 12px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 60%;
  max-width: 300px;
}

.newsletter-form button {
  padding: 12px 20px;
  font-size: 1rem;
  background-color: #007b5e;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #005f48;
}

/* ============================================ Page StoreConnexion =================================================================================== */

/* ====== Page Connexion / Inscription ====== */
body.page-auth {
  background-color: #f4f4f4;
}

body.page-auth .StoreConnexion {
  padding: 50px 20px;
  min-height: 85vh;
}

body.page-auth .container-connexion {
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


img {
  max-width: 100%;
  height: auto;
}

/* ====== HEADER ====== */
.header-connexion {
  text-align: center;
  padding: 20px 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.header-connexion img {
  max-height: 60px;
}

/* ====== FOOTER ====== */
.footer-connexion {
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
  background-color: #fafafa;
  border-top: 1px solid #e0e0e0;
}

/* ====== Contenu principal ====== */
.StoreConnexion {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  min-height: 80vh;
}

.container-connexion {
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  width: 100%;
}

/* ====== Titres ====== */
.form-title {
  margin-bottom: 20px;
  font-size: 22px;
  text-align: center;
  color: #2c3e50;
}

/* ====== Champs de formulaire ====== */
.form-group,
.input-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.form-group label,
.input-group label {
  font-weight: 500;
  margin-bottom: 5px;
}

.form-group input,
.input-group input {
  padding: 10px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  transition: border 0.3s ease;
}

.form-group input:focus {
  border-color: #27ae60;
  outline: none;
}

/* ====== Case à cocher ====== */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 20px;
}

.checkbox-group input[type="checkbox"] {
  transform: scale(1.2);
}

/* ====== Boutons ====== */
.btn,
.form-button {
  width: 100%;
  background-color: #27ae60;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover,
.form-button:hover {
  background-color: #219150;
}

/* ====== Lien bas de formulaire ====== */
.toggle-form,
.form-toggle {
  margin-top: 15px;
  font-size: 14px;
  color: #2c3e50;
  text-align: center;
  cursor: pointer;
}

.toggle-form:hover {
  text-decoration: underline;
}

/* ====== Formulaire caché ====== */
.hidden {
  display: none;
}

/* ====== Responsive ====== */
@media screen and (max-width: 480px) {
  .container-connexion {
    padding: 20px;
    max-width: 100%;
  }

  .form-title {
    font-size: 20px;
  }

  .btn {
    font-size: 15px;
  }
}

.form-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15px;
}

.form-link {
  font-size: 14px;
  color: #2c3e50;
  text-decoration: none;
  margin: 5px 0;
}

.form-link:hover {
  text-decoration: underline;
  color: #27ae60;
}

#login-form,
#register-form {
  width: 100%;
}

/* ========================================= page password-réinit============================================================== */
.form-forgot-password {
  max-width: 400px;
  margin: auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.form-forgot-password p {
  margin-bottom: 20px;
  font-size: 15px;
  color: #444;
}