.products .list:after {
    display: block;
    height: 0;
    content: "";
    clear: both;
}
.products .item {
    float: left;
    width: calc(33.33% - 13.33px);
    margin-right: 20px;
    margin-bottom: 20px;
    background-color: #F8F8F8;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transition: all .5s; /* 设置过渡动画 */
}
.products .item:nth-child(3n) {
    margin-right: 0;
}
.products .item:hover {
    transform: scale(1.015);
}

.products .item .image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;	
    background-color: #FFFFFF
}
.products .item .image img {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    transition: transform 0.5s;
}

.products .item .info {
    line-height: 24px;
    padding: 15px;
    position: relative;
}
.products .item .info .name {
    width: calc(100% - 25px);
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.products .item .info .price {
    font-size: 16px;
    color: var(--color);
}

.products .item .add-cart {
    width: 24px;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

.product-detail {
    background-color: #FFFFFF;
    padding: 1rem;
}

.exzoom {
    width: 100%;
}

.product-detail .extra {
    line-height: 220%;
    color: #888888;
}
.product-detail .extra .key {
    display: inline-block;
    margin-right: 10px;
}
.product-detail .extra .value {
    display: inline-block;
}
.product-detail .extra .price .value {
    color: #ea7d10;
    font-size: 24px;
}

.product-detail .add-cart {
    width: 32px;
    cursor: pointer;
}

.product-detail-desc {
    background-color: #FFFFFF;
    padding: 1rem 0;
}

.product-detail-desc h3 {
    padding-bottom: 1rem;
    border-bottom: 1px solid #DEDEDE;
}
.product-detail-desc .desc {
    margin-top: 1rem;
    line-height: 200%;
    min-height: 240px;
}
/* 大屏设备 1220< X < 1920 */
@media (max-width: 1920px) {
    
}

/* 中屏设备 990 < X < 1220 */
@media (max-width: 1220px) {
    .products .item {
        width: calc(50% - 10px);
    }
    .products .item:nth-child(3n) {
        margin-right: 20px;
    }
    .products .item:nth-child(2n) {
        margin-right: 0;
    }
}

/* 小屏设备 768 < X < 990 */
@media (max-width: 992px) {
    
  
}


/* 微小屏设备 X < 768 */
@media (max-width: 992px) {
    
}
