/* 商城/用户中心共用头部样式 */
html {
    scrollbar-gutter: stable;
    --shop-header-h: 129px;
}
/* ========== 商城头部新版（顶栏+导航统一在此） ========== */
.shop_header {
    position: relative;
    width: 100%;
    z-index: 100;
    background: #fff;
}
.shop_header .login_header_nav {
    position: relative;
    z-index: 50;
    height: 33px;
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    background: #F4F6FA;
}
.shop_header .login_header_navCenter,
.shop_header .login_header_bottomcont {
    width: calc(100% - 40px);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.shop_header .login_header_navCenter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.shop_header .login_header_nav_left {
    display: flex;
    align-items: center;
    line-height: 33px;
    color: #7c7c7c;
    font-family: "HarmonyOS Regular";
    font-size: 12px;
}
.shop_header .login_header_nav_left img {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}
.shop_header .login_header_nav_left a {
    line-height: 33px;
    margin-left: 20px;
    font-size: 12px;
    color: #7c7c7c;
}
.shop_header .login_header_navCenter > ul {
    margin-bottom: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 26px;
    color: #7c7c7c;
}
.shop_header .login_header_navCenter > ul > li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-left: 0;
    padding: 0;
    height: 33px;
    color: #7c7c7c;
    font-size: 12px;
    line-height: normal;
    font-family: "HarmonyOS Regular";
    cursor: pointer;
}
.shop_header .login_header_navCenter > ul > li:hover,
.shop_header .login_header_navCenter ul li:hover span a {
    color: #173d84;
}
.shop_header .login_header_navCenter > ul > li span {
    display: flex;
    align-items: center;
}
.shop_header .login_header_navCenter > ul > li span a,
.shop_header .login_header_navCenter > ul > li > a {
    color: #7c7c7c;
    display: flex;
    align-items: center;
}
.shop_header .login_header_navCenter > ul > li > a:hover,
.shop_header .login_header_navCenter > ul > li span a:hover {
    color: #173d84;
}
.shop_header .login_header_navCenter > ul > li i {
    font-size: 17px;
    color: #8A8A8A;
    margin-right: 10px;
}
.shop_header .login_header_navCenter > ul > li:hover > i,
.shop_header .login_header_navCenter > ul > li:hover > span > i {
    color: #173d84;
}
.shop_header .header_nav_split {
    display: inline-block;
    width: 1px;
    height: 12px;
    margin: 0 8px;
    background: #c8c8c8;
    vertical-align: middle;
}
.shop_header .login_header_navCenter > ul > li.header_eng {
    display: flex;
    align-items: center;
}
.shop_header .login_header_navCenter > ul > li img.header_nav_icon,
.shop_header .login_header_navCenter > ul > li .header_nav_icon {
    width: 17px;
    height: 17px;
    margin-right: 5px;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
    filter: brightness(0) saturate(100%);
    opacity: 0.3;
    transition: opacity 0.2s, filter 0.2s;
}
.shop_header .login_header_navCenter > ul > li:hover img.header_nav_icon,
.shop_header .login_header_navCenter > ul > li:hover .header_nav_icon {
    opacity: 1;
    /* 与悬停文字色 #173d84 一致 */
    filter: brightness(0) saturate(100%) invert(18%) sepia(55%) saturate(2200%) hue-rotate(199deg) brightness(92%) contrast(92%);
}
.shop_header .login_header_navCenter > ul > li.header_eng a {
    color: #7C7C7C;
    display: flex;
    align-items: center;
}
.shop_header .login_header_navCenter > ul > li.header_eng a img {
    display: inline-block;
}
.shop_header .login_header_navCenter > ul > li.header_eng:hover a {
    color: #173d84;
}
.shop_header .login_header_navCenter > ul > li.login_header_nav1 {
    position: relative;
    z-index: 51;
}
.shop_header .login_header_nav2 {
    display: none;
    position: absolute;
    top: 33px;
    width: 150px;
    background: #F7F7F7;
    left: -10px;
    padding-bottom: 10px;
    z-index: 200;
}
.shop_header .login_header_nav2 li {
    margin-left: 20px;
    margin-top: 8px;
}
.shop_header .login_header_nav2 li a {
    color: #7C7C7C;
}
.shop_header .login_header_nav2 li a:hover {
    color: #173d84;
}
.shop_header .login_header_navCenter > ul > li:hover .login_header_nav2 a i {
    color: #8A8A8A;
}
.shop_header .login_header_navCenter > ul > li .login_header_nav2 a:hover i {
    color: #173d84;
}
.shop_header .header_cart text {
    border-radius: 3px;
    padding: 1px 8px 0 8px;
    line-height: 15px;
    height: 15px;
    text-align: center;
    background: #F22424;
    color: #fff;
    font-size: 12px;
    margin-left: 5px;
}
.shop_header .login_header_bottom {
    position: relative;
    box-shadow: 0 2px 6px -2px #ccc;
    border-bottom: none;
    background: #fff;
    z-index: 20;
    overflow: visible;
}
.shop_header .login_header_bottomcont {
    position: static !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px;
    line-height: normal;
    gap: 24px;
    overflow: visible;
}
.shop_header .login_header_bottomcont > a.shop_header_logo {
    position: static;
    left: auto;
    top: auto;
    display: flex;
    width: 290.19px;
    height: 79px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}
.shop_header .login_header_bottomcont > a.shop_header_logo img.logo,
.shop_header .login_header_bottomcont img.logo {
    width: 250.19px !important;
    
    max-width: none;
    object-fit: contain;
    object-position: left center;
    margin: 0;
}
.shop_header .shop_nav {
    width: auto;
    flex: 1 1 auto;
    margin: 0;
    min-width: 0;
    height: 100%;
    overflow: visible;
}
.shop_header .shop_nav > ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 2px;
    width: auto;
    height: 100%;
    margin-bottom: 0;
}
.shop_header .shop_nav > ul > li,
.shop_header .shop_nav > ul > li.shop_nav_li {
    position: static;
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 100%;
    display: flex;
    flex: 0 0 auto;
    flex-shrink: 0;
    align-items: center;
    width: auto;
    max-width: none;
}
.shop_header .shop_nav > ul > li > a,
.shop_header .shop_nav > ul > li:last-child > a {
    color: #2b2f36;
    font-size: 16px;
    font-family: "HarmonyOS Regular";
    font-weight: 400;
    line-height: 24px;
    padding: 8px 18px;
    white-space: nowrap !important;
    writing-mode: horizontal-tb;
    width: auto;
    max-width: none;
    flex-shrink: 0;
}
.shop_header .shop_nav > ul > li > a:hover,
.shop_header .shop_nav > ul > li > a.active {
    color: #1677ff;
}
.shop_header_tools {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.shop_header_order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border: 1px solid #1677ff;
    border-radius: 8px;
    color: #1677ff;
    font-size: 14px;
    font-family: "HarmonyOS Regular";
    line-height: 34px;
    white-space: nowrap;
    box-sizing: border-box;
    transition: all 0.2s;
}
.shop_header_order:hover {
    background: #1677ff;
    color: #fff;
    text-decoration: none;
}

/* 搜索浮层 */
.shop_header .shop_search {
    --shop-header-h: 129px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}
.shop_header .shop_searchMask,
.shop_header .shop_searchPanel {
    display: none;
}
.shop_header .shop_search.is-open .shop_searchMask {
    display: block;
    position: fixed;
    inset: var(--shop-header-h) 0 0;
    z-index: 20;
    background: rgba(7, 22, 64, 0.8);
}
.shop_header .shop_search.is-open .shop_searchPanel {
    display: block;
    position: fixed;
    z-index: 30;
    left: 50%;
    top: calc(var(--shop-header-h) + 22px);
    width: 904px;
    max-width: calc(100vw - 48px);
    transform: translateX(-50%);
}
.shop_header .shop_searchCont {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 18px;
    background: #fff;
    border: 1px solid #e4e7ed;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(16, 36, 72, 0.08);
}
.shop_header .shop_searchCont:focus-within {
    border-color: #1677FF;
}
.shop_header .shop_search_leading {
    margin-right: 10px;
    color: #9aa3af;
    font-size: 15px;
    cursor: pointer;
}
.shop_header .shop_searchCont input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: #1d2129;
    font-family: "HarmonyOS Regular";
    font-size: 14px;
}
.shop_header .shop_searchCont input::placeholder {
    color: #c0c4cc;
}
.shop_header .shop_search_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #fff;
    font-size: 12px;
    background: #5E6986;
    border-radius: 4px;
}
.shop_header .shop_search_icon:hover,
.shop_header .shop_search.is-open .shop_search_icon {
    color: #fff;
}
.shop_header .shop_search_icon i {
    font-size: 17px;
    line-height: 1;
}
.shop_header .shop_searchResultList {
    position: absolute;
    left: 0;
    right: 0;
    top: 60px;
    z-index: 3;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(16, 36, 72, 0.12);
    overflow: hidden;
}
.shop_header .shop_searchResultList ul {
    margin: 0;
    padding: 8px 0;
}
.shop_header .shop_searchResultList a {
    display: block;
    padding: 0 16px;
    color: #1d2129;
    font-size: 13px;
    line-height: 36px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.shop_header .shop_searchResultList a:hover {
    background: #f5f8ff;
    color: #1677ff;
}
.shop_header .shop_searchResultList .highlight {
    color: #1677ff;
    font-style: normal;
}
.shop_header .search_hot {
    display: none;
    box-sizing: border-box;
    max-height: calc(100vh - var(--shop-header-h) - 120px);
    margin-top: 12px;
    /* (904 - 191*4 - 20*3) / 2 = 40，保证四张卡左右留白一致 */
    padding: 22px 40px 26px;
    overflow: auto;
    border-radius: 16px;
    background: linear-gradient(180deg, #F0F2FE 0px, #F3F4FE 56px, #F7F8FE 120px, #FFFFFF 190px, #FFFFFF 100%);
    box-shadow: 0 16px 48px rgba(16, 36, 72, 0.14);
}
.shop_header .search_hotTop h3 {
    margin: 0 0 12px;
    color: #145BA7;
    font-family: "HarmonyOS Regular";
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
}
.shop_header .search_hotTop p {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}
.shop_header .search_hotTop a {
    padding: 4px 14px;
    border: 1px solid #D9D9D9;
    border-radius: 5px;
    background: #fff;
    color: #282933;
    font-size: 15px;
    line-height: 20px;
}
.shop_header .search_hotTop a:hover,
.shop_header .search_hotTop a.search_btnCurrent {
    color: #1677ff;
    text-decoration: none;
}
.shop_header .search-dropdownMain {
    margin-top: 22px;
}
.shop_header .search-dropdownTitle {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #145BA7;
    font-family: "HarmonyOS Regular";
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
}
.shop_header .search-dropdownTitle::before {
    content: "";
    width: 5px;
    height: 20px;
    border-radius: 100px;
    background: linear-gradient(180deg, #3478FF 0%, #1F4899 100%);
    flex-shrink: 0;
}
.shop_header .search-drop-cardB {
    display: grid;
    grid-template-columns: repeat(4, 191px);
    gap: 20px;
}
.shop_header .search-dropdown-card {
    display: flex;
    width: 191px;
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    background: linear-gradient(180deg, #E3E9F7 0%, #FFF 100%);
    box-shadow: 0 4px 4px 0 #5e698666;
}
/* 科技服务：宽度按原设计，仅间距与原料产品一致 */
.shop_header .search-drop-cardB--3 {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.shop_header .search-drop-cardB--3 .search-dropdown-card {
    width: auto;
    background: linear-gradient(180deg, #E9F4FE 0%, #FFF 99.04%);
}
.shop_header .search-drop-cardB--3 .search-dropdown-card:first-child {
    width: 191px;
}
.shop_header .search-dropdown_title {
    width: 100%;
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid #D9D9D9;
    color: #282933;
    font-size: 15px;
    font-weight: 600;
    line-height: 22px;
}
/* 原料产品标题区统一高度，两行标题时下面列表也能对齐 */
.shop_header .search-drop-cardB:not(.search-drop-cardB--3) .search-dropdown_title {
    min-height: 44px;
    box-sizing: content-box;
}
.shop_header .search-dropdown_title i,
.shop_header .search-dropdown_title a {
    font-style: normal;
    font-weight: 600;
    color: #282933;
}
.shop_header .search-dropdown_title a:hover {
    color: #1677ff;
    text-decoration: none;
}
.shop_header .search-dropdown_title i::after {
    content: "：";
}
.shop_header .search-dropdown_list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.shop_header .search-dropdown_list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: #282933;
    font-size: 15px;
    line-height: 22px;
}
.shop_header .search-dropdown_list li + li {
    margin-top: 8px;
}
.shop_header .search-dropdown_list li span {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    margin-top: 8px;
    border-radius: 50%;
    background: #3478FF;
    font-size: 0;
    overflow: hidden;
}
.shop_header .search-dropdown_list li a {
    color: #282933;
}
.shop_header .search-dropdown_list li a:hover {
    color: #1677ff;
    text-decoration: none;
}

/* 全宽下拉菜单 */
.shop_header .shop_nav > ul > li > a .shop_nav_arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #1677ff;
    vertical-align: middle;
    opacity: 0;
    pointer-events: none;
}
.shop_header .shop_nav > ul > li > a.active {
    color: #1677ff;
    position: relative;
}
.shop_header .shop_nav > ul > li > a.active .shop_nav_arrow {
    opacity: 1;
}
.shop_header .shop_nav > ul > li > a.active::after {
    display: none;
}
.shop_header .shop_mega {
    display: none !important;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    width: 100%;
    z-index: 25;
    padding: 0;
    margin-top: 0;
    box-sizing: border-box;
    pointer-events: none;
}
.shop_header .shop_mega.is-show {
    display: block !important;
    pointer-events: auto;
}
.shop_header .shop_mega_panel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0;
    background: #ffffff;
    box-shadow: 0 3px 8px rgba(20, 40, 80, 0.12);
    border-radius: 0;
    pointer-events: auto;
}
.shop_header .shop_mega_inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 15px 36px;
    box-sizing: border-box;
}
.shop_header .shop_mega_secLabel {
    position: relative;
    margin: 0 0 16px;
    padding-top: 12px;
    color: #282933;
    font-size: 15px;
    font-weight: 700;
    font-family: "HarmonyOS Bold";
    line-height: 20px;
}
.shop_header .shop_mega_secLabel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 3px;
    background: #1677ff;
    border-radius: 1px;
}
.shop_header .shop_mega_group {
    min-width: 0;
    width:148px;
}
.shop_header .shop_mega_groupTitle {
    position: relative;
    margin: 0 0 12px;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #D9D9D9;
    color: #282933;
    font-size: 15px;
    font-weight: 700;
    font-family: "HarmonyOS Bold";
    line-height: 20px;
}
.shop_header .shop_mega_groupTitle::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 41px;
    height: 2px;
    background: linear-gradient(90deg, #3478FF 0%, #3478ff00 100%);
    border-radius: 0;
}
.shop_header .shop_mega_groupTitle--sub {
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #D9D9D9;
    font-size: 14px;
    font-weight: 700;
}
.shop_header .shop_mega_groupTitle--sub::before {
    display: block;
}
.shop_header .shop_mega_groupTitle a {
    color: inherit;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
    white-space: normal;
}
.shop_header .shop_mega_group + .shop_mega_group {
    margin-top: 32px;
}
.shop_header .shop_mega_links,
.shop_header .shop_nav .shop_mega_links {
    display: block !important;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}
.shop_header .shop_mega_links li,
.shop_header .shop_nav .shop_mega_links li {
    display: block !important;
    height: auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    flex: none !important;
}
.shop_header .shop_mega_links a,
.shop_header .shop_nav .shop_mega_links a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 5px 0;
    color: #4a4f59;
    font-size: 13px;
   
    font-family:"HarmonyOS Regular";
    line-height: 18px;
    white-space: nowrap;
}
.shop_header .shop_mega_links a:hover {
    color: #1677ff;
    text-decoration: none;
}
.shop_header .shop_mega_links a span,
.shop_header .login_header_bottom .shop_mega_links a span {
    min-width: 0;
    font-size: 13px !important;
   
    font-family: "HarmonyOS Regular" !important;
    color: #282933 !important;
    line-height: 18px !important;
}
.shop_header .login_header_bottom .shop_mega span {
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    color: inherit;
    line-height: inherit;
}
.shop_header .shop_mega_hot,
.shop_header .shop_mega_new {
    display: inline-flex;
    flex-shrink: 0;
    box-sizing: border-box;
    height: 10px;
    padding: 2px 4px 0;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    background: var(--HOT, #F47766);
    color: #FFFFFF;
    font-family: "HarmonyOS Regular";
    font-size: 7px;

 
}
.shop_header .shop_mega_tag {
    display: none;
    margin-left: auto;
    flex-shrink: 0;
    height: 20px;
    padding: 0 8px;
    border-radius: 3px;
    background: #d8f3e8;
    color: #1f9a6e;
    font-size: 12px;
    line-height: 20px;
}

/* ===== 图1 原料产品：产品中心 + 解决方案 + 定制 ===== */
.shop_header .shop_nav_li.is-product .shop_mega_panel {
    background: linear-gradient(180deg, #E8F0FC 0%, #F4F8FE 55%, #FFFFFF 100%);
}
.shop_header .shop_mega_inner--product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    min-height: 0;
    padding: 0;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}
.shop_header .shop_mega_panelMain,
.shop_header .shop_mega_panelSide {
    padding: 24px 28px 32px;
    box-sizing: border-box;
    background: transparent;
}
.shop_header .shop_mega_panelMain {
    border-right: 1px solid #e5e8ef;
}
.shop_header .shop_mega_panelSides {
    align-self: stretch;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 24px 0 32px;
    box-sizing: border-box;
}
.shop_header .shop_mega_sideCol {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 210px;
    min-width: 0;
    box-sizing: border-box;
}
.shop_header .shop_mega_sideCol + .shop_mega_sideCol {
    border-left: 1px solid #e5e8ef;
}
.shop_header .shop_mega_panelSides .shop_mega_secLabel,
.shop_header .shop_nav_li.is-product .shop_mega_panelSides .shop_mega_secLabel {
    padding: 0 28px;
    margin: 0 0 18px;
    box-sizing: border-box;
}
.shop_header .shop_mega_panelSides .shop_mega_group {
    margin: 0 !important;
    padding: 0 28px 28px;
    box-sizing: border-box;
}
.shop_header .shop_mega_panelSides .shop_mega_group:last-child {
    padding-bottom: 0;
}
.shop_header .shop_mega_panelMain .shop_mega_groups {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 28px;
}
.shop_header .shop_mega_panelMain .shop_mega_group + .shop_mega_group {
    margin-top: 0;
}
.shop_header .shop_nav_li.is-product .shop_mega_secLabel {
    position: relative;
    margin: 0 0 18px;
    padding: 0;
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    font-family: "HarmonyOS Regular";
    line-height: 16px;
}
.shop_header .shop_nav_li.is-product .shop_mega_secLabel::before {
    display: none;
}
.shop_header .shop_nav_li.is-product .shop_mega_panelMain .shop_mega_groupTitle,
.shop_header .shop_nav_li.is-product .shop_mega_panelSides .shop_mega_groupTitle {
    color: #282933;
}
.shop_header .shop_nav_li.is-product .shop_mega_links a {
    position: relative;
    z-index: 0;
    display: inline-flex !important;
    padding: 5px 0;
    border-radius: 4px;
    box-sizing: border-box;
    transition: padding-left .35s ease;
}
.shop_header .shop_nav_li.is-product .shop_mega_links a:hover {
    padding-left: 10px;
    color: #1677FF;
    text-decoration: none;
}
.shop_header .shop_nav_li.is-product .shop_mega_links a:hover span {
    color: #1677FF !important;
}
.shop_header .shop_nav_li.is-product .shop_mega_links a:hover::before {
    content: '';
    position: absolute;
    left: 0;
    right: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 4px;
    background: rgba(255, 255, 255, .72);
    pointer-events: none;
}

/* ===== 图2 科技服务 ===== */
.shop_header .shop_nav_li.is-service .shop_mega_panel {
    background: linear-gradient(180deg, #E8F0FC 0%, #F4F8FE 55%, #FFFFFF 100%);
}
.shop_header .shop_mega_inner--service {
    display: block;
    padding: 0;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 360px;
    box-sizing: border-box;
}
.shop_header .shop_mega_svcBody {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    padding: 0 32px;
    min-height: 360px;
    box-sizing: border-box;
    background: transparent;
    overflow-x: hidden;
}
.shop_header .shop_nav_li.is-service .shop_mega_secLabel {
    margin: 0 0 18px;
    padding: 0;
    color: #666666;
    font-size: 14px;
    font-weight: 400;
    font-family: "HarmonyOS Regular";
    line-height: 16px;
}
.shop_header .shop_nav_li.is-service .shop_mega_secLabel::before {
    display: none;
}
.shop_header .shop_mega_svcBlock {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    align-self: stretch;
    min-width: max-content;
    padding: 24px 28px 36px;
    border-left: 1px solid #e4e8f0;
    box-sizing: border-box;
}
.shop_header .shop_mega_svcBlock--1 {
    flex: 0 1 260px;
    width: 260px;
    min-width: 0;
    max-width: 260px;
}
.shop_header .shop_mega_svcBlock:first-child {
    padding-left: 0;
    border-left: 0;
}
.shop_header .shop_mega_svcBlock:last-child {
    padding-right: 0;
}
.shop_header .shop_mega_svcCols {
    display: flex;
    flex-wrap: nowrap;
    gap: 36px;
    align-items: flex-start;
    width: max-content;
}
.shop_header .shop_mega_svcBlock--2 .shop_mega_svcCols {
    display: grid;
    grid-template-columns: max-content max-content;
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    column-gap: 36px;
    row-gap: 28px;
    align-items: start;
}
.shop_header .shop_mega_svcBlock--2 .shop_mega_svcCol {
    display: contents;
}
.shop_header .shop_mega_svcBlock--2 .shop_mega_group {
    margin: 0;
}
.shop_header .shop_mega_svcCol {
    flex: 0 0 auto;
    min-width: 160px;
    width: max-content;
    max-width: none;
    overflow: visible;
}
.shop_header .shop_mega_svcCol .shop_mega_group {
    margin: 0 0 28px;
    overflow: visible;
    width: max-content;
    min-width: 160px;
}
.shop_header .shop_mega_svcCol .shop_mega_group:last-child {
    margin-bottom: 0;
}
.shop_header .shop_nav_li.is-service .shop_mega_links,
.shop_header .shop_nav_li.is-service .shop_mega_links li,
.shop_header .shop_nav_li.is-service .shop_mega_links a {
    width: max-content;
    max-width: none;
}
.shop_header .shop_nav_li.is-service .shop_mega_links a,
.shop_header .shop_nav_li.is-service .shop_mega_links a span {
    white-space: nowrap;
    overflow: visible;
    max-width: none;
    min-width: max-content;
}
.shop_header .shop_nav_li.is-service .shop_mega_svcBlock--1 .shop_mega_svcCols,
.shop_header .shop_nav_li.is-service .shop_mega_svcBlock--1 .shop_mega_svcCol,
.shop_header .shop_nav_li.is-service .shop_mega_svcBlock--1 .shop_mega_group,
.shop_header .shop_nav_li.is-service .shop_mega_svcBlock--1 .shop_mega_links,
.shop_header .shop_nav_li.is-service .shop_mega_svcBlock--1 .shop_mega_links li,
.shop_header .shop_nav_li.is-service .shop_mega_svcBlock--1 .shop_mega_links a {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}
.shop_header .shop_nav_li.is-service .shop_mega_svcBlock--1 .shop_mega_links a {
    display: flex !important;
    align-items: flex-start;
    box-sizing: border-box;
    white-space: normal;
}
.shop_header .shop_nav_li.is-service .shop_mega_svcBlock--1 .shop_mega_links a span {
    white-space: normal;
    min-width: 0;
    max-width: 100%;
}
.shop_header .shop_nav_li.is-service .shop_mega_groupTitle {
    color: #1f2329;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
.shop_header .shop_nav_li.is-service .shop_mega_groupTitle::before {
    background: linear-gradient(90deg, #3478FF 0%, #3478ff00 100%);
    width: 41px;
    height: 2px;
}
.shop_header .shop_nav_li.is-service .shop_mega_links a {
    position: relative;
    z-index: 0;
    padding: 5px 0;
    border-radius: 4px;
    box-sizing: border-box;
    transition: padding-left .35s ease;
}
.shop_header .shop_nav_li.is-service .shop_mega_links a:hover {
    padding-left: 10px;
    color: #1677FF;
    text-decoration: none;
}
.shop_header .shop_nav_li.is-service .shop_mega_links a:hover span {
    color: #1677FF !important;
}
.shop_header .shop_nav_li.is-service .shop_mega_links a:hover::before {
    content: '';
    position: absolute;
    left: 0;
    right: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 4px;
    background: rgba(255, 255, 255, .72);
    pointer-events: none;
}

/* ===== 图3 诊断试剂 ===== */
.shop_header .shop_nav_li.is-diag .shop_mega_panel {
    background: #f5fcf8 url("../img/new/zdbg.jpg") no-repeat center top;
    background-size: cover;
}
.shop_header .shop_mega_inner--diag {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 28px 32px 36px;
    min-height: 420px;
    box-sizing: border-box;
}
.shop_header .shop_mega_inner--diag .shop_mega_groups {
    display: grid;
    grid-template-columns: minmax(max-content, 1fr) 250px minmax(max-content, 1fr) minmax(max-content, 1.35fr);
    column-gap: 48px;
    width: 100%;
}
.shop_header .shop_mega_inner--diag .shop_mega_group {
    width: 100%;
    min-width: max-content;
    max-width: none;
    overflow: visible;
}
.shop_header .shop_mega_inner--diag .shop_mega_group + .shop_mega_group {
    margin-top: 0;
}
.shop_header .shop_nav_li.is-diag .shop_mega_groupTitle {
    width: 100%;
    margin-bottom: 12px;
    padding-bottom: 10px;
    box-sizing: border-box;
}
.shop_header .shop_nav_li.is-diag .shop_mega_groupTitle::before {
    background: linear-gradient(90deg, #3db892 0%, #3db89200 100%);
    width: 41px;
    height: 2px;
}
.shop_header .shop_nav_li.is-diag .shop_mega_links {
    width: 100%;
    overflow: visible;
}
.shop_header .shop_nav_li.is-diag .shop_mega_links li {
    width: 100%;
    overflow: visible;
}
.shop_header .shop_nav_li.is-diag .shop_mega_links a {
    position: relative;
    z-index: 0;
    display: flex !important;
    width: 100%;
    max-width: none;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 6px 0;
    border-radius: 4px;
    box-sizing: border-box;
    white-space: nowrap;
    transition: padding-left .35s ease;
}
.shop_header .shop_nav_li.is-diag .shop_mega_links a:hover {
    padding-left: 10px;
    color: #3db892;
    text-decoration: none;
}
.shop_header .shop_nav_li.is-diag .shop_mega_links a:hover span {
    color: #3db892 !important;
}
.shop_header .shop_nav_li.is-diag .shop_mega_links a:hover::before {
    content: '';
    position: absolute;
    left: 0;
    right: -10px;
    top: 0;
    bottom: 0;
    z-index: -1;
    border-radius: 4px;
    background: rgba(255, 255, 255, .72);
    pointer-events: none;
}
.shop_header .shop_nav_li.is-diag .shop_mega_links a span {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    text-align: left;
}
.shop_header .shop_nav_li.is-diag .shop_mega_tag {
    display: inline-block !important;
    position: static;
    margin-left: 0;
    flex: 0 0 48px;
    width: 48px;
    min-width: 48px;
    height: 20px;
    padding: 0;
    border-radius: 2px;
    background: #3db892;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    text-align: center;
    box-sizing: border-box;
}

/* ===== 图4 大健康 ===== */
.shop_header .shop_nav_li.is-health .shop_mega_panel {
    background: #eef8f4 url("../img/new/jkbg.jpg") no-repeat center top;
    background-size: cover;
}
.shop_header .shop_mega_inner--health {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    min-height: 460px;
    padding-top: 32px;
    padding-bottom: 100px;
}
.shop_header .shop_mega_intro {
    width: 390px;
    flex-shrink: 0;
}
.shop_header .shop_mega_introCard {
    height: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.shop_header .shop_mega_introImg {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}
.shop_header .shop_mega_introArt {
    display: none;
}
.shop_header .shop_mega_introCard h3 {
    display: none;
}
.shop_header .shop_mega_introCard p {
    margin: 0 0 18px;
    height: 90px;
    flex-shrink: 0;
    align-self: stretch;
    color: #000000;
    font-family: "HarmonyOS Regular";
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    flex: none;
    overflow: hidden;
}
.shop_header .shop_mega_introMore,
.shop_header .shop_mega_introCard > a.shop_mega_introMore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: auto;
    padding: 0 10px;
    border: 1px solid #49985E;
    border-radius: 4px;
    background: transparent;
    color: #49905e;
    font-family: "HarmonyOS Regular";
    font-size: 13px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    align-self: flex-start;
    text-decoration: none;
    box-sizing: border-box;
}
.shop_header .shop_mega_introMore:hover,
.shop_header .shop_mega_introCard > a.shop_mega_introMore:hover {
    background: #49985E;
    color: #fff;
    text-decoration: none;
}
.shop_header .shop_mega_cardGrid {
    flex: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 48px;
    align-content: start;
}
.shop_header .shop_mega_card {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 10px 14px;
    border-radius: 4px;
    box-sizing: border-box;
}
.shop_header .shop_mega_cardIcon {
    display: flex;
    width: 48px;
    height: 48px;
    padding: 4px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 6px;
    background: #C9E9E2;
    overflow: hidden;
}
.shop_header .shop_mega_cardIcon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.shop_header .shop_mega_cardBody h4 {
    margin: 0 0 8px;
    color: #282933;
    font-family: "HarmonyOS BOld";
    font-size: 16px;
}
.shop_header .shop_mega_cardBody p {
    margin: 0;
    align-self: stretch;
    color: #000000;
    font-family: "HarmonyOS Regular";
    font-size: 14px;

    
}
.shop_header .shop_mega_card:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, .78);
}
.shop_header .shop_mega_card:hover h4 {
    color: #1f9a6e;
}

@media (max-width: 1280px) {
    .shop_header .shop_nav > ul > li > a {
        padding: 8px 12px;
        font-size: 15px;
    }
    .shop_header .shop_mega_inner--product {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .shop_header .shop_mega_panelMain .shop_mega_groups {
        column-gap: 18px;
        row-gap: 22px;
    }
    .shop_header .shop_mega_panelMain {
        padding: 20px 18px 28px;
    }
    .shop_header .shop_mega_panelSides {
        padding: 20px 0 28px;
    }
    .shop_header .shop_mega_sideCol {
        width: 160px;
    }
    .shop_header .shop_mega_panelSides .shop_mega_secLabel,
    .shop_header .shop_nav_li.is-product .shop_mega_panelSides .shop_mega_secLabel,
    .shop_header .shop_mega_panelSides .shop_mega_group {
        padding-left: 18px;
        padding-right: 18px;
    }
    .shop_header .shop_mega_panelSides .shop_mega_group {
        padding-bottom: 28px;
    }
    .shop_header .shop_mega_panelSides .shop_mega_group:last-child {
        padding-bottom: 0;
    }
    .shop_header .shop_mega_inner--diag .shop_mega_groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

