nav {
  z-index: 2000;
  width: 100%;
  background: var(--fond-menu);
  letter-spacing: 0.5px;
}
nav ul {
  margin: 0;
}
nav li {
  margin: 0;
  padding: 0;
}
nav .wrapper {
  position: relative;
  padding: 0px 5px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.nav-links {
  display: flex;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.nav-links::-webkit-scrollbar {
  display: none;
}
.nav-links li {
  list-style: none;
}
.nav-links li:not(:last-of-type) .mobile-item:after {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid #1d1d1b;
  border-bottom-color: #fff;
  border-left-color: #fff;
  transform: rotate(45deg);
  position: relative;
  left: 0;
  float: right;
  margin: 23px 20px 0 0;
  border-width: 2px 2px 0 0;
}
.nav-links > li > a, .nav-links > li > span {
  font-size: 0.9rem;
   line-height: 1.6;
 display: block;
  text-decoration: none !important;
  border-radius: 0px;
  padding: 0 15px 0 0;
  text-transform: uppercase;
  font-weight: 500;
  color: #000 !important;
  height: 22px;
}
.nav-links .mobile-item {
  display: none;
}
.nav-links li:hover .mega-box {
  opacity: 1;
  visibility: visible;
}
.mega-box {
  position: absolute;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  border-bottom: 1px solid #000;
}
.mega-box .content {
  background: var(--fond-menu);
  padding: 10px 10px 0 10px;
  display: flex;
  width: 100%;
  justify-content: space-between;
}
.mega-box .content .row {
  width: 100%;
  line-height: 45px;
}
.row {
  margin-right: 0 !important;
  margin-left: 0 !important;
}
.content .row header {
  color: #f2f2f2;
  font-size: 20px;
  font-weight: 500;
}
.wrapper .btn_menu {
  color: #000;
  cursor: pointer;
  display: none;
}
.wrapper .btn_menu.close-btn {
  position: absolute;
  right: 20px;
  top: 15px;
  width: 30px;
}
nav input {
  display: none;
}
.detail_piece *:hover {
  text-decoration: none;
}
nav .menu_pieces > div {
  width: calc(16.66% - 15px);
  margin: 0 0 15px 0;
  box-shadow: none;
}
nav .menu_pieces div div img {
  padding: 0;
}
nav .menu_pieces div figure {
  position: relative;
  margin: 10px;
  line-height: 1;
}
nav .menu_pieces div figcaption {
  font-size: 1.0rem;
  background-color: black;
  color: white;
  display: block;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
nav .brands div p, nav .menu_pieces div p {
  font-size: 1.0rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.3px;
  font-family: system-ui;
  color: #666 !important;
}
nav .brands > div {
  width: calc(20% - 15px);
}
.nav-links li:nth-child(2) img {
  height: 16px;
  width: auto;
  position: relative;
  top: -2px;
  max-width: unset;
}
.detail_piece.marque {
    display: flex;
    align-items: center;
}
.detail_piece.marque div {
	flex-wrap: wrap;
	align-items: flex-end;
	padding: 10px;
	flex-direction: column;
	align-content: center;
}
.detail_piece.marque img {
  padding: 0;
  height: 20%;
  margin: 20px 0 0 0;
}
.detail_piece.marque img:first-child {
  height: auto;
  width: 50%;
  margin: auto;
}

.header-headline-moteur            { display: none; }
.header-headline-moteur.is-visible { display: block; }

@media (max-width: 970px) and (min-width: 768px) {
  .nav-links > li > a, .nav-links > li > span {
    zoom: 0.8;
  }
  .client {
    width: 80px;
  }
  nav .brands {
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 10px 0;
  }
  nav .brands > div {
    margin: 0px 3px 10px 3px;
    width: calc(20% - 11px);
  }
  nav .brands div p {
    display: none;
  }
  .content .row img {
    max-height: 160px;
  }
  nav .brands div a p {
    display: none;
  }
  nav .brands div span img {
    max-height: 36px;
    padding: 3px 5px;
  }
  nav .brands div p {
    font-size: 0.9rem;
    padding: 2px;
  }
  nav .brands div:last-child p, nav .menu_pieces div:last-child p {
    font-size: 1.0rem;
  }
}
@media screen and (max-width: 767px) {
  .nav-links > li > a, .nav-links > li > span {
    padding: 0;
  }
  .mega-box {
    padding: 10px 0 0 0;
    padding: 0;
  }
  nav .brands div span img {
    padding: 0;
  }
  nav .brands div span {
    height: 30px;
  }
  nav .brands > div {
    width: calc(50% - 10px);
    margin: 0px 3px 10px 3px;
  }
  nav .menu_pieces > div {
    width: calc(33.33% - 10px);
    margin: 0px 0 10px 0;
  }
  nav .brands div p {
    display: none;
  }
  nav .brands div p, nav .menu_pieces div p {
    font-size: 1.2rem;
    padding: 3px 0 0 0;
  }
  nav .brands div:last-child p, nav .menu_pieces div:last-child p {
    font-size: 0.9rem;
  }
  .mega-box .content {
    background: #fff;
  }
  .menu_pieces {
    align-content: space-between;
  }
  nav .menu_pieces div figcaption {
    font-size: 1.2rem;
    line-height: 1.0;
    padding: 2px 6px;
  }
  nav .wrapper {
    border-top: none;
    border-bottom: none;
  }
  .wrapper .btn_menu {
    display: block;
  }
  nav .brands {
    justify-content: flex-start;
    width: 100%;
    margin: 0 0 20px 0;
  }
  .wrapper .nav-links {
    position: fixed;
    height: 80vh;
    width: 100%;
    top: 0;
    left: -100%;
    margin: 0;
    background: #fff;
    display: block;
    padding: 10px 0 0 0;
    line-height: 50px;
    overflow-y: auto;
    box-shadow: 0px 15px 15px rgba(0, 0, 0, 0.18);
    transition: all 0.4s ease;
  }
  header ::-webkit-scrollbar {
    width: 10px;
  }
  header ::-webkit-scrollbar-track {
    background: #f0f0f0;
  }
  header ::-webkit-scrollbar-thumb {
    background: #c0c0c0;
  }
  #menu-btn:checked ~ .nav-links {
    left: 0%;
  }
  #menu-btn:checked ~ .btn_menu.menu-btn {
    display: none;
  }
  #close-btn:checked ~ .btn_menu.menu-btn {
    display: block;
  }
  .nav-links li {
    margin: 0;
    padding: 0;
  }
  .nav-links li a {
    padding: 0;
    display: inline;
  }
  #showMega_1:checked ~ .mega-box, #showMega_2:checked ~ .mega-box, #showMega_3:checked ~ .mega-box, #showMega_4:checked ~ .mega-box, #showMega_5:checked ~ .mega-box, #showMega_6:checked ~ .mega-box, #showMega_7:checked ~ .mega-box, #showMega_8:checked ~ .mega-box, #showMega_9:checked ~ .mega-box, #showMega_10:checked ~ .mega-box, #showMega_11:checked ~ .mega-box, #showMega_12:checked ~ .mega-box, #showMega_13:checked ~ .mega-box, #showMega_14:checked ~ .mega-box, #showMega_15:checked ~ .mega-box, #showMega_16:checked ~ .mega-box, #showMega_100:checked ~ .mega-box {
    max-height: unset;
  }
  .nav-links .desktop-item {
    display: none;
  }
  .nav-links .mobile-item {
    display: block;
    color: #000;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 0;
  }
  .mega-box {
    position: static;
    top: 65px;
    opacity: 1;
    visibility: visible;
    max-height: 0px;
    overflow: hidden;
  }
  .mega-box .content {
    box-shadow: none;
    flex-direction: column;
    padding: 0;
  }
  .mega-box .content .row {
    width: 100%;
    margin-bottom: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mega-box .content .row {
    border-top: 0px;
  }
  .content .row header {
    font-size: 19px;
  }
  nav .menu_pieces div figure {
    position: unset;
  }
}