.menu-toggle1 {
    display: flex;
    gap: 5px;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 5px 7px 5px 5px;
    border-radius: 28px;
    transition: 0.2s;
  }

  .menu-toggle1:hover {
    opacity: 0.9;
  }

  .menu-toggle1 .button__img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background-color: #1c61e7;
    border-radius: 50%;
    height: 40px;
    width: 40px;
  }

  .menu-toggle1 span {
    font-size: 16px;
    font-weight: 600;
    color: black;
  }

  .overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    height: 100%; width: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 9998;
  }

  .sidebar {
    position: fixed;
    left: 0; top: 0;
    height: 100vh;
    width: 60px;
    padding: 0px;
    background: #fff;
    color: #000000;
    transition: width 0.3s;
    z-index: 10000;
    overflow-y: hidden;
    box-shadow: 3px 10px 10px rgba(0, 0, 0, 0.2);
  }
  .sidebar.expanded {
    width: 347px;
    overflow-y: auto;
  }

  .catalog-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    background-color: #1c61e7;
    border-radius: 50px;
    height: 50px !important;
  }

  .catalog-link:hover {
    color: white !important;
    opacity: 0.8;
  }

  .catalog-icon {
    margin-right: 10px;
    margin-left: 3px;
    border-radius: 4px;
    flex-shrink: 0;
    text-align: center;
    line-height: 24px;
    font-size: 16px;
  }

  .sidebar::-webkit-scrollbar {
      width: 10px;
    }

    .sidebar::-webkit-scrollbar-thumb {
      background-color: #8b8b8b;
      border-radius: 6px;
    }

    .sidebar::-webkit-scrollbar-track {
      background: #fcfcfc;
    }

    .sidebar::-webkit-scrollbar-button {
      display: block;
    }

  .submenu::-webkit-scrollbar {
      width: 10px;
    }

    .submenu::-webkit-scrollbar-thumb {
      background-color: #8b8b8b;
      border-radius: 6px;
    }

  .catalog-label {
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.3s;
  }
  .sidebar:not(.expanded) .catalog-label {
    opacity: 0;
    width: 0;
  }

  .categories {
    list-style: none;
    padding: 0px 5px;
    margin: 0;
  }
  .category {
    display: flex;
    align-items: center;
    padding: 4px 12px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    color: #000;
  }
  .category:hover {
    color: #1c61e7;
  }

  .category a {
    color: #000;
  }

  .category:hover .category-label {
  color: #1c61e7;
}

  .category-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    border-radius: 4px;
    flex-shrink: 0;
  }
  .category-label {
    overflow: hidden;
    white-space: nowrap;
    transition: opacity 0.3s;
    font-size: 15px !important;
  }
  .sidebar:not(.expanded) .category-label {
    opacity: 0;
    width: 0;
  }

  .catalog-link__wrapper {
    background-color: white;
    position: sticky;
    top: 0px;
    padding: 10px 5px;
    z-index: 5;
  }

  .submenu {
    position: fixed;
    background: #fff;
    color: #000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 9999;
    padding: 35px 65px 35px 35px;
    border-radius: 0 4px 4px 0px;
    max-width: 800px;
    max-height: 700px;
  }
  .submenu > div {
    display: none;
  }
  .submenu-visible {
    display: block !important;
  }
  .long-text {
    background: #ffffff;
    padding: 10px;
  }

  .cat__popup {
    display: flex;
    flex-direction: column;
  }

  .cat__popup-top {
    display: flex;
    gap: 10px;
  }

  .cat__popup__col {
    display: flex;
    width: 25%;
    flex-direction: column;
  }

  .cat__popup__el {
    display: flex;
    flex-direction: column;
  }

  .catalog-icon img {
    width: 20px !important;
    height: 20px !important;
    margin: auto; 
  }

  .category-icon img {
    width: 24px !important;
    height: 24px !important;
  }
  
  .sidebar.expanded .category.has-submenu {
  position: relative;
}

.sidebar.expanded .category.has-submenu::after {
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%23888' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transition: filter 0.2s ease;
}

.sidebar.expanded .category.has-submenu:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='12' viewBox='0 0 8 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%231c61e7' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


.sidebar__popup {
  display: flex;
  flex-direction: column;
}

.sidebar__popup__col1 {
  display: flex;
  flex-direction: column;
}

.sidebar__popup__col2 {
  display: flex;
  flex-direction: column;
  border-top: #88888831 solid 1px;
  margin-top: 20px;
}

.sidebar__popup__col-3 {
  display: flex;
  gap: 140px;
}

.sidebar__popup__col-3col {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: start;
  font-size: 15px !important;
}

.sidebar__popup__col-3 a {
  color: #000;
  transition: 0.2s;
}

.sidebar__popup__col-3 a:hover {
  color: #1c61e7;
}

.sidebar__popup__title {
  margin-bottom: 30px;
  font-size: 16px;
}

.sidebar__popup__line {
  width: 100%;
  height: 1px;
  background-color: #88888828;
}

.sidebar__popup__products {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 15px;
}

.sidebar__popup__prod {
  display: flex;
  max-height: 100px;
  padding: 5px;
  align-items: center;
  z-index: 10001;
}

.sidebar__popup__prod__image {
  width: 90px;
  margin-right: 10px;
}

.sidebar__popup__prod__info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  max-height: 70px;
}

.sidebar__popup__prod__title {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  transition: 0.2s;
  font-size: 15px !important;
}

.sidebar__popup__prod__title:hover {
  color: #1c61e7;
}

.sidebar__popup__prod__price {
  color: #1c61e7;
  font-size: 16px;
  font-weight: 500;
  font-size: 15px !important;
}

.sidebar__popup__image-bg {
  position: absolute;
  left: 190px;
  bottom: -10px;
  -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.05) 20%, rgba(0,0,0,1) 60%, rgba(0,0,0,1) 100%);
  mask-image: linear-gradient(to right, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.05) 20%, rgba(0,0,0,1) 60%, rgba(0,0,0,1) 100%);
}

.sidebar__popup__button {
    background: #1c61e7;
    color: white !important;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.2s;
}

.sidebar__popup__button:hover {
  opacity: 0.9;
  color: white !important;
}

 body {
    margin-left: 60px !important;
}


@media screen and (max-width: 993px) {
  .overlay {
    display: none !important;
  }

  .sidebar {
    display: none !important;
  }
  
   body {
    margin-left: 0px !important;
}

}

