header {
  position: fixed;
  display: flex;
  width: 100vw; /* vw */
  top: 0px;
  left: 0px;
  z-index: 6;
  transition: all 0.4s ease-in-out;
}

.mobileNavBarIntBtn {
  position: fixed;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 35px;
  height: 25px;
  left: 10px;
  top: 10px;
  border-radius: 2px;
  cursor: pointer;
  z-index: 7;
}

.mobileNavBarIntBtn span {
  position: relative;
  display: flex;
  margin-left: 0%;
  height: 4px;
  width: 100%;
  background-color: black;
  border-radius: 4px;
  transition: all 0.4s ease-in-out;
}

.mobileNavBarIntBtn.active span {
  margin-left: -10%;
  width: 120%;
}

.mobileNavBarIntBtn.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.mobileNavBarIntBtn.active span:nth-child(2) {
  opacity: 0;
}

.mobileNavBarIntBtn.active span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}


header * {
  box-sizing: border-box;
  text-decoration: none;
}

.navbar {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  height: 60px;
  padding-top: 10px;
  padding-bottom: 0.70px;
}

.logoContainer {
  margin-left: 10px;
  position: relative;
  display: flex;
  width: 180px;
  height: 180px;
  border-radius: 20px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.logoContainer:hover {
  transform: scale(1.02) rotate(-2.5deg);
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
}

.logoContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.searchBarContainer {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: clamp(190px, 15vw, 343px);
  height: 100%;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 2px;
  cursor: pointer;
}


.searchBarContainer input {
  width: 100%;
  height: 100%;
  background-color: transparent;
  border: none;
  outline: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: Tahoma, sans-serif;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.searchBarContainer input::placeholder {
  color: #fff !important;
  opacity: 1;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: Tahoma, sans-serif;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* nav links container */
.navLiksContainer {
  position: relative;
  display: flex;
  height: 100%;
  margin-right: 10px;
  gap: 20px;
  align-items: center;
}

.navLiksContainer .userInteractionContainer {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.navLiksContainer .userInteractionContainer .userProfile {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 170px;
  height: 100%;
  border: 2px solid #eee;
  border-radius: 10px;
  border-radius: 0px 10px 10px 0px;  /* style pour gérer le panier */
  padding: 2px;
  cursor: pointer;
}

.navLiksContainer .userInteractionContainer .userPanierContainer {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 40px;
  height: 100%;
  border-style: solid;
  border-width: 2px 0 2px 2px;
  border-color: #eee transparent #eee #eee;
  border-radius: 10px 0px 0px 10px;
  padding: 2px;
  cursor: pointer;

  /*display:none;*/
}

.navLiksContainer .userInteractionContainer .userPanierContainer .logoPanier {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;

}

.navLiksContainer .userInteractionContainer .userPanierContainer .logoPanier ion-icon {
  font-size: 23px;
  font-weight: 700;
  color: #fff;
}

.navLiksContainer .userInteractionContainer .userPanierContainer .logoPanier span.countPanier {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 0px;
  right: -1px;
  background: #ccc;
  border-radius: 50px;
  border: 0.5px solid #eee;
  font-family: Tahoma, sans-serif;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 19px;
}

.navLiksContainer .userInteractionContainer .userProfile .userLogo {
  position: relative;
  display: flex;
  width: 45px;
 height: 45px;
 border-radius: 50px;
 overflow: hidden;
 border: 1.5px solid #fff;
}
.navLiksContainer .userInteractionContainer .userProfile .userLogo img,
.navLiksContainer .userInteractionContainer .userProfile .userLogo picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navLiksContainer .userInteractionContainer .userProfile .userName {
  position: relative;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  font-family: Tahoma, sans-serif;
  max-width: 100px;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  color: #fff;
}

.navLiksContainer a.fixNaveLinks {
  position: relative;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  font-family: Tahoma, sans-serif;
  max-width: 125px;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.navLiksContainer a.fixNaveLinks::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  background: #fff;
  width: 100%;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-out;
}

.navbar a:hover::after {
  transform: scaleX(1);
}


.navLiksContainer .dynamiqueNaveLinksContainer {
  position: relative;
  display: flex;
  flex-direction: row;
  height: 100%;
  min-width: 100px;
  justify-content: space-between;
}

.btnLeft,
.btnRight {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  font-size: 24px;
  font-weight: 800;
  border-radius: 25px;

  border: none;
  font-family: monospace;
  font-weight: bold;
  background: #eee4;
  cursor: pointer;
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.9);
  transition: all 0.4s ease;
  opacity: 1;
}
.btnLeft.disable,
.btnRight.disable {
  opacity: 0;
  cursor: default;
}

.btnLeft:hover,
.btnRight:hover {
  background: #ccc;
  box-shadow: 0 0 25px 15px rgba(255, 255, 255, 2);
}

.btnLeft span,
.btnRight span,
.btnLeft.disable span,
.btnRight.disable span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
}


.dynamicNavLinksContent {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: row;
  align-items: center;
  height: 100%;
  margin-left: 10px;
  margin-right: 10px;
  scroll-behavior: smooth;
  max-width: 20vw;
  min-width: 300px;
}

.dynamicNavLinksContent .movWarraper {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  gap: 10px;
  transition: transform 0.3s ease;
  transform: translateX(0);
}


.dynamicNavLinksContent .movWarraper  a {
  flex: 0 0 auto;
  width: 90px;
  font-family: Tahoma, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.userProfile .hover-box,
.searchBarContainer .hover-box,
.userPanierContainer .hover-box {
  position: absolute;
  display: none;
  top: -100px;
  left: 10;
  z-index: 5;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}


.hover-box .hoverContentBox {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  background: #ccc;
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  min-width: 180px;
  gap: 5px;
}

.hover-box .hoverContentBox .containerelement {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor: pointer;
  min-height: 20px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 15px;
}

.hover-box .hoverContentBox .containerelement.badElement {
  cursor: default;
}

.hover-box .hoverContentBox .containerelement.badElement:hover {
  background: transparent;
}

.hover-box .hoverContentBox .containerelement:hover {
  background: #eee4;
}

.hover-box .hoverContentBox .containerelement:first-child {
  margin-top: 5px;
}
.hover-box .hoverContentBox .containerelement:last-child {
  margin-bottom: 5px;
}

.hover-box .hoverContentBox .containerelement span {
  margin-left: 10px;
  position: relative;
  display: flex;
  flex: 1;
  justify-content: space-between;
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hover-box .hoverContentBox .containerelement.badElement span {
  color: red;
}


.hover-box .hoverContentBox .containerelement span p {
  text-transform: uppercase;
  color: rgb(82, 127, 219);
}

.hover-box .hoverContentBox .containerelement ion-icon {
  position: relative;
  display: flex;
  font-family: Tahoma, sans-serif;
  font-size: 18.5px;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.searchBarContainer .hover-box {
  width: 15vw;
}

.searchBarContainer .hover-box .hoverContentBox,
.searchBarContainer .hover-box .hoverContentBox .containerelement {
  width: 100%;
}

.hover-box.active {
  top: 95% !important;
  opacity: 1 !important;
  pointer-events: auto;
}

@media screen and (max-width: 1250px) {
  .navLiksContainer .dynamiqueNaveLinksContainer {
    display: none;
  }
}





@media screen and (max-width: 811px) { /* mode mobille */

  .mobileNavBarIntBtn {
    display: flex;
  }
 
  header {
    width: 45vw;
    min-width: 223.5px;
    height: 100vh;
    left: -50vw;
    background: linear-gradient(
      to bottom,
      rgba(200, 200, 200, 0.9),    /* gris clair transparent */
      rgba(100, 100, 100, 0.5),   /* gris foncé transparent */
      rgba(100, 100, 100, 0.8),  /* gris foncé transparent */
      rgba(100, 100, 100, 1.0)  /* gris foncé opaque */
    );
  }

  header.active {
    left: 0px;
  }


  .navbar {
    flex-direction: column;
    justify-content: unset;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-top: 10px;
    padding-bottom: 0.70px;
  }

  .logoContainer {
    margin-left: 0px;
    width: 120px;
    height: 120px;
  }

.searchBarContainer {
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: clamp(190px, 95%, 345px);
  height: 60px;
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 2px;

  margin-bottom: 5px;
}

/* nav links container */
.navLiksContainer {
  position: relative;
  display: flex;
  height: 25px;
  margin-right: 0px;
  gap: 20px;
  align-items: center;
  justify-content: space-around;
  flex-direction: column-reverse;
}

.navLiksContainer .userInteractionContainer {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 60px;
}


.navLiksContainer .userInteractionContainer .userPanierContainer {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 40px;
  height: 100%;
  border-style: solid;
  border-width: 2px 0 2px 2px;
  border-color: #eee transparent #eee #eee;
  border-radius: 10px 0px 0px 10px;
  padding: 2px;
  cursor: pointer;

  /*display:none;*/
}


.navLiksContainer a.fixNaveLinks {
  position: relative;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  font-family: Tahoma, sans-serif;
  max-width: 125px;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  color: #fff;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.navLiksContainer a.fixNaveLinks::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 2px;
  background: #fff;
  width: 100%;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease-out;
}

.navbar a:hover::after {
  transform: scaleX(1);
}


.navLiksContainer .dynamiqueNaveLinksContainer {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 270px;
  min-width: 100%;
  align-items: center;
  justify-content: space-between;
}

.btnLeft,
.btnRight {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 50px;
  font-family: Tahoma, sans-serif;
  font-size: 24px;
  font-weight: 800;
  border-radius: 25px;

  border: none;
  font-family: monospace;
  font-weight: bold;
  background: #eee4;
  cursor: pointer;
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.9);
  transition: all 0.4s ease;
  opacity: 1;
  transform: rotate(90deg);
}
.btnLeft.disable,
.btnRight.disable {
  opacity: 0;
  cursor: default;
}

.btnLeft:hover,
.btnRight:hover {
  background: #ccc;
  box-shadow: 0 0 25px 15px rgba(255, 255, 255, 2);
}


.dynamicNavLinksContent {
  align-items: center;
  height: 75%;
  max-width: unset;
  min-width: unset;
  width: 100%;
  margin-left: 10px;
  margin-right: 10px;
}

.dynamicNavLinksContent .movWarraper {
  flex-direction: column;
  gap: 30px;
  transform: translateY(0);
}


.dynamicNavLinksContent .movWarraper  a {
  flex: 0 0 auto;
  width: 90px;
  font-family: Tahoma, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.userProfile .hover-box,
.searchBarContainer .hover-box,
.userPanierContainer .hover-box {
  position: absolute;
  display: none;
  top: -100px;
  left: 10;
  z-index: 5;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  pointer-events: none;


}

.searchBarContainer .hover-box {
  left: 105%;
  width: 120%;
}

.userPanierContainer .hover-box {
  left: 5%;
}


.hover-box .hoverContentBox {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  background: #ccc;
  box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  min-width: 230px;
  gap: 5px;
}

.hover-box .hoverContentBox .containerelement {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  cursor: pointer;
  min-height: 20px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 15px;
}

.hover-box .hoverContentBox .containerelement.badElement {
  cursor: default;
}

.hover-box .hoverContentBox .containerelement.badElement:hover {
  background: transparent;
}

.hover-box .hoverContentBox .containerelement:hover {
  background: #eee4;
}

.hover-box .hoverContentBox .containerelement:first-child {
  margin-top: 5px;
}
.hover-box .hoverContentBox .containerelement:last-child {
  margin-bottom: 5px;
}

.hover-box .hoverContentBox .containerelement span {
  margin-left: 10px;
  position: relative;
  display: flex;
  flex: 1;
  justify-content: space-between;
  font-family: Tahoma, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.hover-box .hoverContentBox .containerelement.badElement span {
  color: red;
}


.hover-box .hoverContentBox .containerelement span p {
  text-transform: uppercase;
  color: rgb(82, 127, 219);
}

.hover-box .hoverContentBox .containerelement ion-icon {
  position: relative;
  display: flex;
  font-family: Tahoma, sans-serif;
  font-size: 18.5px;
  font-weight: 600;
  color: #fff;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.searchBarContainer .hover-box {
  width: 15vw;
}

.searchBarContainer .hover-box .hoverContentBox,
.searchBarContainer .hover-box .hoverContentBox .containerelement {
  width: 100%;
}

.hover-box.active {
  top: 95% !important;
  opacity: 1 !important;
  pointer-events: auto;
}

}

@media screen and (max-width: 460px) {
  header {
    left: -100vw;
  }
  .searchBarContainer .hover-box {
    left: 0px;
  }
}

@media screen and (max-width: 225px) {
  header {
    left: -150vw;
  }
}