* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    font-family: "Microsoft YaHei", sans-serif;
    background: #fff;
    color: #222;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
a {
    text-decoration: none;
    color: inherit;
}
img {
    max-width: 100%;
    display: block;
}

.topbanner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.7rem;
    z-index: 1000;
    transition: all 0.3s ease;
    background: #fff;
    border-bottom: 1px solid #eee;
    background:transparent;
    border:none;
}
.tbstate0 {
    position: relative;
    width: 100%;
    height: 100%;
}
.logo {
    position: absolute;
    left: 3vw;
    top: 50%;
    transform: translateY(-50%);
    width: 4vw;
}
.img_logo {
    width: 100%;
    height: auto;
}
.name0 {
    position: absolute;
    left: 10vw;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Title", sans-serif !important;
    font-size: 1.67rem;
    font-weight: 700;
    white-space: nowrap;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -0.25rem;
    left: 0;
    width: 0;
    height: 2px;
    background: orange;
    transition: width 0.3s;
}
.nav-links a:hover {
    color: orange;
}
.nav-links a:hover::after {
    width: 100%;
}
.topbanner.scrolled,
.topbanner:not(.scrolled):hover {
    background: #fff;
}
.topbanner:not(.scrolled) a,
.topbanner:not(.scrolled) .name0 {
    color: #fff;
    background:transparent;
}

.topbanner:not(.scrolled):hover .fragment0,
.topbanner:not(.scrolled):hover .name0 {
    color: black;
}

.topbanner:hover .fragment0 a{
        color:black;
    }

.fragment0 a{
    text-decoration:none;
    transition: color 0.2s ease;
    position:relative;
}
.fragment0 a::after{
    content:'';
    position:absolute;
    background-color:orange;
    bottom:-0.25rem;
    left:0;
    width:0;
    height:2px;
    transition:width 0.3s ease;
}
.fragment0 a:hover{
    color: orange !important;
}
.fragment0 a:hover::after{
    width:100%;
}
.hero-banner {
    width: 100vw;
    height: auto;
    overflow: hidden;
}
.hero-banner img {
    width:100vw;
    object-fit: cover;
}

.main-wrapper {
    display: flex;
    min-height: calc(100vh - 4.7rem);
    position:relative;
}
.sidebar {
    width: 14.4rem;
    background: #1E293B;
    color: #fff !important;
    flex-shrink: 0;
    padding: 1.67rem 0;
    position: absolute;
    left: 0;
    top: 0;
    bottom: auto;
    height: 91vh;
    overflow-y: auto;
    z-index: 1;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-menu li {
    margin-bottom: 0.33rem;
}
.menu-item {
    padding: 0.78rem 1.67rem;
    color: #fff !important;
    cursor: pointer;
    transition: 0.2s;
}
.menu-item a {
    display: block;
}
.menu-item.active {
    background: #0ea5e9;
    color: #fff !important;
}
.menu-item:hover {
    color: #145E59;
    padding-left: 2rem;
}
.arrow {
    font-size: 0.67rem;
    color: #999 !important;
}
.submenu {
    list-style: none;
    background: #0f172a;
    padding-left: 0;
    display: none;
}
.submenu .menu-item {
    padding-left: 2.67rem;
    font-size: 0.67rem;
}
li.open > .submenu,
.has-submenu.open .submenu {
    display: block;
}
.has-submenu.open .arrow {
    transform: rotate(90deg);
}

.main-content {
    flex: 1;
    padding: 1.89rem 2.22rem;
    margin-left: 14.44rem;
    position: relative;
    z-index: 2;
}
.page-title {
    font-size: 1.33rem;
    margin-bottom: 1.11rem;
    color: #333;
}
.product-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.83rem 1.1rem;
    background: #fff;
    margin-bottom: 0.56rem;
    border: 1px solid #eee;
}
.product-name {
    font-size: 1rem;
    color: #333;
}
.detail-btn {
    padding: 0.33rem 1rem;
    background: #1e293b;
    color: #fff;
    border-radius:0.22rem;
    font-size: 0.78rem;
}
.detail-btn:hover {
    background: #145E59;
}

.pagination {
    position: absolute;
    left: 14.4rem;
    right: 0;
    bottom: 1.2rem;
    text-align: center;
    z-index: 3;
    width: calc(100% - 14.4rem);
}
/* ========== 底栏========== */
.footer{
  width: 100%;
  background: #d7d7d7;
  padding: 4rem 5vw;
  display:flex;
  flex-wrap:wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  font-size:0.85rem;
}
.footer-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.footer-logo {
    height: 2.5rem;
    width: auto;
}
.footer-company {
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-nav a {
    font-size: 1rem;
}
.footer-nav a:hover {
    color: #145E59;
    text-decoration: underline;
}
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}
.footer-copyright {
    font-size: 0.7rem;
    font-family: 'Noto Sans SC', sans-serif;
}
.footer-icp {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.7rem;
}
.footer-icp img {
    width: 1rem;
    height: 1rem;
}

@media(min-width:1024px){
    .nav-links{
        display:none;
    }
    .fragment0{
         display:flex;
         position:absolute;
         font-size:20px;
         font-family: '宋体', sans-serif;
         margin-top:1.3rem;
    }
}

@media (max-width:768px) {
    body{
        font-size:10px;
    }
    .fragment0{
        display:none;
    }
    .footer-container { min-height:15px; }
    .pagination{
        position:static;
        left:auto;
        bottom:auto;
        width:100%;
        margin: 1.5rem 0.5rem;
        text-align: center;
    }
    .sidebar{
        position:relative;
        left:auto;
        top:auto;
        min-height:auto;
        overflow-y:visible;
        height:auto;
        width:100%;
    }
    .hero-banner{
        margin-top:1rem;
    }
    .topbanner {
        height: 1rem;
        padding: 0 4vw;
        background: white;
    }
    .topbanner:not(.scrolled) .name0,
    .topbanner:not(.scrolled) .hamburger span {
        color: black;
        background: transparent;
    }
    .name0 {
        font-size: 0.5rem;
        margin-left: 0;
    }
    .logo .img_logo{
        width: 3rem;
    }
    .hamburger{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 0.8rem;
        height: 0.7rem;
        cursor: pointer;
        margin-left:13rem;
        margin-top:0.1rem;
    }
    .hamburger span {
        width: 100%;
        height: 0.05rem;
        background: black !important;
        border-radius: 2px;
        transition: 0.2s;
    }
    .nav-links {
        position: fixed;
        top: 1rem;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem 0;
        transform: translateY(-130%);
        transition: 0.3s;
        z-index: 999;
        margin: 0;
        display:flex;
    }
    .nav-links.open {
        transform: translateY(0);
    }
    .nav-links a {
        font-size: 0.6rem;
        color: #333 !important;
    }
    .menu-item{
        padding: 0.78rem 0.67rem;
    }
    .menu-item a{
        font-size:0.4rem;
    }
    .menu-item:hover{
        padding-left:0.6rem;
    }
    .submenu .menu-item{
        padding-left:0.67rem;
    }
    .main-wrapper{
        flex-direction: column;
    }
    .main-content{
        margin-left:0;
        padding: 1.89rem 0.22rem;
    }
    .page-title{
        font-size:0.8rem;
    }
    .product-item{
        padding: 0.3rem 0.1rem;
    }
    .product-name{
        font-size:0.4rem;
    }
    .product-icon{
        padding: 0.3rem 0.8rem;
    }
    .detail-btn{
        padding: 0.3rem 0.3rem;
        font-size:0.4rem;
    }
    .footer{
        padding:0.1rem 5vw;
        gap:0.5rem;
    }
    .footer-company{
        font-size:0.5rem;
    }
    .footer-logo{
        height:1.5rem;
    }
    .footer-nav a, .footer-copyright, .footer-icp{
        font-size:0.4rem;
    }
}

@media (max-width:1024px) and (min-width:767px){
    body{
        font-size:16px;
    }
    .fragment0{
        display:none;
    }
    .topbanner {
        height: 3rem;
        padding: 0 4vw;
        background: white;
    }
    .topbanner:not(.scrolled) .name0,
    .topbanner:not(.scrolled) .hamburger span {
        color: black;
        background: transparent;
    }

    .hamburger{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 0.8rem;
        height: 1.7rem;
        cursor: pointer;
        margin-left:13rem;
        margin-top:0.1rem;
    }
    .hamburger span {
        width: 100%;
        height: 1.7rem;
        background: black !important;
        border-radius: 2px;
        transition: 0.2s;
    }
    .nav-links {
        position: fixed;
        top: 1rem;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem 0;
        transform: translateY(-130%);
        transition: 0.3s;
        z-index: 999;
        margin: 0;
        display:flex;
    }
    .nav-links.open {
        transform: translateY(0);
    }
    .nav-links a {
        font-size: 0.6rem;
        color: #333 !important;
    }
    .hero-banner{
        margin-top:1rem;
    }
    .hamburger{
        margin-left:50rem;
        width:1.8rem;
    }
    .hamburger span{
        height:0.2rem;
    }
    .sidebar{
        position:relative;
        left:auto;
        top:auto;
        height:auto;
        overflow-y:visible;
        height:auto;
        width:14.4rem;
    }
    .main-content{
        flex:1;
        padding:1.89rem 2.22rem;
        margin-left:0;
        position:relative;
        z-index:2;
        display:flex;
        flex-direction:column;
    }
    .pagination{
        position:static;
        left:auto;
        bottom:auto;
        width:100%;
        margin-top:2rem;
        text-align:center;
    }
}