/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #e31e24;
    --secondary-color: #333;
    --text-color: #666;
    --light-bg: #f5f5f5;
    --white: #fff;
    --border-color: #e0e0e0;
    --hover-color: #c41a1f;
}

body {
    font-family: 'Microsoft YaHei', 'SimSun', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 按钮样式 */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
}

.btn-link:hover {
    color: var(--hover-color);
}

.section-title {
    font-size: 36px;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

/* 头部样式 */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--light-bg);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info span {
    margin-right: 20px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.social-links a {
    margin-left: 15px;
    color: var(--text-color);
    font-size: 16px;
}

.social-links a:hover {
    color: var(--primary-color);
}

.navbar {
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 10px;
}

.logo span {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--secondary-color);
    font-size: 16px;
    font-weight: 500;
    padding: 10px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
}

.dropdown-wide {
    min-width: 400px;
    display: flex;
    padding: 20px;
    gap: 20px;
}

.dropdown-section {
    flex: 1;
}

.dropdown-section strong {
    display: block;
    padding: 8px 15px;
    color: var(--primary-color);
    font-size: 14px;
    border-bottom: 2px solid var(--primary-color);
    margin-bottom: 10px;
}

.dropdown-section ul {
    list-style: none;
}

.dropdown-section ul li {
    margin-bottom: 0;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 14px;
}

.dropdown li a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* 轮播图 */
.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1600px;
    height: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
}

.slide-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: var(--white);
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 20;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.5);
}

.slider-btn.prev {
    left: 30px;
}

.slider-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

/* 每日推荐产品样式 */
.daily-products {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.section-header .section-title i {
    color: #ffc107;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.daily-date {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: normal;
    margin-left: 10px;
}

.section-subtitle {
    color: var(--text-color);
    font-size: 16px;
    margin-top: 10px;
}

.daily-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.daily-product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.daily-product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(227, 30, 36, 0.15);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #e31e24 100%);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(227, 30, 36, 0.3);
}

.daily-product-card .product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.daily-product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.daily-product-card:hover .product-image img {
    transform: scale(1.05);
}

.daily-product-card .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 30, 36, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.daily-product-card:hover .product-overlay {
    opacity: 1;
}

.daily-product-card .product-overlay .btn-view {
    padding: 10px 25px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: bold;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.daily-product-card:hover .product-overlay .btn-view {
    transform: translateY(0);
}

.daily-product-card .product-info {
    padding: 25px;
}

.daily-product-card .product-category {
    display: inline-block;
    background: var(--light-bg);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
    font-weight: bold;
}

.daily-product-card .product-info h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1.4;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.daily-product-card .product-model {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.daily-product-card .product-desc {
    color: var(--text-color);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
    height: 40px;
    overflow: hidden;
}

.daily-product-card .product-actions {
    display: flex;
    gap: 10px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.view-more {
    text-align: center;
    margin-top: 20px;
}

/* 产品分类 */
.product-categories {
    padding: 80px 0;
    background: var(--white);
}

.category-main-title {
    font-size: 28px;
    color: var(--secondary-color);
    margin: 40px 0 30px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
}

.category-main-title i {
    color: var(--primary-color);
    margin-right: 10px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-grid:has(.category-card:nth-child(4):last-child) {
    grid-template-columns: repeat(4, 1fr);
}

.category-card {
    background: var(--white);
    padding: 40px 30px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    background: var(--primary-color);
    color: var(--white);
}

.category-card h3 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.category-card p {
    color: var(--text-color);
    margin-bottom: 20px;
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-content h2 {
    text-align: left;
    margin-bottom: 30px;
}

.about-content h2::after {
    left: 0;
    transform: translateX(0);
}

.about-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 20px;
}

/* 新闻资讯 */
.news-section {
    padding: 80px 0;
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 14px;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    margin-bottom: 15px;
    font-size: 14px;
}

.text-center {
    text-align: center;
}

/* 联系CTA */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-buttons .btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

/* 页脚 */
.footer {
    background: var(--secondary-color);
    color: var(--white);
}

.footer-main {
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: #ccc;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #ccc;
    display: flex;
    gap: 10px;
}

.footer-contact i {
    color: var(--primary-color);
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
    color: #ccc;
}

.footer-bottom a {
    color: #ccc;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* 返回顶部 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--hover-color);
    transform: translateY(-5px);
}

/* 页面标题 */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--hover-color));
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
    margin-bottom: 15px;
}

.breadcrumb {
    font-size: 16px;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 10px;
}

/* 产品页面 */
.products-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.products-sidebar {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
}

.products-sidebar h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 20px;
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.category-list a:hover,
.category-list a.active {
    background: var(--light-bg);
    color: var(--primary-color);
}

.category-group {
    margin: 15px 0;
}

.category-group-title {
    display: block;
    padding: 12px 15px;
    font-weight: bold;
    color: var(--secondary-color);
    background: var(--light-bg);
    border-radius: 4px;
    margin-bottom: 5px;
}

.category-group-title i {
    color: var(--primary-color);
    margin-right: 8px;
}

.category-sublist {
    list-style: none;
    padding-left: 0;
}

.category-sublist li {
    margin-bottom: 5px;
}

.category-sublist a {
    display: block;
    padding: 8px 15px 8px 35px;
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-sublist a:hover,
.category-sublist a.active {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 40px;
}

.sidebar-contact {
    background: var(--light-bg);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.sidebar-contact p {
    font-size: 14px;
    margin-bottom: 15px;
}

.products-content {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.products-header h2 {
    color: var(--secondary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: var(--light-bg);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(227, 30, 36, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-view {
    color: var(--white);
    border: 2px solid var(--white);
    padding: 10px 25px;
    border-radius: 4px;
}

.btn-view:hover {
    background: var(--white);
    color: var(--primary-color);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 10px;
}

.product-model {
    color: var(--text-color);
    font-size: 14px;
    margin-bottom: 10px;
}

.product-desc {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* 分页样式 */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination-btn.disabled {
    background: var(--light-bg);
    color: #ccc;
    cursor: not-allowed;
    border-color: #e0e0e0;
}

.pagination-btn.disabled:hover {
    background: var(--light-bg);
    color: #ccc;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 5px;
}

.pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-num:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.pagination-num.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    font-weight: bold;
    cursor: default;
}

.pagination-ellipsis {
    padding: 0 5px;
    color: var(--text-color);
}

.btn-inquiry {
    display: block;
    text-align: center;
    padding: 10px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 4px;
}

.btn-inquiry:hover {
    background: var(--hover-color);
}

/* 新闻列表页 */
.news-list-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.news-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

.news-main {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
}

.news-list {
    margin-bottom: 40px;
}

.news-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 30px;
    margin-bottom: 30px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.news-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.news-item-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-category {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 12px;
}

.news-item-content h2 {
    font-size: 22px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.news-item-content h2 a:hover {
    color: var(--primary-color);
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-color);
}

.news-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.btn-read-more {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 500;
}

.pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.page-link {
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.news-sidebar {
    height: fit-content;
}

.sidebar-widget {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 18px;
}

.hot-news-list {
    list-style: none;
}

.hot-news-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.hot-news-list li:last-child {
    border-bottom: none;
}

.hot-news-list a {
    color: var(--secondary-color);
    font-size: 14px;
    line-height: 1.6;
}

.hot-news-list a:hover {
    color: var(--primary-color);
}

.hot-news-date {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-color);
}

.sidebar-contact-info {
    margin-bottom: 20px;
}

.sidebar-contact-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

/* 联系页面 */
.contact-info-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-info-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--white);
}

.contact-info-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-info-card p {
    font-size: 14px;
    margin-bottom: 5px;
}

.contact-form-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-form-wrapper,
.contact-map-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
}

.contact-form-wrapper h2,
.contact-map-wrapper h2 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.contact-form-wrapper p {
    color: var(--text-color);
    margin-bottom: 30px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    display: block;
}

.contact-map {
    height: 350px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.map-tips h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.map-tips ul {
    list-style: none;
}

.map-tips li {
    margin-bottom: 10px;
    font-size: 14px;
}

.map-tips i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* 关于页面 */
.about-intro {
    padding: 80px 0;
    background: var(--white);
}

.about-text h2 {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.advantages-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary-color);
}

.advantage-card h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.culture-section {
    padding: 80px 0;
    background: var(--white);
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.culture-item {
    padding: 40px 30px;
    background: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.culture-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.culture-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

.promise-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.promise-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.promise-item {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    position: relative;
}

.promise-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 48px;
    font-weight: bold;
    color: rgba(227, 30, 36, 0.1);
}

.promise-item h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .daily-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid,
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--white);
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hero-slider {
        height: auto;
        min-height: 300px;
        max-height: 400px;
    }
    
    .slide img {
        width: 100%;
        height: auto;
        max-height: 400px;
    }
    
    .slide-content h2 {
        font-size: 32px;
    }
    
    .category-main-title {
        font-size: 22px;
        margin: 30px 0 20px;
    }
    
    .daily-products-grid,
    .category-grid,
    .news-grid,
    .products-grid,
    .advantages-grid,
    .contact-info-grid,
    .culture-grid,
    .promise-list {
        grid-template-columns: 1fr !important;
    }
    
    .daily-product-card .product-info h3 {
        height: auto;
    }
    
    .daily-product-card .product-desc {
        height: auto;
    }
    
    /* 移动端分页样式 */
    .pagination {
        flex-wrap: wrap;
        gap: 5px;
        padding: 20px 0;
    }
    
    .pagination-btn {
        padding: 8px 15px;
        font-size: 13px;
    }
    
    .pagination-numbers {
        gap: 3px;
    }
    
    .pagination-num {
        min-width: 35px;
        height: 35px;
        font-size: 13px;
    }
    
    .pagination-ellipsis {
        font-size: 12px;
    }
    
    .about-grid,
    .products-layout,
    .news-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
