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

    a {
        text-decoration: none;
    }

    .mobile-header-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 46px;
        padding: 0 17px;
        background: #fff;
        /* position: relative; */
        position: fixed;
        top:0;
        left:0;
        z-index: 100;
        width: 100%;
    }

    .mobile-header-left {
        display: flex;
        align-items: center;
    }

    .nav-img,
    .nav-search,
    .nav-lang,
    .nav-img1,
    .nav-card {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    .nav-log {
        width: 90px;
        height: 22px;
        margin-left: 14px;
        cursor: pointer;
    }

    .nav-lang {
        margin: 0 18px;
        cursor: pointer;
    }

    /* 下拉菜单 */
    .nav-dropdown-menu {
        width: 100%;
        background: #fff;
        border-top: 1px solid #eee;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        display: none;
        position: fixed;
        top: 46px;
        left: 0;
        z-index: 99;
    }

    .nav-dropdown-menu.show {
        display: block;
    }

    /* 所有菜单项统一用 div */
    .menu-item {
        margin: 0 22px;
        font-size: 15px !important;
        color: #333;
        border-bottom: 1px solid #f5f5f5;
        cursor: pointer;
        position: relative;
    }

    .menu-item-box {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 16px 0;
    }

    .menu-item-img {
        width: 14px;
        height: 14px;
        display: block;
    }

    /* 有子菜单才显示箭头 */
    .has-child .menu-item-img {
        display: block;
    }

    /* 无子菜单隐藏箭头 */
    .no-child .menu-item-img {
        display: none;
    }

    /* 箭头旋转 */
    .has-child.open .menu-item-img {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .nav-img1 {
        display: none;
    }

    /* .sub-menu {
        display: none;
    } */
    .sub-menu {
        display: none;
        /* height: 100vh; */
        /* overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; */
    }
    
    /* .sub-menu-overflow {
        max-height: calc(100vh - 180px);  
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch; 
    } */


    


    .sub-menu.show {
        display: block;
    }

    .sub-item {
        padding: 0 16px;
        font-size: 14px !important;
        margin: 16px 0;
    }

    .sub-item:nth-child(1) {
        margin-top: 0;
    }

    .sub-item a {
        color: #686A70;
        display: block;
    }

    .sub-item:last-child {
        padding-bottom: 0;
    }

    .sub-item-card-img {
        width: 100%;
        height: auto;
        aspect-ratio: 358 / 192;
    }

    .sub-item-card-title {
        font-size: 16px !important;
        color: #1D1D1F;
        margin-top: 10px;
    }

    .sub-item-card-name {
        font-size: 14px !important;
        color: #686A70;
        margin-top: 4px;
        margin-bottom: 24px;
    }

    .no-padding {
        padding: 0;
    }

    /* ====================== 弹窗样式（不遮盖头部） ====================== */
    .modal-overlay {
        position: fixed;
        top: 46px;
        left: 0;
        width: 100%;
        height: calc(100% - 46px);
        background: rgba(0, 0, 0, 0.5);
        display: none;
        justify-content: center;
        align-items: flex-start;
        z-index: 98;
    }

    .modal-overlay.show {
        display: flex;
    }

    .modal-content {
        width: 90%;
        background: #fff;
        border-radius: 12px;
        padding: 66px 24px 8px 24px;
        margin-top: 20px;
        position: relative;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .modal-close {
        position: absolute;
        top: 24px;
        right: 24px;
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    /* 写法2：使用 flex 布局实现一行2个 */
    .modal-items-list {
        display: flex;
        flex-wrap: wrap;


        justify-content: space-between;
    }

    .modal-item {
        width: calc(50% - 16px);

        font-size: 16px !important;
        color: #1D1D1F;
        cursor: pointer;
        text-align: center;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 32px;
    }

    .modal-item-img {
        width: clamp(48px, 17vw, 128px);
        height: auto;
        aspect-ratio: 64 / 64;
        object-fit: contain;
        display: block;

    }

    .modal-item-title {
        margin-top: 10px;
        font-size: 16px !important;
        color: #1D1D1F;
    }

    .modal-item:hover {
        /* background-color: #f5f5f5; */
        border-radius: 8px;
    }

    /* 语言弹窗样式 - 列表布局 */
    .lang-modal-content {
        width: 90%;
        background: #fff;
        border-radius: 12px;
        padding: 68px 24px;
        margin-top: 20px;
        position: relative;
        text-align: center;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .lang-items-list {
        display: flex;
        flex-direction: column;
    }

    .lang-item {
        font-size: 16px !important;
        color: #1D1D1F;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    .lang-item img {
        width: 29px;
        height: 20px;
        margin-right: 16px;
        display: block;
    }

    .lang-item:last-child {
        border-bottom: none;
        margin-top: 24px;
    }

    .lang-item:hover {
        background-color: #f5f5f5;
        border-radius: 8px;
    }

    /* 搜索弹窗样式 */
    .search-modal-content {
        width: 90%;
        background: #fff;
        border-radius: 12px;
        padding: 68px 24px;
        margin-top: 20px;
        position: relative;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }

    .search-input-box {
        display: flex;
        align-items: center;
        border: 1px solid #e0e0e0;
        border-radius: 30px;
        padding-left: 24px;
        /* padding-right: 13px; */
        background: #f8f8f8;
    }

    .search-input-box input {
       
        border: none;
        outline: none;
        background: transparent;
        font-size: 14px !important;
        padding: 10px 0;
        flex:1;
    }

    .search-input-box input::placeholder {
        color: #aaa;
    }

    .search-input-box .search-clear-btn {
        width: 14px;
        height: 14px;
        cursor: pointer;
        opacity: 0.6;

    }
    .search-clear-box {
        padding-right: 10px;
        padding-left: 10px;
    }
    /* .search-clear-btn {
        border-right: 1px solid #eee;
    } */
    .search-input-box .search-clear-btn:hover {
        opacity: 1;
    }

    .search-input-box .search-submit-icon {
        width: 18px;
        height: 18px;
        cursor: pointer;
        box-sizing: border-box;
    }
    .search-submit-box {
        border-left: 1px solid #d9d9d9;
        padding-left:10px;
        padding-right: 13px;
        max-height: 18px;
    }
    .search-history {
        margin-top: 20px;
    }

    .search-history-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    .search-history-title {
        font-size: 14px !important;
        color: #888;
    }

    .search-history-clear {
        font-size: 12px !important;
        color: #999;
        cursor: pointer;
    }

    .search-history-clear:hover {
        color: #666;
    }

    .search-history-list {
        display: flex;
        flex-direction: column;
    }

    .search-history-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #f0f0f0;
        cursor: pointer;
    }

    .search-history-item:hover {
        background-color: #f5f5f5;
        border-radius: 8px;
        padding-left: 8px;
        padding-right: 8px;
        margin-left: -8px;
        margin-right: -8px;
    }

    .search-history-item span {
        font-size: 14px !important;
        color: #333;
    }

    .search-history-item .delete-icon {
        width: 14px;
        height: 14px;
        cursor: pointer;
        opacity: 0.5;
    }

    .search-history-item .delete-icon:hover {
        opacity: 1;
    }

    .empty-history {
        text-align: center;
        padding: 40px 0;
        font-size: 14px !important;
        color: #aaa;
    }
    .mobile-header-right {
        display: flex;
        align-items: center;
    }
/* 产品列表的子菜单不需要滚动 */
.menu-item:first-child .sub-menu {
    max-height: none !important;
    overflow-y: visible !important;
}

/* 其他导航的子菜单使用JS动态设置高度
.has-child:not(:first-child) .sub-menu {
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
} */