.button-up-top {
    position: fixed;
    right: 20px;
    bottom: 30px;
    background: #0009D9;
    padding: 12px;
    display: flex;
    opacity: 1;
    z-index: 10;
}


@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.button-up-top.show {
    animation: fadein 0.5s ease-in forwards;
}


/*catalog-modern*/

.catalog-modern {
    margin-bottom: 40px;
}

.catalog-modern__filters {
    padding-top: 5px;
    border: 1px solid #E0E0E0;
}

.catalog-modern__filters .add-more-filters {
    padding: 12px 24px;
    margin-top: 5px;
    width: 100%;
    background: #F2F4FC;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    cursor: pointer;
}

.catalog-modern__filters .add-more-filters span {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    color: #111111;
}

.catalog-modern__filters .add-more-filters .arrow {
    display: block;
    min-width: 14px;
    width: 14px;
    height: 12px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEyIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02LjU4NDE5IDAuMjI5MzgzTDExLjI1NzcgNC42NjIwNUMxMS41ODA4IDQuOTY4NDMgMTEuNTgwOCA1LjQ2Mzg1IDExLjI1NzcgNS43NjY5NkMxMC45MzQ3IDYuMDczMzQgMTAuNTUwNCA2LjA3MzM0IDEwLjIzMDggNS43NjY5Nkw2LjAwMDAxIDEuODk0NjhMMS43NjkyNCA1Ljc3MDIyQzEuNDQ2MjIgNi4wNzY1OSAxLjA2MTg2IDYuMDc2NTkgMC43NDIyNjQgNS43NzAyMkMwLjQxOTI0NSA1LjQ2Mzg0IDAuNDE5MjQ1IDQuOTY4NDMgMC43NDIyNjQgNC42NjUzMUw1LjQxNTgyIDAuMjMyNjRDNS43Mzg4NCAtMC4wNzcwMDE5IDYuMjYxMTcgLTAuMDc3MDAxNyA2LjU4NDE5IDAuMjI5MzgzWiIgZmlsbD0iIzExMTExMSIvPgo8L3N2Zz4K);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: .1s ease;
    cursor: pointer;
    transform: rotateX(180deg);
}

.catalog-modern__filters .add-more-filters .arrow.arrow-reversed {
    transform: rotateX(0);
}

.catalog-modern__filters-item {
    padding: 15px 20px;
}

.catalog-modern__filters .title {
    font-family: 'Montserrat';
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    color: #111111;
}

.catalog-modern__list, .catalog-modern__sub-list {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.catalog-modern__list {
    margin: 15px 0;
}

.catalog-modern__sub-list {
    opacity: 0;
    overflow: hidden;
    height: 0;
    transform: translateY(10%);
    transition: .5s ease;
}

.catalog-modern__sub-list.expanded {
    opacity: 1;
    overflow: visible;
    height: initial;
    transform: translateY(0);
}

.catalog-modern__sub-list.expanded li {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #111111;
}

.catalog-modern__sub-list .catalog-modern__custom {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-modern__sub-list .catalog-modern__custom .icon {
    display: block;
    min-width: 24px;
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: .1s ease;
    cursor: pointer;
}

.catalog-modern__sub-list .catalog-modern__custom .model {
}

.catalog-modern__custom {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #111111;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 8px 12px;
    border-radius: 6px;
    border: 2px solid transparent;
    outline: 1px solid #E1E2EB;
    cursor: pointer;
    transition: .1s ease;
}

.catalog-modern__custom--lt {
    width: 40px;
}

.catalog-modern__radio input {
    display: none;
}

.catalog-modern__radio input:checked + .catalog-modern__custom,
.catalog-modern__radio.active .catalog-modern__custom {
    background-color: #41CC580F;
    outline: transparent;
    border-color: #41CC58;
}


.select {
    position: relative;
    display: inline-block;
    width: 100%;
}

.select-selected {
    background: #F2F4FC;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #111111;
}

.select-selected.select-hide {
    background: #FFF;
    outline: 1px solid #3339D6;
}

.select-selected .arrow {
    display: block;
    min-width: 14px;
    width: 14px;
    height: 12px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDE0IDgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xIDFMNyA3TDEzIDAuOTk5OTk5IiBzdHJva2U9IiM3Nzc3NzciIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: .1s ease;
    cursor: pointer;
}

.select-selected.select-hide .arrow {
    transform: rotateX(180deg);
}

.select-items {
    display: none;
    position: absolute;
    border-top: 1px solid #3339D6;

    background: #FFF;
    z-index: 2;
    width: 100%;
}

.select-items.select-hide {
    display: block;
}

.select-items .option {
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #111111;

}

.catalog-modern__filters-item--types {
    border-top: 1px solid #E0E0E0;
    display: grid;
    gap: 15px;
    padding: 15px 20px;
}

.catalog-modern__filters-item--types .catalog-modern__filters-item-col {
    display: grid;
    gap: 15px;
}

.catalog-modern__filters-item--types .filters-item-col__wr {
    display: flex;
    align-items: center;
    gap: 8px;
}

.catalog-modern__filters-item--types .filters-item-col__wr input {
    background: #F2F4FC;
    border: none;
    outline: none;
    width: 100%;
    padding: 12px 16px;
    cursor: pointer;
    user-select: none;

    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #111111;
}

.catalog-modern__filters-item--types .filters-item-col__wr input::placeholder {
    color: #111111;
}


.catalog-modern__filters-item--types-2 label {
    position: relative;
    padding-left: 32px;
    cursor: pointer;
}

.catalog-modern__filters-item--types-2 label.disabled {
    display: none;
}

.catalog-modern__filters-item--types-2 label .text {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #111111;
}

.catalog-modern__filters-item--types-2 input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    left: -99px;
}

.catalog-modern__filters-item--types-2 .checkmark {
    position: absolute;
    left: 0;
    top: 2px;
    min-width: 20px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #E0E0E0;
}

.catalog-modern__filters-item--types-2 .checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 11px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.catalog-modern__filters-item--types-2 input[type="checkbox"]:checked + .checkmark {
    background: #3339D6;
    border-color: #3339D6;
}

.catalog-modern__filters-item--types-2 input[type="checkbox"]:checked + .checkmark:after {
    display: block;
}

.catalog-modern__filters-item--types-2 {
    border-top: 1px solid #E0E0E0;
    display: grid;
    gap: 15px;
    padding: 15px 20px;
    opacity: 1;
    overflow: visible;
    height: initial;
    transform: translateY(0);
    transition: .5s ease;

}

.catalog-modern__filters-item--types-2.filters-visible {
    padding: 0 20px;
    opacity: 0;
    overflow: hidden;
    height: 0;
    transform: translateY(10%);
}


.catalog-modern__filters-item--types-2-col {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 40px;
}


@media screen and (min-width: 992px) {
    .catalog-modern__custom:hover {
        background: #F2F4FC;
    }

    .catalog-modern__filters-item--types {
        grid-template-columns: repeat(3, 1fr);
    }

    .catalog-modern__filters-item--types .filters-item-col__wr {
        margin-top: auto;
    }
}

@media screen and (min-width: 1200px) {
    .catalog-modern {
        margin-bottom: 60px;
    }

    .catalog-modern__filters-item--types .filters-item-col__wr label {
        width: 100%;
    }

    .catalog-modern__filters-item--types {
        gap: 40px;
    }

    .catalog-modern__filters-item--types .filters-item-col__wr input:hover {
        outline: 1px solid #3339D6;
        background: #FFF;
    }

    .select-selected:hover {
        outline: 1px solid #3339D6;
        background: #FFF;
    }

    .catalog-modern__filters-item--types-2 label:hover .text {
        color: #3339D6;
    }

    .catalog-modern__filters-item--types-2 label:hover .checkmark {
        border-color: #3339D6;
    }

    .catalog-modern__filters-item--types-2 label:hover input[type="checkbox"]:checked ~ .text {
        color: #41CC58;
    }

    .catalog-modern__filters-item--types-2 label:hover input[type="checkbox"]:checked ~ .checkmark {
        background: #41CC58;
        border-color: #41CC58;
    }

    .catalog-modern__filters .add-more-filters:hover {
        background: #FFF;
        outline: 1px solid #3339D6;
    }

    .select-items .option:hover {
        background: #F2F4FC;
    }

}

.price-label {
    position: relative;
    width: 100%;
}

.price-label span {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #111111;
    position: absolute;
    left: 16px;
    top: calc(50% - 1px);
    transform: translateY(-50%);
}

.price-label input {
    padding-left: 40px !important;
}

.price-label-do input {
    padding-left: 42px !important;
}


.catalog-cars {
}

.catalog-cars .catalog-cars__filters {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.catalog-cars .catalog-cars__filters .count {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #111111;
}

.catalog-cars .catalog-cars__filters .count span {
    font-weight: 700;
}

.catalog-cars .catalog-cars__filters .catalog-cars__filters-row-wr {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.catalog-cars .catalog-cars__radio input[type="radio"] {
    display: none;
}

.catalog-cars .catalog-cars__radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;

    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.catalog-cars .catalog-cars__radio-btn {
    display: inline-block;
    min-width: 24px;
    width: 24px;
    height: 24px;
    border: 2px solid #E0E0E0;
    border-radius: 50%;
    position: relative;
}

.catalog-cars .catalog-cars__radio input[type="radio"]:checked + .catalog-cars__radio-btn {
    border-color: #3339D6;
    background: #3339D6;
}

.catalog-cars .catalog-cars__radio input[type="radio"]:checked + .catalog-cars__radio-btn::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FFF;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.catalog-cars .add-more-cars {
    padding: 12px 24px;
    margin-top: 20px;
    width: 100%;
    background: #F2F4FC;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;


    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    color: #111111;

}

.catalog-cars .pagination {
}

.catalog-cars .pagination .pagination__page {
    margin: 20px auto 0;
}

.catalog-cars .pagination .pagination__page ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    align-items: center;
    gap: 8px;
}


.catalog-cars .pagination .pagination__page ul li {
    min-width: 40px;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid #F2F4FC;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media screen and (min-width: 400px) {
    .catalog-cars .pagination .pagination__page ul li {
        min-width: 48px;
        width: 48px;
        height: 48px;
    }
}

.catalog-cars .pagination .pagination__page ul li.active {
    background: #41CC580F;
    border: 2px solid #41CC58;
}

.catalog-cars .pagination .pagination__page ul li a {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    color: #111111;
}

.catalog-cars .pagination .pagination__page ul li a:hover {
    color: #111111;
}

.catalog-cars .pagination .pagination__page ul li.prev {
    border: none;
}

.catalog-cars .pagination .pagination__page ul li.prev span {
    display: block;
    min-width: 14px;
    width: 14px;
    height: 12px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEyIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02LjU4NDE5IDAuMjI5MzgzTDExLjI1NzcgNC42NjIwNUMxMS41ODA4IDQuOTY4NDMgMTEuNTgwOCA1LjQ2Mzg1IDExLjI1NzcgNS43NjY5NkMxMC45MzQ3IDYuMDczMzQgMTAuNTUwNCA2LjA3MzM0IDEwLjIzMDggNS43NjY5Nkw2LjAwMDAxIDEuODk0NjhMMS43NjkyNCA1Ljc3MDIyQzEuNDQ2MjIgNi4wNzY1OSAxLjA2MTg2IDYuMDc2NTkgMC43NDIyNjQgNS43NzAyMkMwLjQxOTI0NSA1LjQ2Mzg0IDAuNDE5MjQ1IDQuOTY4NDMgMC43NDIyNjQgNC42NjUzMUw1LjQxNTgyIDAuMjMyNjRDNS43Mzg4NCAtMC4wNzcwMDE5IDYuMjYxMTcgLTAuMDc3MDAxNyA2LjU4NDE5IDAuMjI5MzgzWiIgZmlsbD0iIzExMTExMSIvPgo8L3N2Zz4K);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: .1s ease;
    cursor: pointer;
    transform: rotate(-90deg);
}

.catalog-cars .pagination .pagination__page ul li.next {
    border: none;
}

.catalog-cars .pagination .pagination__page ul li.next span {
    display: block;
    min-width: 14px;
    width: 14px;
    height: 12px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iNiIgdmlld0JveD0iMCAwIDEyIDYiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik02LjU4NDE5IDAuMjI5MzgzTDExLjI1NzcgNC42NjIwNUMxMS41ODA4IDQuOTY4NDMgMTEuNTgwOCA1LjQ2Mzg1IDExLjI1NzcgNS43NjY5NkMxMC45MzQ3IDYuMDczMzQgMTAuNTUwNCA2LjA3MzM0IDEwLjIzMDggNS43NjY5Nkw2LjAwMDAxIDEuODk0NjhMMS43NjkyNCA1Ljc3MDIyQzEuNDQ2MjIgNi4wNzY1OSAxLjA2MTg2IDYuMDc2NTkgMC43NDIyNjQgNS43NzAyMkMwLjQxOTI0NSA1LjQ2Mzg0IDAuNDE5MjQ1IDQuOTY4NDMgMC43NDIyNjQgNC42NjUzMUw1LjQxNTgyIDAuMjMyNjRDNS43Mzg4NCAtMC4wNzcwMDE5IDYuMjYxMTcgLTAuMDc3MDAxNyA2LjU4NDE5IDAuMjI5MzgzWiIgZmlsbD0iIzExMTExMSIvPgo8L3N2Zz4K);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: .1s ease;
    cursor: pointer;
    transform: rotate(90deg);
}

.catalog-cars .catalog-cars__body {
    display: grid;
    gap: 10px;
}

.catalog-cars .catalog-cars__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    padding: 12px;
    background: #F2F4FC;
    transition: .1s ease;
}

.catalog-cars .catalog-cars__item-top {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.catalog-cars .catalog-cars__item-top picture {
    position: relative;
    display: block;
    padding-bottom: 68%;
    height: 0;
    overflow: hidden;
}

.catalog-cars .catalog-cars__item-top picture img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
}

.catalog-cars .catalog-cars__item-top .title {
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #111111;
}

.catalog-cars .catalog-cars__item-bottom {
    display: grid;
    gap: 8px;
}

.catalog-cars .catalog-cars__item-bottom .price {
    font-family: 'Montserrat';
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
    color: #111111;
}

.catalog-cars .catalog-cars__item-bottom .characteristics {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
}

.catalog-cars .catalog-cars__item-bottom .characteristics__row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.catalog-cars .catalog-cars__item-bottom .characteristics .name {
    font-family: 'Montserrat';
    font-size: 13px;
    font-weight: 400;
    line-height: 20px;
    color: #777777;
}

.catalog-cars .catalog-cars__item-bottom .characteristics .value {
    font-family: 'Montserrat';
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    color: #111111;
}

.catalog-cars .catalog-cars__item-bottom .characteristics .btn-more {
    padding: 10px 24px;
    background: #3339D6;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    font-family: 'Montserrat';
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    color: #FFF;

    opacity: 0;
    overflow: hidden;
    height: 0;
    transform: translateY(10px);
    transition: .1s ease;
}


@media screen and (min-width: 576px) {
    .catalog-cars .catalog-cars__body {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 992px) {


    .catalog-cars .catalog-cars__filters {
        flex-direction: row;
        justify-content: space-between;
    }

    .catalog-cars .catalog-cars__filters .catalog-cars__filters-row-wr {
        align-items: center;
        justify-content: flex-end;
    }

    .catalog-cars .catalog-cars__radio:hover .catalog-cars__radio-btn {
        border-color: #3339D6;
    }

    .catalog-cars .catalog-cars__radio:hover {
        color: #3339D6;
    }

    .catalog-cars .catalog-cars__body {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (min-width: 1200px) {
    .catalog-cars .catalog-cars__body {
        grid-template-columns: repeat(4, 1fr);
    }

    .catalog-cars .catalog-cars__item:hover {
        background: #EBEEFA;
    }

    .catalog-cars .catalog-cars__item:hover .title {
        color: #3339D6;
    }

    .catalog-cars .catalog-cars__item:hover .btn-more {
        opacity: 1;
        height: auto;
        transform: translateY(0);
    }

    .catalog-cars .catalog-cars__item-bottom .characteristics .btn-more:hover {
        background: #41CC58;
    }

    .catalog-cars .add-more-cars:hover {
        background: #FFF;
        outline: 1px solid #3339D6;
    }

    .catalog-cars .pagination .pagination__page ul li:hover {
        background: #F2F4FC;
    }

    .catalog-cars .pagination .pagination__page ul li.prev:hover {
        background: none;
        opacity: .5;
    }

    .catalog-cars .pagination .pagination__page ul li.next:hover {
        background: none;
        opacity: .5;
    }
}

@media screen and (min-width: 1800px) {
    .catalog-cars .catalog-cars__body {
        grid-template-columns: repeat(5, 1fr);
    }
}


.select-items .option.disabled {
    display: none;
}


.custom-scrollbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 12px;
    background: #f1f1f1;
    cursor: pointer;
    z-index: 10;
}

.scrollbar-thumb {
    position: absolute;
    top: 0;
    height: 100%;
    background: #888;
    cursor: pointer;
}

.scroll-button {
    position: absolute;
    top: 0;
    height: 100%;
    width: 40px;
    background: #ddd;
    border: none;
    cursor: pointer;
    z-index: 15;
}

.scroll-left {
    left: 0;
}

.scroll-right {
    right: 0;
}