.categories-title-wrapper {
    display: flex;
    justify-content: space-between;
    position: relative;
    cursor: pointer;
}

.categories-title-btn {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    border: none;
    background-color: transparent;
    outline-style: none;
}
.categories-title-wrapper svg {
    fill: #000;
}

.categories-title-wrapper:hover svg {
    fill: var(--main-color);
    transition: all 0.3s ease-in-out;
}

.aside-subcategiries {
    position: absolute;
    clip: rect(0 0 0 0);
    width: 1px;
    height: 1px;
}

.visible svg {
    transform: rotate(180deg);
    transition: all 0.3s ease-in-out;
}

.visible + ul {
    position: static;
    width: auto;
    height: auto;
}
