.accordion-menu {
  width: 100%;
  max-width: 320px;
  font-family: "Inter", sans-serif;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.accordion-header-wrapper {
  display: flex;
  align-items: center;
  background: #fff;
  transition: background 0.2s;
}

.accordion-header-wrapper:hover {
  background: #f8f8f8;
}

.accordion-header-link {
  display: flex;
  align-items: center;
  flex: 1;
  padding: 12px 16px;
  text-decoration: none;
  color: #222;
  font-weight: 600;
  font-size: var(--fs-2);
  transition: color 0.2s;
}

.accordion-header-link:hover {
  text-decoration: none;
  color: #0078d7;
}

/* .accordion-header-link img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    object-fit: contain;
    flex-shrink: 0;
  } */

.accordion-header-link span {
  flex: 1;
  text-align: left;
}

.accordion-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 8px;
}

.accordion-toggle .arrow {
  border: solid #777;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 4px;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.accordion-item.active .accordion-toggle .arrow {
  transform: rotate(-135deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 220px;
  /* ограничение высоты */
  overflow-y: auto;
}

.accordion-content ul {
  list-style: none;
  margin: 0;
  padding: 10px 16px;
}

.accordion-content li {
  margin-bottom: 6px;
}

.accordion-content li:hover {

}

li.current {
background-color: #004eb4;
    margin-left: -10px;
    padding: 10px 10px;
    width: fit-content;
    border-radius: 0px;
    width: 100%;
}

li.current a {
  color: #fff;
}

.accordion-content a {
  text-decoration: none;
  color: #333;
  /* font-size: 14px; */
  font-size: var(--fs-2);
  transition: color 0.2s;
}

.accordion-content a:hover {
  color: #0078d7;
}

/* Стили скролла */
.accordion-content::-webkit-scrollbar {
  width: 6px;
}

.accordion-content::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}