.parent-item {
  color: var(--black);
  font-family: var(--brand-font);
  font-size: 20px;
  font-weight: var(--light);
}

.parent-item a:hover,
a.parent-item.selected {
  color: var(--gray);
  cursor: pointer;
}
.parent-item a,
[id='favorites'],
[id='search'] {
 // text-transform: uppercase;
  position: relative;
}
@media (min-width: 576px) {
  .parent-item a,
  [id='favorites'],
  [id='search'] {
    display: flex;
    z-index: 3;
  }
}
ul.multilevel-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
ul.multilevel-menu img {
  cursor: pointer;
}
div.root-item {
  display: none;
}
div.root-item.active {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  padding-top: 100px;
  background: var(--modal-bg);
  padding-left: 45px;
  width: 100%;
  max-width: 414px;
  height: calc(100vh);
  z-index: 2;
  overflow-y: auto;
}
div.root-item a[itemprop] {
  font-size: 14px;
}
.right-menu div.root-item.active {
  left: unset;
  right: 0;
}
.parent-item div ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
div.root-item a {
  color: var(--black);
}
div.root-item a:hover,
.root-item .item-selected {
  color: var(--gray);
}

#backdrop {
  background-color: #fff;
  opacity: 0.5;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
}
a.root-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
}
li.root-item {
  position: relative;
  z-index: 2;
  display: flex;
}
header ul .icon:hover img,
header ul .icon.selected img {
  opacity: 0.7;
}

div.basket.root-item.active {
  position: fixed;
}
@media (max-width: 991.98px) {
  ul.multilevel-menu {
    gap: 16px;
  }
  .withMenu li#search {
    display: none;
  }
  li#menu {
    display: block !important;
  }
  /*.withMenu li#menu {
    position: absolute;
    top: 18px;
    left: 12px;
    z-index: 20;
  }


 
  .withMenu .left-menu {
    position: fixed;
    left: 0;
    top: 0;
    background: var(--modal-bg);
    width: 100%;
    height: 100%;
    z-index: 4;
    flex-direction: column;
    align-items: center;
    padding-top: 100px;
    overflow-y: auto;
    text-align: center;
  }

  .withMenu .left-menu [data-menu] {
    display: flex !important;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }
  .withMenu .multilevel-menu {
    gap: 16px;
  }
  .withMenu [data-parent] {
    position: relative !important;
    height: unset !important;
    padding: unset !important;
  }
  .withMenu .left-menu [data-menu] li {
    justify-content: center;
    display: flex;
  }
  */
}
.times {
  display: none;
  z-index: 4;
  position: absolute;
  right: 15px;
  width: 24px;
  height: 24px;
  top: 18px;
  justify-content: right;
}
@media (max-width: 575.98px) {
  .active .times {
    display: flex;
  }
  .root-item.active {
    right: unset;
    padding-right: 45px;
    display: flex;
  }
  .root-item.active ul {
    text-align: center;
  }
  header .sideBarModal,
  header .root-item.active {
    max-width: unset;
  }
}
