.widget-product-lines {
    .product-lines-row {
        @media only screen and (max-width: 767px) {
            > div:nth-child(2n+1) {
                clear: left;
            }
        }

        @media only screen and (min-width: 768px) and (max-width: 1024px) {
            > div:nth-child(3n+1) {
                clear: left;
            }
        }

        @media only screen and (min-width: 1025px) {
            > div:nth-child(4n+1) {
                clear: left;
            }
        }

        .product-line-block {
            float: left !important;
            margin-bottom: 25px;

            @media only screen and (max-width: 767px) {
                width: 50%;
            }

            .product-line-container {
                .image-block {
                    line-height: 160px;
                    margin-bottom: 10px;
                    text-align: center;

                    img {
                        max-width: 160px;
                        max-height: 160px;
                    }
                }

                .item-name {
                    line-height: 1.25em;
                    margin-bottom: 0.5em;
                }
            }
        }
    }

    .show-all-button {
        text-align: center;
    }
}
