/* =============================== STYLE GLOBAL DU SITE ================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #f4f4f4;
  color: #222;
  line-height: 1.6;
}

/* =============================== EN-TÊTE (HEADER) ================================= */
/* Dropdown */

header {
  position: relative;
  z-index: 10000;
}

.dropdown {
  position: relative;
}

.dropdown .arrow {
  font-size: 12px;
  margin-left: 5px;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #222;
  min-width: 200px;
  display: none;
  flex-direction: column;
  padding: 10px 0;
  z-index: 999;
}

.submenu li {
  margin: 0;
}

.submenu li a {
  padding: 10px 20px;
  display: block;
  color: #fff;
}

.submenu li a:hover {
  background-color: #204cda;
  color: #fff;
}

/* Hover PC */
.dropdown:hover .submenu {
  display: block;
}




/* =============================== EN-TÊTE (HEADER) ================================= */
@media (min-width: 1025px) { /* Cibler les écrans de bureau uniquement */
  /* Aligner le texte du strong avec les autres éléments de menu */
  header nav ul li strong {
    display: inline-flex; /* Permet à l'élément de se comporter comme un élément flexible */
    align-items: center;  /* Centrer le texte verticalement */
    margin-left: 20px;     /* Un petit espace pour éviter qu'il soit collé */
    font-weight: 600;      /* Assure que le texte est aussi gras que les autres liens */
  }
}






/* 📱 Responsive - MENU MOBILE */
@media (max-width: 768px) {

  

  /* NAV */
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #111;
    display: none; /* caché par défaut */
    z-index: 10000;
  }

  /* 👇 CLASSE AJOUTÉE PAR TON JS */
  nav.show-menu {
    display: block;
  }

  nav ul {
    flex-direction: column;
    width: 100%;
  }

  nav ul li {
    margin: 10px 0;
  }

  /* Sous-menus */
  .submenu {
    position: static;
    display: none;
    background-color: #333;
  }

  .dropdown.open .submenu {
    display: block;
  }

  /* Désactiver hover mobile */
  .dropdown:hover .submenu {
    display: none;
  }
}



/* =============================== SECTION HERO (image principale) ================================= */
#hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

#hero img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  filter: brightness(60%);
}

#hero .hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

#hero h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

#hero p {
  font-size: 18px;
  margin-bottom: 25px;
}

#hero button {
  background-color: #204cda;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

#hero button:hover {
  background-color: #204cda;
}

/* =============================== SECTION CATÉGORIES ================================= */
#categories {
  padding: 60px 20px;
  text-align: center;
  background-color: white;
}

#categories h2 {
  margin-bottom: 40px;
  color: #333;
}

.category-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.category {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 280px;
  transition: transform 0.3s ease;
}

.category:hover {
  transform: translateY(-10px);
}

.category img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.category h3 {
  background-color: #204cda;
  color: white;
  padding: 15px;
  text-transform: uppercase;
  font-size: 16px;
}

.category h3 a {
  color: white;
  text-decoration: none;
}

/* =============================== SECTION PRODUITS EN VEDETTE ================================= */
#produits {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

#produits h2 {
  margin-bottom: 40px;
}

.produit-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.produit {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 250px;
  transition: transform 0.3s ease;
  padding-bottom: 15px;
}

.produit:hover {
  transform: translateY(-10px);
}

.produit img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.produit h4 {
  margin: 15px 0 5px;
  font-size: 16px;
}

.produit p {
  color: #e3980d;
  font-weight: bold;
  margin-bottom: 10px;
}

.produit button {
  background-color: #204cda;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.produit button:hover {
  background-color: #204cda;
}












































































/* =============================== SECTION À PROPOS ================================= */
#about-home {
  background-color: white;
  padding: 60px 20px;
  text-align: center;
}

#about-home h2 {
  margin-bottom: 20px;
}

#about-home p {
  max-width: 800px;
  margin: 0 auto 30px;
}

#about-home img {
  width: 80%;
  max-width: 600px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* =============================== SECTION CONTACT ================================= */
/* Style général de la section contact */
.contact-box {
  text-align: center;
  padding: 50px 20px;
  background-color: #204cda;
  color: white;
}

.contact-box h3 {
  margin-bottom: 20px;
  font-size: 22px;
}

/* Style des icônes sociales */
.social-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  transition: transform 0.3s, opacity 0.3s;
  text-decoration: none;
}

.social-icons a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* Couleurs par réseau social */
.social-icons a.facebook {
  background-color: #1877F2;
}

.social-icons a.linkedin {
  background-color: #0A66C2;
}

.social-icons a.whatsapp {
  background-color: #25D366;
}

.social-icons a.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icons a.tiktok {
  background-color: #000000;
  color: #69C9D0;
}

.social-icons a.x {
  background-color: #1DA1F2;
}

/* =============================== FOOTER ================================= */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 15px 0;
  font-size: 14px;
}




























/* =============================================================================================
  2026
=============================================================================================== */

/* =============================== VERSION FINALE MOBILE + TABLETTE Icônes bien à l'intérieur, 2 lignes / 3 colonnes ================================= */
@media (max-width: 1024px) {
  .contact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 30px 0;
  }

  .contact-box {
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    background-color: #111;
    padding: 35px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  }

  .contact-box h3 {
    margin-bottom: 25px;
    font-size: 20px;
    color: #204cda;
    text-align: center;
  }

  .social-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 280px;
    margin: 0 auto;
  }

  .social-icons a {
    width: 55px;
    height: 55px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #222;
    color: white;
    transition: all 0.3s ease;
  }

  .social-icons a:hover {
    background-color: #204cda;
  }
}

@media (max-width: 600px) {
  .contact-box {
    width: 95%;
    padding: 30px 15px;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 250px;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }
}






















/* ===============================
   HEADER GLOBAL
================================= */
header {
  background-color: #222;
  color: #fff;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between; /* Logo à gauche, bouton/menu à droite */
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Logo + Titre */
header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 0; /* mettre à 0 pour supprimer l’espace */
}


header .logo img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 5px;
}

header .logo h1 {
  font-size: 18px;
  color: #204cda;
  text-transform: uppercase;
}

/* Bouton menu (hamburger) */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
  outline: none;
  margin-left: auto;
}

/* Menu desktop */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #204cda;
}

header {
  padding-left: 0;
  padding-right: 15px; /* ou padding: 10px 0 10px 0; pour supprimer uniquement gauche et droite */
}

body {
  margin: 0;
  padding: 0;
}


































/* ====== PAGE ÉQUIPEMENTS ====== */

.equipements {
  padding: 50px 20px;
  background-color: #f5f5f5;
}

.equipements h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #333;
}

/* Conteneur des produits */
.produits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

/* Carte produit */
.produit {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produit:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.produit img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.produit h3 {
  margin: 15px 0 10px;
  color: #222;
}

.produit p {
  font-size: 0.95rem;
  color: #666;
}

.produit button {
  background-color: #204cda;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.produit button:hover {
  background-color: #204cda;
}

/* Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px 0;
  margin-top: 40px;
}


/* ====== PAGE PIÈCES DE RECHANGE ====== */

.pieces {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.pieces h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #333;
}

.pieces .produits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.pieces .produit {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pieces .produit:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.pieces .produit img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.pieces .produit h3 {
  margin: 15px 0 10px;
  color: #222;
}

.pieces .produit p {
  font-size: 0.95rem;
  color: #666;
}

.pieces .produit button {
  background-color: #204cda;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.pieces .produit button:hover {
  background-color: #204cda;
}


/* ====== PAGE ACCESSOIRES ====== */

.accessoires {
  padding: 50px 20px;
  background-color: #f5f5f5;
}

.accessoires h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #333;
}

.accessoires .produits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.accessoires .produit {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.accessoires .produit:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.accessoires .produit img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.accessoires .produit h3 {
  margin: 15px 0 10px;
  color: #222;
}

.accessoires .produit p {
  font-size: 0.95rem;
  color: #666;
}

.accessoires .produit button {
  background-color: #204cda;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.accessoires .produit button:hover {
  background-color: #204cda;
}


/* ====== PAGE PANIER ====== */

.cart-section {
  padding: 50px 100px;
  background-color: #f5f5f5;
  min-height: 80vh;
}

.cart-section h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 2rem;
  color: #333;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cart-table th, .cart-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

.cart-table th {
  background-color: #204cda;
  color: #fff;
}

.cart-table tr:last-child td {
  border-bottom: none;
}

.cart-table button {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  background-color: #204cda;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.cart-table button:hover {
  background-color: #204cda;
}

.cart-total {
  text-align: right;
  margin-top: 20px;
}

.cart-total h3 {
  font-size: 1.5rem;
  color: #222;
}

#checkout-btn {
  padding: 12px 20px;
  background-color: #204cda;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: 0.3s;
}

#checkout-btn:hover {
  background-color: #204cda;
}

/* Responsive */
@media (max-width: 768px) {
  .cart-section {
    padding: 30px 20px;
  }

  .cart-table th, .cart-table td {
    padding: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  /* Réduire les marges pour le mobile */
  .equipements,
  .pieces,
  .accessoires {
    padding: 40px 15px;
  }

  .produits-container {
    display: flex;
    flex-direction: column;
    align-items: center; /* ✅ Centre les cartes */
  }

  .produit {
    width: 90%; /* ✅ Adapte la largeur au téléphone */
    max-width: 350px;
    margin: 0 auto;
  }
}







/* ====== PAGE CONTACT ====== */

.contact-section {
  padding: 60px 100px;
  background-color: #f9f9f9;
  min-height: 80vh;
}

.contact-section h2 {
  text-align: center;
  color: #222;
  margin-bottom: 10px;
  font-size: 2rem;
}

.contact-section p {
  text-align: center;
  margin-bottom: 40px;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* ---- Formulaire ---- */
.contact-form {
  flex: 1;
  min-width: 320px;
  max-width: 600px;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form label {
  display: block;
  margin-top: 15px;
  color: #333;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 8px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 6px;
  background-color: #204cda;
  color: white;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background-color: #204cda;
}

/* ---- Infos de contact ---- */
.contact-info {
  flex: 0.8;
  min-width: 280px;
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-info h3 {
  color: #0077cc;
  margin-bottom: 10px;
}

.contact-info p {
  margin-bottom: 10px;
  color: #444;
}

.contact-info h4 {
  margin-top: 20px;
  color: #222;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .contact-section {
    padding: 40px 20px;
  }

  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-form, .contact-info {
    width: 100%;
  }
}


/* ===============================
   CONTACT & INFORMATIONS SECTION
================================= */
#contact-home {
  background-color: #111;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.contact-box {
  flex: 1 1 300px;
  background: #1c1c1c;
  padding: 25px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05);
}

.contact-box h3 {
  color: #204cda;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-box p, .contact-box ul {
  font-size: 15px;
  line-height: 1.6;
}

.contact-box ul {
  list-style: none;
  padding: 0;
}

.contact-box ul li {
  margin-bottom: 10px;
}

.contact-box ul li a {
  color: #ddd;
  text-decoration: none;
  transition: 0.3s;
}

.contact-box ul li a:hover {
  color: #204cda;
}

/* 🌐 Social icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: white;
  background: #333;
  padding: 10px;
  border-radius: 50%;
  font-size: 18px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #ffb400;
  transform: scale(1.1);
}

/* 🎨 Couleurs spécifiques par réseau */
.facebook:hover { background: #1877f2; }
.linkedin:hover { background: #0a66c2; }
.whatsapp:hover { background: #25d366; }
.instagram:hover { background: #e1306c; }
.tiktok:hover { background: #010101; }
.x:hover { background: #000; }

/* 📱 Responsive */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
  }

  .contact-box {
    width: 90%;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}



/* ===============================
   GLOBAL STYLES
================================= */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  color: #333;
}

/* ===============================
   HEADER
================================= */
header {
  background-color: #111;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: 50px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
}

nav a:hover, nav a.active {
  color: #ff9800;
}

/* ===============================
   ABOUT SECTION
================================= */
#about {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

#about h2 {
  font-size: 28px;
  color: #111;
  margin-bottom: 20px;
}

#about p {
  max-width: 900px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

.about-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.about-box {
  background-color: #f1f1f1;
  padding: 25px;
  border-radius: 10px;
  width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-box i {
  font-size: 40px;
  color: #ff9800;
  margin-bottom: 15px;
}

.about-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ===============================
   VALUES SECTION
================================= */
#values {
  background-color: #111;
  color: white;
  padding: 50px 20px;
  text-align: center;
}

#values h2 {
  color: #ff9800;
  margin-bottom: 30px;
}

.values-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.value-box {
  background-color: #222;
  padding: 20px;
  border-radius: 10px;
  width: 250px;
}

.value-box i {
  font-size: 35px;
  color: #ff9800;
}

.value-box h4 {
  margin-top: 10px;
}

/* ===============================
   FOOTER
================================= */
footer {
  background-color: #111;
  color: white;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h4 {
  color: #ff9800;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: #ff9800;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: #ccc;
  font-size: 20px;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: #ff9800;
  transform: scale(1.2);
}

footer .copyright {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
  color: #aaa;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  .about-grid, .values-container, .footer-container {
    flex-direction: column;
    align-items: center;
  }

  header {
    text-align: center;
  }
}


/* ====== PAGE CONNEXION / INSCRIPTION ====== */

.login-section {
  background-color: #f5f5f5;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.login-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 40px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.form-box h2 {
  margin-bottom: 25px;
  color: #222;
  font-size: 1.8rem;
}

.form-box label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.form-box input {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-box button {
  background-color: #0077cc;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
  transition: background-color 0.3s ease;
}

.form-box button:hover {
  background-color: #005fa3;
}

.no-account {
  margin-top: 15px;
}

.no-account a {
  color: #ff6600;
  text-decoration: none;
  font-weight: bold;
}

.no-account a:hover {
  text-decoration: underline;
}

/* ===============================
   PAGE DÉTAIL PRODUIT
=============================== */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
}

/* HEADER */
header {
  background-color: #111;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 60px;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  width: 60px;
}

header h1 {
  font-size: 1.2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

nav ul li a {
  text-decoration: none;
  color: white;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #204cda;
}

/* SECTION PRODUIT */
.product-detail {
  padding: 80px 100px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.product-images {
  flex: 1;
  min-width: 350px;
  text-align: center;
}

.product-images img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-info {
  flex: 1;
  min-width: 350px;
  background-color: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-info h2 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 15px;
}

.product-info p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.6;
}

.product-info ul {
  margin: 15px 0;
  padding-left: 20px;
  color: #444;
}

.product-info ul li {
  margin-bottom: 8px;
}

.product-price {
  font-size: 1.5rem;
  color: #204cda;
  font-weight: bold;
  margin: 15px 0;
}

.product-actions {
  margin-top: 20px;
}

.product-actions button {
  background-color: #204cda;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s;
}

.product-actions button:hover {
  background-color: #c70000;
}

/* PRODUITS SIMILAIRES */
.related-products {
  padding: 60px 100px;
  background-color: #fff;
  text-align: center;
}

.related-products h3 {
  font-size: 1.6rem;
  color: #111;
  margin-bottom: 30px;
}

.related-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.related-item {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  width: 250px;
  transition: transform 0.3s;
}

.related-item:hover {
  transform: translateY(-5px);
}

.related-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.related-item h4 {
  margin: 10px 0 5px;
  font-size: 1rem;
  color: #333;
}

.related-item p {
  color: #204cda;
  font-weight: bold;
}

/* FOOTER */
footer {
  background-color: #111;
  color: white;
  padding: 40px 100px;
  text-align: center;
}

.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-section h4 {
  color: #204cda;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
  transition: 0.3s;
}

.footer-section ul li a:hover {
  color: #204cda;
}

.social-icons a {
  color: white;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: 0.3s;
}

.social-icons a:hover {
  color: #204cda;
}

footer .copyright {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
    padding: 40px 20px;
  }

  .related-products {
    padding: 40px 20px;
  }

  footer {
    padding: 30px 20px;
  }
}

/* 🌐 Style général */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}









/* boutons */
.btn { padding: 10px 14px; border-radius: 6px; border: none; cursor: pointer; }
.btn.primary { background-color: #1a237e; color: white; }
.btn.secondary { background-color: #eee; color: #333; border: 1px solid #ddd; }

#cart-container h3 { text-align: right; color: #e53935; margin-top: 12px; }
























.welcome-body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: white;
  font-family: 'Poppins', sans-serif;
}

.welcome-container {
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



























































































































/* =======================
   PAGE PRODUIT
======================= */
.product-page {
  padding: 60px 20px;
  background: #f6f7f9;
}

.product-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background: #fff;
  padding: 40px;
  border-radius: 10px;
}

/* GALERIE */
.product-gallery .main-image {
  position: relative;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 20px;
}

.product-gallery img {
  width: 100%;
  height: 420px;
  object-fit: contain;
}

/* Flèches */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000;
  color: #fff;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
}

.nav-arrow.left { left: 10px; }
.nav-arrow.right { right: 10px; }

/* Miniatures */
.thumbnail-images {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 15px;
}

.thumbnail-images img {
  width: 70px;
  height: 70px;
  border: 1px solid #ddd;
  padding: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.thumbnail-images img:hover {
  border-color: #007bff;
}

/* INFOS PRODUIT */
.product-info h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.product-short-desc {
  color: #555;
  margin-bottom: 20px;
}

.product-price {
  font-size: 32px;
  font-weight: bold;
  color: #e63946;
  margin-bottom: 20px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

.product-features li {
  margin-bottom: 10px;
  font-size: 16px;
}

/* ACTIONS */
.product-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.product-actions input {
  width: 70px;
  padding: 8px;
}

.product-actions button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 12px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
}

.product-actions button:hover {
  background: #0056b3;
}

.product-security {
  color: #28a745;
  font-size: 14px;
}





































































/* ==========================
   MENU – DESKTOP PAR DÉFAUT
========================== */



@media (max-width: 992px) {

  header {
    position: relative;
  }

}
.menu-toggle {
  z-index: 10000;
}




nav {
  display: block;
}

nav ul {
  display: flex;
  gap: 20px;
}

/* Cache le bouton hamburger en desktop */
.menu-toggle {
  display: none;
}

/* Sous-menus desktop (hover) */
.dropdown:hover .submenu {
  display: block;
}

/* ==========================
   MENU MOBILE & TABLETTE
========================== */

@media (max-width: 992px) {

  /* Bouton hamburger visible */
  .menu-toggle {
    display: block;
    font-size: 26px;
    color: white;
    cursor: pointer;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    display: none; /* caché par défaut */
    z-index: 9999;
  }

  /* Classe activée par JS */
  nav.show-menu {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    border-bottom: 1px solid #333;
  }

  nav ul li a {
    padding: 14px;
    display: block;
  }

  /* Sous-menus mobile */
  .submenu {
    display: none;
    background: #222;
  }

  .dropdown.open .submenu {
    display: block;
  }

  /* Désactiver hover en mobile */
  .dropdown:hover .submenu {
    display: none;
  }
}












































































































































/* ==========================
   MENU DESKTOP
========================== */

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav ul li {
  position: relative;
}

nav ul li a {
  text-decoration: none;
  color: white;
  padding: 10px;
  display: block;
}

/* Sous-menu */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  min-width: 220px;
  display: none;
  flex-direction: column;
  border-radius: 6px;
}

.submenu li a {
  padding: 10px;
  border-bottom: 1px solid #222;
}

/* Hover desktop */
@media (min-width: 993px) {
  .dropdown:hover .submenu {
    display: block;
  }
}

/* ==========================
   MENU MOBILE
========================== */

.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

@media (max-width: 992px) {

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    width: 100%;
    background: #111;
  }

  nav.show-menu {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  .submenu {
    position: static;
    display: none;
    background: #222;
  }

  .dropdown.open .submenu {
    display: block;
    animation: slideDown 0.3s ease;
  }

}















