/* 全站公共样式：站点头部（header.html） */
.modal{
        z-index:999999;
    }

    #header .cart-link {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #333;
        white-space: nowrap;
        transition: color .2s;
    }
    #header .cart-link:hover {
        color: #2265b3;
    }
    #header .cart-icon {
        display: block;
        flex: none;
    }
    #header .cart-link.icon-only {
        position: relative;
        gap: 0;
    }
    #header .cart-link.icon-only .cart-badge {
        position: absolute;
        top: -6px;
        right: -6px;
        min-width: 15px;
        height: 15px;
        padding: 0 4px;
        font-size: 10px;
        line-height: 15px;
        border: 1px solid #fff;
    }
    #header .mobile-console {
        display: inline-flex;
        align-items: center;
        padding: 4px 10px;
        font-size: 13px;
        line-height: 1.4;
        color: #2265b3;
        background: rgba(34, 101, 179, .08);
        border: 1px solid rgba(34, 101, 179, .25);
        border-radius: 8px;
        white-space: nowrap;
        transition: color .2s, background .2s;
    }
    #header .mobile-console:hover {
        color: #fff;
        background: #2265b3;
        text-decoration: none;
    }
    #header .cart-badge {
        display: inline-block;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 12px;
        font-weight: 600;
        line-height: 18px;
        text-align: center;
        color: #fff;
        background: #ee2e2c;
        border-radius: 9px;
    }
    #header .pc-style .t-kzt {
        display: inline-flex;
        align-items: center;
    }
    @media (min-width: 992px) {
        /* .pc-style 有 8px 的 flex gap，左侧外边距补 10px，使竖线左右各 18px、间距一致 */
        #header .pc-style .t-kzt::before {
            margin: 0 18px 0 10px;
        }
    }
    @media (max-width: 991.98px) {
        #header .navbar-brand {
            font-size: 22px !important;
        }
        #header .brand-suffix {
            display: none !important;
        }
        #header .pc-style {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 6px;
        }
        #header .pc-style .t-kzt::before {
            /* .pc-style 有 6px 的 flex gap，左侧外边距补 12px，使竖线左右各 18px */
            margin: 0 18px 0 12px;
        }
        #header .cart-badge {
            min-width: 16px;
            height: 16px;
            line-height: 16px;
            font-size: 11px;
        }
    }

/* 统计代码占位隐藏（layout.html / layout_user.html 共用） */
.tongji a{
            display: none;
        }
        .tongji div{
            display: none;
        }
