@import url('../style.less');
.breadcrumb {
    margin-top: 20px;
}
.search-rows {
    border: solid 1px @bc-22;
    border-radius: 5px;
    margin-top: 25px;
    user-select: none;
    .row {
        padding: 12px 30px;
        border-bottom: dashed 1px @bc-22;
        font-size: 14px;
        color: @fc-2;
        &:last-of-type {
            border-bottom: none;
        }
        .label {
            font-weight: bold;
        }
        .item {
            cursor: pointer;
        }
        .active {
            color: @fc-27;
        }
    }
}

.search-filter {
    display: flex;
    margin-top: 10px;
    margin-bottom: 10px;
    .sort-operate {
        display: flex;
        margin-left: 30px;
        margin-top: 10px;
        cursor: pointer;
        span {
            font-size: 14px;
            color: @fc-25;
        }
        .sort-icon {
            width: 16px;
            height: 16px;
            margin-left: 5px;
            margin-top: 1px;
        }
    }
}

.goods-container {
    .goods-list {
        min-height: 600px;
        overflow: hidden;
        list-style: none;
        margin: 0;
        padding: 0;
        .item {
            width: 280px;
            float: left;
            margin-right: 26px;
            margin-bottom: 50px;
            .card {
                img {
                    width: 280px;
                }
                h4 {
                    font-size: 18px;
                    font-weight: normal;
                    color: @fc-1;
                    margin: 10px 0 5px 0;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                }

                .desc {
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    overflow: hidden;
                    font-size: 12px;
                    color: @fc-3;
                    margin: 0 0 5px 0;
                    line-height: 1.5;
                    height: 36px;
                    span {
                        background-color: @bgc-27;
                        color: #fff;
                        padding: 2px;
                        font-size: 11px;
                    }
                }
                .price {
                    margin: 0;
                    overflow: hidden;
                    .current {
                        color: @fc-23;
                        font-size: 22px;
                        font-weight: bold;
                        float: left;
                    }
                    .old {
                        float: left;
                        font-size: 13px;
                        color: @fc-3;
                        text-decoration: line-through;
                        margin-left: 10px;
                        margin-top: 7px;
                    }
                    .sale {
                        float: right;
                        font-size: 12px;
                        color: @fc-3;
                        margin-top: 7px;
                    }
                }
                .buy-btn {
                    width: 100%;
                    background-color: @btnc-10;
                    border: none;
                    border-radius: 3px;
                    height: 40px;
                    color: #fff;
                    font-size: 15px;
                    margin-top: 10px;
                    outline: none;
                    cursor: pointer;
                    &:active {
                        background-color: @btnac-10;
                    }
                }
            }
        }
    }
}
