.product-top{
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)), url('../images/p-top.png') no-repeat center center/cover;
    text-align: center;
    color: #fff;
}
.product-top h2{
    font-size: 2rem;
}
.product-top-secend{
    font-size: 1.3rem;
    font-weight: 500;
    margin: 20px 0;
    color: #FBBB4A;
    width: 70%;
}
.product-top-desc{
    font-size: 0.9rem;
    width: 40%;
}
@media (max-width: 576px) {
    .product-top{
        height: 100vh;
    }
    .product-top-secend{
        margin: 10vh 30px;
    }
    .product-top-desc{
        width: 80%;
    }
}
/* 产品列表样式 */
.product-list{
    padding: 40px 0;
    width: 100%;
    display: grid;
    grid-gap: 20px;
    justify-content: center;
}
.product-item{
    width: 90vw;
    height: 120vw;
    border-radius: 10px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    font-size: 0.9rem;
    overflow: hidden;
}

.product-item-1 {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)), url('../images/index-popular1.jpg') no-repeat center center/cover;
}

.product-item-2 {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)), url('../images/index-popular2.jpg') no-repeat center center/cover;
}

.product-item-3 {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)), url('../images/index-popular3.jpg') no-repeat center center/cover;
}

.product-item-4 {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)), url('../images/index-popular4.jpg') no-repeat center center/cover;
}

.product-item-5 {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9)), url('../images/index-popular5.jpg') no-repeat center center/cover;
}
.product-content-detail{
    position: relative;
}
.product-content-detail-title,.product-content-detail-desc{
    font-size: 0.9rem;
    transition: var(--transition-slow);
}
.product-content-detail-btn{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    line-height: 26px;
    position: relative;
    bottom: 0;
    transition: var(--transition-slow);
    cursor: pointer;
}
.product-content-detail-btn img{
    width: 20px;
    height: 20px;
}
.product-item:hover .product-content-detail-title,
.product-recommend:hover .product-content-detail-title,
.product-item:hover .product-content-detail-desc,
.product-recommend:hover .product-content-detail-desc{
    transform: translateY(-40px) scaleY(1.3);
}
.product-item:hover .product-content-detail-btn,
.product-recommend:hover .product-content-detail-btn{
    transform: translateY(-40px);
}

@media screen and (min-width: 576px) {
    .product-content-detail-btn {
        position: absolute;
        bottom: -36px;
    }

    .product-item:hover .product-content-detail-title,
    .product-recommend:hover .product-content-detail-title,
    .product-item:hover .product-content-detail-desc,
    .product-recommend:hover .product-content-detail-desc{
        transform: translateY(-40px) scaleY(1.3);
    }

    .product-item:hover .product-content-detail-btn,
    .product-recommend:hover .product-content-detail-btn{
        transform: translateY(-40px);
    }

    .product-item{
        width: 100%;
        height: 240px;
    }
}

@media screen and (min-width: 768px) {
    .product-list{
        grid-template-columns: repeat(3, 200px);
    }
    .product-item{
        width: 100%;
        height: 240px;
        padding: 10px;
    }
}

@media screen and (min-width: 992px) {
    .product-list{
        grid-template-columns: repeat(4, 200px);
    }
    .product-item{
        width: 100%;
        height: 240px;
        padding: 10px;
    }
}

@media screen and (min-width: 1200px) {
    .product-list{
        grid-template-columns: repeat(5, 200px);
    }
    .product-item{
        width: 100%;
        height: 240px;
        padding: 10px;
    }
}
.product-btn{
    position: relative;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: #898D74;
}
