.catalog {
    padding-bottom: 120px;
}

.products_count {
    padding-left: 10px;
    color: #b5b5b5;
    font-size: 17px;
}

.head.flex.center {
    align-items: baseline;
}

.catalog .columns {
    display: flex;
    gap: 80px;
    padding-top: 48px;
}

.filters {
    width: 310px;
    flex-shrink: 0;
}

.filters-categories {
    margin-bottom: 24px;
    font-size: 16px;
}

.filters-categories ul {
    padding: 0 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    line-height: 1.2;
    color: var(--color_darkblue);
}

.filters-categories li.active {
    font-weight: 700;
}

.filters-categories li a:hover {
    color: var(--color_blue);
}

.filters-categories .title {
    color: #474646;
    display: flex;
    gap: 20px;
    font-weight: 600;
    margin-bottom: 16px;
}

.filters-categories .icon {
    color: var(--color_jetgrey);
    transform: rotate(90deg);
}

.filters-title {
    justify-content: space-between;
    height: 32px;
    font-size: 16px;
    font-weight: 600;
    color: #474646;
    margin-bottom: 24px;
}

.filters-reset {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: var(--color_jetgrey95);
    transition: all .2s;
    border-radius: 8px;
    color: var(--color_darkblue);
    font-size: 14px;
    font-weight: 400;
    font-family: var(--font_noto);
    padding: 0 12px;
    height: 32px;
}

.filters-reset:hover {
    background: var(--color_jetgrey90);
}

#filters {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filters-heading {
    cursor: pointer;
    min-height: 20px;
    font-size: 16px;
    line-height: 1.2;
    color: #474646;
    justify-content: space-between;
    gap: 16px;
}

.filters-heading svg {
    flex-shrink: 0;
    transition: all .2s;
    color: var(--color_blue);
}

.filters-heading:hover svg {
    color: var(--color_darkblue);
}

.filters-heading.active svg {
    transform: rotate(-180deg);
}

.filters-values {
    display: none;
    padding-bottom: 16px;
}

.filters-values li {
    display: flex;
    align-items: center;
    margin-top: 16px;
    min-height: 24px;
}

#filters .checkbox input + label::before {
    width: 24px;
    height: 24px;
    margin-top: 0;
    margin-right: 12px;
}

#filters .checkbox label {
    font-size: 16px;
    font-family: 'MetronicPro', Helvetica, Tahoma, sans-serif;
    color: var(--color_darkblue);
}

#filters .colors label {
    display: flex;
    align-items: center;
    gap: 6px;
}

#filters .colors img {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

#filters .has-hint {
    cursor: pointer;
    width: 16px;
    height: 16px;
    margin-left: 12px;
    color: #b5b5b5;
    align-self: flex-start;
    transition: all .2s;
}

#filters .has-hint:hover {
    color: var(--color_jetgrey30);
}

.extra-controls {
    display: flex;
    gap: 20px;
    padding-top: 16px;
}

.extra-controls > div {
    width: calc((100% - 20px) / 2);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-family: var(--font_noto);
}

.extra-controls input {
    width: 100%;
    height: 24px;
    border: 1px solid #b5b5b5;
    border-radius: 4px;
    font-size: 12px;
    font-family: var(--font_noto);
    padding: 0 10px;
}

.catalog .models {
    flex-grow: 1;
}

.catalog .models .items {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-gap: 64px 40px;
}

.catalog .models .items + .items {
    padding-top: 64px;
}

.catalog .models .item {
    float: none;
    position: relative;
    margin: 0;
    width: 100%;
}

.catalog .models .title {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog .models .im {
    position: relative;
    background: none;
    border-radius: 4px;
    overflow: hidden;
}

.catalog .models .im::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--color_jetgrey);
    opacity: .1;
    z-index: 1;
    pointer-events: none;
}

.catalog .models .func {
    display: flex;
    gap: 8px;
}

.catalog .models .func > div {
    flex-shrink: 0;
    cursor: pointer;
    width: 32px;
    height: 32px;
    color: var(--color_darkblue);
    background: var(--color_jetgrey90);
    transition: all .2s;
    border-radius: 8px;
}

.catalog .models .func > div:not(.active):hover {
    background: var(--color_jetgrey80);
}

.catalog .models .fav svg {
    width: 20px;
    height: 20px;
}

.catalog .models .func a {
    width: auto;
    flex-grow: 1;
}

.catalog .banner {
    display: block;
    width: 100%;
    height: 200px;
    border-radius: 4px;
    overflow: hidden;
    margin: 40px 0;
}

@media (min-width: 1025px) and (max-width: 1600px) {
    .catalog .banner {
        height: 164px;
    }

    @media (max-width: 1351px) {
        .catalog .banner {
            height: auto;
        }
    }
}

.pages-block {
    display: flex;
    height: 48px;
    gap: 8px;
    margin-top: 64px;
    margin-bottom: 16px;
}

.pages-block span {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--color_snow);
    border-radius: 8px;
    width: 48px;
    height: 48px;
    color: var(--color_darkblue);
    transition: all .2s;
}

.pages-block .pages-prev svg {
    transform: rotate(90deg);
}

.pages-block .pages-next svg {
    transform: rotate(-90deg);
}

.pages-block span:hover {
    background: var(--color_jetgrey90);
}

.btn_show_more {
    width: 100%;
    flex-grow: 1;
    background: var(--color_darkblue);
    color: #fff;
    font-size: 16px;
    height: 48px;
    border-radius: 8px;
}

.btn_show_more:hover {
    background: #013555;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding-top: 64px;
}

.pages-block + .pagination {
    padding-top: 0;
}

.pagination li > * {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.pagination li a {
    border: 1px solid var(--color_snow);
    font-size: 12px;
    font-family: var(--font_noto);
    color: var(--color_darkblue);
}

.pagination li a:hover {
    background: var(--color_jetgrey90);
}

.pagination li.active span {
    border-color: var(--color_darkblue);
    background: var(--color_darkblue);
    color: #fff;
}

/*.pagination li.disabled {*/
/*    display: none;*/
/*}*/

.hint-lay {
    display: none;
    position: absolute;
    z-index: 9000;
    background: #fff;
    box-shadow: 0px 1px 4px 0px rgba(12, 12, 13, .05), 0px 1px 4px 0px rgba(12, 12, 13, .1);
    border-radius: 4px;
    padding: 12px;
    font-size: 12px;
    font-family: var(--font_noto);
    line-height: 1.4;
    max-width: 240px;
    color: #000;
    margin-left: 10px;
}

@media (max-width: 1024px) {
    .block-head .breadcrumbs + .head {
        padding-top: 24px;
        margin-bottom: 20px;
        gap: 8px;
        text-align: center;
        align-items: center;
    }

    .products_count {
        padding-left: 0;
    }

    .catalog {
        padding-bottom: 32px;
    }

    .catalog .columns {
        flex-direction: column;
        padding-top: 12px;
    }

    .filters {
        display: none;
        width: 100%;
    }

    .catalog .columns {
        padding-top: 20px;
    }

    .catalog .models .items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-gap: 40px 20px;
    }

    .catalog .models .items + .items {
        padding-top: 40px;
    }

    .catalog .models .item {
        gap: 12px;
    }

    .catalog .models .title {
        height: auto;
        font-size: 14px;
    }

    .catalog .banner {
        margin: 32px 0;
        height: calc((100vw - 32px)*1.35);
        max-height: 600px;
    }

    .filters-icon {
        display: inline-flex;
        align-items: center;
        padding: 0 12px;
        border: 1px solid var(--color_darkblue);
        border-radius: 16px;
        height: 30px;
    }

    .filters-icon svg {
        width: 23px;
        height: 12px;
    }

    .filters-opened footer, .filters-opened .right-icons, .filters-opened .block-head, .filters-opened .catalog-tags, .filters-opened .models, .filters-opened .additional-text {
        display: none;
    }

    .filters-opened .filters {
        display: block;
    }

    .filters-close {
        float: right;
        font-size: 12px;
        font-family: var(--font_noto);
        color: var(--color_darkblue);
    }

    .filters .head {
        text-align: center;
        padding: 32px 0;
    }

    .filters .button {
        margin: 24px 0 36px;
        width: 100%;
        border-radius: 8px;
        background: var(--color_darkblue);
        color: #fff;
        height: 48px;
        font-size: 16px;
    }

    .pages-block {
        margin-top: 32px;
    }

    .pages-block span {
        display: none;
    }

    .pagination {
        padding-top: 32px;
        flex-wrap: wrap;
        margin: 0 16px;
    }
}