﻿.product {
    width: 1400px;
    margin: auto;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.06);
}

.bg-fafafa {
    background: #FAFAFA;
}
/*产品平台*/
.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;
        }



.u-line-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
/*产品 end*/

/*商品加载骨架屏*/
.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: 8px 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;
    }



/*价格下拉*/
.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;
}

.screen-box .select-price-active .select-price {
    visibility: visible;
    opacity: 1;
}

.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;
}

    .screen-box .price .select-price div:hover {
        background-color: #f5f7fa;
    }
.screen-box .price svg {
    margin-left:4px;
}
.screen-box .price:hover svg,
.screen-box .select-price-active svg {
    transform: rotate(180deg);
}
/*价格下拉 end*/

.new-top-3 {
    position: sticky;
    top: 40px;
    z-index: 2;
}
.new-top-3 .search-box .select-input::placeholder {
    color: #999;
}

.sensitive-box {
    display:none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height:500px;
    padding-bottom: 100px;
    
}

/*轮播图*/
.right-enter-active, .right-leave-active {
    transition: all 0.3s ease;
}

.right-enter {
    transform: translateX(100%);
}

.right-leave-to {
    transform: translateX(-100%);
}

.left-enter-active, .left-leave-active {
    transition: all 0.3s ease;
}

.left-enter {
    transform: translateX(-100%);
}

.left-leave-to {
    transform: translateX(100%);
}
.swiper-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    overflow: hidden;
}
.swiper-wrapper ul {
    position: absolute;
    bottom: 10px;
    left: 10%;
}
    .swiper-wrapper .banner-scroll-wrap {
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        left: 0;
    }
.swiper-wrapper .drop {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #999;
    cursor: pointer;
    border-radius: 50%;
    background-color: hsla(0, 0%, 100%, .35);
    margin: 0 5px;
}
    .swiper-wrapper .active-drop {
        background: #fff;
    }
/*轮播图 end*/

body .new-top-3 .search-box {
    border-radius: 8px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.06);
}
.new-top-3 .select-input-box .search-btn {
    min-width: 80px !important;
}