.detail {
    display: flex;
    flex-wrap: wrap;
    padding-top: 50px;
    padding-bottom: 70px;
}

.detail li {
    width: 32%;
    margin-right: 2%;
    background: #F8F8F8;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 50px;
}

.detail li:nth-child(3n) {
    margin-right: 0px;
}

.detail li>div {
    width: 100%;
    padding-top: 126%;
    position: relative;
    overflow: hidden;
}

.detail img {
    position: absolute;
    top: 0px;
    left: 0px;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.detail li:hover img {
    transform: scale(1.05);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}




/* 适配 */
@media (max-width: 992px) {
    .detail {
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .detail li {
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {

    .detail li,
    .detail li:nth-child(3n) {
        width: 48%;
        margin-right: 4%;
    }

    .detail li:nth-child(even) {
        margin-right: 0px;
    }

    .detail {
        padding-bottom: 10px;
    }
}