a {
  color: black;
}

li {
  list-style: none;
}

/*  Main header */
.main-header {
  margin: 0;
  width: 100%;
}

.nav-header {
  padding: 20px 15px 20px 15px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-shop {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-shop > li {
  margin-right: 20px;
}

.shop > a {
  display: flex;
  align-items: center;
}

.shop > a > span {
  margin-right: 2px;
}

/* user icon */

.usericon {
  cursor: pointer;
}
/* Middle */

.header-middle {
  margin-left: 50px;
  display: flex;
  align-items: center;
}

.header-middle > a > img {
  width: 200px;
}

/* menu */

.menu {
  display: flex;
  align-items: center;
}

/* main menu */
.main-menu > ul {
  display: flex;
  align-items: center;
}

.main-menu > ul > li {
  margin-left: 50px;
}

.searchicon {
  cursor: pointer;
}

/* Only mobile */

.onlymobile {
  display: none;
}

/* favorites and cart */

.favorite-counter {
  font-size: 0.6em;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(15px, -43px);
  padding: 5px;
}

.favorite-counter .wishlist-nonempty {
  background-color: transparent;
}
.wishlist-counter-span {
  color: white;
  font-size: 0.8em;
}

.basket-counter {
  height: 18px;
  width: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(15px, -43px);
  padding: 5px;
}

.basket-counter > span {
  color: rgb(0, 0, 0);
  font-size: 0.6em;
}

.heart-basket-iconMobile {
  margin-right: 10px;
  margin-top: 20px;
}

/* Search part */
.search-bar-container {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.search-modal {
  width: 100%;
  height: 100%;
  z-index: 1111;
  display: none;
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(39, 38, 38, 0);
  position: absolute;
  top: 0;
  padding-top: 100px;
  cursor: pointer;
}

.search-modal > input {
  background-color: rgb(252, 247, 244);
  width: 100%;
  margin-bottom: 10px;
  height: 70px;
  border: none;
  padding-left: 30%;
  padding-right: 30%;
  text-align: center;
  font-size: 1.8em;
  padding-top: 20px;
  padding-bottom: 20px;
  outline: none;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 15px 10px -15px;
}

/* categories and subcats*/
.subcat {
  font-size: 0.85em;
  opacity: 0.7;
}
.categories ul.subcategories {
  margin-left: 20px; /* Espacement à gauche pour le chevron */
  list-style: none; /* Suppression des puces */
}

.categories ul.subcategories:before {
  font-family: FontAwesome; /* Utilisation d'une police d'icônes comme FontAwesome */
  margin-right: 5px; /* Espacement entre le chevron et le texte */
}

.categories ul.subcategories li {
  margin-bottom: 5px; /* Espacement entre les sous-catégories */
}

.categories .material-symbols-outlined {
  margin-right: 5px; /* Espacement entre le chevron et le texte */
}
/* Responsive */

@media screen and (max-width: 800px) {
  .onlymobile {
    display: flex;
  }
  .onlydestok {
    display: none;
  }
  .menu {
    padding: 0;
    flex-direction: column;
    position: fixed;
    left: 0;
    top: 0;
    overflow: hidden;
    transform: translate(-100%);
    transition: all 0.5s ease;
    width: 400px;
    height: 100%;
    background-color: rgb(255, 255, 255);
    z-index: 11;
  }

  .menu.active {
    transform: translate(0%);
  }

  /* Menu Header */
  .menu-header {
    margin-top: 10px;
    width: 100%;
  }

  .menu-header > ul {
    padding: 5px 15px 5px 15px;
    width: 100%;
    display: flex;
    justify-content: space-between;
  }
  .logo-mobile > a > img {
    width: 150px;
  }
  .modal-close {
    cursor: pointer;
  }
  /* Categories */

  .menu-catgories {
    margin-top: 25px;
    padding: 5px 15px 5px 15px;
    width: 100%;
  }

  .menu-catgories > ul {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .all {
    border-bottom: 1px solid rgb(70, 70, 70);
    padding-bottom: 5px;
    width: 100%;
  }

  .all > a {
    font-size: 1.1em;
    opacity: 0.7;
    font-weight: bolder;
  }

  .categories {
    width: 100%;
  }

  .categories > ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    border-bottom: 1px solid rgb(70, 70, 70);
    padding-bottom: 5px;
  }

  .cat > a {
    font-size: 1.1em;
    opacity: 0.7;
    font-weight: bolder;
  }
  /* subcats */
  .subcat {
    margin-top: 5px;
    display: flex;
    align-items: center;
    margin-left: 10px;
  }
  .subcat > a {
    font-size: 0.9em;
    opacity: 0.7;
  }

  /*  About */
  .menu-about {
    width: 100%;
    padding: 5px 15px 5px 15px;
    margin-top: 20px;
    font-size: 1.1em;
    opacity: 0.7;
    font-weight: bolder;
  }

  .menu-about > a {
    font-size: 1.1em;
    opacity: 0.7;
    font-weight: bolder;
  }

  /* main menu */

  .main-menu {
    width: 100%;
    margin-top: 20px;
  }

  .main-menu > ul {
    padding: 5px 30px 5px 30px;
    width: 100%;
    justify-content: space-between;
  }
  .main-menu > ul > li {
    margin-left: 0;
  }
  .usericon-only-desktop {
    display: none;
  }

  /* menu-icon  right*/
  .menu-icon-right {
    display: flex;
    align-items: center;
  }
  .menu-icon-right > li {
    margin-left: 35px;
  }

  .menu-open {
    cursor: pointer;
  }
  /* favorite and cart */
  .heart-basket-iconMobile {
    margin-right: 10px;
    margin-top: 20px;
  }

  /*  Footer*/
  .footer-menu {
    padding: 5px 15px 5px 15px;
    margin-top: 50px;
    width: 100%;
  }
  .footer-menu > ul {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .footer-menu > ul > li {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
  }

  .footer-menu > ul > li > a {
    display: flex;
    align-items: center;
  }

  .footer-menu > ul > li > a > span {
    margin-right: 5px;
    font-size: 1em;
  }

  /* Search part */

  .search-modal {
    position: fixed;
  }

  .search-modal > input {
    position: absolute;
    top: 0;
  }

  /* Overlay */
  .menu-overlay {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
    visibility: hidden;
    opacity: 0;
    transition: all 0.5s ease;
  }
  .menu-overlay.active {
    visibility: visible;
    opacity: 1;
  }
}

@media screen and (max-width: 590px) {
  .menu {
    width: 100%;
  }
}

@media screen and (max-width: 461px) {
  /* menu-icon  right*/
  .menu-icon-right {
    display: flex;
  }
  .menu-icon-right > li {
    margin-left: 20px;
  }
  .header-middle {
    transform: translateX(-50px);
  }
  .header-middle > a > img {
    width: 140px;
  }
  /*  Footer*/
  .footer-menu {
    padding: 5px 15px 5px 15px;
    margin-top: 0px;
    width: 100%;
  }
  .footer-menu > ul {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .footer-menu > ul > li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .footer-menu > ul > li > a {
    display: flex;
    align-items: center;
  }

  .footer-menu > ul > li > a > span {
    margin-right: 5px;
    font-size: 0.9em;
  }
}

@media screen and (max-width: 375px) {
  /* menu-icon  right*/
  .menu-icon-right {
    transform: translateX(-15px);
  }
  .menu-icon-right > li {
    margin-left: 12px;
  }
  .header-middle {
    transform: translateX(-50px);
  }
  .header-middle > a > img {
    width: 120px;
  }
}

@media screen and (max-width: 295px) {
  /* menu-icon  right*/
  .menu-icon-right {
    transform: translateX(-40px);
  }
  .menu-icon-right > li {
    margin-left: 12px;
  }
  .header-middle {
    transform: translateX(-50px);
  }
  .header-middle > a > img {
    width: 120px;
  }
}
