/*fil ariane*/
.breadcrumb {
  font-family: Arial, sans-serif;
  font-size: 14px;
  margin-top: 30px !important;
  width: 98%;
  margin: auto;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  color: #555;
}

.breadcrumb li a {
  text-decoration: none;
  color: #0073aa;
  transition: color 0.2s;
}

.breadcrumb li a:hover {
  color: #005177;
}

.breadcrumb li+li::before {
  content: "›";
  margin: 0 8px;
  color: #999;
}

.breadcrumb li[aria-current="page"] {
  font-weight: bold;
  color: #333;
}


/* mega menu */
.mega-search-container {
  position: relative;
  width: 100%;
  margin-top: 30px;
}

#searchInput {
  border: 1px solid #ccc;
  border-radius: 25px;
  font-size: 16px;
}

.input-with-icon {
  position: relative;
  width: 100%;
}

.input-with-icon button {
  background-color: transparent;
  padding: 20px;
  border: 1px solid #888;
}

.input-with-icon i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #888;
  pointer-events: none;
}

.input-with-icon input {
  padding-left: 35px;
  height: 40px;
  box-sizing: border-box;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: flex;
  gap: 20px;
  background: white;
  border: 1px solid #ddd;
  border-top: none;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mega-menu.hidden {
  display: none;
}

/* .menu-section {
  flex: 1;
} */

.menu-section.company {
  width: 50%;
}

.menu-section.categorie,
.menu-section.certification {
  width: 15%;
}

.menu-section h4 {
  margin-bottom: 10px;
  font-size: 14px;
  color: #888;
}

.menu-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 300px;
  /* ou la hauteur que tu veux */
  overflow-y: auto;
  scrollbar-width: thin;
  /* pour Firefox */
}

/* Pour Chrome, ajouter un style personnalisé si tu veux */
.menu-section ul::-webkit-scrollbar {
  width: 6px;
}

.menu-section ul::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.menu-section ul li {
  padding: 5px 0;
  cursor: pointer;
}

.company-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.company-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
}

.company-info {
  display: flex;
  flex-direction: column;
}

.company-title {
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.company-category {
  font-size: 12px;
  color: #666;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .mega-menu {
    display: block;
    gap: 20px;
  }

  .mega-search-container {
    margin-top: 20px;
  }

  .menu-section {
    width: 100% !important;
  }

  #searchInput {
    width: 100%;
  }
}