﻿:root {
    --index-color: #692FC6;
    --main-color: #DD6E00;
}
body, form {
    margin: 0;
    padding: 0;
    background: #fafafa;
}
div {
    box-sizing:border-box;
}
/******************banner************************/
.banner-box {
    width: 100%;
    position: relative;
    background: var(--index-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}
.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:45px;
        font-weight:600;
        padding-bottom:34px;
        max-width:1400px;
    }

/*********搜索导航***********/
.search-nav {
    width: 1400px;
    display: flex;
    align-items: center;
    justify-content: right;
    margin-top:17px;
}
    .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 {
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    padding: 68px 70px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
    .banner-box .stream-box .node {
        position: relative;
        width: 100px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .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 {
            padding-top:15px;
        }
    .banner-box .stream-box .line {
        width: 350px;
        height: 2px;
        position: absolute;
        left: 50px;
        top: 9px;
        background-color: rgba(255, 255, 255, 1);
    }

    /***************轮播图***************/
.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: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.swiper-wrapper .banner-scroll-wrap:last-child {
    margin-right:0;
}
    .swiper-wrapper .banner-scroll-wrap img {
        width: 330px;
        height: 238px;
    }
        .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 {
            margin-right:8px;
        }
        .shop-box .title h4 {
            font-size:28px;
            font-weight:600;
            margin:0;

        }
.class-box {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.06);
}
    .class-box .class-item {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 16%;
        padding: 0 10px;
        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: 16px;
        color: #101010;
        font-weight: 600;
        padding: 5px 10px;
    }
        .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 .active .class-item-title, .class-box .class-item-active .class-item-title {
            color: #fff;
            background: var(--main-color);
            border-radius: 50px;
        }
        .class-box .active .class-item-title, .class-box .class-item-active .class-item-text,
        .class-box .active .class-item-text, .class-box .class-item:hover .class-item-text {
            color: var(--main-color);
        }

.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: 228px;
            height: 228px;
        }
    .product .product-item .item-title {
        padding:12px 14px 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: 15px 14px 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;
}
.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*/