* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

a {
    color: #333;
    text-decoration: none;
}

a:hover {
    color: #1890ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: #1890ff;
}

.nav a {
    margin-left: 30px;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
}

.nav a:hover {
    border-bottom-color: #1890ff;
}

.banner {
    background: #fff;
    margin-bottom: 30px;
}

.slider {
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.section {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1890ff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.product-item {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-item h3 {
    padding: 15px 15px 10px;
    font-size: 16px;
}

.product-item .model {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
}

.product-item .summary {
    padding: 0 15px 15px;
    color: #666;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.more-link {
    text-align: right;
    margin-top: 20px;
}

.more-link a {
    color: #1890ff;
}

.news-list {
    list-style: none;
}

.news-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-list .date {
    color: #999;
    font-size: 14px;
}

.footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 10px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.page-header {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.page-header h1 {
    font-size: 28px;
    margin-bottom: 10px;
}

.breadcrumb {
    color: #999;
    font-size: 14px;
}

.breadcrumb a {
    color: #666;
}

.content {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
}

.content h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.intro {
    line-height: 1.8;
    color: #666;
}

.cat-filter {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.cat-filter a {
    display: inline-block;
    padding: 8px 20px;
    margin-right: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.cat-filter a.active,
.cat-filter a:hover {
    background: #1890ff;
    color: #fff;
}

.detail-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
}

.product-image {
    text-align: center;
    margin-bottom: 30px;
}

.product-image img {
    max-width: 100%;
    max-height: 400px;
}

.product-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.product-info p {
    margin-bottom: 10px;
    color: #666;
}

.product-detail {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.product-detail h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.product-detail .content {
    line-height: 1.8;
    color: #666;
}

.news-list-page {
    background: #fff;
}

.news-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
}

.news-image {
    flex-shrink: 0;
}

.news-image img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
}

.news-content {
    flex: 1;
}

.news-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.news-content .date {
    color: #999;
    font-size: 14px;
    margin-bottom: 10px;
}

.news-content .summary {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #1890ff;
}

.news-detail .meta {
    color: #999;
    margin-bottom: 20px;
}

.news-detail .meta span {
    margin-right: 20px;
}

.news-detail .content {
    line-height: 1.8;
    color: #666;
}

.pagination {
    text-align: center;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: #fff;
    border-radius: 4px;
}

.pagination .active {
    background: #1890ff;
    color: #fff;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
    }
    
    .nav {
        margin-top: 15px;
    }
    
    .nav a {
        margin: 0 10px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-image img {
        width: 100%;
        height: 200px;
    }
}
