﻿/*首页模版2补充样式文件*/
body, form {
    margin: 0;
    padding: 0;
    background: #fafafa;
}

.top-right .span1, .top-right .span2, .top-right .span3, .top-right .span4 {
    padding-left: 16px;
    padding-right: 16px;
}

.top-index-2 .search-box {
    width: 730px;
    height: 45px;
    font-size: 14px;
    border-radius: 0px;
    border: 3px solid var(--main-color);
}
.top-index-2 .new-top-left .adjunct-av-box {
    display:none;
}
.top-index-2 .index-top2 {
    justify-content: flex-start;
}

.top-index-2 .top-class-box {
    justify-content: flex-start;
}
     .top-index-2 .search-box {
        font-size: 14px;
    }
.top-index-2 .select-input-box .search-btn {
    min-width: 70px;
    max-width: 70px;
    border-radius: 0px;
    height: 45px;
}
.top-index-2 .search-box .select-input-box .hr {
    display: none !important;
}
.top-index-2 .search-box .select-input-box .search-img {
    display: none !important;
}

.top-index-2 .search-box .search-btn span {
    display: none;
}
.top-index-2 .select-input-box .search-btn img {
    width: 24px;
    height: 24px;
    margin: 0;
}
body .top-index-2 .select-input-box .search-btn {
    border-radius: 0px;
    min-width: 70px;
    max-width: 70px;
}
.top-index-2 .search-box {
    padding-right: 0px;
}
.top-index-2 .search-box .select-selected {
    font-size: 14px;
    font-weight: 500;
}
.top-index-2 .search-box .select-input {
    font-size: 14px;
}

    .top-index-2 .search-box .select-input::placeholder {
        font-size: 14px;
        color:#999;
        font-weight: 500;
    }
.top-index-2 .search-box .custom-select {
    min-width: 100px;
}
.top-index-2 .search-box .select-items div {
    padding: 2px 10px;
}
body .web-top {
    background-color: #fff;
    border-bottom: 2px solid #f4f4f4;
}
body .top-index-2 {
    background-color: #fff;
}
    body .top-index-2 .index-top2,
    body .top-index-2 .top-class-box {
        background-color: #fff;
    }

.top-index-2 .new-top-left {
    max-width: 320px;
    min-width: 320px;
}

.top-index-2 {
    display:flex;
    width: 1400px;
    margin:auto;
    background:#fff;
    padding-top: 30px;
}

.template-index-2 {
    /*background:#fff;*/
    margin-bottom: 15px;
}

.top-index-2 .cart-box {
    width: 140px;
    height: 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border: 1px solid #DCDFE6;
    color:#666;
    font-size: 14px;
    box-sizing:border-box;
    margin-left: 9px;
}


    .top-index-2 .cart-box .cart-count {
        position: relative;
        width: 20px;
        height: 20px;
        background: url(/images/91.png) 0% 0% / 20px 20px;
    }
    .top-index-2 .cart-box .cart-num {
        height: 16px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        border-radius: 50px;
        padding: 3px 5px;
        color: #fff;
        position: absolute;
        top: -10px;
        left: 12px;
        font-size: 12px;
    }
.search-hot .hot-title {
    color:#999;
    font-size: 14px;
    display:flex;
}

    .search-hot .hot-title .title {
        margin-right: 10px;
        padding-top: 9px;
        cursor:pointer;
    }

.search-hot .hot-title > :nth-child(1),
.search-hot .hot-title > :nth-child(2) {
    color: var(--main-color)
}

.nav-class {
    margin: auto;
    width: 1400px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 38px;
    padding-bottom: 20px;
    background: #fff;
}
    .nav-class .span1 a{
        color:#333;
        font-size: 16px;
        font-weight: 600;
    }
    .nav-class .span2 {
        display: inline-block;
        color: #ECECEC;
        font-size: 22px;
        transform: rotate(16deg);
        font-weight: 200;
        padding: 0 30px;
    }
.nav-class .active {
    /*color: var(--main-color);*/
    font-weight: 600;
}

.self-info {
    min-width: 1400px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
}
    .self-info .nav-menu {
        display: flex;
        flex-wrap: wrap;
        align-content: flex-start;
        background: #fff;
        margin: 15px 16px;
        height: 481px;
        overflow: hidden;
    }

        .self-info .nav-menu .nav-menu-item {
            overflow: hidden;
            display: flex;
            align-items: center;
            margin: 2px 0 7px;
        }
        
        .self-info .nav-menu .nav-menu-item::first-letter {
            display: none !important;
        }
            .self-info .nav-menu .nav-menu-item a {
                color: #333;
                font-size: 14px;
                cursor: pointer;
                white-space: nowrap;
            }
            .self-info .nav-menu .nav-menu-item a:hover {
                color: var(--main-color)
            }
            .self-info .banner {
                width: 616px;
                height: 512px;
                margin-right: 16px;
            }

    .self-info .nav-img {
        width: 260px;
        margin-right: 14px;
        margin-left: 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
        .self-info .nav-img .nav-img-item {
            /*margin-bottom: 14px;*/
            height: 118px;
        }
            .self-info .nav-img .nav-img-item:last-child {
                margin-bottom: 0px;
            }
            .self-info .nav-img .nav-img-item img {
                width: 100%;
                height: 118px;
            }
    .self-info .right-box {
        width: 260px;
        height: 512px;
        padding: 22px 16px;
        background:#fff;
    }
        .self-info .right-box .photo {
            display: flex;
            align-items: center;
            justify-content: center;
        }
            .self-info .right-box .photo img {
                width: 60px;
                height: 60px;
                border-radius: 50%;
            }
.right-box .title {
    width: 180px;
    color: #4F4F4F;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin: auto;
    padding-top: 26px;
    white-space: nowrap; /* 禁止换行 */
    overflow: hidden; /* 隐藏超出部分 */
    text-overflow: ellipsis; /* 显示省略号 */
}
.right-box .btn-box {
    padding-top: 26px;
    padding-bottom: 30px;
    display:flex;

}
.right-box .main-btn1 {
    width: 110px;
    text-align: center;
    padding: 5px 10px;
    background: var(--main-color);
    color: #fff;
    font-size: 14px;
    border-radius: 4px;
    display: inline-block;
    margin-right: 12px;
    cursor: pointer;
    box-sizing:border-box;
}
.right-box .main-btn2 {
    width: 110px;
    text-align: center;
    padding: 5px 10px;
    background: #fff;
    color: var(--main-color);
    font-size: 14px;
    border-radius: 4px;
    border: 1px solid var(--main-color);
    display: inline-block;
    cursor: pointer;
    box-sizing: border-box;
}
.list-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}
    .list-nav .list-nav-item {
        width: 33%;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 20px;
    }
        .list-nav .list-nav-item .nav-title {
            color: #333;
            text-align: center;
            padding-top: 8px;
            font-size: 13px;
        }
        .list-nav .list-nav-item img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
        }
.notice-box {
    color:#000;
    font-size: 12px;
    padding-left: 4px;
}
    .notice-box .notice-title {
        color: #101010;
        font-size: 16px;
        font-weight: bold;
        padding-bottom: 20px;
        padding-top: 14px;
    }
    .notice-box .notice-item {
        margin-bottom: 14px;
    }
.main-width-1400 {
    width: 1400px;
    margin: auto;
}
.product {
    display:flex;
    flex-wrap:wrap;
    background: #fafafa;
}
    .product .product-item {
        margin-right: 16px;
        margin-bottom: 20px;
        padding: 12px 10px;
        cursor: pointer;
    }
        .product .product-item:nth-child(6n) {
            margin-right: 0;
        }
    .product .product-item img {
        width: 200px;
        height: 200px;
    }
.product .product-item img:hover {
    animation: scale-up-center 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
}

.product .skeleton .item-img,
.product .product-item .item-img{
    width: 200px;
    height: 200px;
}




        /*商品加载骨架屏*/
        .product .skeleton .item-img, .product .product-item .item-img {
            width: 200px;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

    .product .skeleton .item-title {
        width: 200px;
        background: #fff !important;
    }

        .product .skeleton .item-title span {
            width: 200px;
            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*/


.swiper-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    overflow: hidden;
}
.swiper-wrapper .banner-scroll-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
}
.swiper-wrapper ul {
    position: absolute;
    bottom: 10px;
    left: 50%;
}

.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;
}

#Carousel {
    width: 616px;
    height: 512px;
}
