


.el-pagination {
    --el-pagination-hover-color:#28a13a
}


.cate-block {
    width: 154px;
    /*margin: 0 auto;*/
    position: fixed;
    left: 30px;
    border-radius: 8px;
    top: 240px;
    display: flex;
    justify-content: center;
    z-index: 9;
    background-color: #f4f4f4;
    padding-top: 30px;

}

.cate-block.fold {
    width: 60px;
    height: 60px;
    overflow: hidden;

}

.cate-block .content {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;


    /*justify-content: center;*/
}

.cate-block .cate-level1 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    color: #303030;
}

.cate-block .cate-level1 .item {
    min-width: 80px;
    padding: 0 10px;
    /*margin-right: 10px;*/
    /*line-height: 40px;*/
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px;

}

.cate-block .cate-level1 .label {
    font-size: 18px;
    position: relative;
    padding-bottom: 5px;
    font-weight: bolder;
}


.cate-block .cate-level1 .label:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0 auto;
}

.cate-block .cate-level1 .cate-level1-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 341px;
    overflow: auto;
}


.cate-block .cate-level1 .cate-level1-list::-webkit-scrollbar {
    height: 9px;
    width: 5px;
}

.cate-block .cate-level1 .cate-level1-list::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px var(--primary-color-light);
    background: var(--primary-color);
    border-radius: 20px;

}

.cate-block.more {
    width: 260px;
}

.cate-block.more .cate-level1-list .option {
}



.cate-block .cate-level1 .option {

    /*background-color: var(--primary-color-light);*/
    color: #303030;
    /*box-shadow: -2px 2px 4px 2px rgba(0,0,0,0.1);*/
    border-radius: 3px;
    cursor: pointer;
    margin: 0 26px;
    margin-bottom: 12px;



}

.cate-block .cate-level1 .option.active {
    background-color: var(--primary-color);
    color: #fff;
}


.product-block {
    width: 1200px;
}

.product-block .content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}


.product-block .item {
    cursor: pointer;
    margin-right: 24px;
    margin-bottom: 24px;
    box-shadow: -2px 2px 5px 2px rgba(0,0,0,0.1);
    border-radius: 3px;
    text-decoration: none;
}

.product-block .item:nth-child(4n) {
    margin-right: 0;
}

.product-block .item-content {
    padding: 10px;
    box-sizing: border-box;
}


.product-block .item .thumb-pic {
    width: 262px;
    height: 262px;
}
.product-block .item .thumb-pic img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: none;
}
.product-block .item .thumb-pic img.curr-pic {
    display: unset;
}


.product-block .product-name {
    text-align: center;
    font-size: 14px;
    color: #999;
}



.product-block .item-content .compare-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    font-size: 14px;
    margin-top: 10px;
    color: #28a13a;
}


.product-block .color {
    /*margin-top: 10px;*/
    display: flex;
    flex-direction: row;

}

.product-block .color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 5px;

}
.product-block .color-item .color-label {
    line-height: 1.6;
    font-size: 12px;
    transform: scale(0.9);
}
.product-block .color-block {
    display: flex;
    flex-direction: column;
    border: 1px solid #ececec;
    border-radius: 6px;
    overflow: hidden;
    align-items: center;
    margin-top: 10px;

    /*box-shadow: 0 0  3px rgba(0,0,0,0.2);*/
}



.product-block .color-item.active  {
    color: #01605c;

}
.product-block .color-item.active .color-block {

    border: 1px solid #01605c;
    box-sizing: border-box;
    /*box-shadow: none;*/
    /*border: 1px solid #01605c;*/


}

.product-block .color-block .color {
    display: inline-block;
    height: 10px;
    width: 20px;
    /*margin-bottom: 10px;*/
    position: relative;
    /*border-radius: 6px;*/


}
.product-block .color-block .label {
    display: inline-block;
    font-size: 12px;
    /*position: absolute;*/
    /*left: 0;*/
    /*right: 0;*/
    /*top: 0;*/
    /*width: 40px;*/
    /*z-index: 2;*/
    /*transform: scale(0.5);*/
    /*transform-origin: top left;*/
}



.compare-btn {
    position: fixed;
    right: 0;
    top: 120px;
    bottom: 0;
    min-height: 105px;
    max-height: 200px;
    margin: auto 0;
    background-color: #28a13a;
    width: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    cursor: pointer;

}

.compare-btn.bounce {
    animation: bounce 200ms;

}

.compare-btn .label {
    width: 16px;
    font-size: 16px;
    padding-left: 5px;
    color: #fff;
    word-wrap: break-word;
    word-break: break-all;

}



@keyframes bounce {

    0% {
        transform: scale(1.5);
        top: 90px;
    }

    100% {
        transform: scale(1);
        top: 120px;

    }


}

.product-spec {
    margin: 0 auto;
    max-width: 800px;
}

.product-content {
    margin: 0 auto;
    max-width: 800px;
}

.product-content img {
    width: 100%;
    min-width: 100%;
}

.info-dialog {
    border-radius: 3px;
}

.info-item {
    display: flex;
    flex-direction: row;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 10px;
}

.info-item .name {
    display: inline-block;
    min-width: 80px;
}
.info-item .label {
    display: inline-block;
    min-width: 80px;
}

.pic-list {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    background:linear-gradient(#f8e9d3,#f4f4f4);
    padding: 20px 20px 10px 20px;
    border-radius: 16px;
}

.pic-list .pic-block {
    background-color: #fff;
    border-radius: 8px;
}

.pic-list .pic {
    display: none;
    width: 400px;
    height: 400px;
    object-fit: contain;


}

.pic-list  .pic.curr {
    display: flex;
}



.product-spec {
    display: flex;
    flex-direction: row;
}


.product-spec .info {
    flex: 1;
}


.product-spec .info .title {

    font-size: 20px;
    font-weight: bolder;
    margin-bottom: 16px;

}



.product-spec .info .info-item .name {
    min-width: 80px;
    color: #808080;
}


.pic-block {
    position: relative;
}


.image-zoom {
    background-color: rgba(255, 255, 255,0.5);
    width: 200px;
    height: 200px;
    position: absolute;
    top: 0;
    left: 0;
    cursor: move;
    /*transition: all 0.1s linear;*/
}


.zoom-content {
    overflow: hidden;
    position: absolute;
    height: 400px;
    width: 400px;

    right: -450px;
    top: 0;
    background-color: #f4f4f4;
    border-radius: 12px;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.zoom-content .img {
    position: relative;
    left: 0;
    top: 0;
    object-fit: contain;

}

.thumb-block {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
    flex-wrap: wrap;
    width: 399px;

}

.thumb-block .thumb-pic {
    width: 50px;
    height: 50px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
}
.thumb-block .thumb-pic.curr {
    border: 1px solid var(--primary-color);
    box-sizing: border-box;
}
.thumb-pic .thumb-pic-img {
    height: 100%;
    width: 100%;
}

@media screen and (device-width: 1600px) {

    .product-block {
        transform: scale(0.9);
    }

}
@media screen and (device-width: 1440px) {

    .product-block {
        transform: scale(0.8);
    }

}