_top-catalog.scss 1.51 KB
.top-catalog {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    

    @media (min-width: 1200px) {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    &__inner {
        margin: 0px 0px 40px 0px;

        @media (min-width: 1200px) {
            width: 450px;
            margin: 0px 30px 0px 0px;
        }
    }

    &__title {
        margin-bottom: 20px;
    }

    &__result {
        color: #9A9C9F;
        font-size: 16px;
        line-height: 22px;
        font-weight: 500;

        span {
            color: $black;
            font-weight: 600;
        }
    }

    &__sorts {
        width: 100%;
        display: flex;
        flex-wrap:  wrap;
        align-items: center;
        margin: 0 -5px;

        @media (min-width: 780px) {
            flex-wrap: nowrap;
            margin: 0;
        }

        @media (min-width: 1200px) {
            width: auto;
            padding-top: 10px;
        }
    }

    &__sort-group {
        width: calc(100% - 10px);
        margin: 0 5px;
        @media (min-width: 480px) {
            width: calc(50% - 10px);
        }

        @media (min-width: 780px) {
            width: 200px;
            margin: 0;
        }

        &:not(:last-child) {
            margin: 0px 5px 10px;

            @media (min-width: 780px) {
                margin: 0px 10px 0px 0px;
            }
        }

        &.sort-group--wide {
            @media (min-width: 780px) {
                width: 294px;
            }
           
        }
    }
}