.products {}

.products-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 6.4rem;
}

.products-content-item {
    width: 33.8rem;
    height: 47.4rem;
    margin-bottom: 1.6rem;
    background: #fff;
    border-radius: 1rem;
    position: relative;
}

.products-content-item img {
    width: 33.8rem;
    height: 33.8rem;
}

.products-content-item p {
    padding: 3.2rem;
    overflow: hidden;
    line-height: 2.4rem;
    font-size: 2rem;
    color: #05173C;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical
}

.products-content-item .xian {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3.2rem;
    transition: all 0.3s;
}

.products-content-item:hover {
    box-shadow: 0px 4px 12px 1px rgba(5, 23, 60, 0.16);
}

.products-content-item:hover p {
    color: #F16522;
}

.products-content-item:hover .xian {
    width: 100%;
}

@media screen and (max-width: 768px) {
    .products {}

    .products-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 3.3rem;
    }

    .products-content-item {
        width: 16.8rem;
        height: 26.4rem;
        margin-bottom: 0.7rem;
        background: #fff;
        border-radius: 1rem;
        position: relative;
    }

    .products-content-item img {
        width: 16.8rem;
        height: 16.8rem;
    }

    .products-content-item p {
        padding: 1.2rem 0.8rem;
        overflow: hidden;
        line-height: 1.6rem;
        font-size: 1.4rem;
        color: #05173C;
        text-align: center;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical
    }

    .products-content-item .xian {
        display: none;
    }


}