/* ============================================
   PbootCMS 头部导航栏样式 - PC端/平板端/移动端
   KEYENCE 式结构：品牌区(左) + utility/nav(右) + 大搜索区
   品牌色 #c00000
   ============================================ */

/* ---------- 重置 ---------- */
.clear { clear: both; }

/* ---------- 通用图标 ---------- */
.icon-wechat {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c00000'%3E%3Cpath d='M8.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zm5 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM12 2C6.48 2 2 6.06 2 11c0 2.64 1.26 5 3.24 6.56L4 22l4.8-2.4c.98.26 2.02.4 3.1.4h.05c5.52 0 10-4.06 10-9S17.52 2 12 2zm0 16c-.68 0-1.34-.08-1.98-.22l-.28-.08-2.94 1.47.5-2.64-.18-.28A7.05 7.05 0 0 1 5 11c0-3.86 3.14-7 7-7s7 3.14 7 7-3.14 7-7 7z'/%3E%3C/svg%3E");
}
.icon-phone {
    display: inline-block;
    width: 20px;
    height: 20px;
    align-items: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231565c0'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 .98-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25.98l-2.2 2.2z'/%3E%3C/svg%3E");
    vertical-align: middle;
    margin:0 6px;
}
.icon-search {
    display: inline-block;
    width: 18px;
    height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ccc'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.icon-global {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23666'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E") center/contain no-repeat;
    vertical-align: middle;
    margin-right: 4px;
}

/* ============ PC端/平板端 头部 ============ */
/* 未滚动：随页面上翻；滚动超过一屏后：单行悬浮 */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}
.header.is-scrolled {
    position: fixed;
    top: 0;
}

/* 头部主体：白色背景 */
.header-body {
    padding: 16px 20px 24px;
    background: #fff;
    transition: padding 0.25s ease;
    max-height: 120px;
}

/* 头部内容容器：默认 logo 左 + 菜单右撑满（原始布局）；
   当菜单实际宽度足够宽时 body.is-wide-menu 下 logo + 菜单整体居中 */
.header-center {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* 菜单足够宽（如翻译变长）时：整体居中，logo 自动左移补偿 */
body.is-wide-menu .header-center {
    justify-content: center;
}

/* ---------- 左侧品牌区 ---------- */
.header-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* PC 端隐藏汉堡按钮与电话按钮 */
.header-menuButton,
.header-phoneButton {
    display: none;
}

.header-logo {
    margin: 0;
    padding: 0;
    line-height: 1;
}
.header-logo a {
    display: block;
}
.header-logo img {
    height: 36px;
    max-height: 36px;
    width: auto;
    display: block;
    transition: height 0.25s ease, max-height 0.25s ease;
}

/* ---------- 右侧菜单区（默认撑满剩余宽度；菜单足够宽时自然宽度随整体居中） ---------- */
.header-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    height: 80px;
    flex: 1;
    margin-left: 30px;
    transition: height 0.25s ease;
}

body.is-wide-menu .header-menu {
    flex: 0 0 auto;
}

/* 顶部工具链 */
.header-utility-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 14px;
    color: #666;
    height: 27px;
    font-weight: 500;
}
.header-utility-list li {
    display: flex;
    align-items: center;
    font-weight: 500;

}
.header-utility-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;

}
.header-utility-list a:hover {
    color: #c00000;
}
/* ---------- 语言切换器（PC 工具链内、电话前，下拉锚定在按钮下方） ---------- */
.header-utility-list .header-lang {
    position: relative;
    display: flex;
    align-items: center;
}
.header-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: color 0.2s;
}
.header-lang-btn:hover { color: #c00000; }
.header-lang-btn .icon-global { font-size: 15px; line-height: 1; }
.header-lang-btn .icon-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 1px;
    transition: transform 0.2s;
}
.header-lang.open .header-lang-btn .icon-caret { transform: rotate(180deg); }
.header-lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 12px;
    min-width: 124px;
    list-style: none;
    padding: 6px 0;
    background: #fff;
    border: 1px solid #e6e8eb;
    border-radius: 4px;
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 220;
}
.header-lang.open .header-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header-lang-menu li {
    padding: 8px 16px;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.header-lang-menu li:hover { background: #f5f7fa; color: #c00000; }
.header-lang-menu li.active { color: #c00000; font-weight: 600; background: #f0f3fa; }

/* ---------- 语言切换器（移动端菜单内联） ---------- */
.m-lang {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
}
.m-lang-label {
    font-size: 13px;
    color: #999;
    margin-right: 2px;
}
.m-lang-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.m-lang-opts span {
    font-size: 13px;
    color: #555;
    cursor: pointer;
    padding: 3px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 14px;
    transition: all 0.15s;
}
.m-lang-opts span:hover { color: #c00000; border-color: #c00000; }
.m-lang-opts span.active { color: #fff; background: #c00000; border-color: #c00000; }
.header-utility-list .header-tel a {
    color: #363636;
    font-weight: 600;
    font-size: 15px;
}

/* ---------- 主导航（还原为原始右对齐；整体居中由 .header-menu 控制） ---------- */
.header-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-top: auto;
    height: 24px;
}
.header-nav > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    height: 100%;
}
.header-nav > ul > li {
    position: relative;
    height: 100%;
    line-height: 24px;
}
.header-nav > ul > li > a {
    display: block;
    padding: 0 18px;
    color: #333;
    font-weight: 700;/*加粗*/
    letter-spacing: 2px;/*间隔*/
    font-size: 16px;
    letter-spacing: 2px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s;
}
.header-nav > ul > li:hover > a,
.header-nav > ul > li.active > a {
    color: #c00000;
}

/* 二级下拉菜单 - KEYENCE 式 mega menu 全屏宽 */
.header-nav .v_list {
    display: none;
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    z-index: 100;
    padding: 0;
    box-sizing: border-box;
    margin-top: 0;
}
/* 内容容器：居中 + 最大宽度限制 */
.v_list_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 30px 30px;
}
/* 悬停桥：覆盖导航项与下拉之间的间隙，鼠标下移时不消失。
   关键：宽度只取导航项自身宽度（不扩展到下拉面板的 900px），
   否则相邻导航项的宽桥会互相重叠，导致鼠标误入相邻项触发其下拉。 */
.header-nav > ul > li.has-sub::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
    background: transparent;
}
.header-nav > ul > li:hover .v_list {
    display: block;
}
/* 全屏宽下拉，无需右对齐特殊处理 */
.header-nav > ul > li:nth-last-child(-n+3) .v_list {
    left: 0;
    right: 0;
}

.v_list_hd {
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
}
.v_list_hd strong {
    display: inline-block;
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
    padding-left: 12px;
    border-left: 4px solid #c00000;
}
.v_list_grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.v_list_grid li a {
    display: block;
    text-decoration: none;
    color: #333;
}
.v_list_pic {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 */
    background-color: #fff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.v_list_grid li a:hover .v_list_pic {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}
.v_list_name {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 箭头靠左对齐，紧跟文字 */
    gap: 6px;
    margin-top: 9px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: color 0.2s;
}
.v_list_name i {
    font-style: normal;
    color: #999;
    transition: color 0.2s;
}
.v_list_grid li a:hover .v_list_name,
.v_list_grid li a:hover .v_list_name i {
    color: #c00000;
}
/* 无子分类时的占位提示 */
.v_list_empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 24px 0;
    color: #999;
    font-size: 14px;
}

@media (max-width: 1400px) {
    .v_list_grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1100px) {
    .v_list_inner {
        padding: 20px 24px 24px;
    }
    .v_list_grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }
}

/* 搜索图标：默认（未滚动）禁用，滚动后启用 */
.header-search-icon {
    width: 24px;
    height: 24px;
    margin-left: 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    border: none;
    background: transparent;
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
    transition: background 0.2s, opacity 0.2s;
}
.header.is-scrolled .header-search-icon {
    cursor: pointer;
    opacity: 1;
    pointer-events: auto;
}
.header-search-icon:hover,
.header-search-icon.is-active {
    background: #f0f0f0;
}
.header-search-icon:hover .icon-search,
.header-search-icon.is-active .icon-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c00000'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
}
.header-search-icon .icon-search {
    width: 18px;
    height: 18px;
}

/* ---------- 首页大搜索区 ---------- */
.header-hero-search {
    background: #f4f5f7;
    border-top: 1px solid #ebedf0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
    max-height: 120px;
    opacity: 1;
}
.header-hero-search .header-center {
    padding-top: 10px;
    padding-bottom: 10px;
}
.hero-search-form {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #dfe1e5;
    border-radius: 4px;
    padding: 0 6px 0 12px;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.hero-search-form:focus-within {
    border-color: #c00000;
    box-shadow: 0 2px 8px rgba(192,0,0,0.12);
}
.hero-search-form .icon-search {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 12px;
}
.hero-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    height: 52px;
    font-size: 16px;
    color: #333;
    outline: none;
    min-width: 0;
}
.hero-search-form input::placeholder {
    color: #999;
}
.hero-search-form button {
    flex-shrink: 0;
    height: 40px;
    padding: 0 24px;
    margin-left: 6px;
    border: none;
    background: #e0e0e0;
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.2s;
}
.hero-search-form button:hover {
    background: #8f0000;
}

/* 滚动后：隐藏大搜索区，header 悬浮成单行 */
.header.is-scrolled .header-hero-search {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
}
.header.is-scrolled .header-hero-search .header-center {
    padding-top: 0;
    padding-bottom: 0;
}

/* 滚动后点击放大镜：展开原来的大搜索区 */
.header.is-scrolled .header-hero-search.is-open {
    max-height: 130px;
    opacity: 1;
}
.header.is-scrolled .header-hero-search.is-open .header-center {
    padding-top: 18px;
    padding-bottom: 18px;
}

.header.is-scrolled .header-body {
    padding: 12px 20px;
}
.header.is-scrolled .header-menu {
    height: 47px;
    justify-content: center; /* 悬浮后菜单区内容垂直居中 */
}
.header.is-scrolled .header-utility-list {
    display: none;
}
.header.is-scrolled .header-logo img {
    height: 30px;
    max-height: 30px;
}
.header.is-scrolled .header-nav {
    margin-top: 0;
    height: 100%; /* 悬浮后导航占满菜单区高度，文字垂直居中 */
}
.header.is-scrolled .header-nav > ul > li {
    display: flex;
    align-items: center; /* 导航项文字垂直居中 */
}
.header.is-scrolled .header-nav > ul > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    line-height: 1; /* 去掉固定行高，由 flex 垂直居中 */
}
.header.is-scrolled .header-search-icon .icon-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
}
.header.is-scrolled .header-search-icon:hover .icon-search,
.header.is-scrolled .header-search-icon.is-active .icon-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23c00000'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
}

/* ============ 移动端 头部 ============ */
.m_header {
    display: none;
}

.smallScreen-show { display: none !important; }

@media (max-width: 1020px) {
    .header {
        display: none;
    }
    .m_header {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }
    .m_head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 52px;
        background: #fff;
        padding: 0 12px;
        box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    }

    /* 汉堡菜单 */
    .menu {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
        z-index: 1001;
    }
    .menu i {
        position: relative;
        display: block;
        width: 22px;
        height: 2px;
        background: #333;
        transition: all 0.3s;
    }
    .menu i::before,
    .menu i::after {
        content: '';
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background: #333;
        transition: all 0.3s;
    }
    .menu i::before { top: -7px; }
    .menu i::after  { top:  7px; }

    /* 汉堡菜单激活态：X */
    .menu.active i {
        background: transparent;
    }
    .menu.active i::before {
        top: 0;
        transform: rotate(45deg);
    }
    .menu.active i::after {
        top: 0;
        transform: rotate(-45deg);
    }

    /* 搜索图标 */
    .m_search_icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        flex-shrink: 0;
    }
    .m_search_icon .icon-search {
        width: 20px;
        height: 20px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23333'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
    }

    /* Logo 居中 */
    .logo_m {
        flex: 1;
        text-align: center;
        padding: 0 8px;
        overflow: hidden;
    }
    .logo_m img {
        max-height: 38px;
        vertical-align: middle;
    }

    /* 电话图标 */
    .m_tel_icon {
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .m_tel_icon .icon-phone {
        width: 22px;
        height: 22px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231565c0'%3E%3Cpath d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0 0 1 .98-.24c1.12.37 2.33.57 3.57.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25.98l-2.2 2.2z'/%3E%3C/svg%3E");
    }

    /* 移动端搜索弹窗 */
    .m_search_box {
        display: none;
        background: #fff;
        padding: 10px 12px;
        border-top: 1px solid #eee;
    }
    .m_search_box.show {
        display: block;
    }
    .m_search_box form {
        display: flex;
        gap: 8px;
    }
    .m_search_box input {
        flex: 1;
        border: 1px solid #ddd;
        border-radius: 20px;
        padding: 8px 14px;
        font-size: 14px;
        outline: none;
    }
    .m_search_box button {
        border: none;
        background: #c00000;
        color: #fff;
        border-radius: 20px;
        padding: 8px 18px;
        font-size: 14px;
        cursor: pointer;
    }

    /* 移动端下拉菜单 */
    .app_menu {
        display: none;
        position: fixed;
        top: 52px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 52px);
        overflow-y: auto;
        background: #fff;
        z-index: 1000;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .app_menu.show {
        display: block;
    }
    .app_menu .nav-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .app_menu .nav-menu > li {
        border-bottom: 1px solid #f0f0f0;
        position: relative;
    }
    .app_menu .nav-menu > li > a {
        display: block;
        padding: 0 20px;
        line-height: 48px;
        color: #333;
        font-size: 15px;
        text-decoration: none;
    }
    .app_menu .nav-menu > li.has-sub > a {
        padding-right: 50px;
    }
    /* 二级菜单展开箭头 */
    .sub-toggle {
        position: absolute;
        right: 0;
        top: 0;
        width: 48px;
        height: 48px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sub-toggle::after {
        content: '';
        display: block;
        width: 8px;
        height: 8px;
        border-right: 2px solid #999;
        border-bottom: 2px solid #999;
        transform: rotate(45deg);
        transition: transform 0.3s;
    }
    .sub-toggle.open::after {
        transform: rotate(-135deg);
    }
    /* 二级菜单内容 */
    .app_menu .v_list {
        display: none;
        background: #f9f9f9;
    }
    .app_menu .v_list.open {
        display: block;
    }
    .app_menu .v_list ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .app_menu .v_list li a {
        display: block;
        padding: 0 20px 0 32px;
        line-height: 42px;
        color: #555;
        font-size: 14px;
        text-decoration: none;
    }
    /* 移动端还原为普通列表，隐藏 mega menu 卡片元素 */
    .app_menu .v_list_hd { display: none; }
    .app_menu .v_list_pic { display: none; }
    .app_menu .v_list_name { margin-top: 0; justify-content: flex-start; }
    .app_menu .v_list_name i { display: none; }
    .app_menu .v_list_grid {
        display: block;
        gap: 0;
    }
    .app_menu .v_list_grid li {
        border-bottom: 1px solid #eee;
    }
}
