#container {
  display: flex !important;
  flex-direction: column;
  width: 95%;
}
/** TRI  */
#triCategories {
  display: none;
}
.tri {
  margin-top: 1em;
}
.triForm {
  display: flex;
  justify-content: end;
}
#triSelect,
#triCategories {
  /* width: 80%; */
  border-radius: 10px;
  outline: none;
  height: 50px;
  background-color: var(--input-color);
  color: #fff;
  padding: 0 1%;
}
/**   */
.catAndItems {
  display: flex;
  gap: 2%;
  margin-top: 1%;
}
/** FORM  */
.catAndItems form {
  width: 20%;
}
#filterDiv {
  color: aliceblue;
  border-color: rgb(0, 0, 0);
  border-radius: 10px;
}
.categoryParentDiv {
  margin-bottom: 12px !important;
  padding: 10px !important;
  border-radius: 10px;
  background-color: var(--section-color);
}
.categoryParentDiv li {
  list-style: none;
}
.resultParent {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.categoryParentName {
  font-weight: bold;
  list-style: none;
}
.categoryParentRadio {
  display: none;
}
.categoryChildDiv {
  display: none;
}
.categoryChildDivBlock {
  display: block;
  margin-top: 12px;
  padding: 10px;
  background-color: var(--div-color);
  border: 1px solid;
  border-color: #444b5d;
  border-radius: 10px;
}
.subCategoryName:hover {
  color: var(--button-color);
  cursor: pointer;
}
.subCategoryName > input {
  cursor: pointer;
}

/** Produits */
#allItems {
  width: 80%;
  background-color: var(--section-color);
  border-radius: 10px;
}
#allItems li {
  list-style-type: none;
}
.divGlobal {
  border-radius: 10px;
  margin: 1em;
  background-color: var(--div-color);
  border: 1px solid var(--border-color);
}
.divGlobal a {
  display: flex;
  text-decoration: none;
  color: #fff;
  width: 100%;
  padding: 1em;
}
.divImg {
  width: 140px;
  /* height: 100%; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.itemImg {
  width: 140px;
  border-radius: 12px;
  z-index: 0;
  transform: scale(1);
  transition: 0.5s ease-in-out;
}
.divGlobal:hover .itemImg {
  z-index: 0;
  transform: scale(1.1);
  transition: 0.5s ease-in-out;
}
.divNameDesc {
  margin-left: 2%;
  width: 70%;
}
.itemName {
  font-weight: bolder;
  color: rgb(255, 255, 255);
  transition: 0.3s;
}
.divGlobal:hover .itemName {
  color: var(--button-color);
  transition: 0.3s;
}
.divPrice {
  /* margin-left: 30px !important; */
  width: 15%;
  margin: auto !important;
  text-align: center;
  font-weight: bolder;
}
.itemPrice {
  font-size: 2em;
  color: #e26464;
}
.itemStock {
  font-size: 1em;
}

@media screen and (max-width: 1440px) {
  .itemPrice {
    font-size: 1.5rem;
  }
  .divImg {
    width: 100px;
  }
  .itemImg {
    width: 100px;
  }
}
@media screen and (max-width: 768px) {
  #container {
    width: 100%;
  }

  #triCategories {
    display: block;
  }
  .catAndItems form {
    display: none;
  }
  .triForm {
    justify-content: space-around;
  }
  #allItems {
    width: 100%;
    border-radius: initial;
  }
  .itemPrice {
    font-size: 1em;
  }
}
@media screen and (max-width: 425px) {
  .triForm {
    flex-direction: column;
    align-items: center;
  }
  .triForm > select {
    width: 95%;
  }
  #triCategories {
    margin-bottom: 2%;
  }
  .divGlobal a {
    width: 100%;
    padding: 1em;
    flex-direction: column;
    align-items: center;
    row-gap: 25px;
  }
  .divNameDesc {
    width: 100%;
  }
  .itemName {
    margin-bottom: 2%J;
  }
  .divPrice {
    margin: 0 !important;
    display: flex;
    width: 100%;
    font-weight: bolder;
    justify-content: space-evenly;
  }
}
