﻿.product {
    width: 1400px;
    margin: auto;
    margin-top: 10px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.06);
}

/*产品平台*/
.product-platform {
    display: flex;
    padding: 28px 27px;
    border-bottom: 1px solid rgba(236, 236, 236, 1);
}

    .product-platform .product-platform-item {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 119px;
        height: 45px;
        border-radius: 50px;
        background-color: rgba(250, 250, 250, 1);
        color: rgba(153, 153, 153, 1);
        font-size: 16px;
        cursor: pointer;
        margin-right: 10px;
        font-weight: 600;
        padding: 0 25px;
    }

    .product-platform .product-platform-item-active {
        color: #000;
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
    }

    .product-platform .product-platform-item img {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
/*产品平台 end*/
/*产品*/
.product-box {
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    padding: 10px 27px;
}

    .product-box .product-item {
        width: 257px;
        height: 365px;
        background-color: #fff;
        box-sizing: border-box;
        margin-right: 15px;
        padding-bottom: 25px;
        margin-bottom: 10px;
        cursor: pointer;
    }

        .product-box .product-item:hover {
            transition: .5s;
            color: var(--main-color);
            box-shadow: 8px 13px 10px 0 rgba(0,0,0,.05);
        }

        .product-box .product-item:nth-child(5n) {
            margin-right: 0;
        }

        .product-box .product-item img {
            max-width: 247px;
            max-height: 247px;
            border-radius: 10px;
        }

        .product-box .product-item:hover img {
            animation: scale-up-center 0.4s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        }

        .product-box .product-item .item-title {
            font-size: 14px;
            padding-top: 4px;
            padding-left: 5px;
        }

            .product-box .product-item .item-title img {
                width: 14px;
                height: 14px;
            }

        .product-box .product-item .price {
            margin-top: 20px;
            color: var(--main-color);
            font-weight: 600;
            font-size: 18px;
            padding-left: 5px;
        }



        /*商品加载骨架屏*/
        .product-box .skeleton .item-img, .product-box .product-item .item-img {
            width: 257px;
            height: 256px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 10px;
        }

    .product-box .skeleton .item-title {
        background: #fff !important;
    }

        .product-box .skeleton .item-title span {
            width: 100%;
            height: 12px;
            display: inline-block;
            padding-bottom: 4px;
            background: #f2f2f2;
            border-radius: 4px
        }

    .product-box .skeleton .price {
        width: 100px;
        height: 12px;
        display: inline-block;
        background: #f2f2f2;
        border-radius: 4px
    }

    .product-box .product-item .load-animation,
    .product-box .skeleton .load-animation {
        background: linear-gradient(90deg,#f2f2f2 25%,#e6e6e6 37%,#f2f2f2 63%);
        background-size: 400% 100%;
        animation: el-skeleton-loading 1.4s ease infinite;
    }

@keyframes el-skeleton-loading {
    0% {
        background-position: 100% 50%
    }

    to {
        background-position: 0 50%
    }
}
/*商品加载骨架屏 end*/

.product .screen-box {
    height: 83px;
    color: #000;
    font-size: 16px;
    display: flex;
    align-items: center;
    font-weight: 600;
    padding: 0 28px 0;
}

    .product .screen-box .composite {
        padding-right: 28px;
        cursor: pointer;
    }

    .product .screen-box .price {
        position: relative;
        margin-right: 40px;
        padding-top: 14px;
        padding-bottom: 14px;
        cursor: pointer;
    }

    .product .screen-box .price-input {
        width: auto;
        height: 35px;
        position: relative;
        display: flex;
        color: #C7C7C7;
        border-radius: 8px;
        border: 1px solid #E4E4E4;
    }

    .product .screen-box .space {
        color: #C7C7C7;
        padding: 0 12px;
    }

    .product .screen-box .price-input .price-unit {
        color: #C7C7C7;
        font-size: 14px;
        font-weight: 500;
        display: flex;
        align-content: center;
        align-items: center;
        padding: 0 4px;
    }

    .product .screen-box .price-input input {
        width: 100px;
        font-size: 14px;
        color: #101010;
        border: none;
        border-radius: 8px;
        flex: 1;
        height: 32px;
        padding-left: 0;
    }


.Commodity_List .nav-class-popup {
    position: absolute;
    top: 100px;
    z-index: 99;
    visibility: hidden;
    opacity: 0;
}

.Commodity_List .product .nav-class-popup:hover,
.Commodity_List .product .nav-class-popup.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.2s;
}

.Commodity_List .nav-class {
    width: 200px;
    height: 496px;
    overflow: auto;
    padding: 6px 0 6px 12px;
    background-color: #FFFFFF;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
}

.Commodity_List .nav-class .nav-class-scroll {
    width: 180px;
    height: 100%;
    overflow: auto;
}

.Commodity_List .nav-class .nav-class-item {
    pointer-events: auto;
}

.Commodity_List .nav-class .nav-class-item .nav-class-item-popup {
    /*display: none;*/
    width: max-content;
    min-width: 1200px;
    max-width: 1200px;
    height: 496px;
    position: absolute;
    left: 200px;
    top: 0;
    background-color: #fff;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    /* 默认隐藏：用 visibility+opacity 替代 display，支持过渡 */
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.2s, opacity 0.2s;
}

.Commodity_List .nav-class .nav-class-item.active,
.Commodity_List .nav-class .nav-class-item:hover {
    background-color: #F3F4F6;
}

    .Commodity_List .nav-class .nav-class-item.active .nav-class-item-popup,
    .Commodity_List .nav-class .nav-class-item:hover .nav-class-item-popup {
        /*display: block;*/
        z-index: 99;
        visibility: visible;
        opacity: 1;
        transition: visibility 0s, opacity 0.2s; /* 立即显示，延迟隐藏 */
    }
        .Commodity_List .nav-class .nav-class-item.active .nav-class-item-popup .popup-scroll，
        .Commodity_List .nav-class .nav-class-item:hover .nav-class-item-popup .popup-scroll {
            min-width: 1200px;
            max-width: 1200px;
            height: 100%;
            overflow: auto;
            align-content: flex-start;
        }

        .Commodity_List .nav-class .nav-class-item.active .nav-class-item-popup .popup-scroll div,
        .Commodity_List .nav-class .nav-class-item:hover .nav-class-item-popup .popup-scroll div {
            z-index: 80
        }

        .Commodity_List .nav-class .nav-class-scroll::-webkit-scrollbar,
        .Commodity_List .nav-class .nav-class-item.active .nav-class-item-popup .popup-scroll::-webkit-scrollbar,
        .Commodity_List .nav-class .nav-class-item:hover .nav-class-item-popup .popup-scroll::-webkit-scrollbar {
            width: 5px;
            height: 5px;
        }

        .Commodity_List .nav-class .nav-class-scroll::-webkit-scrollbar-track,
        .Commodity_List .nav-class .nav-class-item.active .nav-class-item-popup .popup-scroll::-webkit-scrollbar-track,
        .Commodity_List .nav-class .nav-class-item:hover .nav-class-item-popup .popup-scroll::-webkit-scrollbar-track {
            border-radius: 10px;
            margin-top: 20px;
            margin-bottom: 20px;
        }

        .Commodity_List .nav-class .nav-class-scroll::-webkit-scrollbar-thumb,
        .Commodity_List .nav-class .nav-class-item.active .nav-class-item-popup .popup-scroll::-webkit-scrollbar-thumb,
        .Commodity_List .nav-class .nav-class-item:hover .nav-class-item-popup .popup-scroll::-webkit-scrollbar-thumb {
            border-radius: 10px;
            background: #E4E4E4;
        }



/*价格下拉*/
.Commodity_List .screen-box .price .select-price {
    width: fit-content;
    color: #333;
    position: absolute;
    background-color: #fff;
    border-top: none;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1;
    visibility: hidden;
    padding: 5px;
    opacity: 0;
    border-radius: 4px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.1);
    transition: visibility 0s, opacity 0.5s linear;
}

.Commodity_List .screen-box .select-price-active .select-price {
    visibility: visible;
    opacity: 1;
}

.Commodity_List .screen-box .price .select-price div {
    white-space: nowrap;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    min-height: 34px;
    cursor: pointer;
    padding: 2px 20px;
    display: flex;
    align-items: center;
    font-weight: 500;
    justify-content: flex-start;
}

    .Commodity_List .screen-box .price .select-price div:hover {
        background-color: #f5f7fa;
    }

.Commodity_List .screen-box .price svg {
    margin-left: 4px;
}

.Commodity_List .screen-box .price:hover svg,
.Commodity_List .screen-box .select-price-active svg {
    transform: rotate(180deg);
}
/*价格下拉 end*/

.Commodity_List .class-empty {
    width: 100%;
    height: 100%;
    padding-right: 171px;
    padding-top: 100px;
}

.color-C9C9C9 {
    color: #C9C9C9;
}