.new_ddmenu {
    position: relative;
    width: 100%;
    max-width: 270px;
    margin-bottom: 25px;
}

.menu {
    list-style: none;
    max-width: 300px;
    padding: 0;
    margin: 0;
    background: #f8f8f8;
    border-radius: 8px;
}

.menu-item {
    position: relative;
    border-bottom: 1px solid #eee;
    margin-bottom:0;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    cursor:pointer;
}

.menu-item .submenu a, .menu-item .submenu .menu-text {
    color:#542077;
    font-size: 15px;
}

.menu-link {
    display: block;
    align-items: center;
    padding: 5px 15px;
    text-decoration: none;
    color: #333;
    width: 100%;
}

.menu-text {
    display: flex!important;
    align-items: center;
    padding: 5px 15px;
    text-decoration: none;
    color: #333;
}

.menu-text:hover {
    color: #542077;
    background-color: #f5f5f5;
}

.menu-link:hover {
    color: #542077;
    background-color: #f5f5f5;
}

.menu-item.has-children > .menu-link:after,
.menu-item.has-children > .menu-text:after {
    content: "+";
    margin-left: auto;
    transition: transform 0.3s;
}

.menu-item.has-children.open > .menu-link:after,
.menu-item.has-children.open > .menu-text:after {
    content: "-";
}

.submenu {
    list-style: none;
    display: none;
    padding-left: 5px;
}

/* Отступы для разных уровней вложенности */
.submenu .submenu {
    padding-left: 15px;
}

.submenu .submenu .submenu {
    padding-left: 15px;
}

.submenu .submenu .submenu .submenu {
    padding-left: 15px;
}

.menu-item.open > .submenu {
    display: block;
}

.menu-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    opacity: 0.65;
}
.new_ddmenu_title {
    color: #222;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 15px;
}

.menu .menu-item:before {
    display:none;
}


.cnew {
    display: flex;
    width: 100%;
}
.cnew-block-title {
    color:#222;
    font-weight:500;
    font-size:18px;
    margin-bottom:15px;
}
.cnew .cnew-left-menu {
    position: relative;
    width: 100%;
    padding-right: 20px;
    margin-bottom: 64px;
}

.cnew .cnew-left-menu::-webkit-scrollbar,
.cnew .cnew-right-menu::-webkit-scrollbar {
    width: 5px;
}

.cnew .cnew-left-menu::-webkit-scrollbar-thumb,
.cnew .cnew-right-menu::-webkit-scrollbar-thumb {
    background-color: #542077;
    border-radius: 2px;
}

.cnew .cnew-left-menu::-webkit-scrollbar-track,
.cnew .cnew-right-menu::-webkit-scrollbar-track {
    background: #E3DCEC;
    border-radius: 2px;
    overflow: hidden;
}

.cnew .cnew-left-menu .view-all {
    display: block;
    margin-left: 40px;
    padding: 10px 40px;
    border: 1px solid #E3DCEC;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    line-height: 18px;
    text-align: center;
    color: #542077;
}

.cnew .cnew-left-menu .cnew-left__list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cnew .cnew-left-menu .cnew-left__item {
    position: relative;
    cursor: pointer;
    margin-bottom:0px;
}
.cnew .cnew-left-menu .cnew-left__item::before {
    display:none;
}
/*
.cnew .cnew-left-menu .cnew-left__item.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #E0B76D;
}
*/
.cnew .cnew-left-menu .cnew-left__item a {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 5px 10px;
    background: #efefef;
    border-radius: 8px;
    flex-direction: row;
    width: fit-content;
}
.cnew .cnew-left-menu .cnew-left__item a:hover {
    background: #ddd;
}
.cnew .cnew-left-menu .cnew-left__item a:hover, .cnew .cnew-left-menu .cnew-left__item.active a{
    background: #ddd;
}

.cnew .cnew-left-menu .cnew-left__item .icon {
    width: 24px;
    height: 24px;
}

.cnew .cnew-left-menu .cnew-left__item .icon img {
    width: 100%;
    height: 100%;
    opacity: 0.6;
}

.cnew .cnew-left-menu .cnew-left__item .name {
    font-size: 16px;
    font-weight: normal;
    line-height: 25px;
    color: #222;
}

.cnew .cnew-left-menu .cnew-left__item.active .name {
    color: #222;
}

.cnew-right-menu {
    position: absolute;
    left: 270px;
    top: 0;
    width: calc(100% - 348px);
    max-height: 100%;
    height: max-content;
    padding: 20px 32px 20px 32px;
    overflow-y: auto;
    background: #fff;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    display: none;
    z-index: 4;
    min-height: 653px;
    min-width: 700px;
}

.cnew-right-menu.active {
    display: block;
}

.cnew-right__wrapper {
    display: none;
    gap: 0px;
    flex-direction: column;
}

.cnew-right__wrapper.active {
    display: flex;
}

.cnew-right__list_head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.cnew-right__list_head .cnew-right__list_sec_ttl{
    font-size:20px;
    line-height:normal;
    font-weight:700;
    color:#542077;
}

.cnew-right__list_head .cnew-right__list_sec_link{
    display:inline-block;
    background:#efefef;
    color:#222;
    font-size:14px;
    font-weight:normal;
    line-height:normal;
    padding:10px;
    border-radius:10px;
}

.cnew-right__list_head .cnew-right__list_sec_link:hover{
    color:#542077;
}

.cnew-right__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.cnew-right__item {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cnew-right__item a .icon img{
    width: 100%;
    height: auto;
    max-width:164px;
}

.cnew-right__item .title {
    font-size:14px;
    color:#222;
    font-weight:normal;
    line-height:normal;
    text-align: center;
}

.cnew-right__item .title:hover {
    color: #542077;
}

.cnew-right__item ul {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 325px);
    gap: 20px;
}

.cnew-right__item ul li {
    margin: 0;
}

.cnew-right__item ul li a {
    font-size: 16px;
    font-weight: 500;
    line-height: 25px;
    color: #000000;
}

.cnew-right__item ul li a:hover {
    color: #542077;
}

@media (max-width: 1600px) {
    .cnew-right-menu {
        width: calc(100% - 348px);
    }

    .cnew-right__wrapper {
        gap: 0;
        justify-content: space-between;
    }

    .cnew-right__item ul {
        grid-template-columns: repeat(2, 250px);
    }
}

@media (max-width: 1370px) {
    .cnew-right__item ul {
        grid-template-columns: repeat(2, 200px);
    }
}

@media (max-width: 1250px) {
    .cnew-right__banner {
        display: none;
    }
}
/*
.cnew-left__item[data-cnew-target="cnew-9"],
.cnew-left__item[data-cnew-target="cnew-14"],
.cnew-left__item[data-cnew-target="cnew-15"],
.cnew-left__item[data-cnew-target="cnew-16"],
.cnew-left__item[data-cnew-target="cnew-20"],
.cnew-left__item[data-cnew-target="cnew-14"],
.cnew-left__item[data-cnew-target="cnew-19"]
 {
  display: none;
}
*/
@media (max-width: 991px) {
    .cnew {
        display: none;
    }
}

.cnew-right__item_material {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.cnew-right__item_vstavka {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

.cnew-right__item_vse {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}