/* ========== 全局重置 ========== */
@font-face {
  font-family: "Noto Sans SC";
  src: url("../../fonts/NotoSansSC-DemiLight.otf") format("otf");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
*{margin:0;padding:0;box-sizing:border-box;font-family:"Noto Sans SC",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}
a{text-decoration:none;color:inherit}
ul{list-style:none}

/* ========== 视差滚动：内容覆盖Banner ========== */
.yl-banner-spacer{
    height:100vh;
    position:relative;
    z-index:1;
}
.page-body-shell{
    position:relative;
    z-index:2;
    background:#fff;
}

/* ========== 面包屑导航 - 自适应（电脑端默认隐藏） ========== */
.yl-breadcrumb{
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    z-index:10;
    background:rgba(0,0,0,0.6);
    opacity:0;
    visibility:hidden;
    transition:opacity .4s ease, visibility .4s ease;
    display:none;
}
.yl-breadcrumb.visible{
    opacity:1;
    visibility:visible;
}
.breadcrumb-inner{
    max-width:1800px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:50px;
    position:relative;
    padding:0;
}
.breadcrumb-tag{
    position:absolute;
    left:0;
    bottom:0;
    background:#00a79d;
    color:#fff;
    font-size:16px;
    font-weight:600;
    padding:0 28px;
    height:50px;
    line-height:50px;
    letter-spacing:2px;
}
.breadcrumb-path{
    margin-left:auto;
    color:#fff;
    font-size:13px;
    padding-left:180px;
}
.breadcrumb-path a{
    color:#fff;
    transition:color .2s;
}
.breadcrumb-path a:hover{
    color:#00a79d;
}
.breadcrumb-path .sep{
    margin:0 8px;
    color:#fff;
}
.breadcrumb-path .current{
    color:#00a79d;
}

/* ========== 头部导航 - 自适应 ========== */
.yl-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:clamp(60px, 8vh, 80px);
    z-index:9999;
    background:transparent;
    transition:all .3s ease;
}
.yl-header.scrolled,.yl-header:hover{
    background:rgba(255,255,255,.98);
}
.header-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:100%;
    padding:0 4vw;
    position:relative;
    width:100%;
}
.logo{
    display:block;
    height:clamp(35px, 5vh, 45px);
    width:clamp(140px, 15vw, 180px);
    position:relative;
    z-index:10;
    flex-shrink:0;
}
.logo img{
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    object-fit:contain;
    transition:opacity .3s ease;
}

/* ========== 导航栏 ========== */
.nav-wrapper{
    display:flex;
    justify-content:flex-end;
    flex:1;
    margin-left:clamp(10px, 2vw, 20px);
    padding-right:clamp(100px, 12vw, 200px);
    height:100%;
}
.nav-menu{
    display:flex;
    align-items:center;
    height:100%;
}
.nav-item{
    position:static;
    height:100%;
    display:flex;
    align-items:center;
    margin:0 clamp(2px, 0.5vw, 5px);
}
.nav-link{
    display:flex;
    align-items:center;
    height:100%;
    padding:0 clamp(15px, 2.5vw, 30px);
    font-size:clamp(14px, 1.2vw, 18px);
    color:#fff;
    transition:color .3s ease;
    white-space:nowrap;
    position:relative;
}
.yl-header.scrolled .nav-link,.yl-header:hover .nav-link{
    color:#333;
}
/* 修复：hover及当前页面高亮为青色 */
.nav-wrapper .nav-menu .nav-item:hover .nav-link,
.nav-wrapper .nav-menu .nav-item .nav-link.active {
    color:#00a79d;
}
.nav-link::after{
    content:'';
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:0;
    height:1px;
    background:#00a79d;
    transition:width .3s ease;
}
.nav-item:hover .nav-link::after{
    width:60%;
}
/* 当前页面下划线固定显示 */
.nav-wrapper .nav-menu .nav-item .nav-link.active::after,
.nav-wrapper .nav-menu .nav-item.active .nav-link::after {
    width:60%;
}

/* ========== 二级导航下拉 ========== */
.dropdown-level2{
    position:fixed;
    top:clamp(60px, 8vh, 80px);
    left:0;
    width:100%;
    background:rgba(255,255,255,1);
    box-shadow:0 3px 10px rgba(0,0,0,.1);
    opacity:0;
    visibility:hidden;
    transition:all .5s ease;
    padding:clamp(20px, 3vh, 30px) 4vw;
    z-index:9998;
}
.nav-item:hover .dropdown-level2{
    opacity:1;
    visibility:visible;
}
.dropdown-inner{
    max-width:min(1800px, 95vw);
    width:100%;
    margin:0 auto;
    display:flex;
    justify-content:center;
    gap:clamp(40px, 4vw, 80px);  /* 适中：避免栏目少太空旷，栏目多太拥挤 */
    align-items:flex-start;
    padding:0 clamp(10px, 2vw, 20px);
}
.dropdown-left{
    width:clamp(200px, 22vw, 280px);
    flex-shrink:0;
    margin-right:0;  /* 移除：与 gap 重复 */
}
.dropdown-left-title{
    font-size:clamp(16px, 1.5vw, 18px);
    font-weight:600;
    margin-bottom:12px;
    padding-bottom:8px;
    color:#333;
}
.dropdown-left img{
    width:100%;
    height:clamp(160px, 20vh, 200px);
    object-fit:cover;
    border-radius:4px;
}
.dropdown-right{
    display:flex;
    gap:clamp(20px, 2vw, 40px);  /* 减小：给栏目组留出更多横向空间 */
    flex-wrap:nowrap;            /* 恢复：栏目再多也不换行 */
    justify-content:flex-start;  /* 内容从左排列，溢出时向右扩展 */
}
.level2-group{
    min-width:clamp(60px, 6vw, 100px);  /* 减小：栏目多时允许适度压缩 */
}
.level2-item{
    margin-bottom:6px;
    font-size:clamp(16px, 1.6vw, 18px);
    color:#000;
    font-weight:600;
}
.level2-item a{color:#000;transition:color .2s}
.level2-item a:hover{color:#00a79d}
.level2-intro{
    font-size:13px;
    color:#999;
    line-height:1.5;
    margin-bottom:12px;
    padding-bottom:12px;
    white-space:nowrap;
    border-bottom:1px solid #e8e8e8;
}
.level3-group{
    display:flex;
    flex-direction:column;
    gap:16px;
    padding-top:8px;
    max-height:320px;
    overflow-y:auto;
    padding-right:8px;
}
.level3-item{
    font-size:clamp(14px, 1.1vw, 16px);
    color:#666;
}
.level3-item a{color:#666;transition:color .2s}
.level3-item a:hover{color:#00a79d}
.product-list-group{
    display:flex;
    flex-direction:column;
    gap:16px;
    padding-top:8px;
    max-height:320px;
    overflow-y:auto;
    padding-right:8px;
}
.product-list-item{
    font-size:clamp(13px, 1.1vw, 15px);
    color:#666;
    line-height:1.5;
}
.product-list-item a{color:#666;transition:color .2s}
.product-list-item a:hover{color:#00a79d}

/* 自定义滚动条 */
.level3-group::-webkit-scrollbar,
.product-list-group::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.level3-group::-webkit-scrollbar-track,
.product-list-group::-webkit-scrollbar-track {
    background: transparent;
}
.level3-group::-webkit-scrollbar-thumb,
.product-list-group::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 2px;
}
.level3-group:hover::-webkit-scrollbar-thumb,
.product-list-group:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 167, 157, 0.3);
}
.level3-group::-webkit-scrollbar-thumb:hover,
.product-list-group::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 167, 157, 0.6);
}
.level3-group,
.product-list-group {
    scrollbar-width: none;
}
.level3-group:hover,
.product-list-group:hover {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 167, 157, 0.3) transparent;
}

/* ========== 语言切换按钮 ========== */
.lang-switch{
    position:absolute;
    right:0;
    top:0;
    width:clamp(80px, 8vw, 100px);
    height:100%;
    background:#00a79d;
    cursor:pointer;
    z-index:10000;
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    transition:background .3s;
}
.lang-switch:hover{background:#00a79d}
.lang-switch .globe-icon{
    width:clamp(22px, 2.5vw, 28px);
    height:clamp(22px, 2.5vw, 28px);
    fill:#fff;
}
.lang-switch .lang-text{
    color:#fff;
    font-size:clamp(10px, 0.9vw, 12px);
    letter-spacing:1px;
    font-weight:500;
}
.lang-dropdown{
    position:absolute;
    top:100%;
    right:0;
    width:100%;
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
    opacity:0;
    visibility:hidden;
    transition:all .3s ease;
    z-index:10001;
    overflow:hidden;
}
.lang-switch:hover .lang-dropdown{
    opacity:1;
    visibility:visible;
}
.lang-dropdown-item{
    display:block;
    padding:12px 0;
    text-align:center;
    font-size:clamp(12px, 1.1vw, 14px);
    color:#333;
    border-bottom:1px solid #f0f0f0;
    transition:all .2s;
    cursor:pointer;
}
.lang-dropdown-item:last-child{border-bottom:none}
.lang-dropdown-item:hover{background:#00a79d;color:#fff}
.lang-dropdown-item.active{background:#00a79d;color:#fff}

/* ========== Banner区域 - 自适应（视差滚动：fixed定位） ========== */
.yl-banner{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;
    background:#1a1a2e;
    overflow:hidden;
    z-index:1;
}
.yl-banner-bg{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}
.yl-banner-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.3);
    z-index:1;
}

/* 滚动提示 - 底部中央 */
.scroll-hint{
    position:absolute;
    bottom:clamp(60px, 8vh, 90px);
    left:50%;
    transform:translateX(-50%);
    z-index:10;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    cursor:pointer;
    animation:scrollHintFloat 2s ease-in-out infinite;
}
.scroll-hint-text{
    font-size:clamp(18px, 1.2vw, 14px);
    color:#fff;
    letter-spacing:2px;
    text-shadow:0 1px 4px rgba(0,0,0,0.5);
    white-space:nowrap;
}
.scroll-hint-icon{
    width:clamp(20px, 2vw, 26px);
    height:clamp(32px, 3.5vw, 40px);
}
.scroll-hint-icon svg{
    width:100%;
    height:100%;
    display:block;
}
.scroll-hint-icon .wheel{
    animation:scrollWheel 1.5s ease-in-out infinite;
    transform-origin:center;
}
@keyframes scrollHintFloat{
    0%,100%{transform:translateX(-50%) translateY(0)}
    50%{transform:translateX(-50%) translateY(8px)}
}
@keyframes scrollWheel{
    0%{transform:translateY(0); opacity:1}
    80%{transform:translateY(6px); opacity:0.3}
    100%{transform:translateY(0); opacity:1}
}

/* ========== 移动端右侧图标组 ========== */
.mobile-right-icons{
    display:none;
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    align-items:center;
    gap:18px;
    z-index:10002;
}
.mobile-right-icons svg{
    width:22px;
    height:22px;
    fill:#00a79d;
    cursor:pointer;
}
/* ========== 移动端语言下拉 ========== */
.mobile-lang-dropdown{
    display:none;
    position:absolute;
    top:100%;
    right:0;
    width:120px;
    background:#fff;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
    z-index:10003;
    border-radius:4px;
    overflow:hidden;
}
.mobile-lang-dropdown.active{display:block}
.mobile-lang-item{
    display:block;
    padding:12px 0;
    text-align:center;
    font-size:14px;
    color:#333;
    border-bottom:1px solid #f0f0f0;
    transition:all .2s;
    cursor:pointer;
}
.mobile-lang-item:last-child{border-bottom:none}
.mobile-lang-item:hover,
.mobile-lang-item.active{
    background:#00a79d;
    color:#fff;
}

/* ========== 汉堡菜单按钮 ========== */
.mobile-menu-btn{
    display:none;
    position:absolute;
    left:15px;
    top:50%;
    transform:translateY(-50%);
    width:24px;
    height:18px;
    cursor:pointer;
    z-index:10002;
    flex-direction:column;
    justify-content:space-between;
}
.mobile-menu-btn span{
    display:block;
    width:100%;
    height:2px;
    background:#333;
    transition:all .3s;
}
.mobile-menu-btn span:nth-child(2){width:70%;margin-right:auto}

/* ========== 移动端全屏菜单 ========== */
.mobile-nav-panel{
    display:none;
    position:fixed;
    top:60px;
    left:0;
    width:100%;
    height:calc(100% - 60px);
    background:#fff;
    z-index:9990;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
}
.mobile-nav-panel.active{display:block}
.mobile-nav-close{
    position:absolute;
    top:-50px;
    left:15px;
    width:36px;
    height:36px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    color:#333;
    cursor:pointer;
    z-index:9991;
}
.mobile-nav-list{
    padding:0;
}
.mobile-nav-item{
    border-bottom:1px solid #f0f0f0;
}
.mobile-nav-link{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:16px 20px;
    font-size:16px;
    color:#333;
    background:#fff;
}
.mobile-nav-arrow{
    width:20px;
    height:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:transform .3s;
    font-size:16px;
    color:#999;
}
.mobile-nav-arrow.open{transform:rotate(90deg)}
.mobile-nav-sub{
    display:none;
    background:#f8f8f8;
    padding:0;
}
.mobile-nav-sub.active{display:block}
.mobile-nav-sub a{
    display:block;
    padding:12px 20px 12px 36px;
    font-size:14px;
    color:#666;
    
}
.mobile-nav-sub a:last-child{border-bottom:none}

/* 三级栏目导航 */
.mobile-sub-item{border-bottom:none}
.mobile-sub-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:12px 20px 12px 36px;
    background:#f8f8f8;
    border-bottom:1px solid #eee;
}
.mobile-sub-item:last-child .mobile-sub-header{border-bottom:none}
.mobile-sub-link{
    display:block;
    font-size:14px;
    color:#666;
    flex:1;
    text-decoration:none;
    border-bottom:none;
    padding:0;
}
.mobile-nav-level3{
    background:#f0f0f0;
    display:none;
}
.mobile-nav-level3.active{display:block}
.mobile-nav-level3 a{
    padding:10px 20px 10px 52px;
    font-size:13px;
    color:#888;
    border-bottom:1px solid #e5e5e5;
}
.mobile-nav-level3 a:last-child{border-bottom:none}

/* ========== 移动端响应式 ========== */
@media(max-width:1024px){
    .nav-wrapper{padding-right:clamp(80px, 10vw, 100px)}
    .dropdown-inner{flex-direction:column;align-items:center}
    .dropdown-left{width:100%;max-width:300px;margin-bottom:20px}
    .dropdown-right{width:100%;justify-content:center;flex-wrap:wrap}
}
@media(max-width:768px){
    .yl-header{height:60px}
    .header-inner{padding:0 15px}
    .logo{height:35px;width:140px;position:absolute;left:50%;transform:translateX(-50%)}
    .nav-wrapper{display:none}
    .lang-switch{display:none !important}
    .dropdown-level2{top:60px}
    .yl-banner{height:50vh}
    .yl-banner-spacer{height:50vh}
    .yl-breadcrumb{display:block;background:#fff}
    .scroll-hint{bottom:50px}
    .breadcrumb-inner{height:42px;padding:0 12px}
    .breadcrumb-tag{display:none}
    .breadcrumb-path{margin-left:0;padding-left:0;font-size:13px;color:#666}
    .breadcrumb-path a{color:#666}
    .breadcrumb-path .sep{color:#ccc;margin:0 6px}
    .breadcrumb-path .current{color:#00a79d}
    .mobile-menu-btn{display:flex}
    .mobile-menu-btn span{background:#fff}
    .mobile-menu-btn span:nth-child(2){width:70%;margin-right:auto}
    .mobile-right-icons{display:flex !important}
    .mobile-right-icons svg{fill:#fff}
    .yl-header.scrolled .mobile-menu-btn span{background:#333}
    .yl-header.scrolled .mobile-right-icons svg{fill:#00a79d}
}