/*Выпадающий список*/
.dropdown{
    width: fit-content;
    position: relative;
}
.dropdown__btn{
    background-color: #F6F6F6;
    padding: 15px 76px 15px 25px;
    color: var(--dark-blue-color);
    border: none;
    border-radius: 32px;
    position: relative;
    transition: .3s;
    text-align: left;
}
.dropdown__btn::before{
    content: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEwIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjY2NjYzIDEuMzMzMjVMNC45OTk5NiA0LjY2NjU5TDguMzMzMjkgMS4zMzMyNSIgc3Ryb2tlPSIjMDQxMjI5IiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=');
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}
.dropdown__btn:hover{
    background-color: #DADDE7;
}
.dropdown__wrap{
    background-color: #F6F6F6;
    border-radius: 12px;
    min-width: 100%;
    width: max-content;
    max-width: 300px;
    position: absolute;
    top: 100%;
    margin-top: 8px;
    z-index: 10;
    display: none;
    overflow: hidden;
    padding-right: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
}
.dropdown__wrap-inner{
    position: relative;
    max-height: 130px;
    overflow-y: auto;
}
.dropdown__wrap-inner::-webkit-scrollbar{
    width: 5px;
    background-color: transparent;
}
.dropdown__wrap-inner::-webkit-scrollbar-thumb{
    background: rgba(4, 18, 41, .3);
}

.dropdown__wrap.show{
    display: block;
}
.dropdown__item input{
    display: none;
}
.dropdown__item label, .dropdown__link{
    font-size: 15px;
    line-height: 140%;
    padding: 8px 25px;
    transition: .3s;
    cursor: pointer;
    display: block;
}
.dropdown__item.disable label, .dropdown__item input:checked~label, .dropdown__link--current{
    color: #A8A9AD;
    pointer-events: none;
}
.dropdown__item:not(.disable):hover label, .dropdown__link:not(.dropdown__link--current):hover{
    background-color: #DADDE7;
}
.dropdown__item:hover input:checked~label{
    background-color: transparent;
}

@media screen and (max-width:425px) {
    .dropdown__wrap-inner{
        max-height: none;
    }
}

@media screen and (min-width:1025px) {
    .dropdown--mobile{
        display: none;
    }
}

.dropdown--section{
    width: 50%;
    margin-bottom: 24px;
    margin-top: 8px;
}
.dropdown--section .dropdown__btn{
    width: 100%;
}
.dropdown--section .dropdown__wrap-inner{
    max-height: 200px;
}
@media screen and (max-width:768px){
    .dropdown--section{
        width: 100%;
    }
    .dropdown--section .dropdown__wrap-inner{
        max-height: 350px;
    }
}

.sub-list{
    padding-left: 25px;
}
.sub-list__link{
    font-size: 12px;
    line-height: normal;
}

@media screen and (min-width:769px) {
    .dropdown--desktop-destroy{
        width: unset;
    }
    .dropdown--desktop-destroy .dropdown__btn{
        display: none;
    }
    .dropdown--desktop-destroy .dropdown__wrap{
        display: block;
        position: relative;
        background: no-repeat;
        padding: 0;
        margin: 0;
        max-width: unset;
        width: auto;
        border-radius: 0;
        z-index: 1;
    }
    .dropdown--desktop-destroy .dropdown__menu{
        display: flex;
        gap: 20px;
    }
    .dropdown--desktop-destroy .dropdown__link{
        padding: unset;
    }
    .dropdown--desktop-destroy .dropdown__link:not(.dropdown__link--current):hover {
        background: none;
    }
    .dropdown--desktop-destroy .dropdown__wrap-inner{
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .dropdown--desktop-destroy .dropdown__wrap-inner::-webkit-scrollbar {
        height: 5px;
    }
    .dropdown--desktop-destroy .dropdown__wrap-inner::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    .dropdown--desktop-destroy .dropdown__wrap-inner::-webkit-scrollbar-thumb {
        background: #adaaaa;
        border-radius: 4px;
    }
    .dropdown--desktop-destroy .dropdown__item input:checked~label, .dropdown__link--current {
        color: var(--orange-color);
    }
}
@media screen and (max-width:768px) {
    .dropdown--desktop-destroy, .dropdown--desktop-destroy .dropdown__btn{
        width: 100%;
    }
    .dropdown--desktop-destroy .dropdown__wrap-inner{
        max-height: unset;
    }
}