        /* pc  */
/* .shopping-cart-box {
    position: static !important;
    width: 30px !important;
    height: 30px !important;
    margin-left: 0px !important;
    border-radius: 0px 30px 30px 0px;
    z-index: 1200;
    right: unset;
} */
    :root {
        --header-height:138px;
    }

    /* 移动端，例如小于768px */
    @media (max-width:1024px) {
        :root {
            --header-height: 100px;
        }
    }

    #z-app {
        padding-top: var(--header-height) !important;
    }
    .header_item_tab:hover {
        background-color: var(--primary-color);
        color: #000;
    }
    .header_item_tab a :hover {
        color: #000;
    }
  
    .header_my_account {
        font-weight: 500;
        font-size: 14px;
        color: #FFAB00;
        height: 32px;
        padding: 6px 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #292b31;
        box-sizing: border-box;
        border-radius: 2px 2px 2px 2px;
    }
    .header_my_account a:hover {
        color: #000;
    }
    .custom_icon {
        width: 18px;
        height: 18px;
        background: #ffaa00;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #000;
    }

    .custom_icon em {
        width: 100%;
        height: 100%;
        font-size: 10px;
        transform: scale(0.8);
        border-radius: 50%;
        color: #000;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid #000;

    }

    .header-nav.header-nav li a:hover .custom_icon {
        background: #000;
    }

    .header-nav.header-nav li a:hover em {
        color: #ffaa00;
        border: 1px solid #ffaa00;
    }


    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    a {
        text-decoration: none;
        color: var(--primary-color);
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9999;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        background-color: #1D2026;
        height: fit-content;
    }



    .header-top {
        max-width: 1200px;
        height: 104px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .logo-wrap {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: center;
        flex-shrink: 0;
    }

    .logo-wrap > a {
        flex-shrink: 0;
        display: block;
        height: 66px;

    }
    .logo-wrap > a img {
        width: 100%;
        height: 100%;
    }

    .logo-text {
        font-size: 20px;
        font-weight: bold;
        color: #fff;
    }

    .logo-badge {
        display: inline-block;
        color: #ffaa00;
        font-size: 20px;
        flex-shrink: 0;
    }



    /* 右上角 */
    .header-right {
        display: flex;
        gap: 12px;
        align-items: center;
        flex: 0 0 auto;
    }

    .lang-currency {
        background: #333742;
        color: #ffaa00;
        border: none;
        padding: 10px 16px;
        border-radius: 6px;
        font-size: 18px;
    }

    .link-account {
        color: #ffaa00;
        text-decoration: none;
        font-size: 18px;
        padding: 10px 16px;
    }

    .btn-cart {
        color: var(--primary-color) ;
        font-weight: bold;
        text-decoration: none;
        padding: 7px 8px;
        border-radius: 2px;
        height: 32px;
        display: flex;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        gap: 4px;
        cursor: pointer;
         background: #292b31;
        font-weight: 500;
        font-size: 14px;
        position: relative;

    }

    /* 头部购物车角标：数量 */
    .cart__num {
        position: absolute;
        top: -8px;
        right: -8px;
        width: auto;
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        box-sizing: border-box;
        border-radius: 9px;
        background: #F25F06;
        color: #fff;
        font-size: 11px;
        line-height: 17px;
        font-weight: 700;
        text-align: center;
        margin-left: 0;
        display: none;
    }

    /* 加购飞入到位时图标的弹跳反馈 */
    .cart-pop {
        animation: cartPop .4s ease;
    }

    @keyframes cartPop {
        0%   { transform: scale(1); }
        40%  { transform: scale(1.25); }
        100% { transform: scale(1); }
    }

    /* 头部购物车抽屉：z_main.css 里 .z-cart_backdrop 只有 display:none，全站没有 .show 的显影规则，这里补上 */
    .z-cart_backdrop.show {
        display: flex;
        z-index: 99999;
    }

    @media (min-width: 1025px) {
        .z-cart_backdrop {
            position: fixed;
            top: calc(var(--header-height) + 4px - 80px);
            right: max(16px, calc((100vw - 1200px) / 2 + 16px));
            left: auto;
            margin: 0;
            transform: none;
            z-index: 1400;
        }
    }

    /* ========== 导航栏 header-nav ========== */
    .header-nav {
        width: 100%;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #2F333E;

    }

    .custom_nav {
        height: 100%;
        display: flex;
        width: 1200px;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }
    .custom_nav li a  {
        font-weight: 500;
        font-size: 16px;
        color: #FFAB00;
    }
    .header-nav li {
        color: #ffaa00;
        text-decoration: none;
        font-size: 14px;
        height: 100%;
    }
        .header-nav li:first-of-type a {
       padding-left: 0;
    }

    .header-nav li a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap:4px;
        height: 100%;
        padding: 0 12px;

    }

    .header-nav li a.active {
        background: #ffaa00;
        color: #000;
    }

    .header-nav li a:focus {
        background: #ffaa00;
        color: #000;
    }

    nav.header-nav li a:hover {
        background: #ffaa00 !important;
    }

    .header-nav li a:hover {
        color: #000 !important;
    }

    .header-promo {
        background: #ffaa00;
        color: #000;
        font-size: 14px;
        font-weight: bold;
        height: 40px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .header-promo a {
        color: #0066cc;
        text-decoration: underline;
    }

    /* ========== 移动端 / iPad 顶栏（<=1024px） ========== */
    .mb-header {
        display: none;
        width: 100%;
    }

    @media (max-width: 1024px) {

        .header-top,
        .header-nav {
            display: none !important;
        }

        .header-promo {
            height: auto;
            min-height: 32px;
            padding: 6px 12px;
            font-size: 12px;
            text-align: center;
            line-height: 1.4;
        }

        .header-promo .container {
            width: 100%;
            padding: 0 12px;
            box-sizing: border-box;
        }

        .mb-header {
            display: block;
            width: 100%;
        }

        /* 第一行：菜单 + logo + 用户 */
        .mb-header .masthead-bottom {
            display: flex;
            align-items: center;
            height: 56px;
            padding: 0 12px;
            background: #222630;
        }

        .mb-header .masthead-bottom .menu {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            cursor: pointer;
            width: 26px;
            height: 26px;
            justify-content: center;
            padding:0 4px 4px;
            box-sizing: border-box;
            background: #2F333E;
            border-radius: 2px 2px 2px 2px;
            height: fit-content;
            margin-right: 4px;
            
        }

        .mb-header .masthead-bottom .menu .icon {
            display: inline-block;
            /* 对抗 z_main.css: .masthead-bottom .icon{display:none} */
            font-size: 16px;
            color: #ffaa00;
            
        }

        .mb-header .masthead-bottom .logo {
            flex: 1;
            min-width: 0;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mb-header .masthead-bottom .logo img {
            height: 32px;
            width: auto;
        }

        .mb-header .masthead-bottom .sign_icon {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .mb-header .masthead-bottom .sign_icon .icon {
            display: inline-block;
            /* 对抗 z_main.css: .masthead-bottom .icon{display:none} */
            font-size: 24px;
            color: #ffaa00;
        }

        .mb-header .masthead-bottom .pull-right {
            flex: 0 0 auto;
            display: flex;
            align-items: center;
            margin-left: 8px;
        }

        /* 覆盖 gift.gif 内联的 height:100px */
        .mb-header .masthead-bottom .pull-right img {
            height: 40px !important;
            width: auto;
        }

        /* 移动端头部购物车图标：与相邻 .menu / .sign_icon 同样式（对抗遗留 .masthead-bottom .icon{display:none}） */
        .mb-header .masthead-bottom .mb-cart {
            flex: 0 0 auto;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: 8px;
            color: #ffaa00;
        }

        .mb-header .masthead-bottom .mb-cart .cart__num {
            top: -6px;
            right: -6px;
        }

        /* 第二行：4 个 tabbar */
        .mb-header .tabbar.mobile_nav {
            position: static;
            display: flex;
            align-items: center;
            justify-content: space-around;
            padding: 10px 8px;
            background: #2a2e3a;
        }

        .mb-header .tabbar .tabbar_item {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            gap: 4px;
        }

        .mb-header .tabbar .tabbar_icon {
            height: 27px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 4px;
            color: #ffaa00;
        }



        .mb-header .tabbar .tabbar_icon .appicon-language,
        .appicon-currency {
            height: 26px;
            width: 26px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #f2a506;
            border-radius: 50%;
            white-space: nowrap;
            font-size: 13px;
        }

        .mb-header .tabbar .appicon-language,
        .mb-header .tabbar .appicon-currency {
            font-size: 14px;
            font-weight: bold;
            color: #ffaa00;
        }
    }
    @media (max-width: 768px) {
        .mb-header .masthead-bottom .logo {
           height: 24px !important;
           flex: 0 0 auto;
        }
        button.lc-modal-trigger {
            margin-left: auto;
        }
        .icon.m-iconfont.icon-guanbi2 {
            padding: 3px 2px 0 ;
            font-size: 14px !important;
           
        }

    }

    /* 购物车  */
        .icon_font {
        font-size: 20px !important;
    }

    /* 购物车抽屉右上角关闭按钮 */
    .z-cart_dialog .z-cart_close {
        position: absolute;
        top: 4px;
        right: 4px;
        z-index: 5;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, .12);
        color: #fff;
        cursor: pointer;
        transition: .2s;
    }

    .z-cart_dialog .z-cart_close:hover {
        background: rgba(255, 255, 255, .28);
    }

    .z-cart_dialog .z-cart_close svg {
        display: block;
    }
    .nav_labels {
        font-size: 12px;
        color: #FFFFFF;
        text-align: left;
        font-style: normal;
        text-transform: none;
    }
