.content .product-select{
    margin-top: 40px;
}
.content .product-select .product-select-category,
.content .product-select .product-select-profession{
    width: 42.5%;
    height: 60px;
    border: none;
    background-color: #F3F2F9;
    padding: 0 20px;
    font-size: 20px;
    color: #666666;
    line-height: 60px;
    float: left;
}
.content .product-select .product-select-category option,
.content .product-select .product-select-profession option{
    background-color: #FFFFFF;
    font-size: 16px;
}
.content .product-select .product-select-profession{
    margin-left: 2.5%;
}
.content .product-select .product-select-btn{
    width: 10%;
    height: 60px;
    background: #E60012;
    font-size: 20px;
    color: #FFFFFF;
    line-height: 60px;
    text-align: center;
    float: right;
    cursor: pointer;
}

.content .product-list{
    width: 100%;
    margin-top: 40px;
}
.content .product-list .products-item{
    width: 24%;
    margin-right: 1.33%;
    margin-bottom: 20px;
    border-bottom: 1px solid #E6E6E6;
    position: relative;
    overflow: hidden;
    float: left;
}
.content .product-list .products-item:nth-child(4n){
    margin-right: 0;
}
.content .product-list .products-item .products-item-img{
    width: 100%;
    aspect-ratio: 1 / 1; /* 1:1 的宽高比，即高度等于宽度 */
    overflow: hidden;
}
.content .product-list .products-item .products-item-img img{
    width: 100%;
    height: 100%;
    transition: all 0.5s ease-in-out; /* 添加过渡效果 */
}
.content .product-list .products-item .products-item-title{
    width: 100%;
    height: 48px;
    margin: 10px 0;
    font-weight: bold;
    font-size: 16px;
    color: #1A1A1A;
    line-height: 24px;
    display: -webkit-box;          /* 将元素设置为弹性盒子 */
    -webkit-box-orient: vertical;  /* 设置内容垂直排列 */
    -webkit-line-clamp: 2;         /* 限制显示的行数 */
    overflow: hidden;              /* 隐藏超出部分 */
    text-overflow: ellipsis;       /* 超出部分显示省略号 */
}
.content .product-list .products-item::after{
    content: '';
    width: 0;
    height: 1px;
    background-color: #E60012;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    transition: all 0.5s ease-in-out; /* 添加过渡效果 */
}
.content .product-list .products-item:hover .products-item-img img{
    transform: scale(1.1);
}
.content .product-list .products-item:hover::after{
    width: 100%;
}

.content .product-list .pagination{
    display: flex;
    justify-content: center;
    margin-top: 40px;
}


@media only screen and (min-width: 1050px) and (max-width: 1440px) {
    .content .product-select .product-select-category,
    .content .product-select .product-select-profession{
        height: 50px;
        font-size: 16px;
    }
    .content .product-select .product-select-btn{
        height: 50px;
        line-height: 50px;
        font-size: 16px;
    }
}
@media only screen and (max-width: 1050px) {
    .content .product-select .product-select-category,
    .content .product-select .product-select-profession{
        height: 40px;
        font-size: 14px;
    }
    .content .product-select .product-select-category option,
    .content .product-select .product-select-profession option{
        font-size: 14px;
    }
    .content .product-select .product-select-btn{
        height: 40px;
        line-height: 40px;
        font-size: 14px;
    }
    .content .product-list .products-item .products-item-title{
        font-size: 14px;
        line-height: 21px;
        height: 42px;
    }
}


