.main-product {
    .product_block {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 0.76rem;
        .product_item {
            width: 3.9rem;
            margin-top: 0.33rem;
            &:hover {
                color: var(--primary-color);
                .product_img {
                    border: 1px solid var(--primary-color);
                }
                .product_info {
                    .product_icon {
                        display: none;
                    }
                    .product_hover {
                        display: block;
                    }
                }
            }
            .product_img {
                width: 100%;
                height: 3.9rem;
                object-fit: cover;
                border: 1px solid #FFFFFF;
                box-sizing: border-box;
            }
            .product_info {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-top: 0.12rem;
                .product_name {
                    width: 3.5rem;;
                    font-size: 0.16rem;
                }
                .product_icon {
                    height: 0.2rem;
                }
                .product_hover {
                    display: none;
                    width: 0.2rem;
                    height: 0.2rem;
                }
            }
        }
        .product_occupy {
            width: 3.9rem;
        }
    }
    .product_detail {
        width: 100%;
        padding: 0 var(--primary-padding);
        box-sizing: border-box;
        margin-top: 0.85rem;
        .detail_header {
            display: flex;
            justify-content: space-between;
            .detail_imgs {
                display: flex;
                .img_list {
                    width: 1.9rem;
                    height: 6rem;
                    overflow-y: auto;
                    img {
                        width: 1.9rem;
                        height: 1.9rem;
                        margin-top: 0.15rem;
                        object-fit: contain;
                        cursor: pointer;
                        border: 1px solid #FFFFFF;
                        box-sizing: border-box;
                        &:first-child {
                            margin: 0;
                        }
                    }
                    .img_active {
                        border: 1px solid var(--primary-color);
                    }
                }
                .img_main {
                    width: 6rem;
                    height: 6rem;
                    position: relative;
                    cursor: pointer;
                    margin-left: 0.2rem;
                    img {
                        width: 100%;
                        height: 100%;
                        object-fit: contain;
                    }
                }
                .zoomdiv{
                    z-index: 100;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 350px;
                    height: 350px;
                    background: #ffffff;
                    border: 1px solid #CCCCCC;
                    display: none;
                    text-align: center;
                    overflow: hidden;
                }
                .jqZoomPup{
                    z-index: 10;
                    visibility: hidden;
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 20px;
                    height: 20px;
                    border: 1px solid #aaa;
                    background: #ffffff /*url(../images/zoom.png) 50% center no-repeat*/;
                    opacity: 0.5;
                    -moz-opacity: 0.5;
                    -khtml-opacity: 0.5;
                    filter: alpha(Opacity=50);
                }
            }
            .detail_info {
                width: 7.15rem;
                margin-top: 0.81rem;
                .detail_name {
                    width: 100%;
                    color: var(--font-color);
                    font-size: 0.28rem;
                    padding-bottom: 0.2rem;
                    border-bottom: 1px solid var(--primary-color);
                }
                .detail_time {
                    color: var(--font-sub-color);
                    font-size: 0.14rem;
                    margin-top: 0.22rem;
                }
                .detail_price_box {
                    width: 100%;
                    font-size: 0.14rem;
                    margin-top: 0.22rem;
                    padding: 0.2rem;
                    box-sizing: border-box;
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    color: var(--font-sub-color);
                    background-color: var(--back-sub-color);
                    .detail_price {
                        span {
                            font-size: 0.2rem;
                            margin-left: 0.18rem;
                            color: var(--primary-color);
                        }
                    }
                    .detail_retail {
                        margin-top: 0.2rem;
                        span {
                            margin-left: 0.18rem;
                            text-decoration:line-through;
                            color: var(--font-sub-color);
                        }
                    }
                }
                .detail_qrcode_box {
                    width: 1.4rem;
                    margin-top: 0.3rem;
                    .detail_qrcode {
                        width: 100%;
                        height: 1.4rem;
                    }
                    .detail_qrcode_tip {
                        text-align: center;
                        font-size: 0.14rem;
                        margin-top: 0.1rem;
                    }
                }
                .detail_buy_box {
                    display: block;
                    width: 1.4rem;
                    height: 0.4rem;
                    line-height: 0.4rem;
                    text-align: center;
                    font-size: 0.18rem;
                    color: var(--primary-color);
                    border: 1px solid var(--primary-color);
                    margin-top: 0.8rem;
                    cursor: pointer;
                    &:hover {
                        color: #FFFFFF;
                        background-color: var(--primary-color);
                    }
                }
            }
        }
        .detail_center {
            display: flex;
            justify-content: space-between;
            margin-top: 1rem;
            .detail_content {
                width: 12rem;
                .center_tab {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    border-bottom: 1px solid var(--line-color);
                    .tab_item {
                        height: 0.4rem;
                        line-height: 0.4rem;
                        text-align: center;
                        cursor: pointer;
                    }
                    .tab_item_active {
                        color: var(--primary-color);
                        position: relative;
                        &:after {
                            content: "";
                            position: absolute;
                            left: 0;
                            bottom: 0;
                            width: 100%;
                            height: 1px;
                            background-color: var(--primary-color);
                        }
                    }
                }
                .center_wrap {
                    width: 100%;
                    margin-top: 0.5rem;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    .center_box {
                        img {
                            width: 100%;
                        }
                    }
                }
                .center_bottom {
                    width: 100%;
                    height: 40px;
                }
            }
            .detail_hot {
                width: 3.8rem;
                margin-top: 0.4rem;
                .hot_wrap {
                    background-color: var(--back-sub-color);
                    padding: 0.37rem 0.6rem;
                    box-sizing: border-box;
                    border-radius: 0.2rem;
                    .hot_title {
                        font-size: 0.2rem;
                    }
                    .hot_list {
                        width: 100%;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        .hot_item {
                            width: 100%;
                            margin-top: 0.2rem;
                            .hot_img {
                                width: 2.6rem;
                                height: 2.6rem;
                                object-fit: cover;
                            }
                            .hot_name {
                                width: 100%;
                                font-size: 0.16rem;
                                margin-top: 0.1rem;
                            }
                        }
                    }
                }
            }
        }
    }
}

/* 屏幕小于1000 - 手机端 */
@media screen and (max-width: 1000px){
    .main-product {
        .product_block {
            justify-content: space-between;
            padding: 0 0.2rem;
            box-sizing: border-box;
            .product_item {
                width: 8.35rem;
                margin: 0.2rem 0 0 0;
                padding-bottom: 0.2rem;
                .product_img {
                    height: 8.35rem;
                }
                .product_info {
                    margin-top: 0.2rem;
                    .product_name {
                        width: 7.9rem;
                        font-size: 0.36rem;
                    }
                    .product_icon {
                        height: 0.4rem;
                    }
                }
            }
        }
    }
}