﻿:root {
    --index-color: #692FC6;
    --main-color: #DD6E00;
}
body, form {
    margin: 0;
    padding: 0;
    background: #fafafa;
}
div {
    box-sizing:border-box;
}
/******************banner************************/
.banner-box {
    min-height: 500px;
    width: 100%;
    position: relative;
    background: var(--index-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
    background-image: var(--index-bg);
    background-repeat: no-repeat;
}
.banner-box .banner-box-absolute {
    /*position: absolute;
    top: 0;
    left: 0;*/
}
    .banner-box .banner-img {
        display: flex;
        align-items: center;
        justify-content: center;
        color:#fff;
        font-size:48px;
        font-weight:600;
        padding-top:80px;
        padding-bottom:34px;
        max-width:1350px;
    }

/*********搜索导航***********/
.search-nav {
    width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 17px;
}
    .search-nav .hot-title, .search-nav .search-nav-btn {
        display: flex
    }
    .search-nav .hot-title .title {
        width:fit-content;
        padding: 1px 10px 1px;
        margin-right: 6px;
        font-size:14px;
        border-radius: 50px;
        background-color: rgba(0, 0, 0, 0);
        color: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(255, 255, 255, 0.6);
        cursor: pointer;
    }
.search-nav .dashed-box {
    min-width: 95px;
    height: 30px;
    font-size: 14px;
    border-radius: 50px;
    display: flex;
    padding: 0 10px;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    border: 1px dashed rgba(255, 255, 255, 0.35);
}
        .search-nav .dashed-box:hover {
            background-color: #fff;
            border:none;
        }
        .search-nav .dashed-box a {
            color: rgba(255, 255, 255, 0.6);
        }
        .search-nav .dashed-box:hover a {
            color: var(--index-color);
        }
    .search-nav .solid-box {
        min-width: 127px;
        height: 30px;
        color: #000;
        font-weight: 600;
        font-size: 14px;
        padding: 0 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor:pointer;
        border-radius: 50px 8px 8px 8px;
        background-color: rgba(255, 255, 255, 1);
        border: 1px solid rgba(255, 255, 255, 0.35);
    }
        .search-nav .solid-box img {
            width: 15px;
            height: 15px;
            margin-right:7px;
        }
        .search-nav .solid-box a {
            display:inline-block;
            color: #000000 !important;
        }
        .search-nav .solid-box:hover {
            animation: slide-right-left 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        }
/*******流程*******/
.banner-box .stream-box {
    width: 1400px;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    padding: 68px 0 10px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}
    .banner-box .stream-box .node {
        width: 303px;
        position: relative;
        margin-right: 45px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .banner-box .stream-box .node .node-drop {
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.35);
    }
        .banner-box .stream-box .node .node-drop::before {
            content: '';
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 1);
        }
        .banner-box .stream-box .node .node-text {
            width: 303px;
            font-size: 18px;
            text-align: left;
            padding-top: 15px;
        }
            .banner-box .stream-box .node .node-text .desc {
                width: 100%;
                font-size: 14px;
                font-weight: 500;
                padding-top: 10px;
                line-height: 1.8;
                text-align: left;
            }
            .banner-box .stream-box .node .node-text .title {
                display: flex;
                align-items: center;
            }
            .banner-box .stream-box .node .node-text .oreder-number {
                font-size: 12px;
                display: inline-block;
                width: 14px;
                height: 14px;
                border-radius: 50%;
                border: 3px solid #fff;
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: 600;
                padding-right: 1px;
                margin-right: 5px;
            }
            }
            .banner-box .stream-box .node .node-text .img-title {
                width: 24px;
                height: 24px;
                margin-right: 4px;
            }
    .banner-box .stream-box .line {
        width: 100%;
        height: 2px;
        position: absolute;
        left: 5px;
        top: 9px;
        border: 1px dotted #fff;
    }

    /***************轮播图***************/
.swiper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1400px;
    margin: auto;
    margin-top: 33px;
    margin-bottom: 77px;
}
    .swiper .left-ico {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        cursor: pointer;
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
    }
    .swiper .right-ico {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fff;
        cursor:pointer;
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
    }
    .swiper .swiper-wrapper {
        height: 100%;
        width: 1400px;
        overflow: hidden;
    }
        .swiper .swiper-wrapper .swiper-wrapper-auxiliary {
            position: relative;
            left:0;
            display: flex;
            height: 100%;
            width: 100%;
            transition: left 1s ease-in-out; /* 过渡动画效果 */
        }
.swiper-wrapper .banner-scroll-wrap {
    width: 330px;
    height: 238px;
    margin-right: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 8px 10px 10px 8px;
}
.swiper-wrapper .banner-scroll-wrap:last-child {
    margin-right:0;
}
    .swiper-wrapper .banner-scroll-wrap img {
        width: 330px;
        height: 238px;
        border-radius: 8px 10px 10px 8px;
    }
        .swiper-wrapper .banner-scroll-wrap img:hover, .product .product-item img:hover {
            animation: scale-up-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
        }
        /* 定义关键帧 */
        @keyframes moveRight {
            0% {
        left: 0;
    }

    100% {
        left: 100%; /* 移动到父元素的右侧 */
    }
}

/************商品*******************/
.shop-box {
    width:1400px;
    margin:auto;
}
    .shop-box .title {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-bottom:40px;
    }
        .shop-box .title img {
            width: 50px;
            height: 50px;
            margin-right:8px;
        }
        .shop-box .title h4 {
            font-size: 40px;
            font-weight:600;
            margin:0;

        }
.class-box {
    width: 100%;
    height: 108px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 8px;
    padding: 0 50px;
}
    .class-box .class-item {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 0;
        cursor:pointer;
    }
    .class-box .shop-class-span {
        width: 1px;
        transform: rotate(30deg);
        border-top: 24px solid #ECECEC;
    }
    .class-box .class-item .class-item-title {
        font-size: 18px;
        color: #101010;
        font-weight: 600;
        padding: 4px 10px;
        text-align: center;
    }
        .class-box .class-item .class-item-text {
            color: #999;
            font-size: 14px;
            font-weight: 500;
        }
        .class-box .active .class-item-title,
        .class-box .class-item:hover .class-item-title,
        .class-box .class-item-active .class-item-title {
            color: #fff;
            background: var(--main-color);
            border-radius: 8px;
    }
.shop-class-box {
    background:#fff;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.06);
}
.product {
    padding: 0 25px 24px;
    display: flex;
    flex-wrap: wrap;
    background: #fff;
}
    .product .product-item {
        width: 257px;
        height: 370px;
        background-color: #fff;
        padding: 0 0 10px 0;
        border-radius: 8px;
        box-sizing: border-box;
        margin-right: 16px;
        margin-bottom: 16px;
        cursor: pointer;
        overflow: hidden;
    }
        .product .product-item:hover {
            transition: .5s;
            color: var(--main-color);
            box-shadow: 8px 13px 10px 0 rgba(0,0,0,.05);
        }
        .product .product-item:nth-child(5n) {
            margin-right: 0;
        }
        .product .product-item img {
            width: 257px;
            height: 256px;
            border-radius:8px;
        }
    .product .product-item .item-title {
        padding:12px 14px 0 0;
        font-size:14px;
    }
        .product .product-item .item-title img {
            width: 14px;
            height: 14px;
        }
    .product .product-item .price {
        color:#000;
        font-weight:600;
        font-size:16px;
        padding-top:10px;
        color:var(--main-color);
        padding: 16px 9px 0 0;
    }

     .more {
        width: 597px;
        height: 48px;
        font-size: 14px;
        border-radius: 8px;
        color: #666;
        background-color: rgba(255, 255, 255, 1);
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.06);
        margin: 42px auto 93px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor:pointer;
    }

.u-line-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/*商品加载骨架屏*/
.product .skeleton .item-img, .product .product-item .item-img {
    width: 257px;
    height: 256px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product .skeleton .item-title {
    background: #fff !important;
}
    .product .skeleton .item-title span {
        width: 100%;
        height: 12px;
        display: inline-block;
        padding-bottom: 4px;
        background: #f2f2f2;
        border-radius: 4px
    }
.product .skeleton .price {
    width: 100px;
    height: 12px;
    display: inline-block;
    background: #f2f2f2;
    border-radius: 4px;
    margin: 15px 14px 0 0;
}
.product .product-item .load-animation,
.product .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*/

.search-box .hr {
    display: flex !important;
    flex-direction: column;
    padding-left: 48px;
    padding-top: 4px;
}

    .search-box .hr span {
        width: 2px;
        height: 5px;
        display: inline-block;
        background: #000;
        margin-bottom: 4px;
    }
.search-box .search-img {
    display:block !important;
    width: 30px;
    height: 30px;
    margin-left: 50px;
}