﻿body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* 视口高度 */
    color: var(--content-color);
    background-color: var(--background-color);
}

ul {
    list-style: none;
}

a {
    color: var(--title-color);
}

    a:hover {
        color: var(--sub-color);
    }

.header-v2 {
    flex: 0;
    background-color: white;
    border-bottom: 1px solid var(--border-color);
}

    .header-v2 .topmost {
        position: relative;
        /*background-color: var(--theme-color);*/
        background-color: var(--dark-color);
        border-bottom: 1px solid #333;
        min-height: 36px;
    }

        .header-v2 .topmost .close {
            font-size: 22px;
            position: absolute;
            top: 8px;
            right: 16px;
            color: var(--disabled-color);
            cursor: pointer;
            width: 22px;
            height: 22px;
            border: 1px solid var(--disabled-color);
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 4px;
        }

            .header-v2 .topmost .close:hover {
                color: white;
                border: 1px solid white;
            }

            .header-v2 .topmost .close i {
                margin-top: 1px;
            }

        .header-v2 .topmost .content {
            height: auto;
            overflow: hidden;
            color: #FFF;
        }
/* .header-v2 .topmost span {
            color: var(--blue-color);
        }*/

/*.header-v2 .topmost a:hover {
                color: var(--red-color);
            }*/


.header-bar1 .func-login .ivu-icon.ivu-icon-ios-arrow-down {
    color: var(--sub-color);
}

.header-v2 {
}

    .header-v2 .container-v2 {
        display: flex;
        flex-direction: row;
    }

    .header-v2 .header-bar1 {
        /*background: var(--background-color) none repeat scroll 0 0;*/
        color: white;
        background-color: var(--dark-color);
        box-shadow: 0 0 4px #333;
    }

        .header-v2 .header-bar1 .container-v2 {
            height: 44px;
            line-height: 44px;
            justify-content: space-between;
        }

        .header-v2 .header-bar1 .contacts {
            margin-left: -4px;
            line-height: 14px;
            display: flex;
            align-items: center;
        }

            .header-v2 .header-bar1 .contacts .salesmanIcon {
                margin-top: 2px;
                font-size: 34px;
            }

            .header-v2 .header-bar1 .contacts .title {
                display: flex;
                justify-content: space-between;
            }

            .header-v2 .header-bar1 .contacts small {
                margin-left: 8px;
                color: var(--disabled-color);
            }

            .header-v2 .header-bar1 .contacts .phone {
            }


    /* 统计栏 */
    .header-v2 .notify {
        margin-top: 8px;
    }

        .header-v2 .notify .container-v2 {
            display: flex;
            justify-content: flex-end;
        }

            .header-v2 .notify .container-v2 ul {
                display: flex;
                gap: 16px;
            }

        .header-v2 .notify .ivu-badge-status-text {
            color: white;
        }


        .header-v2 .notify li a {
            display: flex;
            justify-content: center;
            box-shadow: 0 0 4px rgba(0,0,0,0.3);
            border: 1px solid var(--disabled-color);
            overflow: hidden;
            border-radius: 4px;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
        }

        .header-v2 .notify i {
            font-size: 20px;
            margin-right: 8px;
        }

        .header-v2 .notify .title {
            line-height: 20px;
            padding: 4px 8px;
            text-shadow: 0 0 4px rgba(0,0,0,0.5);
            color: white;
            min-width: 100px;
            text-align: center;
        }

        .header-v2 .notify .num {
            text-align: center;
            background-color: white;
            line-height: 20px;
            color: var(--title-color);
            padding: 4px 8px;
            min-width: 34px;
            font-weight: 600;
        }
/* 悬浮 */

.xuanfu {
    position: fixed;
    top: 240px;
    right: 8px;
    z-index: 20;
}

    .xuanfu .ivu-btn-group {
        display: flex;
        flex-direction: column;
    }

        .xuanfu .ivu-btn-group .ivu-btn {
            width: 70px;
            height: 70px;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: center;
        }

            .xuanfu .ivu-btn-group .ivu-btn img {
                display: block;
            }

.header-v2 .header-bar1 ul li {
    display: inline-block;
    margin: 0 4px;
}

.header-v2 .header-bar1 .func a {
    color: var(--disabled-color);
}

    .header-v2 .header-bar1 .func a:hover {
        color: white;
    }

/*登录后右上角菜单*/
.header-v2 .header-bar1 .func-login {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-v2 .func-login a {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .header-v2 .func-login a i {
        padding: 0 0 0 4px;
    }

.header-v2 .header-bar1 .func-login li {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
}


.header-v2 .func-login a > div:first-child {
    display: flex;
    flex-direction: column;
    color: white;
    line-height: 20px;
    justify-content: center;
}

.header-v2 .func-login .realName {
    margin-left: 4px;
}


.header-v2 .func-login .customerCode {
    text-align: right;
    color: var(--sub-color);
    font-weight: bold;
    margin-top: -2px;
}



.header-v2 .header-bar2 {
    margin-top: 16px;
    height: 85px;
    display: flex;
}

    .header-v2 .header-bar2 .header-logo {
        width: 270px;
    }

        .header-v2 .header-bar2 .header-logo img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: left center; /* 水平左对齐，垂直居中 */
        }

.header-v2 .header-bar3 {
}

    .header-v2 .header-bar3 .container-v2 {
        justify-content: center;
    }

.header-v2 .menu {
    line-height: 40px;
    height: 40px;
    font-size: 16px;
}

    .header-v2 .menu ul {
        list-style: none;
    }

        .header-v2 .menu ul li:first-child {
            margin-left: 0;
        }

        .header-v2 .menu ul li {
            display: inline-block;
            margin: 0 24px;
        }

.header-v2 .contacts {
}

    .header-v2 .contacts .title {
        display: inline-block;
        font-weight: bold;
    }

    .header-v2 .contacts .content {
        display: inline-block;
    }



.header-v2 .header-tool {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
}

.header-search {
    flex-grow: 1;
    display: flex;
    align-items: center; /* 垂直居中 */
}

    .header-search button {
        width: 50px;
        background-color: var(--theme-color);
    }

    .header-search .search_input {
        width: 500px;
    }

.header-cart {
    display: flex;
    align-items: center; /* 垂直居中 */
    justify-content: right; /* 水平居中（可选） */
}

    .header-cart a {
    }

    .header-cart i {
        font-size: 32px;
        color: var(--theme-color);
        margin: 0;
        padding: 0;
    }

    .header-cart .title {
        font-size: 16px;
        color: var(--theme-color);
        margin: 0;
        padding: 0;
        line-height: 18px;
    }

.main-v2 {
    margin: 0;
    margin-top: 8px;
    flex: 1;
}

.footer-v2 {
    flex: 0;
    /*background: var(--background-color);*/
    background-color: var(--dark-color);
    color: white;
    box-shadow: 0 0 4px #333;
}

    .footer-v2 a {
        color: white;
    }

        .footer-v2 a:hover {
            color: gray;
        }

    .footer-v2 .bar3 .container-v2 {
        display: flex;
    }

    .footer-v2 .bar3 .facInfo {
        flex: 0 0 25%;
        flex-direction: row;
        padding: 16px;
    }

        .footer-v2 .bar3 .facInfo p strong {
            font-size: 16px;
        }

        .footer-v2 .bar3 .facInfo p:not(:first-child) {
            font-size: 14px;
            margin-top: 8px;
        }

.container-v2 {
    width: 1170px;
    margin: 0 auto;
}

.footer-v2 .bar-icp {
    text-align: center;
    padding: 16px 0 16px 0;
}

    .footer-v2 .bar-icp p:nth-child(n+2) {
        margin-top: 8px;
    }


.shadow-bottom {
    position: relative;
}

    .shadow-bottom::after {
        content: "";
        position: absolute;
        bottom: -4px;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
    }


.tanchuang {
    overflow: hidden;
    position: fixed;
    bottom: 0;
    right: 8px;
    z-index: 30;
}

    .tanchuang .panel {
        background-color: white;
        border: 1px solid var(--border-color);
        width: 300px;
        max-height: 200px;
        min-height: 50px;
    }

        .tanchuang .panel .close {
            position: absolute;
            top: 4px;
            right: 4px;
            color: white;
            cursor: pointer;
            width: 22px;
            height: 22px;
            border: 1px solid var(--disabled-color);
            background-color: var(--theme-color);
            display: flex;
            justify-content: center;
            align-items: center;
            border-radius: 4px;
            line-height: 22px;
        }

        .tanchuang .panel .content {
            color: var(--title-color);
        }

    .tanchuang .close i {
        margin-top: 1px;
    }

/*手机模式*/
.phone-model .header-v2 .header-bar3,
.phone-model .header-search,
.phone-model .header-cart,
.phone-model .tanchuang,
.phone-model .pc-item,
.phone-model .topmost {
    display: none !important;
}


.phone-model .footer-v2 .bar3 {
    display: none;
}

.phone-model .header-v2 .header-bar2 {
    height: 48px;
}

.phone-model .container-v2 {
    width: calc(100vw - 8px * 2);
    display: block;
    margin: 0 auto;
}

.phone-model .header-bar1 .container-v2 {
    display: flex;
}

.phone-model .header-v2 .header-bar2 .header-logo {
    width: auto;
    height: 100%;
    padding: 8px;
    text-align: center;
}

    .phone-model .header-v2 .header-bar2 .header-logo img {
        display: block;
    }

.phone-model .header-v2 .header-bar2 {
    margin-top: 0px;
}

.phone-model .header-bar2 .container-v2 {
    display: flex;
    justify-content: space-between;
}

.salesman {
    display: none;
}



.phone-model .salesman {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.salesman ul {
    display: flex;
}

    .salesman ul li {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        .salesman ul li:nth-child(n+2) {
            margin-left: 4px;
        }

    .salesman ul .salesmanIcon {
        font-size: 30px;
        margin-top: 2px;
    }

.salesman li div:first-child {
    display: flex;
    justify-content: space-between;
    text-align: right;
    font-size: 12px;
    line-height: 12px;
    font-weight: 600;
}

    .salesman li div:first-child small {
        margin-left: 4px;
        color: var(--content-color);
    }

.salesman div:nth-child(2) {
    text-align: right;
    line-height: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--theme-color);
}

.phone-model .xuanfu {
    display: none;
}

.phone-model .bar-icp {
    font-size: 10px;
    padding: 16px 0 8px 0;
}

.phone-model .notify {
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    margin: 0;
    box-shadow: 0 0 4px #ccc;
    background-color: white;
    width: 100%;
}

.phone-model .header-v2 .notify .title {
    min-width: 72px;
}

    .phone-model .header-v2 .notify .title i {
        display: none;
    }

.phone-model .header-v2 .notify .container-v2 {
    justify-content: center;
}

    .phone-model .header-v2 .notify .container-v2 ul {
        gap: 4px;
        justify-content: space-between;
        flex: 1;
    }

.phone-model .ivu-back-top {
    bottom: 100px !important;
    right: 8px !important;
}
