/* 商品列表 */
.products {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.products>.item {
    width: 291px;
    background-color: #fff;
    margin-bottom: 12px;
    border-radius: 10px;
    transition: transform 500ms ease;
}

.products>.item.empty {
    height: 0;
}

.products>.item:hover {
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, .1);
    transform: translate(0, -6px);
}

.products>.item a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.products>.item .album {
    width: 180px;
    height: 180px;
    margin: 30px 0;
}

.products>.item .name {
    font-weight: 700;
    color: #000;
}

.products>.item .discount {
    width: 270px;
    height: 19px;
    margin: 10px 0 16px;
    color: #666;
    text-align: center;
    /* 显示一行 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* display: -webkit-box;
              -webkit-line-clamp: 3;
              -webkit-box-orient: vertical; */
}

.products>.item .price {
    font-size: 16px;
    font-weight: 700;
    color: red;
}

.products>.item .service {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.products>.item .service .tip {
    margin: 0 3px;
    padding: 0 3px;
    border: 1px solid red;
    border-radius: 3px;
    font-size: 12px;
    color: red;
}

.products>.item .comment {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.products>.item .comment span {
    margin: 0 5px;
    font-size: 12px;
    color: #666;
}