div {
    font-size: 14px;
}
.nav-wrapper-list ul li {
    color: #fff;
}
ul li {
    /*color: #fff;*/
}
.layout-component-title {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f5f5f5;
}

.title-wrapper {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    height: 36px;
    line-height: 36px;
    color: #777777;
    /*background-color: var(--themeColor);*/
}

.welcome-word {
    font-size: 13px;
    font-weight: 500;
}

.info-button {
    display: flex;
    align-items: center;
}
.info-button-a{
    display: flex;
    align-items: center;
}
.btn-txt {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.btn-txt a {
    font-size: 13px;
    color: #777777;
}

.division {
    margin: 0px 10px;
    width: 1px;
    height: 10px;
    background-color: #999999;
}

.title-button-icon {
    display: inline-block;
    vertical-align: middle;
    width: 12px;
    height: 12px;
}

.title-button-icon.car {
    margin-right: 5px;
    background: url('../image/layout-title-car.png') center center no-repeat;
    background-size: 100% 100%;
}

.user-welcome {
    color: var(--themeColor);
}

.layout-component-header {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #fff;
}

.layout-component-header .header-wrapper {
    /*height: 109px;*/
    width: 1200px;
    display: flex;
    justify-content: space-between;
    /*padding-top: 30px;*/
    align-items: center;
    padding-bottom: 28px;
}

.layout-component-header .header-wrapper .logo {
    width: 256px;
    height: 42px;
    background: #f5f5f5;
    margin-top: 38px;
}

.layout-component-header .header-wrapper .el-image {
    width: 100%;
    height: 100%;
}

.search {
    position: relative;
    margin-right: 55px;
    margin-top: 20px;
}

.search .el-input {
    border: 1px solid var(--themeColor);
    border-radius: 20px;
    overflow: hidden;
}

.search .el-input__inner {
    border: 0;
    height: 36px;
    line-height: 36px;
    width: 530px;
}

.search .el-input__icon {
    height: 38px;
    line-height: 38px;
}

.search .el-input-group__append {
    width: 90px;
    box-sizing: border-box;
    border: 0;
    background: #E1251B;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    /*height: 38px;*/
    /*line-height: 38px;*/
    height: 100%;
    cursor: pointer;
    user-select: none;
}

.search-keyword {
    width: 100%;
    position: absolute;
    top: 48px;
    left: 0px;
    margin-left: 12px;
}
.search-keyword a {
    font-size: 12px !important;
}

.search-keyword .el-button:first-child {
    color: #E1251B;
}
.layout-component-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--themeColor);
}
.nav-wrapper {
    width: 1200px;
}
.el-menu.el-menu--horizontal {
    display: flex;
    align-items: center;
    border: 0;
}
.nav-submenu .el-submenu__title {
    width: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.el-menu--horizontal > .el-submenu .el-submenu__title {
    height: 40px;
    line-height: 40px;
}
.el-menu-item {
    height: 40px;
    line-height: 40px;
}
.el-menu-item.is-active {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    background: #E1251B;
    border-bottom: none;
}
.el-submenu.is-active .el-submenu__title {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    background: var(--default-color);
    border-bottom: none;
}
.el-submenu.is-active .el-submenu__title i {
    color: #fff;
}
.el-menu.el-menu--popup {
    background: rgba(2, 2, 2, 0.5);
}
.el-menu.el-menu--popup .el-menu-item {
    height: 30px;
    line-height: 30px;
    color: #fff;
    background: none;
}
.el-menu.el-menu--popup .el-menu-item.is-active {
    text-align: left;
}

#appmeber_left_nav{
    height: 100%;
}

.member-menu {
    flex: 0 0 170px;
    width: 170px;
    height: 100%;
    margin-right: 20px;
    background: #fff;
    min-height: calc(100vh - 200px - 120px - 36px - 20px - 20px);
}


.member-menu-header {
    display: flex;
    align-items: center;
    padding-left: 20px;
    height: 60px;
    line-height: 60px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}
.member-menu-header .icon-left{
    width: 16px;
    height: 16px;
    margin-right: 10px;
    vertical-align: middle;
}
.member-menu-header a {
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}
.menu-header-icon {
    display: inline-block;
    vertical-align: middle;
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.menu-header-icon.account {
    background: url('../image/member-main-account.png') center center no-repeat;
    background-size: 100% 100%;
}

.member-menu-body {
    padding: 20px 0 30px 26px;
}

.member-menu-body .menu-item {
    overflow: hidden;
    margin-bottom: 10px;
}

.member-menu-body .menu-item .menu-title {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
    margin-bottom: 12px;
    padding-top: 18px;
	line-height: 24px;
}

.member-menu-body .menu-item .menu-title::before {
    content: '';
    margin-right: 15px;
    width: 4px;
    height: 4px;
    background: #1083FF;
}

.member-menu-body .menu-item .menu-children {
    padding: 0 0 0 20px;
    font-size: 14px;
	line-height: 22px;
    font-weight: 500;
    color: #333;
    margin-bottom: 12px;
}

.member-menu-body .menu-item .menu-children  > a{
    color: #333;
}

.member-menu-body .menu-item .menu-children:hover > a {
    color: #007BFF !important;
}

.member-menu-body .menu-item .menu-children.select > a{
	color: #007BFF;
}

.member-menu-body .menu-item .menu-children.active {
    color: var(--themeColor);
}


.member-menu-body .menu-item .el-button+.el-button {
    margin-left: 0;
}
.nav-wrapper-item{
}
.nav-wrapper-list{
    display: flex;
    height: 40px;
}
.nav-wrapper-list .nav-wrapper-list-one {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 202px;
    padding: 0px 20px;
    /*background-color: var(--themeColor);*/
    cursor: pointer;
}
.nav-wrapper-list .nav-wrapper-list-one .nav-wrapper-list-one-txt {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
}
.nav-wrapper-list .nav-wrapper-list-one img {
    width: 12px;
    height: 12px;
}
.nav-wrapper-list-two{
    width: 110px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 14px;
    color: #ffffff;
}
.nav-wrapper-list-two a {
    color: #ffffff;
    font-weight: bold;
}

.nav-wrapper-active {
    background: var(--headerColor) !important;
    /*color: var(--themeColor) !important;*/
}
.nav-sort-list{
    z-index: 9999 !important;
    display: none;
    position: absolute;
    top: 40px;
    left: 0px;
    width: 202px;
    height: 450px;
    background-color: rgba(0,0,0,0.5);
}
.nav-sort-list ul {
    height: 450px;
    overflow-y: auto;
}
.nav-sort-list li {
    height: 30px;
    padding-left: 20px;
    font-size: 14px;
    line-height: 30px;
}
.nav-wrapper-list-one:hover .nav-sort-list{
    display: block;
}
.nav-sort-list li:hover{
    background-color: #fff;
    color: #E1251B;
}
.nav-sort-list li:hover .nav-sort-list-a{
    color: var(--themeColor) !important;
    font-weight: bold;
}
.nav-sort-list-item{
    display: none;
    position: absolute;
    top: 0px;
    left: 202px;
    width: 890px;
    height: 450px;
    background-color: #fff;
    box-sizing: border-box;
    padding: 20px 70px 0px 0px;
    overflow-y: auto;
}
.nav-sort-list-items{
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}
.nav-sort-list-items div {
    line-height: 1;
}
.nav-sort-list-items-left{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.nav-sort-list-items-left div{
    width: 85px;
    text-align: right;
    font-size: 14px;
    color: #222222;
}
.nav-sort-list-items-left img {
    margin-left: 8px;
    width: 10px !important;
    height: 10px !important;
}
.nav-sort-list-items-right{
    margin-left: 24px;
    display: flex;
    flex-wrap: wrap;
}
.nav-sort-list-items-right div {
    margin-bottom: 10px;
}
.nav-sort-list-items-right div a {
    margin-right: 20px;
    font-size: 14px;
    color: #666666;
}
.nav-sort-list li:hover .nav-sort-list-item{
    display: block;
}
.infomation-save{
    margin-top: 23px;
    cursor: pointer;
    width: 100px;
    height: 34px;
    background-color: var(--themeColor);
    text-align: center;
    line-height: 34px;
    color: #fff;
    border-radius: 4px;
}
.nav-sort-list-a{
    font-size: 14px !important;
    color: #FFF !important;
}
.nav-sort-list-b{
    font-size: 14px !important;
    color: #222 !important;
    font-weight: bold;
}
.nav-sort-list-c{
    font-size: 14px !important;
    color: #666666 !important;
}

.search-input {
    position: relative;
}

.search-input_search_item {
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 38px;
    background: var(--themeColor);
    border-radius: 0 19px 19px 0;
    font-size: 18px;
    text-align: center;
    color: #ffffff;
    line-height: 38px;
    cursor: pointer;
}
.index-cart-num{
    margin-left: 5px;
    font-size: 13px;
    color: var(--themeColor) !important;
}

/* ===== member 左侧导航 移动端抽屉 ===== */
/* 控制用复选框与按钮/遮罩，桌面端隐藏 */
.member-nav-toggle-cb{
    display: none;
}
.member-nav-open-btn{
    display: none;
}
.member-nav-mask{
    display: none;
}

@media (max-width: 768px){
    #appmeber_left_nav{
        height: auto;
    }

    /* 悬浮唤出按钮 */
    .member-nav-open-btn{
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        left: 0;
        top: 42%;
        z-index: 1001;
        width: 38px;
        height: 46px;
        margin: 0;
        background: var(--themeColor, #206DEF);
        color: #fff;
        border-radius: 0 8px 8px 0;
        box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
        cursor: pointer;
        font-size: 22px;
    }

    /* 遮罩，默认不可见 */
    .member-nav-mask{
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0;
        background: rgba(0, 0, 0, 0.45);
        z-index: 1002;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.28s ease;
    }

    /* 左侧抽屉：默认滑出屏幕外 */
    .member-menu{
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        flex: none;
        width: 78%;
        max-width: 300px;
        height: 100%;
        margin-right: 0;
        min-height: 0;
        z-index: 1003;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.28s ease;
        box-shadow: 2px 0 16px rgba(0, 0, 0, 0.15);
    }

    /* 复选框选中 → 抽屉滑入、遮罩显现、按钮隐藏 */
    .member-nav-toggle-cb:checked ~ .member-menu{
        transform: translateX(0);
    }
    .member-nav-toggle-cb:checked ~ .member-nav-mask{
        opacity: 1;
        visibility: visible;
    }
    .member-nav-toggle-cb:checked ~ .member-nav-open-btn{
        opacity: 0;
        visibility: hidden;
    }
}

/* ===== member 主流容器 移动端宽度自适应（兜底，覆盖各页内联定值） ===== */
@media (max-width: 768px){
    .main-wrapper,
    .main-wrapper_evaluate{
        width: 100% !important;
        flex-direction: column;
        padding: 12px 12px 30px !important;
        box-sizing: border-box;
    }
    .main-container{
        width: 100% !important;
        box-sizing: border-box;
    }
}

/* ===== 购物车头部 cart_header 移动端自适应（覆盖购物车/下单页头部） ===== */
@media (max-width: 768px){
    /* 顶部欢迎/登录条 */
    .title-wrapper{
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        padding: 4px 12px;
        box-sizing: border-box;
        line-height: 28px;
    }
    .welcome-word{
        width: 100%;
    }
    .info-button{
        flex-wrap: wrap;
    }
    .btn-txt a,
    .btn-txt{
        font-size: 12px;
    }

    /* logo + 搜索行 */
    .layout-component-header .header-wrapper{
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 12px 16px;
        box-sizing: border-box;
    }
    .layout-component-header .header-wrapper .logo{
        margin-top: 0;
        width: 180px;
        height: auto;
    }
    .search{
        width: 100%;
        margin-right: 0;
        margin-top: 12px;
        box-sizing: border-box;
    }
    /* Element 输入框内宽写死 530px，改为自适应 */
    .search .el-input__inner{
        width: 100% !important;
    }
    .search-keyword{
        position: static;
        margin-left: 0;
        margin-top: 6px;
    }

    /* 分类导航条 */
    .nav-wrapper{
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
    }
    .nav-wrapper-list{
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    /* 移动端隐藏 hover 展开的多级分类浮层，避免触屏误触和溢出 */
    .nav-wrapper-list-one:hover .nav-sort-list{
        display: none;
    }
}
