.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #ffffff;
    height: 6rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1rem;
}
/* 全局版心类，同步修改宽度 */
.header-container {
    width: 98%;
    max-width: 1920px; /* 从1680px加宽到1920px */
    margin: 0 auto;
    padding: 0 1rem;
}

/* 头部专属版心样式 */
.header .header-container {
    width: 98%;
    max-width: 1920px; /* 从1680px加宽到1920px */
    margin: 0 auto;
    padding: 1.125rem 1rem; /* 保留少量左右内边距，避免内容完全贴边 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
}
.header * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.header_logo {
    width: 3rem;
    height: 3.75rem;
    flex-shrink: 0;
    margin-left: 7rem;
   
}
.header_logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;


}
.header_nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7rem;
}
.header_nav a {
    text-decoration: none;
    color: #333333;
    font-size: 0.875rem;
    font-weight: 400;
    transition: color 0.3s ease;
    padding: 0rem 1rem;
}
.header_nav a:hover {
    color: #22a699;
}
.header .header-container .header_nav a.active {
    color: #22a699 !important;
    font-weight: 600 !important;
}
.header_right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}
.header_right span {
    color: #333333;
    font-size: 0.875rem;
}
.search-icon img {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    margin: 0 1rem;
}
.quote-btn {
    background-color: #008F63;
    color: #ffffff;
    border: none;
    padding: 0.5rem 2rem;
    margin: 0 4rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}
.quote-btn:hover {
    background-color: #008F63 ;
}

.header_wap,
.wap_nav,
.wap_nav-overlay {
    display: none;
}

@media (max-width: 1024px) {
    .header-container {
        width: 92%;
        padding: 0 0.75rem;
    }
    
    .header_nav {
        gap: 1.5rem;
    }
    
    .header_nav a {
        padding: 0 0.5rem;
    }
    
    .quote-btn {
        margin: 0 1.5rem;
        padding: 0.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 5.5rem;
    }
    
    .header-container {
        width: 95%;
        padding: 0 0.5rem;
    }
    
    .header {
        display: none;
    }
    
    .header_wap {
        display: flex;
        width: 100%;
        padding: 0.75rem 1rem;
        background-color: #ffffff;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }
    
    .header_wap .wap_logo {
        width: 4rem;
        height: auto;
    }
    
    .header_wap .wap_logo img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    
    .header_wap .wap_menu-btn {
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.375rem;
        cursor: pointer;
        padding: 0.5rem;
    }
    
    .header_wap .wap_menu-btn span {
        width: 1.5rem;
        height: 0.125rem;
        background-color: #333333;
        transition: all 0.3s ease;
    }
    
    .header_wap .wap_menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translateY(0.5rem);
    }
    
    .header_wap .wap_menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .header_wap .wap_menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translateY(-0.5rem);
    }
    
    .wap_nav {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 70%;
        max-width: 20rem;
        height: 100vh;
        background-color: #ffffff;
        z-index: 2000;
        transition: left 0.3s ease;
        padding-top: 5rem;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .wap_nav.active {
        left: 0;
    }
    
    .wap_nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        pointer-events: none;
    }
    
    .wap_nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .wap_nav-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .wap_nav-item {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .wap_nav-link {
        display: block;
        padding: 1.25rem 1.5rem;
        color: #333333;
        text-decoration: none;
        font-size: 0.875rem;
        transition: background-color 0.3s ease, color 0.3s ease;
    }
    
    .wap_nav-link:hover,
    .wap_nav-link.active {
        background-color: #f8faf9;
        color: #008F63;
    }
    
    .wap_nav-close {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        width: 2.5rem;
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 1.5rem;
        color: #666666;
        transition: color 0.3s ease;
    }
    
    .wap_nav-close:hover {
        color: #008F63;
    }
}

@media (min-width: 769px) {
    body {
        padding-top: 6rem;
    }
}