.products {
    padding: 0 0 8rem;
}

.products-content {
    width: 150rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: -1.6rem;
}

.products-content-for {
    width: 33.8rem;
    height: 47.4rem;
    border-radius: 1rem;
    background-color: #F5F5F7;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.6rem;
}


.products-content-for .img {
    width: 33.8rem;
    height: 33.8rem;
}

.products-content-for p {
    padding: 3.2rem 1.6rem;
    width: 33.8rem;
    height: 13.6rem;
    text-align: center;
    line-height: 2.4rem;
    font-size: 2rem;
    color: #05173C;
    font-weight: 500;
}

.products-content-for .xian {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 0rem;
    height: 3.2rem;
    transition: all 0.3s;
}

.products-content-for:hover {
    cursor: pointer;
    background-color: #fff;
    box-shadow: 0 0.4rem 1.2rem 0.1rem rgba(5,23,60,0.16);
}

.products-content-for:hover p {
    color: #F16522;
}

.products-content-for:hover .xian {
    width: 33.8rem;
}

@media screen and (max-width: 768px) {

    .products {
        padding: 0 0 4rem;
    }

    .products-content {
        width: 34.3rem;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        margin-bottom: -0.7rem;
    }

    .products-content-for {
        width: 16.8rem;
        height: 26.4rem;
        border-radius: 1rem;
        overflow: hidden;
        position: relative;
        margin-bottom: 0.7rem;
    }

    .products-content-for .img {
        width: 16.8rem;
        height: 16.8rem;
    }

    .products-content-for p {
        padding: 1.2rem 0.8rem;
        width: 16.8rem;
        height: 9.6rem;
        text-align: center;
        line-height: 1.8rem;
        font-size: 1.4rem;
        color: #05173C;
        font-weight: 500;
    }

    .products-content-for .xian {
        display: none;
    }

}