/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* 响应式图片容器和图片样式 */
.img-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.img-responsive {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: transform 0.6s ease;
    -moz-transition: transform 0.6s ease;
    -o-transition: transform 0.6s ease;
    transition: transform 0.6s ease;
}

/* 悬停效果 */
.img-container:hover .img-responsive {
    transform: scale(1.08);
}

:root {
    --primary-color: #0066CC;
    --secondary-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --white: #ffffff;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --transition: all 0.3s ease;
    --font-family: 'Noto Sans SC', sans-serif, 'Roboto', Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--secondary-color);
    background-color: var(--light-gray);
    overflow-x: hidden;
    position: relative;
}

/* 响应式容器优化 */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    box-sizing: border-box;
}

/* 不同屏幕尺寸的容器最大宽度 */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* 小屏幕容器内边距调整 */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
}


/* 响应式标题样式优化 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.3;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    position: relative;
    display: inline-block;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    margin-bottom: 15px;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

h6 {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

/* 段落样式优化 */
p {
    margin-bottom: 15px;
    line-height: 1.7;
    font-size: 1rem;
}

/* 小屏幕字体大小调整 */
@media (max-width: 768px) {
    h2::after {
        width: 80px;
        height: 2px;
    }
    
    p {
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    h2::after {
        width: 60px;
        height: 2px;
    }
    
    p {
        font-size: 0.9rem;
    }
}

/* 链接样式 */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #004c99;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn:hover {
    background-color: #004c99;
    color: var(--white);
    text-decoration: none;
    opacity: 1;
}

/* 提交按钮样式 */
.submit-btn:hover {
    color: white;
    background-color: #004c99;
    opacity: 1;
}

/* 生产工艺流程样式 */
.production-process {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    position: static;
    display: block;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-gray);
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}

/* 流程步骤样式 */

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 150px;
    padding: 0 15px;
    margin-bottom: 30px;
    z-index: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #0066CC;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    /* 确保数字完全居中，不会覆盖 */
    line-height: 1;
}

.step-content {
    max-width: 100%;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--secondary-color);
}

.step-content p {
    font-size: 0.9rem;
    color: var(--dark-gray);
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    

    
    .process-step {
        margin-bottom: 40px;
        width: 100%;
    }
    
    .step-number {
        margin-bottom: 15px;
    }
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 顶部导航样式 */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: static;
    z-index: 1000;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* 顶部信息栏 - 延伸到整个屏幕宽度 */
.header-top {
    /* 使用蓝色渐变背景替代黑色背景 */
    background: linear-gradient(135deg, #1a5276 0%, #2471a3 50%, #1a5276 100%);
    color: var(--white);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    margin: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}



.header-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: transparent;
}

.header-left {
    width: 420px; /* 精确匹配header-right宽度，确保公司名称完美居中 */
    background-color: transparent;
}

.contact-details {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    background-color: transparent;
    justify-content: center;
    flex-wrap: nowrap;
}

.company-name {
    color: var(--white);
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
    display: block;
    margin: 0;
    padding: 5px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background-color: transparent;
    border: none;
}

.contact-details a {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.contact-details a:hover {
    color: var(--white);
    opacity: 0.8;
}

.language-selector {
    position: relative;
    display: inline-block;
    margin-left: auto; /* 确保显示在右侧 */
}

.language-button {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
    background-color: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.language-button:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.language-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-selector.open .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 5px;
    background-color: rgba(0, 0, 0, 0.9);
    border-radius: 4px;
    min-width: 100px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: none;
    z-index: 1000;
}

.language-selector.open .language-dropdown {
    display: block;
}

.language-dropdown a {
    display: block;
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    transition: background-color 0.3s ease;
}

.language-dropdown a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-dropdown a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

/* 响应式布局 */
@media (max-width: 1024px) {
    .banner {
        height: 450px;
    }
    .header-left {
        width: 300px; /* 减小左侧占位宽度 */
    }
}

@media (max-width: 768px) {
    .banner {
        height: 350px;
    }
    .header-top {
        flex-direction: column;
        text-align: center;
    }
    
    .header-left {
        display: none; /* 小屏完全隐藏左侧占位 */
    }
    
    .company-name {
        width: 100%;
        margin-bottom: 10px;
        font-size: 1.8rem; /* 小屏适当缩小字体，但仍保持较大 */
    }
    
    .header-right {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .contact-details {
        display: flex;
        flex-direction: row;
        gap: 15px;
        white-space: nowrap; /* 确保电话和邮箱不换行 */
        flex-shrink: 0; /* 防止联系方式被压缩 */
        order: 1; /* 确保联系方式在语言切换之前 */
    }
    
    .language-switch {
        width: auto;
        justify-content: center;
        order: 2;
        flex-shrink: 0; /* 防止语言切换被压缩 */
    }
}

@media (max-width: 480px) {
    .banner {
        height: 250px;
    }
    .contact-details {
        flex-direction: row;
        gap: 10px;
        white-space: nowrap; /* 确保电话和邮箱不换行 */
    }
    
    .contact-details a {
        font-size: 0.9rem; /* 最小屏幕进一步缩小字体 */
    }
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-xinxin {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-sub {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-left: 10px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 10px 15px;
    color: var(--secondary-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-item > a:hover,
.nav-item.active > a {
    color: var(--primary-color);
}

.nav-item > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-item > a:hover::after,
.nav-item.active > a::after {
    width: 100%;
}

/* 下拉菜单 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    pointer-events: none;
    transition: var(--transition);
    z-index: 1000;
    min-width: 200px;
}

.dropdown-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--secondary-color);
}

.dropdown-menu li a:hover {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 2000;
    transform: translateX(100%);
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* 移动端菜单动画 */
@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.logo-small {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.close-menu {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

.mobile-nav-menu {
    list-style: none;
    padding: 20px;
}

.mobile-nav-menu li a {
    display: block;
    padding: 12px 0;
    color: var(--secondary-color);
    border-bottom: 1px solid var(--medium-gray);
    transition: var(--transition);
}

.mobile-nav-menu li.active a {
    color: var(--primary-color);
    font-weight: 500;
}

.mobile-dropdown-menu {
    list-style: none;
    padding-left: 20px;
    display: none;
}

.mobile-dropdown-menu li a {
    padding: 8px 0;
    font-size: 0.9rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    display: block;
}

/* 轮播图响应式优化 */
.banner {
    position: relative;
    height: clamp(300px, 50vh, 500px);
    margin: 0;
    padding: 0;
    width: 100%;
    background: none; /* 确保没有背景色 */
    overflow: hidden;
}

.banner-slider {
    height: 100%;
    position: relative;
    width: 100%;
    background: none; /* 确保没有背景色 */
    z-index: 1; /* 确保在最上层显示 */
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center; /* 居中显示背景 */
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    background-color: transparent; /* 确保背景透明 */
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-content {
    padding: 0 clamp(20px, 5vw, 100px);
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    /* 移除黑色背景 */
    background: none;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.banner-content h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

.banner-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--white);
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.5;
}

.banner-btn {
    display: inline-block;
    padding: clamp(12px, 3vw, 15px) clamp(20px, 5vw, 30px);
    background-color: var(--primary-color);
    color: var(--white);
    font-size: clamp(1rem, 2vw, 1.1rem);
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
}

.banner-btn:hover {
    background-color: #004c99;
    transform: translateY(-2px);
}

.banner-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    z-index: 2;
}

/* 轮播图响应式断点 */
@media (max-width: 992px) {
    .banner {
        height: clamp(250px, 45vh, 450px);
    }
}

@media (max-width: 768px) {
    .banner {
        height: clamp(200px, 40vh, 400px);
    }
    
    .banner-content {
        padding: 0 15px;
    }
}

@media (max-width: 576px) {
    .banner {
        height: clamp(180px, 35vh, 300px);
    }
    
    .banner-content h2 {
        margin-bottom: 15px;
    }
    
    .banner-content p {
        margin-bottom: 20px;
    }
}

/* 轮播控制容器 */
.banner-controls-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-dots {
    display: flex;
    gap: 10px;
}

.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    background-color: var(--white);
    width: 30px;
    border-radius: 6px;
}

.banner-prev,
.banner-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-prev:hover,
.banner-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-line {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
}

/* 公司简介样式 */
.about-summary {
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    margin-top: 20px;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    transform: translateX(5px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    flex: 1;
    min-width: 300px;
}

/* 统计数据和核心优势共享样式 */
.stat-item,
.advantage-item {
    text-align: center;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.stat-item:hover,
.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    color: var(--dark-gray);
}

/* 核心优势特有样式 */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.advantage-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

/* 产品网格样式 - 响应式优化 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

/* 不同屏幕尺寸下的产品网格布局 */
@media (min-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 35px;
    }
}

/* 移动端产品网格优化 */
@media (max-width: 575px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 产品卡片响应式样式优化 */
.product-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--light-gray);
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: transform 0.6s ease;
    -moz-transition: transform 0.6s ease;
    -o-transition: transform 0.6s ease;
    transition: transform 0.6s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.08);
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 产品卡片响应式调整 */
@media (max-width: 768px) {
    .product-image {
        height: 180px;
    }
    
    .product-info {
        padding: 16px;
    }
}

@media (max-width: 480px) {
    .product-image {
        height: 160px;
    }
    
    .product-info {
        padding: 12px;
    }
}

.product-title {
    margin-bottom: 10px;
}

.product-description {
    flex-grow: 1;
}

.product-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-weight: 500;
}

.product-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.product-link:hover i {
    transform: translateX(5px);
}

.view-more {
    text-align: center;
}

.view-more-btn {
    display: inline-block;
    padding: clamp(10px, 2vw, 12px) clamp(25px, 5vw, 30px);
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
}

.view-more-btn:hover {
    background-color: #004c99;
    transform: translateY(-2px);
}

/* 制造能力预览样式 - 响应式网格 */
.manufacturing-preview {
    background-color: var(--light-gray);
}

.manufacturing-equipment {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(15px, 3vw, 20px);
    margin-bottom: 30px;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.equipment-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.equipment-info h3 {
    margin-bottom: 5px;
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.equipment-info p {
    margin-bottom: 0;
    color: var(--dark-gray);
    font-size: clamp(0.9rem, 2vw, 1rem);
}

.manufacturing-btn {
    display: block;
    text-align: center;
    padding: clamp(10px, 2vw, 12px) clamp(25px, 5vw, 30px);
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    max-width: 300px;
    margin: 0 auto;
}

.manufacturing-btn:hover {
    background-color: #004c99;
    transform: translateY(-2px);
}

/* 新闻预览样式 - 响应式网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: clamp(20px, 4vw, 30px);
    margin-bottom: 40px;
}

.news-item {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.news-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--light-gray);
    position: relative;
    flex-shrink: 0;
}

.news-image img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: transform 0.6s ease;
    -moz-transition: transform 0.6s ease;
    -o-transition: transform 0.6s ease;
    transition: transform 0.6s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-date {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 10px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-weight: 500;
    margin-top: auto;
}

.news-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.news-link:hover i {
    transform: translateX(5px);
}

/* 联系预览样式 - 响应式优化 */
.contact-preview {
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(25px, 5vw, 40px);
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* 验证码容器样式 */
.captcha-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

#captcha-display {
    width: 120px;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#captcha-display:hover {
    background-color: #f5f5f5;
    border-color: #bbb;
}

#captcha-display:active {
    transform: scale(0.98);
}

#captcha-display:hover::after {
    content: '点击刷新';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.contact-details {
    list-style: none;
    margin-bottom: 30px;
}

.contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.contact-details li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.wechat-qrcode {
    text-align: center;
}

.wechat-qrcode img {
    width: 150px;
    height: 150px;
    margin: 0 auto 10px;
    border: 1px solid var(--medium-gray);
}

.contact-map {
    flex: 1;
    min-width: 300px;
    height: 300px;
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

/* 底部样式 - 响应式优化 */
.footer {
    background-color: #FFCC99;
    color: var(--secondary-color);
    padding: 60px 0 30px;
    background-image: linear-gradient(135deg, #FFCC99 0%, #FFE0B2 50%, #FFCC99 100%);
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(20px, 5vw, 40px);
    margin-bottom: 40px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #5D4037;
    transition: var(--transition);
    display: inline-block;
}

.footer-links ul li a:hover {
    color: #3E2723;
    transform: translateX(5px);
}

.footer-contact-details {
    list-style: none;
}

.footer-contact-details li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: #5D4037;
}

.footer-contact-details li i {
    color: #8B4513;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-details li a {
    color: #5D4037;
    transition: var(--transition);
}

.footer-contact-details li a:hover {
    color: #3E2723;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(93, 64, 55, 0.2);
    text-align: center;
    gap: 20px;
}

.copyright p {
    margin-bottom: 5px;
    color: #5D4037;
    font-size: 0.9rem;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.5);
    color: #8B4513;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    min-width: 44px;
    min-height: 44px;
}

.footer-social a:hover {
    background-color: #8B4513;
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social a:active {
    transform: scale(0.98);
}

/* 返回顶部按钮 - 响应式优化 */
.back-to-top {
    position: fixed;
    bottom: clamp(20px, 5vw, 30px);
    right: clamp(20px, 5vw, 30px);
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    border: none;
    font-size: clamp(1rem, 3vw, 1.2rem);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #004c99;
    transform: translateY(-5px);
}

/* 在线客服 - 响应式优化 */
.online-service {
    position: fixed;
    bottom: clamp(100px, 15vw, 120px);
    right: clamp(20px, 5vw, 30px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.service-item {
    width: clamp(40px, 8vw, 50px);
    height: clamp(40px, 8vw, 50px);
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-size: 0.7rem;
    text-align: center;
    padding: 5px;
}

.service-item i {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 2px;
}

.service-item:hover {
    background-color: #004c99;
    transform: translateX(-10px);
}

/* 响应式设计 - 全面优化的媒体查询 */

/* 大屏桌面端 */
@media (max-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}

/* 中屏桌面端 */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
        max-width: 1140px;
    }
    
    .banner-content {
        padding: 0 clamp(20px, 5vw, 60px);
    }
    
    .nav-menu {
        gap: 5px;
    }
    
    .nav-item > a {
        padding: 10px 10px;
    }
}

/* 小屏桌面端/平板端 */
@media (max-width: 992px) {
    .container {
        padding: 0 15px;
        max-width: 960px;
    }
    
    /* 导航菜单适配 - 小屏隐藏桌面导航 */
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* 产品网格适配 */
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
        gap: 25px;
    }
    
    /* 优势网格适配 */
    .advantages-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
        gap: 25px;
    }
    
    /* 新闻网格适配 */
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
        gap: 25px;
    }
    
    /* 公司简介适配 */
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-text {
        padding-right: 0;
    }
    
    /* 顶部信息栏适配 */
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-top {
        flex-direction: column;
    }
    
    .header-left {
        width: 100%;
        display: none;
    }
    
    .header-right {
        width: 100%;
        justify-content: center;
    }
    
    .company-name {
        font-size: clamp(1.2rem, 4vw, 1.6rem);
        margin-bottom: 10px;
    }
    
    .contact-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .banner {
        height: clamp(350px, 50vh, 450px);
    }
    
    .banner-content h2 {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
    }
    
    .banner-content p {
        font-size: clamp(1rem, 2vw, 1.1rem);
    }
    
    .about-stats {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    
    section {
        padding: clamp(50px, 8vw, 70px) 0;
    }
    
    /* 在线客服隐藏在小屏幕上 */
    .online-service {
        display: none;
    }
}

/* 平板端 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
        max-width: 720px;
    }
    
    h2 {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }
    
    .banner {
        height: clamp(300px, 45vh, 400px);
    }
    
    .banner-content {
        padding: 0 20px;
    }
    
    .banner-content h2 {
        font-size: clamp(1.4rem, 4vw, 1.8rem);
        line-height: 1.3;
    }
    
    .company-name {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
    }
    
    .contact-details a {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
    }
    
    .products-grid,
    .news-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-top {
        gap: 30px;
    }
    
    /* 制造能力适配 */
    .manufacturing-equipment {
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
        gap: 15px;
    }
    
    /* 联系信息适配 */
    .contact-content {
        flex-direction: column;
        gap: 25px;
    }
    
    .contact-map {
        height: 280px;
    }
}

/* 超小屏幕/手机端 */
@media (max-width: 576px) {
    /* 基本样式调整 */
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.3;
    }
    
    p {
        font-size: clamp(0.9rem, 2vw, 1rem);
        line-height: 1.6;
    }
    
    /* 顶部信息栏适配 */
    .header-top {
        padding: 10px 0;
    }
    
    .company-name {
        font-size: clamp(1rem, 3vw, 1.2rem);
        padding: 3px 0;
    }
    
    .contact-details {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
    
    .contact-details a {
        font-size: clamp(0.8rem, 2vw, 0.9rem);
        padding: 3px;
    }
    
    .language-switch {
        gap: 5px;
    }
    
    .language-switch a {
        padding: 3px 8px;
        font-size: clamp(0.7rem, 2vw, 0.8rem);
    }
    
    /* 轮播图适配 */
    .banner {
        height: clamp(250px, 40vh, 300px);
    }
    
    .banner-content {
        padding: 0 15px;
        text-align: center;
        max-width: 100%;
    }
    
    .banner-content h2 {
        font-size: clamp(1.3rem, 3vw, 1.6rem);
        margin-bottom: 10px;
    }
    
    .banner-content p {
        font-size: clamp(0.9rem, 2vw, 1rem);
        margin-bottom: 15px;
    }
    
    .banner-btn {
        padding: clamp(10px, 3vw, 12px) clamp(20px, 5vw, 25px);
        font-size: clamp(0.9rem, 2vw, 1rem);
    }
    
    /* 轮播控制适配 */
    .banner-dots {
        gap: 6px;
    }
    
    .banner-dot {
        width: 10px;
        height: 10px;
    }
    
    .banner-dot.active {
        width: 25px;
    }
    
    /* 通用区块适配 */
    section {
        padding: clamp(40px, 7vw, 60px) 0;
    }
    
    .section-header h2 {
        font-size: clamp(1.4rem, 3vw, 1.8rem);
    }
    
    .section-line {
        width: 60px;
        margin-top: 10px;
    }
    
    /* 制造能力适配 */
    .manufacturing-equipment {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 公司简介适配 */
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-item {
        text-align: center;
        padding: 15px;
    }
    
    /* 返回顶部按钮 */
    .back-to-top {
        width: 40px;
        height: 40px;
        font-size: 20px;
        right: 15px;
        bottom: 15px;
    }
    
    /* 移动端菜单优化 */
    .mobile-menu {
        width: 90%;
        max-width: 280px;
    }
    
    .mobile-nav-menu a {
        padding: 12px 15px;
        font-size: 15px;
    }
    
    .mobile-dropdown-menu a {
        padding: 10px 25px;
        font-size: 14px;
    }
    
    /* 页脚适配 */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }
    
    /* 联系地图适配 */
    .contact-map {
        height: 250px;
    }
}

/* 极小型设备 */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .company-name {
        font-size: clamp(1rem, 4vw, 1.1rem);
    }
    
    .banner {
        height: clamp(200px, 35vh, 250px);
    }
    
    .banner-content h2 {
        font-size: clamp(1.2rem, 4vw, 1.4rem);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        gap: 20px;
    }
}

/* 产品快速查看模态框 - 响应式设计 */
#product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

#product-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalEnter 0.3s ease;
}

@keyframes modalEnter {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.modal-title {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin: 0;
    font-weight: 600;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.close-modal:hover {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

.modal-body {
    padding: 20px;
}

.modal-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
    gap: 15px;
    margin-bottom: 20px;
    justify-content: center;
}

.modal-images img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-description {
    margin-bottom: 20px;
    line-height: 1.6;
    color: var(--secondary-color);
}

.modal-specs {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.modal-specs td {
    padding: 10px;
    border-bottom: 1px solid var(--medium-gray);
}

.modal-specs td:first-child {
    font-weight: 600;
    width: 30%;
}

.modal-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.modal-downloads a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--light-gray);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
}

.modal-downloads a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.modal-downloads i {
    margin-right: 10px;
}

/* 产品筛选样式 */
.product-filter {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.category-select {
    padding: 10px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 0.875rem;
    background-color: var(--white);
    cursor: pointer;
    width: 200px;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    /* 使用简单的flex布局 */
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--medium-gray);
    width: 100%;
    max-width: 400px;
    height: 40px;
    /* 确保容器本身不会影响内部元素对齐 */
}

#product-search {
    width: 100%;
    padding: 10px 15px;
    /* 使用相等的上下内边距 */
    border: none;
    border-radius: 0;
    font-size: 0.875rem;
    transition: var(--transition);
    background-color: white;
    outline: none;
    /* 移除固定高度，让内容自然展开 */
    margin: 0;
}

#product-search:focus {
    box-shadow: none;
    outline: none;
}

.search-btn {
    background-color: var(--success-color);
    color: white;
    border: none;
    padding: 0;
    /* 使用固定的40px高度确保与搜索框容器一致 */
    height: 40px;
    width: 40px;
    cursor: pointer;
    font-size: 16px;
    /* 增大图标容器字体大小 */
    transition: var(--transition);
    border-radius: 0 4px 4px 0;
    /* 明确设置居中方式 */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    /* 确保按钮没有额外的定位影响 */
    position: static;
    vertical-align: middle;
}

.search-btn i {
    /* 图标大小调整，确保在按钮内居中显示 */
    font-size: 16px;
    line-height: 1;
    /* 确保图标自身没有边距 */
    margin: 0;
    padding: 0;
}

.search-btn:hover {
    background-color: #218838;
    color: white;
}

.search-btn i {
    margin: 0;
    font-size: 1rem;
}

/* 快速查看按钮样式 */
.quick-view {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--white);
    color: var(--primary-color);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 10;
}

.product-item:hover .quick-view {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.quick-view:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    /* 移除触摸设备上的悬停效果，避免意外触发 */
    .btn:hover,
    .banner-btn:hover,
    .nav-item > a:hover,
    .product-item:hover,
    .quick-view:hover,
    .footer-social a:hover {
        transform: none;
    }
    
    /* 增加点击区域大小和优化触摸反馈 */
    .btn,
    .banner-btn,
    .quick-view,
    .footer-social a {
        min-width: 44px;
        min-height: 44px;
        transition: transform 0.1s ease;
    }
    
    .btn:active,
    .banner-btn:active,
    .quick-view:active,
    .footer-social a:active {
        transform: scale(0.98);
    }
    
    /* 滚动条样式 */
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    ::-webkit-scrollbar-track {
        background: var(--light-gray);
    }
    
    ::-webkit-scrollbar-thumb {
        background: var(--medium-gray);
        border-radius: 4px;
    }
}

/* 图片懒加载样式优化 */
.lazy {
    opacity: 0;
    transition: opacity 0.5s ease;
    background-color: var(--light-gray);
    min-height: 50px;
}

.lazy-loaded {
    opacity: 1;
}



/* 资源搜索样式 */
.resource-search {
    padding: 40px 0;
    background: transparent; /* 确保搜索区域背景透明 */
    position: relative;
}

.resource-search .search-container {
    margin: 0 auto;
    text-align: center;
    max-width: 1000px; /* 增加容器最大宽度 */
    background: transparent; /* 确保搜索容器背景透明 */
    padding: 0;
    border: none;
}

.resource-search .search-container h2 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.resource-search .search-container p {
    margin-bottom: 20px;
    color: var(--dark-gray);
}

/* 主要搜索表单容器 - 确保所有元素在同一行 */
.search-box {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    margin: 20px auto 0;
    background: transparent !important; /* 强制背景透明 */
    border-radius: 0 !important; /* 移除圆角 */
    box-shadow: none !important; /* 强制移除阴影 */
    overflow: visible !important; /* 确保不裁剪 */
    padding: 0 !important;
    width: 100%;
    max-width: 900px;
    height: 50px;
    position: relative;
    border: none !important;
}

/* 确保没有伪元素导致的"+"符号 */
.search-box::before,
.search-box::after {
    content: none !important;
}

.search-box *::before,
.search-box *::after {
    content: none !important;
}

/* 搜索输入框 */
#search-input {
    flex: 1;
    min-width: 400px;
    max-width: 700px;
    height: 100%;
    padding: 14px 20px;
    border: 1px solid #e0e0e0;
    border-right: none !important;
    border-radius: 6px 0 0 6px !important; /* 左侧圆角 */
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.3s ease;
    margin: 0 !important;
    box-sizing: border-box;
    position: relative;
    background: #ffffff;
}

/* 确保输入框没有伪元素导致的符号 */
#search-input::before,
#search-input::after {
    content: none !important;
}

#search-input:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.25);
}

/* 文件类型选择器 */
#file-type {
    height: 100%;
    padding: 14px 15px;
    border: 1px solid #e0e0e0;
    border-right: none !important;
    border-left: none !important;
    border-radius: 0 !important;
    font-size: 0.875rem;
    background-color: #ffffff;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
    width: 120px;
    margin: 0 !important;
    text-align: center;
    box-sizing: border-box;
}

#file-type:focus {
    border-color: #4CAF50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.25);
}

/* 搜索按钮 */
.search-btn {
    position: static !important;
    height: 100%;
    padding: 14px 24px;
    background-color: #4CAF50 !important;
    color: white !important;
    border: 1px solid #4CAF50 !important;
    border-radius: 0 6px 6px 0 !important; /* 右侧圆角 */
    font-size: 0.875rem;
    cursor: pointer;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    margin: 0 !important;
    box-sizing: border-box;
    width: auto;
    min-width: 100px;
}

.search-btn:hover {
    background-color: #45a049 !important;
    color: white !important;
}

/* 移除原有的表单样式 */
#search-form {
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: none;
    display: inline-block;
    width: 100%;
    max-width: 900px;
    overflow: visible;
}

/* 确保搜索区域的容器没有背景色 */
.resource-search .container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .search-box {
        flex-direction: column !important;
        gap: 0 !important;
        overflow: visible;
    }
    
    #search-input,
    #file-type,
    .search-btn {
        border-radius: 0 !important;
        border: 1px solid var(--medium-gray) !important;
        width: 100%;
        margin-bottom: 0 !important;
    }
    
    #search-input {
        border-bottom: none !important;
        border-radius: 4px 4px 0 0 !important;
    }
    
    #file-type {
        border-top: none !important;
        border-bottom: none !important;
        border-left: 1px solid var(--medium-gray) !important;
        border-right: 1px solid var(--medium-gray) !important;
    }
    
    .search-btn {
        border-top: none !important;
        border-radius: 0 0 4px 4px !important;
    }
}

/* 骨架屏占位符 */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* 添加打印样式 */
@media print {
    .header,
    .footer,
    .back-to-top,
    .online-service,
    .mobile-menu-btn {
        display: none;
    }
    
    .container {
        max-width: 100%;
    }
    
    body {
        background-color: white;
    }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0052cc;
        --secondary-color: #000000;
        --dark-gray: #333333;
    }
    
    .btn,
    .banner-btn {
        border: 2px solid currentColor;
    }
}

/* 减少动画偏好支持 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-delay: 0ms !important;
    }
    
    /* 确保骨架屏在减少动画模式下不会闪烁 */
    .skeleton {
        animation: none;
        background: var(--light-gray);
    }
    
    /* 移除所有平滑过渡 */
    .banner-slide,
    .nav-item > a,
    .btn,
    .product-item,
    .modal-content,
    .lazy {
        transition: none !important;
    }
}