/* 基础样式 */
:root {
    --primary: #1a365d;
    --secondary: #e63946;
    --accent: #2a9d8f;
    --light: #f8f9fa;
    --dark: #343a40;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    word-break: break-all; /* 强制所有字符都可以换行 */
  /* 或 */
  word-break: break-word; /* 类似 overflow-wrap: break-word */
}

body {
    background-color: #f5f7fa;
    color: var(--dark);
    line-height: 1.6;
}
a{text-decoration:none; color:inherit}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

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

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo-text h1 {
    font-size: 24px;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text span {
    font-size: 14px;
    color: var(--secondary);
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin: 0 15px;
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    padding: 5px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 80px;
}

.nav-menu a span.chinese {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 2px;
}

.nav-menu a span.english {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a:hover span.chinese,
.nav-menu a:hover span.english {
    color: var(--secondary);
}

.nav-menu a.active span.chinese {
    color: var(--secondary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 2px;
}

.nav-menu a.active span.english {
    color: var(--secondary);
    font-weight: 500;
}

/* 添加导航悬停指示器 */
.nav-menu li::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-menu li:hover::after,
.nav-menu li.active::after {
    width: 60%;
}

/* 移除语言切换器样式 */
.language-switcher {
    display: none;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--primary);
}

/* 新增中英文内容切换相关样式 */
.content-zh,
.content-en {
    transition: opacity 0.3s ease;
}

.content-en {
    display: none;
    opacity: 0;
}

.content-zh.active,
.content-en.active {
    display: block;
    opacity: 1;
}

/* 语言切换器样式（重新添加） */
.language-switcher {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-left: 20px;
}

.lang-btn {
    padding: 6px 12px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    min-width: 50px;
    text-align: center;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
}

/* 主视觉区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

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

.btn-primary:hover {
    background: #c1121f;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* 通用内容区域 */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--secondary);
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* 关于我们页面样式 */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-10px);
}

.feature i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--secondary), #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary);
}

/* 产品页面样式 */
.products {
    background: var(--light);
}

.product-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.category-btn {
    padding: 10px 25px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.category-btn.active, .category-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
     grid-template-rows: 370px
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary);
}

.product-info p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.product-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.product-link i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.product-link:hover {
    color: #c1121f;
}

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

/* 新闻页面样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 20px;
}

.news-date {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 5px;
    color: var(--secondary);
}

.news-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.news-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 14px;
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

/* 联系页面样式 */
.contact {
    background: var(--primary);
    color: white;
}

.contact .section-title h2 {
    color: white;
}

.contact .section-title p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    color: var(--secondary);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.8);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: white;
    font-size: 16px;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.submit-btn:hover {
    background: #c1121f;
}

/* 页脚样式 */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* 产品中心页面布局 */
.products-page-layout {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.products-sidebar {
    flex: 0 0 280px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
}

.products-main {
    flex: 1;
}

/* 左侧边栏样式 */
.sidebar-header {
    padding: 20px;
    background: var(--primary);
    color: white;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-menu {
    padding: 0;
}

/* 三级菜单样式 */
.menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.menu-item.level-1.active {
    background: rgba(26, 54, 93, 0.05);
}

.menu-header {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s;
}

.menu-header:hover {
    background: rgba(26, 54, 93, 0.05);
}

.menu-title {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.menu-toggle {
    font-size: 12px;
    transition: transform 0.3s;
}

.menu-item.active .menu-toggle {
    transform: rotate(180deg);
}

/* 二级菜单 */
.submenu.level-2 {
    display: none;
    background: #f9f9f9;
}

.menu-item.level-1.active .submenu.level-2 {
    display: block;
}

.menu-item.level-2 {
    border: none;
    border-top: 1px solid #eee;
}

.menu-item.level-2 .menu-header {
    padding: 12px 20px 12px 40px;
}

/* 三级菜单 */
.submenu.level-3 {
    display: none;
    background: #f5f5f5;
    padding: 10px 0;
}

.menu-item.level-2.active .submenu.level-3 {
    display: block;
}

.menu-item.level-3 {
    padding: 8px 20px 8px 60px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s;
    border: none;
}

.menu-item.level-3:hover {
    background: rgba(230, 57, 70, 0.1);
    color: var(--secondary);
}

.menu-item.level-3.active {
    background: rgba(230, 57, 70, 0.15);
    color: var(--secondary);
    font-weight: 500;
}

.menu-item.level-3 i {
    font-size: 10px;
    margin-right: 10px;
    color: var(--secondary);
}

/* 边栏其他内容 */
.product-search,
.hot-products {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
}

.product-search h4,
.hot-products h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.search-box {
    display: flex;
}

.search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-btn {
    padding: 10px 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-btn:hover {
    background: var(--secondary);
}

.hot-product-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-product-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hot-product-list li:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.hot-product-list li:last-child {
    border-bottom: none;
}

.hot-product-list i {
    color: var(--secondary);
    font-size: 12px;
}

/* 右侧主内容区 */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.breadcrumb {
    font-size: 14px;
    color: var(--gray);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb span {
    color: var(--secondary);
}

.products-filter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
    font-size: 14px;
    color: var(--dark);
    cursor: pointer;
}

.filter-select:focus {
    border-color: var(--primary);
    outline: none;
}

/* 产品卡片增强样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-price {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: var(--secondary);
}

.product-price .btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 40px;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-btn.active, .pagination-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 修改三级菜单默认展开样式 */
/* 移除原有子菜单隐藏样式，改为默认显示 */
.submenu.level-2,
.submenu.level-3 {
    display: block !important; /* 强制显示所有子菜单 */
}

/* 更新菜单项激活状态样式 */
.menu-item.level-1.active {
    background: rgba(26, 54, 93, 0.05);
}

.menu-item.level-2.active {
    background: rgba(26, 54, 93, 0.03);
}

.menu-item.level-3.active {
    background: rgba(230, 57, 70, 0.15);
    color: var(--secondary);
    font-weight: 500;
}

/* 更新菜单箭头旋转方向 */
.menu-toggle {
    transition: transform 0.3s;
}

/* 对于默认展开的菜单，箭头应向下 */
.menu-item.level-1 .menu-toggle,
.menu-item.level-2 .menu-toggle {
    transform: rotate(180deg); /* 向下箭头 */
}

/* 当菜单收起时，箭头向右 */
.menu-item.level-1.collapsed .menu-toggle,
.menu-item.level-2.collapsed .menu-toggle {
    transform: rotate(0deg); /* 向右箭头 */
}

/* 添加菜单收起时的子菜单隐藏 */
.menu-item.level-1.collapsed .submenu.level-2 {
    display: none !important;
}

.menu-item.level-2.collapsed .submenu.level-3 {
    display: none !important;
}
/* 响应式设计 */
@media (max-width: 992px) {
     .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 1001;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 10px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        min-width: auto;
        padding: 10px 0;
    }
    
    .nav-menu a span.chinese {
        font-size: 18px;
    }
    
    .nav-menu a span.english {
        font-size: 14px;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-container {
        padding: 10px 20px;
    }
    .about-content {
        flex-direction: column;
    }
    
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
     .language-switcher {
        margin-left: 10px;
    }
    
    .lang-btn {
        padding: 5px 10px;
        font-size: 12px;
        min-width: 40px;
    }
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text span {
        font-size: 12px;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .products-grid, .news-grid {
        grid-template-columns: 1fr;
    }
}


/* ===================== 新闻详情页专用样式 ===================== */

/*.news-detail-page {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 350px;*/
/*    gap: 40px;*/
/*}*/

/* 新闻详情主内容 */
.news-detail-main {
    flex: 1;
}

.news-image-group {
    margin: 20px 0;
}

.news-image-group::after {
    content: '';
    display: table;
    clear: both;
}

/* 新闻导航 */
.news-navigation {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 30px 0;
}

.news-nav {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
    transition: color 0.3s;
    max-width: 45%;
}

.news-nav:hover {
    color: var(--secondary);
}

.news-nav.prev {
    text-align: left;
}

.news-nav.next {
    text-align: right;
}

.news-nav-content {
    flex: 1;
}

.news-nav-content span {
    font-size: 14px;
    color: var(--gray);
    display: block;
    margin-bottom: 5px;
}

.news-nav-content h4 {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* 推荐产品 */
.recommended-products {
    margin-top: 20px;
}

.recommended-product {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recommended-product:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recommended-product-image {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.recommended-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recommended-product-content h4 {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--primary);
}

.recommended-product-content p {
    font-size: 13px;
    color: var(--gray);
    margin: 0;
}

/* ===================== 产品详情页专用样式 ===================== */

.product-detail-page {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* 产品画廊 */
.product-gallery {
    margin-bottom: 30px;
}

.product-main-image {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #f9f9f9;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.thumbnail {
    flex: 1;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--secondary);
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* 产品基本信息 */
.product-basic-info {
    margin-bottom: 40px;
    /*padding-bottom: 30px;*/
    /*border-bottom: 1px solid #eee;*/
}

.product-rating {
    margin: 10px 0;
}

.stars {
    color: #ffc107;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars span {
    color: var(--gray);
    font-size: 14px;
    margin-left: 10px;
}

.product-price-section {
    margin: 20px 0;
}

.product-price-section .price {
    font-size: 32px;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 5px;
}

.product-price-section .price-note {
    font-size: 14px;
    color: var(--gray);
}

.product-tags {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.product-tag {
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.product-tag.hot {
    background: #fff2e6;
    color: #ff6b00;
}

.product-tag.new {
    background: #e6f7ff;
    color: #1890ff;
}

.product-tag.eco {
    background: #f6ffed;
    color: #52c41a;
}

.product-short-desc {
    margin: 20px 0;
    padding: 15px;
    background: var(--light);
    border-radius: 4px;
}

.product-actions {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f9f9f9;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #eee;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 12px 30px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-wishlist {
    padding: 12px 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    color: var(--dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-wishlist:hover {
    background: #fff5f5;
    color: var(--secondary);
    border-color: var(--secondary);
}

/* 产品标签页 */
.product-tabs {
    margin-top: 40px;
}

.tabs-header {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 25px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 500;
    color: var(--gray);
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 规格表格 */
.specs-table {
    overflow-x: auto;
    margin: 20px 0;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.specs-table th {
    background: var(--light);
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid #ddd;
}

.specs-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
}

.specs-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* 产品特点网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.feature-item {
    text-align: center;
    padding: 25px 20px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* 应用领域 */
.applications-content {
    margin: 30px 0;
}

.application-item {
    margin-bottom: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    transition: background 0.3s;
}

.application-item:hover {
    background: #e6f7ff;
}

.application-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.application-item h3 i {
    color: var(--secondary);
}

.application-item p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    padding-left: 30px;
}

/* 客户评价 */
.reviews-summary {
    display: flex;
    gap: 50px;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light);
    border-radius: 8px;
    align-items: center;
}

.average-rating {
    text-align: center;
}

.rating-score {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary);
    line-height: 1;
}

.rating-stars {
    color: #ffc107;
    font-size: 20px;
    margin: 10px 0;
}

.rating-text {
    font-size: 14px;
    color: var(--gray);
}

.rating-breakdown {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.rating-bar span:first-child {
    width: 40px;
    font-size: 14px;
}

.rating-bar .bar {
    flex: 1;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar .fill {
    height: 100%;
    background: #ffc107;
}

.rating-bar span:last-child {
    width: 40px;
    text-align: right;
    font-size: 14px;
    color: var(--gray);
}

.reviews-list {
    margin: 30px 0;
}

.review-item {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    font-size: 40px;
    color: var(--gray);
}

.reviewer-name {
    font-weight: 500;
    color: var(--primary);
}

.review-date {
    font-size: 14px;
    color: var(--gray);
}

.review-rating {
    color: #ffc107;
}

.review-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 10px;
}

.review-content p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--dark);
    margin: 0;
}

/* 产品侧边栏 */
.product-detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-widget h3 i {
    color: var(--secondary);
}

.sidebar-widget p {
    color: var(--gray);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info {
    margin: 20px 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 20px;
    color: var(--secondary);
    width: 24px;
}

.contact-label {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--primary);
}

.btn-block {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
}

/* 相关产品 */
.related-products {
    margin-top: 20px;
}

.related-product-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    transition: transform 0.3s;
}

.related-product-item:hover {
    transform: translateX(5px);
}

.related-product-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-product-image {
    flex: 0 0 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
}

.related-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product-content h4 {
    font-size: 15px;
    margin-bottom: 5px;
    color: var(--primary);
}

.related-product-price {
    font-size: 16px;
    font-weight: bold;
    color: var(--secondary);
}

.customization-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.customization-list li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.customization-list i {
    color: var(--secondary);
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .news-detail-page,
    .product-detail-page {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-detail-sidebar,
    .product-detail-sidebar {
        position: static;
        order: 1;
    }
    
    .news-detail-main,
    .product-detail-main {
        order: 2;
    }
}

@media (max-width: 768px) {
    .news-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-nav {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .reviews-summary {
        flex-direction: column;
        gap: 30px;
    }
    
    .tabs-header {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .product-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quantity-selector {
        justify-content: center;
    }
}

/* ===================== 新闻列表页专用样式 ===================== */

/* 新闻分类按钮样式 */
.news-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.news-category-btn {
    padding: 10px 25px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    min-width: 120px;
}

.news-category-btn.active, .news-category-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* 新闻列表项样式 */
.news-list-item {
    display: flex;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.news-list-image {
    flex: 0 0 300px;
    position: relative;
    overflow: hidden;
}

.news-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-list-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-date {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.news-date i {
    margin-right: 5px;
    color: var(--secondary);
}

.news-category-tag {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    margin-right: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-list-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary);
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-list-item:hover .news-list-content h3 {
    color: var(--secondary);
}

.news-list-content p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.news-link {
    display: inline-flex;
    align-items: center;
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-link:hover {
    color: #c1121f;
}

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

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.pagination-btn.active, .pagination-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.disabled:hover {
    background: white;
    color: var(--dark);
    border-color: #ddd;
}

/* 新闻详情页样式 */
.news-detail {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    margin-bottom: 40px;
}

.news-detail-header {
    padding: 40px 40px 20px;
    border-bottom: 1px solid #eee;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.news-detail-category {
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
}

.news-detail-date {
    color: var(--gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-detail-views {
    color: var(--gray);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-detail-title {
    font-size: 32px;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 20px;
}

.news-detail-summary {
    font-size: 18px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid var(--secondary);
}

.news-detail-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-content {
    padding: 40px;
}

.news-detail-content h2 {
    font-size: 24px;
    color: var(--primary);
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.news-detail-content h3 {
    font-size: 20px;
    color: var(--primary);
    margin: 25px 0 10px;
}

.news-detail-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 20px;
}

.news-detail-content ul,
.news-detail-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.news-detail-content li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 8px;
}

.news-detail-content blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    background: var(--light);
    border-left: 4px solid var(--secondary);
    font-style: italic;
    font-size: 18px;
    color: var(--primary);
    line-height: 1.6;
}

.news-detail-content img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 4px;
}

.news-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.news-tag {
    background: #f0f0f0;
    color: var(--dark);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 13px;
    transition: all 0.3s;
}

.news-tag:hover {
    background: var(--secondary);
    color: white;
}

/* 相关新闻样式 */
.related-news {
    margin-top: 50px;
}

.related-news h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-news-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s;
}

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

.related-news-image {
    height: 200px;
    overflow: hidden;
}

.related-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.related-news-content {
    padding: 20px;
}

.related-news-date {
    color: var(--gray);
    font-size: 13px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.related-news-content h4 {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.4;
    transition: color 0.3s;
}

.related-news-item:hover .related-news-content h4 {
    color: var(--secondary);
}

.related-news-content p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

/* 新闻侧边栏样式 */
.news-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.news-sidebar h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-sidebar h3 i {
    color: var(--secondary);
}

/* 热门新闻 */
.hot-news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hot-news-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.hot-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hot-news-rank {
    flex: 0 0 30px;
    height: 30px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

.hot-news-content h4 {
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 5px;
    line-height: 1.4;
    transition: color 0.3s;
}

.hot-news-item:hover .hot-news-content h4 {
    color: var(--secondary);
}

.hot-news-date {
    font-size: 13px;
    color: var(--gray);
}

/* 新闻归档 */
.news-archive {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-archive-item {
    margin-bottom: 12px;
}

.news-archive-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #f9f9f9;
    border-radius: 4px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.3s;
}

.news-archive-link:hover {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

.news-archive-count {
    background: var(--secondary);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* 新闻标签云 */
.news-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.news-tag-cloud {
    background: #f0f0f0;
    color: var(--dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.news-tag-cloud:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
}

.news-tag-cloud.large {
    font-size: 16px;
    padding: 10px 20px;
}

.news-tag-cloud.small {
    font-size: 12px;
    padding: 5px 10px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .news-list-item {
        flex-direction: column;
    }
    
    .news-list-image {
        flex: 0 0 200px;
    }
    
    .news-detail-title {
        font-size: 28px;
    }
    
    .news-detail-header,
    .news-detail-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .news-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .news-category-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .news-detail-title {
        font-size: 24px;
    }
    
    .news-detail-summary {
        font-size: 16px;
    }
    
    .news-detail-header,
    .news-detail-content {
        padding: 20px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .related-news-grid {
        grid-template-columns: 1fr;
    }
}

/* 新闻分享样式 */
.news-share {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.news-share span {
    font-weight: 500;
    color: var(--primary);
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.share-button:hover {
    transform: translateY(-3px);
}

.share-button.wechat {
    background: #07c160;
}

.share-button.weibo {
    background: #e6162d;
}

.share-button.qq {
    background: #12b7f5;
}

.share-button.link {
    background: var(--primary);
}

/* 新闻作者信息 */
.news-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 0;
}

/* 专用汽车参数表格样式 */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}products-grid

/* 固定列宽 */
.spec-table th:nth-child(1),
.spec-table td:nth-child(1) {
    width: 100px; /* 第一列宽度 */
    background-color: #f8fafc;
}

.spec-table th:nth-child(2),
.spec-table td:nth-child(2) {
    width: 180px; /* 第二列宽度 */
}

.spec-table th:nth-child(3),
.spec-table td:nth-child(3) {
    width: auto; /* 第三列自适应 */
    min-width: 200px;
}

/* 表头样式 */
.spec-table thead th {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    font-weight: 600;
    padding: 16px 12px;
    text-align: center;
    border: none;
    font-size: 15px;
}

.spec-table thead th:first-child {
    border-radius: 8px 0 0 0;
}

.spec-table thead th:last-child {
    border-radius: 0 8px 0 0;
}

/* 表格主体样式 */
.spec-table tbody td {
    padding: 12px;
    border: 1px solid #e5e7eb;
    vertical-align: top;
    word-wrap: break-word;
    line-height: 1.5;
}

/* 分类行样式 */
.spec-table tbody tr.category-row td {
    background-color: #eff6ff;
    font-weight: 600;
    color: #1e40af;
    border-top: 2px solid #3b82f6;
    border-bottom: 1px solid #3b82f6;
}

/* 交替行颜色 */
.spec-table tbody tr:nth-child(even):not(.category-row) {
    background-color: #f9fafb;
}

.spec-table tbody tr:nth-child(odd):not(.category-row) {
    background-color: white;
}

/* 悬停效果 */
.spec-table tbody tr:hover:not(.category-row) {
    background-color: #f0f9ff;
    transition: background-color 0.2s ease;
}

/* 单元格内英文样式 */
.spec-table td small {
    display: block;
    color: #6b7280;
    font-size: 12px;
    margin-top: 4px;
    font-family: "Segoe UI", Arial, sans-serif;
}

/* 分类单元格合并样式 */
.spec-table td[rowspan] {
    text-align: center;
    vertical-align: middle;
    font-weight: 600;
}

/* 输入框样式（如需填写数据） */
.spec-table input.data-input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
}

.spec-table input.data-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* 表格底部边框 */
.spec-table tbody tr:last-child td {
    border-bottom: 2px solid #3b82f6;
}

.spec-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 8px;
}

.spec-table tbody tr:last-child td:last-child {
    border-radius: 0 0 8px 0;
}

/* 单位样式 */
.unit {
    color: #9ca3af;
    font-size: 12px;
    margin-left: 4px;
    font-weight: normal;
}