/* ====================== 全新头部独立样式 无旧类名污染 ====================== */
a{text-decoration: none}
.new-header-wrap * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.new-header-wrap ul, .new-header-wrap li {
    list-style: none;
}
.new-header-wrap a {
    text-decoration: none;
    transition: all 0.28s ease;
}
.new-header-wrap img {
    display: block;
    max-width: 100%;
}
.new-header-wrap {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
}
/* 全局统一容器 最大1530px，左右紧贴容器边界无留白 */
.new-container {
    width: 100%;
    max-width: 1530px;
    margin: 0 auto;
    padding: 0 18px;
}

/* 顶部栏：背景#303344，PC端显示，移动端完全隐藏 */
.new-top-bar {
    width: 100%;
    background-color: #303344;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    padding: 12px 0;
}
.new-top-bar .new-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* 左侧联系信息：邮箱+WhatsApp */
.new-top-left {
    display: flex;
    align-items: center;
    gap: 48px;
}
.new-top-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.new-top-item i {
    font-size: 18px;
}
.new-top-item a {
    color: #fff;
   
}
.new-top-item a:hover {
    color: #f7a600;
}
/* 右侧仅保留多语言下拉 */
.new-top-right {
    display: flex;
    align-items: center;
}
/* 多语言下拉模块 带地球图标+实心下箭头 */
.new-lang-box {
    position: relative;
    cursor: pointer;
    z-index: 999;
}
.new-lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
}
.new-lang-trigger i.ri-earth-line {
    font-size: 18px;
}
/* 语言右侧实心向下箭头 */
.new-lang-trigger i.ri-arrow-down-s-fill {
    font-size: 16px;
}
.new-lang-trigger img {
    width: 22px;
    height: 16px;
    object-fit: cover;
}
.new-lang-drop {
    position: absolute;
    top: 100%;
    right: 0;
    width: 130px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.28s ease;
    z-index: 9999;
}

.new-lang-box:hover .new-lang-drop {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.new-lang-drop li a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: #333;
    font-size: 13px;
}
.new-lang-drop li a:hover {
    background: #f7a600;
    color: #fff;
}

/* 主导航栏 默认白色半透明背景【默认文字黑色】，滚动后切换深色固定文字变白 */
.new-nav-bar {
    width: 100%;
    padding: 22px 0;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    /* 默认白色半透底色 */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(3px);
}
/* Logo 默认文字黑色 */
.new-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
}
/* PC一级菜单默认文字黑色 */
.new-pc-nav > ul > li > a {
    color: #000;
}
/* 移动端汉堡图标默认黑色 */
.new-mobile-menu-btn {
    color: #000;
}

/* 滚动添加fixed-header类，导航固定顶部跟随页面，切换深色背景+文字白色 */
.new-header-wrap.fixed-header .new-nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(6px);
    padding: 12px 0;
}
/* 滚动后logo文字变白 */
.new-header-wrap.fixed-header .new-logo {
    color: #fff;
}
/* 滚动后菜单文字变白 */
.new-header-wrap.fixed-header .new-pc-nav > ul > li > a {
    color: #ffffff;
}
/* 滚动后汉堡图标变白 */
.new-header-wrap.fixed-header .new-mobile-menu-btn {
    color: #fff;
}

.new-nav-bar .new-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* Logo区域 */
.new-logo img {
    height: 68px;
    transition: height 0.3s ease;
}
.new-logo-text {
    font-size: 26px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    transition: font-size 0.3s ease;
}
/* 滚动固定后缩小logo */
.new-header-wrap.fixed-header .new-logo img {
    height: 52px;
}
.new-header-wrap.fixed-header .new-logo-text {
    font-size: 22px;
}

/* PC导航菜单 */
.new-pc-nav ul {
    display: flex;
    align-items: center;
    gap: 0;
}
.new-pc-nav > ul > li {
    position: relative;
    padding: 0 23px;
}
.new-pc-nav > ul > li > a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    padding: 10px 0;
    white-space: nowrap;
}
/* PC一级菜单hover 完整黑色背景+白色文字 */
.new-pc-nav > ul > li:hover {
    background: #000000;
}
.new-pc-nav > ul > li:hover > a {
    color: #ffffff;
}
/* 倒立实心三角向下箭头 */
.new-pc-nav > ul > li.has-sub > a::after {
    content: "\ea4e";
    font-family: "remixicon";
    font-size: 12px;
    transition: transform 0.28s ease;
}
/* 默认下拉箭头黑色 */
.new-pc-nav > ul > li.has-sub > a::after {
    color: #000;
}
/* 滚动后下拉箭头变白 */
.new-header-wrap.fixed-header .new-pc-nav > ul > li.has-sub > a::after {
    color: #fff;
}
.new-pc-nav > ul > li.has-sub:hover > a::after {
    transform: rotate(180deg);
    color: #fff;
}

/* 二级下拉跟随一级hover，黑色背景+白色文字，竖排单列 */
.new-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    background: #000;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    margin-top: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.28s ease;
    z-index: 99;
    display: block !important;
}
.new-sub-menu li {
    display: block !important;
    width: 100%;
}
.new-pc-nav > ul > li.has-sub:hover .new-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.new-sub-menu li a {
    display: block;
    padding: 10px 18px;
    color: #fff;
    font-size: 14px;
}
.new-sub-menu li a:hover {
    background: #f7a600;
    color: #fff;
    padding-left: 22px;
}

/* 询价按钮PC端固定宽度200px */
.new-quote-btn {
    background-color: #27c73e;
    color: #fff;
    font-size: 15px;
    width: 200px;
    padding: 12px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.new-header-wrap.fixed-header .new-quote-btn {
    width: 170px;
    padding: 10px 8px;
    font-size: 14px;
}
.new-quote-btn:hover {
    background: #1fb334;
    box-shadow: 0 6px 16px rgba(39, 199, 62, 0.25);
    transform: translateY(-2px);
}

/* 移动端汉堡按钮 */
.new-mobile-menu-btn {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

/* 滚动后隐藏顶部栏 */
.new-header-wrap.fixed-header .new-top-bar {
    display: none;
}

/* 移动端侧滑遮罩+侧边栏 */
.new-mask-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.new-mask-layer.show-mask {
    opacity: 1;
    visibility: visible;
}
.new-mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    z-index: 99999;
    transition: right 0.3s ease;
    padding: 40px 25px;
    overflow-y: auto;
}
.new-mobile-sidebar.show-sidebar {
    right: 0;
}
.new-sidebar-close {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
}
.new-mobile-nav {
    margin-top: 50px;
}
.new-mobile-nav li {
    border-bottom: 1px solid #eee;
}
.new-mobile-nav li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    color: #333;
    font-size: 16px;
}
.new-mobile-nav li a:hover {
    color: #f7a600;
}
.new-mobile-sub {
    display: none;
    padding-left: 12px;
}
.new-mobile-sub li a {
    font-size: 14px;
    padding: 12px 0;
}
.new-mobile-quote {
    margin-top: 35px;
}
.new-mobile-quote a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 0;
    background: #27c73e;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
}

/* ====================== 自适应媒体查询 ====================== */
/* 平板992px以下：隐藏PC导航、询价按钮，显示汉堡，彻底隐藏顶部栏 */
@media screen and (max-width: 992px) {
    .new-top-bar {
        display: none !important;
    }
    .new-pc-nav, .new-quote-btn {
        display: none;
    }
    .new-mobile-menu-btn {
        display: block;
    }
    .new-logo img {
        height: 56px;
    }
    .new-logo-text {
        font-size: 22px;
    }
    .new-nav-bar {
        padding: 18px 0;
        display: block !important;
        z-index: 99;
    }
}
/* 手机768px以下 */
@media screen and (max-width: 768px) {
    .new-nav-bar {
        padding: 14px 0;
        display: block !important;
    }
    .new-logo img {
        height: 46px;
    }
    .new-logo-text {
        font-size: 19px;
    }
    .new-container {
        padding: 0 12px;
    }
}