@charset "utf-8";

/* Rows
--------------------------------------------------------------------------------------------------------------- */

:root {
  /* Palette bleue (remplace le vert) */
  --primary: #1976d2; /* Bleu principal */
  --primary-600: #1565c0; /* plus soutenu */
  --primary-700: #0f5bab;
  --primary-dark: #1226aa; /* Bleu foncé pour survol */
  --text: #1f2937; /* gris ardoise */
  --muted: #6b7280; /* gris moyen */
  --bg: #f8fafc; /* fond clair */
  --card: #ffffff; /* cartes/blocs */
  --border: #e5e7eb; /* lignes */
}

body {
  font-family: futura, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--primary-dark);
}

/* Topbar */
.topbar {
  background: var(--muted); /* fond sombre pour contraster */
  color: #cbd5e1;
  font-size: 0.925rem;
}
.topbar a {
  color: #e2e8f0;
}
.topbar a:hover {
  color: #ffffff;
}

.topbar .liko {
  border-right: 1px solid var(--muted);
  object-fit: contain;
}

/* Navbar */
.navbar-line1 {
  padding: 15px 0;
}

.btn-login {
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  border-radius: 0.975rem;
  padding: 0.375rem 0.75rem;
  font-weight: 500;
  transition: background 0.2s ease;
}
.btn-login:hover {
  background: var(--primary-dark);
  color: white;
}

.navbar {
  background: var(--card);
  box-shadow: 0 6px 20px rgba(2, 6, 23, 0.06);
  /* border-top: 1px solid var(--muted); */
}

.navbar-collapse {
  border-bottom: 1px solid var(--primary-dark);
  border-top: 1px solid var(--primary-dark);
}

.navbar .nav-link {
  padding: 0.9rem 0.85rem;
  font-weight: 500;
  color: #0b1324;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--primary-dark);
}

.prop:hover {
  background-color: #fa2b2b;
}

.navbar .dropdown-menu {
  border-radius: 0 !important;
  border: 1px solid var(--border);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.08);
  padding: 0.75rem;
}

.dropdown-menu .row {
  width: auto !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  /*background-color: #fa2b2b;
*/
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
  position: absolute;
  top: 0;
  left: 100%;
  margin-top: 0;
}

.dropdown-submenu {
  position: relative;
}

/* Affiche le sous-sous-menu uniquement au survol du sous-menu */
.dropdown-submenu:hover > .dropdown-menu {
  display: block;
  left: 100%;
  top: 0;
  margin-top: 0;
  position: absolute;
}

/* Supprimer les arrondis du menu */
.dropdown-menu.blue-menu {
  background-color: var(--bg);
  border-radius: 0 !important;
  border: none;
  min-width: 100% !important; /* même largeur que le parent */
  border-bottom: 5px solid #1226aa;
  max-height: 600px; /* Ajuste selon ton design */
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin; /* Pour Firefox */
  scrollbar-color: #ccc transparent;
}

.dropdown-menu.smk {
  background-color: var(--bg);
  border-radius: 0 !important;
  border: none;
  min-width: 100% !important; /* même largeur que le parent */
  border-bottom: 5px solid #1226aa;
}

.dropdown-menu.blue-menu li {
  border-top: 1px solid var(--muted);
}

/* Les liens à l'intérieur */
.dropdown-menu.blue-menu .dropdown-item {
  color: var(--text);
  padding: 5px 0 10px 0;
}

.dropdown-menu.blue-menu {
  border-bottom: 5px solid #fa2b2b;
}

.dropdown-menu.blue-menu .dropdown-item:hover {
  color: #1226aa;
  border-radius: 0 !important;
  background-color: transparent !important;
}

.menu-client {
  cursor: pointer; /* 🖱️ main au survol */
  transition: background-color 0.3s ease; /* 💫 effet doux */
}

.menu-client:hover {
  background-color: #1226aa; /* 🎨 couleur au survol */
  color: #fff; /* ⚪ texte blanc */
}
.menu-client:hover a {
  color: #fff !important;
  text-decoration: none;
}

/* Pour WebKit (Chrome, Edge, Safari) */
.dropdown-menu.blue-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu.blue-menu::-webkit-scrollbar-track {
  background: transparent;
}

.dropdown-menu.blue-menu::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}

/* Icône toggler personnalisée */
.toggler-icon {
  display: none;
  position: relative;
  transition: all 0.3s;
}

.toggler-icon::before,
.toggler-icon::after {
  content: "";
  position: absolute;
  width: 30px;
  transition: all 0.3s;
}

/* .toggler-icon::before {
  top: -8px;
}

.toggler-icon::after {
  top: 8px;
} */

/* Quand ouvert → croix */
.navbar-toggler:not(.collapsed) .toggler-icon {
  background-color: transparent;
}

.navbar-toggler:not(.collapsed) .toggler-icon::before {
  transform: rotate(45deg);
  top: 0;
}

.navbar-toggler:not(.collapsed) .toggler-icon::after {
  transform: rotate(-45deg);
  top: 0;
}

/* Couleurs de survol bleu foncé */
.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--primary-dark);
  /* color: #fff; */
}

/* Couleurs de survol bleu foncé */
.dropdown-menu.smk .dropdown-submenu:hover,
.dropdown-menu.smk .dropdown-submenu:focus {
  color: var(--primary-dark);
  /* color: #fff; */
}

/* Sous-menus multiniveaux */
.dropdown-submenu {
  position: relative;
  padding: 5px 0 5px 0;
}
.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
  margin-top: -5px;
}
.dropdown-toggle::after {
  margin-left: 0.4rem;
}

/* Mega menu */
.dropdown-menu.mega {
  width: min(100vw - 2rem, 1100px);
}
.mega h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0.35rem 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dropdown-submenu .dropdown-item.h6 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fa2b2b;
  margin: 0.35rem 0 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.dropdown-menu.smks {
  width: 500px;
  border-bottom: 5px solid #1226aa;
}

.dropdown-menu .col-6 {
  padding: 10px;
}

#submenu-image {
  transition: opacity 0.3s ease-in-out;
}

/* Mobile : afficher uniquement logo + toggler */
@media (max-width: 767px) {
  .navbar .collapse,
  .topbar,
  .navbar form,
  .ndambu,
  .navbar .nav-item.d-none.d-md-block {
    display: none !important;
  }
  .toggler-icon {
    display: inline-block;
    position: relative;
    transition: all 0.3s;
    font-size: 40px;
    width: 40px;
    height: 40px;
  }
}

/* Tablette : logo + recherche à gauche, connexion + menu à droite */
@media (min-width: 768px) and (max-width: 1023px) {
  .navbar .navbar-brand,
  .topbar {
    margin-right: 20px;
  }
  .toggler-icon {
    display: inline-block;
    position: relative;
    transition: all 0.3s;
    font-size: 40px;
    width: 40px;
    height: 40px;
  }

  .navbar form {
    display: flex !important;
  }

  .navbar .nav-item.d-none.d-md-block {
    display: block !important;
  }
}
/* Section des ventes */
.product-card {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1.2rem;
}

/* Hero */
.hero {
  background: linear-gradient(145deg, #6b7280 0%, #111827 50%, #d8d8d8 100%);
  color: #e5e7eb;
  padding: 4rem 0 3rem;
}
.hero .btn-primary {
  background: var(--primary);
  border-color: var(--primary);
}
.hero .btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.section-title {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0b1324;
}

.card-category {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-category:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.08);
}

/* Footer */
footer {
  background: #1226aa;
  color: #cbd5e1;
}
footer a {
  color: #e2e8f0;
}
footer a:hover {
  color: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

.social-links a {
  color: white;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
  color: #dc3545; /* Rouge Bootstrap (ou ton rouge personnalisé) */
  transform: scale(1.15); /* léger zoom au survol */
}

.colde {
  padding: 0 50px;
}

/* Style personnalisé pour la liste du footer */
.footer-links li {
  padding: 8px 0; /* espace vertical entre les items */
  border-bottom: 1px solid #444; /* gris foncé */
  position: relative;
  /* margin-bottom: 8px; /* espace entre les lignes */
}

.footer-links.deux li {
  padding-left: 28px; /* espace pour l'icône */
}

.footer-links li:last-child {
  border-bottom: none; /* pas de ligne sur le dernier élément */
}

.footer-links a {
  color: inherit; /* garde la couleur du texte du footer */
  text-decoration: none; /* enlève le soulignement */
  display: block; /* rend toute la ligne cliquable */
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fa2b2b; /* bleu au survol */
}

.footer-links li i {
  position: absolute;
  left: 0;
  top: 4px; /* ajuste verticalement si besoin */
  font-size: 1.1rem;
}

.footer .deux {
  width: 90%;
}
