#header ul.navbar-nav li i.menu_link,
#header .return-menu {
  cursor: pointer;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}

#header .return-menu .return-button {
  color: #fff;
}

body #header {
  z-index: 1001;
  transition:
    padding 0.3s ease,
    top 0.3s ease-in-out,
    box-shadow 0.3s ease;
}

.column-title {
  color: #fff;
  font-family: Sarabun;
  font-size: 20px;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  padding: 0 10px 20px 10px;
  margin: 0;
  width: 100%;
}

.container-sub-menus a {
  padding: 10px;
  margin: 0 !important;
  color: var(--sub-menu-color, #ffffff);
}

.container-sub-menus a span {
  font-family: Sarabun;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/**************************************/
/**           STICKY HEADER           */
/**************************************/
body:not(#cart, [id$="order"]) #header.sticky-header {
  width: 100%;
  transition: top 0.5s;
  z-index: 1001;
  top: 0;
  height: auto;
}

body #header.sticky-header {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

#header.sticky-header nav.navbar-expand-lg {
  padding: 0;
}

body #header.sticky-header #block-social-networks,
body #header.sticky-header #block-netreviews,
body #header.sticky-header #block-logo {
  display: none !important;
}

#header.sticky-header .menu-header #block-menus li.menu_link {
  padding-bottom: 15px !important;
}

@media (min-width: 1200px) {
  #header.sticky-header .menu-header #block-menus li.menu_link {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
  }
}

#header.sticky-header nav.navbar-expand-lg {
  padding: 0;
  max-width: 100%;
}

#header.sticky-header .container-lg,
#header.sticky-header .container-lg .row#content-menu {
  min-width: 100%;
  max-width: 100%;
}

#header.sticky-header .menu-header .dropdown-menu .dropdown-item {
  -ms-flex: 0 0 75%;
  flex: 0 0 75%;
  max-width: 1140px;
  margin: 0 auto;
}

#header.sticky-header .menu-header .dropdown-menu .dropdown-item .col-md-10 {
  -ms-flex: 0 0 100%;
  flex: 0 0 100%;
  max-width: 100%;
}

#header.sticky-header
  .menu-header
  .dropdown-toggle::after
  .menu-header
  .dropdown-toggle::after {
  display: contents;
  margin: 0;
  vertical-align: 0.255em;
  content: "\f078";
  font-family: "Font Awesome 6 Pro";
  border: none;
  font-size: 0.75rem;
}

/*** ↳ Customer menu */
#header.sticky-header #block-content-user-info .custom-block-userinfo {
  margin-top: 11px;
  transform: translateX(-20%);
  -webkit-transform: translateX(-20%);
  -moz-transform: translateX(-20%);
  -ms-transform: translateX(-20%);
  -o-transform: translateX(-20%);
}

/*** ↳ Cart */
#header.sticky-header #blockcart-wrapper .card {
  margin-top: 11px;
}

#header.sticky-header .cart-menu {
  left: -120px;
}

/*** ↳ zend */
#header.sticky-header #template-content {
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}

#header.sticky-header #template-content .card {
  margin-top: 11px;
}

#header.sticky-header #usercard > .cardContainer {
  margin-top: 11px;
}

/**************************************/
/**           MENU LINKS              */
/**************************************/
@media (min-width: 992px) {
  #header.sticky-header #block-menus ul#block-menu-links,
  #header #block-menus ul#block-menu-links {
    display: flex;
    flex-wrap: nowrap;
    padding: 15px 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  #header.sticky-header #block-menus ul#block-menu-links {
    padding: 0;
  }
}

#header #block-menus ul li.nav-item.dropdown::after {
  content: "\f078";
  font-family: "Font Awesome 6 Pro";
  margin-left: 5px;
  font-size: 0.875em;
  z-index: 99;
  color: var(--menu-color, inherit);
  transition: transform 0.3s ease-in-out;
  display: inline-block;
}

#header #block-menus ul li.nav-item.dropdown:hover::after {
  transform: rotate(-180deg);
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
}

/*** ↳ Categories */
#header #block-menus ul li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  font-family: Sarabun;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/*** ↳ Netreviews */
#header #block-netreviews a {
  white-space: nowrap;
}

#header .menu-header .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 1000;
  border: none;
  opacity: 0.99;
  margin-top: 0;
  /* Fond du méga-menu forcé ici (sélecteur spécifique 0,3,0) au lieu de
     dépendre de la classe utilitaire .bg-dark du thème. Avec le "Smart cache
     pour les CSS" (CCC), le minifier PrestaShop (matthiasmullie/minify) plante
     sur des couleurs hsl()/rgb() à décimales présentes dans theme.css et
     supprime la règle .bg-dark{background-color:#200b3e}. Le méga-menu
     retombait alors sur le blanc Bootstrap de .dropdown-menu (texte blanc sur
     fond blanc => sous-menu illisible). On sécurise le rendu ici. */
  background-color: var(--dark, #200b3e);
}

#header .menu-header .dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 25px;
  background: transparent;
}

#header.header-sticky .menu-header .dropdown-menu {
  top: 100%;
}

#header .menu-header .container-sub-menus {
  padding: 28px 18px;
}

/* Couleur par défaut des liens de sous-menu (override possible via le thème
   ou via une couleur custom configurée par l'admin en BO, qui sera appliquée
   en style inline et donc plus prioritaire que ce CSS). */
.sub-menus-row a {
  color: #ffffff;
}

.column-title .column-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: middle;
}

.column-title .column-title-icon-shape {
  display: block;
  width: 100%;
  height: 100%;
}

/**************************************/
/**         CUSTOMER MENU             */
/**************************************/
/* Le widget d'avis produit (netreviews) peut injecter un fallback
   « On attend vos avis » dont le cœur (.av-no-reviews .fa-heart) fuit dans le
   header / menu mobile (élément orphelin positionné en bas à gauche). Le menu
   n'affiche que la note agrégée du site, jamais ce fallback : on le neutralise
   entièrement à l'intérieur du header. */
#header .av-no-reviews {
  display: none !important;
}

#header #block-content-user-info {
  z-index: 9999;
  position: absolute;
  width: 310px;
  max-height: 81dvh;
  left: 50%;
  transform: translateX(-50%);
}

#header #block-content-user-info .custom-block-userinfo {
  overflow-y: auto;
  max-height: 81dvh;
  margin-top: 20px;
  border-radius: 10px;
}

#header #usercard {
  display: none;
  position: absolute;
  overflow-y: auto;
  max-height: 81dvh;
  border-radius: 10px;
  width: 281px;
  font-size: 15px;
  transform: translateX(-50%);
  left: 50%;
  z-index: 103;
}

#header #usercard > .cardContainer {
  padding: 28px;
  border-radius: 9.2px;
  margin-top: 20px;
}

#header #usercard > .cardContainer .btn {
  border-radius: 5px;
}

/**************************************/
/**           SVG ICONS               */
/**************************************/

#header .ellipse-icon-menu.js-show-block .svg-icon-menu path {
  fill: #796d8b;
}

#header .ellipse-icon-menu .svg-icon-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

#header .ellipse-icon-menu .svg-icon-menu path {
  transition: fill 0.3s ease-in-out;
}

#header button.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

#header .ellipse-icon-menu {
  border-radius: 50%;
  border: 1px solid var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 34px;
  height: 34px;
  padding: 5px;
  flex-shrink: 0;
  transition:
    border-color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
  -webkit-transition:
    border-color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
  -moz-transition:
    border-color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
  -ms-transition:
    border-color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
  -o-transition:
    border-color 0.3s ease-in-out,
    background-color 0.3s ease-in-out;
}

#block-links > *:not(:last-child) {
  margin-right: 15px;
}

#block-links > *:first-child {
  margin: 0 15px 0 5px;
}

#header .ellipse-icon-menu.js-show-block {
  border-color: #796d8b;
}

#header .menu-header .menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 15px;
}

#header .menu-header span.svg-mask {
  display: inline-block;
  width: 100%;
  height: 100%;
  max-width: 20px;
  background-color: var(--white);
  border-color: none;
}

/**************************************/
/**           BLOCK CARD              */
/**************************************/
#header .cart-products-count {
  position: absolute;
  height: 17px;
  min-width: 17px;
  width: auto;
  line-height: 10px;
  padding: 3px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  top: -8px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
}

#header .cart-products-count {
  right: -7px;
}

#blockcart-wrapper {
  position: absolute !important;
  right: 0;
  z-index: 1000000001;
  width: 420px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dark);
}

#blockcart-wrapper .refreshCart {
  height: 100%;
}

#blockcart-wrapper .card {
  margin-top: 20px;
  border-radius: 10px;
  max-height: 80dvh;
  height: 100%;
}

#blockcart-wrapper .cart-body {
  overflow-y: auto;
}

/**************************************/
/**             SNAKE                 */
/**************************************/
.bg-destockage {
  padding: 3px;
  --flashy-color: rgba(253, 115, 37, 1);
  background: radial-gradient(
    circle,
    var(--flashy-color) 0%,
    rgba(32, 11, 62, 1) 100%
  );
}

.bg-destockage.flashy-yellow {
  --flashy-color: #ffd100;
}

.bg-destockage.flashy-red {
  --flashy-color: #ff0000;
}

.bg-destockage.flashy-green {
  --flashy-color: #00ff00;
}

.bg-destockage.flashy-blue {
  --flashy-color: #0000ff;
}

.bg-destockage.flashy-pink {
  --flashy-color: #ff69b4;
}

.bg-destockage.flashy-orange {
  --flashy-color: #ffa500;
}

.bg-destockage.flashy-purple {
  --flashy-color: #800080;
}

.bg-destockage.flashy-cyan {
  --flashy-color: #00ffff;
}

.bg-destockage.flashy-lime {
  --flashy-color: #00ff00;
}

.bg-destockage.flashy-magenta {
  --flashy-color: #ff00ff;
}

.bg-destockage.bg-destockage-yellow {
  --flashy-color: #ffd100;
}

/** Snake */
.snake-animation {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.snake-animation:before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  bottom: 2px;
  width: 50%;
}

.snake-animation span:nth-child(1) {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(
    to right,
    #200b3e00,
    var(--flashy-color, #fd7325)
  );
  animation: snake-animation1 2s linear infinite;
}

.snake-animation span:nth-child(2) {
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #200b3e00,
    var(--flashy-color, #fd7325)
  );
  animation: snake-animation2 2s linear infinite;
  animation-delay: 1s;
}

.snake-animation span:nth-child(3) {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to left, #200b3e00, var(--flashy-color, #fd7325));
  animation: snake-animation3 2s linear infinite;
}

.snake-animation span:nth-child(4) {
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to top, #200b3e00, var(--flashy-color, #fd7325));
  animation: snake-animation4 2s linear infinite;
  animation-delay: 1s;
}

/** Fin snake */

/**************************************/
/**             ZENDESK               */
/**************************************/
#header .dropdown-container {
  position: relative;
}

#header .dropdown-container .dropdown-content {
  display: none;
  z-index: 1005;
}

/* Pendant un scroll, on masque la bulle de chat et son panneau d'aide, même
   si le curseur reste au-dessus (classe posée sur <body> par menu.js). */
body.lvd-is-scrolling #header .dropdown-container,
body.lvd-is-scrolling #header .dropdown-container .dropdown-content {
  display: none !important;
}

#header #template-content .card {
  margin-top: 24px;
  padding: 21px 50px;
  border-radius: 10px;
}

#header #template-content {
  position: absolute;
  width: 100%;
  min-width: 378px;
  z-index: 103;
  left: 50%;
  transform: translateX(-50%);
}

#header #template-content h3 {
  color: var(--dark);
  text-align: center;
  font-family: Anton;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  padding: 0;
  margin-bottom: 8px;
}

#header #template-content .description {
  text-align: center;
  color: var(--dark);
  font-family: Sarabun;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  margin-bottom: 16px;
}

#header #template-content .active {
  cursor: pointer;
}

#header #template-content .btn {
  position: relative;
  min-width: 216px;
  width: auto;
  height: 54px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  background-color: var(--secondary);
  border: none;
  color: var(--white);
  border-radius: 3px;
  cursor: pointer;
  font-family: Sarabun;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  transition: background-color 0.3s ease;
}

#header #template-content .btn:disabled {
  opacity: 20%;
}

#header #template-content .btn svg {
  width: 38px;
  height: 38px;
}

#header #template-content .operators {
  display: flex;
  justify-content: center;
  width: fit-content;
  margin: 0.8rem auto;
  position: relative;
  margin-bottom: 18px;
}

#header #template-content .operators::after {
  display: inline-block;
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  position: absolute;
  top: 2px;
  right: -1px;
  background: #19c74f;
  border: 1px solid var(--white);
  border-radius: 100%;
}

#header #template-content div[id^="operator-"],
#header #template-content #idz-online img {
  background-size: cover;
  background-position: center;
  width: 38px;
  height: 38px;
  border-radius: 500px;
  overflow: hidden;
  text-align: center;
  flex-shrink: 0;
  border: 0.2rem solid var(--white);
  box-sizing: border-box;
}

#header #template-content #operator-1 {
  background-image: url("../../img/avatar-zend/Romain.jpg");
}

#header #template-content #operator-2 {
  background-image: url("../../img/avatar-zend/Theo.jpg");
  margin-left: -0.5rem;
}

#header #template-content #operator-3 {
  background-image: url("../../img/avatar-zend/Steven.jpg");
  margin-left: -0.5rem;
}

/**************************************/
/**             TOOLTIP               */
/**************************************/
.custom-tooltip::after {
  opacity: 0;
}

/**************************************/
/**        PRE-HEADER MARQUEE         */
/**************************************/
#pre-header a.marquee__item,
#header a.marquee__item:hover {
  color: inherit;
}

/**************************************/
/**           ANIMATION               */
/**************************************/

@keyframes snake-animation1 {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

@keyframes snake-animation2 {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(100%);
  }
}

@keyframes snake-animation3 {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes snake-animation4 {
  0% {
    transform: translateY(100%);
  }

  100% {
    transform: translateY(-100%);
  }
}

/**************************************/
/**           MÉDIA QUERIES           */
/**************************************/

@media (min-width: 992px) {
  .sub-menus-row {
    display: grid;
    grid-template-columns: repeat(var(--cols-per-row, 5), minmax(0, 1fr));
    gap: 0;
  }

  .sub-menu-column {
    min-width: 0;
  }

  #header #template-content .btn:active,
  #header #template-content .btn:hover {
    background: #fc8e50;
  }

  #header .dropdown-container:hover .dropdown-content {
    display: block;
  }

  .custom-tooltip:hover::after {
    content: attr(aria-label);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--white);
    color: var(--dark);
    text-align: center;
    font-family: Sarabun;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 5px 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition:
      opacity 0.3s ease,
      top 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
    z-index: 106;
    opacity: 1;
    top: 45px;
  }

  #header .menu-header .nav-item:hover > .dropdown-menu,
  #header.sticky-header .menu-header .nav-item:hover > .dropdown-menu {
    display: block;
  }

  #block-menus.dropdown-hover-disabled .nav-item:hover > .dropdown-menu {
    display: none !important;
  }

  #block-menus.dropdown-hover-disabled .nav-item.dropdown:hover::after {
    transform: rotate(0deg) !important;
  }

  #header .ellipse-icon-menu:hover {
    border-color: #796d8b;
  }

  #header .ellipse-icon-menu:hover.js-show-block path,
  #header .ellipse-icon-menu:hover .svg-icon-menu path {
    fill: #796d8b;
  }

  #header.sticky-header #block-search {
    order: 1;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
    padding-top: 4px;
  }

  #header.sticky-header #navbarSupportedContent {
    -ms-flex: 0 0 65%;
    flex: 0 0 65%;
    max-width: 65%;
    order: 2;
    border: none !important;
  }

  #header.sticky-header #block-links {
    -ms-flex: 0 0 15%;
    flex: 0 0 15%;
    max-width: 15%;
    order: 3;
  }

  #header .userinfo:hover + #usercard,
  #header #usercard:hover {
    display: block !important;
  }

  #header .cart-menu .cart-actions {
    border-radius: 0 0 10px 10px;
  }

  #header.sticky-header .menu-header a.sub-menu,
  #header .menu-header a.sub-menu {
    transition: all 0.3 ease-in-out;
    -webkit-transition: all 0.3 ease-in-out;
    -moz-transition: all 0.3 ease-in-out;
    -ms-transition: all 0.3 ease-in-out;
    -o-transition: all 0.3 ease-in-out;
  }

  #header.sticky-header .menu-header a.sub-menu:hover,
  #header .menu-header a.sub-menu:hover,
  .column-title--link:hover {
    color: var(--cyan) !important;
    border-radius: 8px;
    background: #23304f;
  }

  #header.sticky-header .menu-header a.sub-menu:hover .svg-mask,
  #header .menu-header a.sub-menu:hover .svg-mask {
    background-color: var(--cyan) !important;
  }
}

@media (max-width: 991px) {
  #header #navbarSupportedContent {
    overflow-y: auto;
    min-height: calc(100dvh - 120px);
    max-height: calc(100dvh - 120px);
    padding-bottom: 100px;
    /* Le menu ouvert remplit toute la hauteur restante et porte le fond
       sombre : sans ça, quand la liste est courte, le contenu de la page
       (barre sticky / paliers de remise de la fiche produit) dépassait
       sous le menu en bas d'écran. */
    background-color: #200b3e;
  }

  body.menu-open,
  html.menu-open {
    overflow: hidden !important;
    height: 100% !important;
  }

  /* Menu ouvert : le fond du body prend la couleur sombre du menu pour
       éviter une bande blanche en bas là où la barre d'ajout sticky (masquée
       lorsque le menu est ouvert) laissait apparaître le fond blanc. */
  body.menu-open {
    background-color: #200b3e !important;
  }

  /* Le dropdown de recherche Algolia est ouvert : on masque totalement le
       menu burger (et son fond sombre) qui restait visible EN DESSOUS du
       dropdown. Solution CSS immunisée contre toute course de timing JS
       (Bootstrap collapse ré-ajoutant `menu-open` de façon asynchrone). */
  body.algolia-dropdown-open #header #navbarSupportedContent {
    display: none !important;
  }

  body.algolia-dropdown-open.menu-open,
  html.algolia-dropdown-open.menu-open {
    background-color: transparent !important;
  }

  /* Un bloc header mobile (Mon compte / Panier) est ouvert en overlay fixe :
       on masque le fil d'ariane qui restait visible dans l'espace au-dessus du
       panneau. */
  body.header-overlay-open #breadcrumb {
    display: none !important;
  }

  /* Accordéon sous-menus mobile */
  .accordion-header-mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    cursor: pointer;
    border-bottom: 1px solid var(--primary);
  }

  .accordion-header-mobile .column-title,
  .accordion-header-mobile .accordion-icon {
    padding: 15px 10px;
  }

  .accordion-header-mobile .column-title {
    margin: 0;
  }

  .accordion-header-mobile .accordion-icon {
    transition: transform 0.3s ease;
    color: var(--white);
  }

  .accordion-header-mobile.active .accordion-icon {
    transform: rotate(180deg);
  }

  .accordion-content-mobile {
    display: none;
    padding: 0 10px;
    overflow: hidden;
  }

  .sub-menus-row {
    display: flex;
    flex-direction: column;
  }

  .sub-menu-column {
    width: 100%;
    flex: none;
    padding-left: 15px;
    padding-right: 15px;
  }

  .sub-menu-pillar {
    display: contents;
  }

  .sub-menu-column-empty {
    display: none;
  }

  #header #block-menus ul li.nav-item {
    display: flex;
    padding: 10px 5px;
    justify-content: space-between;
    align-items: center;
    gap: 3px;
    align-self: stretch;
    border-bottom: 1px solid var(--primary);
  }
}

@media (max-width: 768px) {
  #header ul.dropdown-menu li.dropdown-item .container-lg {
    overflow-x: hidden !important;
  }

  #header #block-content-user-info.js-show-block,
  #header #blockcart-wrapper.js-show-block {
    position: fixed !important;
    left: 0;
    bottom: 0;
    width: 100vw !important;
    z-index: 9999999;
    transform: none;
    padding: 0;
    /* Fond blanc plein : l'overlay est en position fixe et son contenu
           blanc démarrait 20px plus bas (margin-top hérité du dropdown desktop),
           laissant apparaître la page derrière en haut du panneau. */
    background: #fff !important;
  }

  /* On supprime la marge haute du contenu (ergot du dropdown desktop) pour
       que le blanc soit collé sous la barre de recherche. */
  #header #blockcart-wrapper.js-show-block .card,
  #header #block-content-user-info.js-show-block .custom-block-userinfo {
    margin-top: 0 !important;
  }

  #header #blockcart-wrapper.cart-menu.js-show-block {
    max-height: 88dvh;
  }

  #header .cart-menu.js-show-block .cart-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: none;
  }

  #header
    #blockcart-wrapper.cart-menu.js-show-block
    .cart-footer
    .rounded-bottom-xxl,
  #header #blockcart-wrapper.cart-menu.js-show-block .card {
    border-radius: 0 !important;
    padding: 0;
    margin: 0;
    justify-content: space-between;
  }

  #header #blockcart-wrapper.cart-menu.js-show-block .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 88dvh;
  }

  #header #blockcart-wrapper.cart-menu.js-show-block .cart-footer {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    flex-shrink: 0;
  }

  #header .menu-header .dropdown-menu {
    left: 100%;
    top: 115px;
  }

  #header .show-sub-menu {
    position: absolute !important;
    top: 115px !important;
    min-height: 80dvh !important;
    height: 80dvh !important;
    z-index: 1000000000000000 !important;
    display: block !important;
    transition: all ease-in 0.3s !important;
    left: 0% !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-y: auto !important;
  }

  #header #block-netreviews {
    order: 4;
    display: block;
  }

  #header nav.navbar {
    margin: 0;
    padding: 0;
  }

  #header button.navbar-toggler {
    padding-left: 15px;
  }

  #header .navbar-collapse {
    border-top: none !important;
    width: 100%;
    overflow-y: auto;
  }

  #header .dropdown-menu > .dropdown-item {
    padding: 0.55rem;
    box-sizing: border-box;
  }

  #header #block-menus {
    padding: 0 20px;
  }

  #header #block-menus ul {
    width: 100%;
  }

  #header #block-menus ul li.nav-item > *.dropdown-toggle::after {
    display: none;
  }

  #header #block-menus ul li.nav-item.dropdown::after {
    display: none;
  }

  #header #block-content-user-info .custom-block-userinfo {
    max-height: calc(100dvh - 146px);
    padding: 0 !important;
    margin-top: 0 !important;
  }

  #header #usercard.js-show-block {
    display: block;
    position: fixed !important;
    left: 0;
    bottom: 0;
    width: 100vw !important;
    z-index: 9999999;
    transform: none;
    background: #fff;
    padding: 0;
    border-radius: unset !important;
  }

  #header #usercard.js-show-block .cardContainer {
    border-radius: unset !important;
    padding-top: 0;
  }

  #header #block-content-user-info .custom-block-userinfo .myAccountNav {
    padding: 0 0.75rem 25px 0.75rem !important;
    margin: 0 !important;
  }

  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary {
    display: block;
    width: 100% !important;
    margin: 0.875rem 0 0.625rem !important;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
  }

  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:hover,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:focus,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:active,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary.focus {
    color: var(--white) !important;
    background-color: var(--purple);
    border-color: var(--purple);
  }

  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:hover
    i,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:focus
    i,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:active
    i {
    color: var(--white) !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #header ul.dropdown-menu li.dropdown-item .container-lg {
    overflow-x: hidden !important;
  }

  #header #block-content-user-info.js-show-block,
  #header #blockcart-wrapper.js-show-block {
    position: fixed !important;
    left: 0;
    bottom: 0;
    width: 100vw !important;
    z-index: 9999999;
    transform: none;
    /* overflow: auto; */
  }

  #header #blockcart-wrapper.cart-menu.js-show-block {
    max-height: 88dvh;
  }

  #header .cart-menu.js-show-block .cart-body {
    /* max-height: 50dvh; */
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: none;
  }

  #header
    #blockcart-wrapper.cart-menu.js-show-block
    .cart-footer
    .rounded-bottom-xxl,
  #header #blockcart-wrapper.cart-menu.js-show-block .card {
    border-radius: 0 !important;
    padding: 0;
    margin: 0;
    justify-content: space-between;
  }

  #header #blockcart-wrapper.cart-menu.js-show-block .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 88dvh;
  }

  #header #blockcart-wrapper.cart-menu.js-show-block .cart-footer {
    position: relative;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1030;
    background: var(--white);
    flex-shrink: 0;
  }

  #header .menu-header .dropdown-menu {
    left: 100%;
    top: 115px;
  }

  #header .show-sub-menu {
    position: absolute !important;
    top: 115px !important;
    min-height: 80dvh !important;
    height: 80dvh !important;
    z-index: 1000000000000000 !important;
    display: block !important;
    transition: all ease-in 0.3s !important;
    left: 0% !important;
    max-width: 100% !important;
    width: 100% !important;
    overflow-y: auto !important;
  }

  #header #block-netreviews {
    order: 4;
    display: block;
  }

  #header nav.navbar {
    margin: 0;
    padding: 0;
  }

  #header button.navbar-toggler {
    padding-left: 15px;
  }

  #header #block-menus ul {
    width: 100%;
  }

  #header #block-menus ul li.nav-item {
    min-height: 41px;
    max-height: 41px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    border-bottom: 1px solid var(--primary);
    padding-left: 5px;
    overflow: hidden;
    font-size: 1rem;
  }

  #header #block-menus ul li.nav-item > *.dropdown-toggle::after {
    display: none;
  }

  #header #block-menus ul li.nav-item.dropdown::after {
    display: none;
  }

  #header #block-content-user-info .custom-block-userinfo {
    max-height: calc(100dvh - 146px);
    padding: 0 !important;
    margin-top: 0 !important;
  }

  #header #block-content-user-info .custom-block-userinfo .myAccountNav {
    padding: 0 0.75rem !important;
    margin: 0 !important;
  }

  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary {
    display: block;
    width: 100% !important;
    margin: 0.875rem 0 0.625rem !important;
    padding: 0.625rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
  }

  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:hover,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:focus,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:active,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary.focus {
    color: var(--white) !important;
    background-color: var(--purple);
    border-color: var(--purple);
  }

  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:hover
    i,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:focus
    i,
  #header
    #block-content-user-info
    .custom-block-userinfo
    .myAccountNav
    .btn.btn-primary:active
    i {
    color: var(--white) !important;
  }
}

/* Cible les écrans entre 992 et 1400 pixels */
@media (min-width: 992px) and (max-width: 1400px) {
  #header .container-lg,
  #header.sticky-header .container-lg {
    width: 100%;
    min-width: 100%;
  }

  #header.sticky-header #block-search {
    order: 1;
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    max-width: 80%;
  }

  #header.sticky-header #navbarSupportedContent {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    order: 3;
    border: none !important;
  }

  #header.sticky-header #block-links {
    padding: 0.5rem 0;
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%;
    order: 2;
  }
}

#launcher,
iframe[title="Bouton de lancement de la fenêtre de messagerie, conversation en cours"] {
  z-index: 999 !important;
}

.contentLinkMenu.collapsing {
  transition: none;
}

/**********************************************************/
#header + * {
  padding-top: 180px;
}

#module-prestablog-blog #header + * {
  padding-top: 140px;
}

/*
#header a:not(.btn):not(.disabled):not(:hover):not(.active):not(.nav-item) {
    color: inherit;
} */

/* #header #block-categories ul li {
    font-size: 0.875rem;
} */

@media (min-width: 768px) and (max-width: 991px) {
  #header #block-categories ul li.nav-item {
    border-bottom: 1px solid var(--purple);
  }
}

#header #block-netreviews a {
  white-space: nowrap;
}

#header .dropdown-menu.show-sub-menu::-webkit-scrollbar-thumb,
.categories-search-content::-webkit-scrollbar-thumb,
.content-userinfo-mobile::-webkit-scrollbar-thumb,
.cart-body::-webkit-scrollbar-thumb,
.content-userinfo .custom-block-userinfo::-webkit-scrollbar-thumb,
.content-product-search::-webkit-scrollbar-thumb,
.content-filter-search::-webkit-scrollbar-thumb,
#content-search::-webkit-scrollbar-thumb {
  background-color: var(--purple);
}

#header .dropdown-menu.show-sub-menu::scrollbar-thumb,
.categories-search-content::scrollbar-thumb,
.content-userinfo-mobile::scrollbar-thumb,
.cart-body::scrollbar-thumb,
.content-userinfo .custom-block-userinfo::scrollbar-thumb,
.content-product-search::scrollbar-thumb,
.content-product-search::scrollbar-thumb,
#content-search::scrollbar-thumb {
  background-color: var(--purple);
}

#header .cart-products-count {
  color: var(--dark);
  background-color: var(--cyan);
  border-radius: 50rem;
  top: -8px;
  right: -7px;
}

/* #blockcart-wrapper {
    color: var(--dark);
    left: 15%;
} */
/* 
#blockcart-wrapper .card {
    justify-content: space-between;
    background-color: var(--white);
    border-radius: 0;
    padding: 0;
    margin: 0;
} */

#header #block-content-user-info .myAccountNav {
  background-color: var(--white);
  /* color: var(--white); */
  margin-top: 0;
}

#header #block-content-user-info .custom-block-userinfo a {
  color: var(--dark);
}

@media (min-width: 991px) {
  #blockcart-wrapper .card,
  #header #block-content-user-info .custom-block-userinfo {
    box-shadow: 0 -1px 6px 2px rgba(8, 9, 22, 0.06);
    border-radius: 10px;
  }
}

#header .content-userinfo .myAccountNav {
  padding: 0.5rem;
}
/*************************************************************/
/* OLD LCBDD                                               */
/*************************************************************/
