* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

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

/* 头部样式 */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo-text {
    font-size: 24px;
    font-weight: bold;
}

.logo-sub {
    font-size: 16px;
    color: #7f8c8d;
    margin-left: 5px;
}

.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    margin-left: 5px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav li {
    margin: 0 15px;
}



nav a:hover, nav a.active {
    color: #3498db;
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #3498db;
    border-radius: 3px;
}

/* 页面头部 / Banner */
.page-header, .banner {
    margin-bottom: 40px;
}

        .page-header {
            background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
            color: white;
            padding: 120px 0;
            height: 200px; 
            text-align: center;
            margin-bottom: 40px;
        }

.banner {
    height: 500px;
    position: relative;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
}

.banner-content {
    color: white;
    padding: 0 40px;
    max-width: 600px;
}

.welcome {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.welcome-line {
    width: 40px;
    height: 3px;
    background: #3498db;
    margin-right: 15px;
}

.company-name {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.highlight {
    color: #3498db;
    font-weight: bold;
}

.sub-title {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.banner-btns {
    display: flex;
    gap: 15px;
}

.primary-btn, .outline-btn {
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.primary-btn {
    background: #3498db;
    color: white;
    border: none;
}

.primary-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

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

.outline-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* 内容区域 */
.section {
    padding: 50px 0;
}

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

.main-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.description {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 商品区域 */
.goods-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.total-count {
    color: #7f8c8d;
}

.sort-options {
    display: flex;
    gap: 20px;
}

.sort-item {
    color: #7f8c8d;
    cursor: pointer;
}

        
        /* 购物车图标 */
        .cart-icon {
            position: fixed;
            right: 30px;
            top: 180px;
            width: 50px;
            height: 50px;
            background: #3498db;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
            z-index: 999;
        }
        
        .cart-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #e74c3c;
            color: white;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            font-size: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* 商品详情 */
        .detail-container {
            padding: 130px 0;
        }
        
        .goods-main {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            margin-bottom: 40px;
        }
        
        /* 商品画廊 */
        .goods-gallery {
            position: relative;
        }
        
        .main-image {
            width: 100%;
            height: 500px;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            margin-bottom: 15px;
        }
        
        .main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .thumbnails {
            display: flex;
            gap: 10px;
        }
        
        .thumbnail {
            width: 80px;
            height: 80px;
            border-radius: 5px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: border 0.3s;
        }
        
        .thumbnail.active {
            border-color: #3498db;
        }
        
        .thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* 商品信息 */
        .goods-info {
            padding: 20px;
        }
        
        .price-box {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin-bottom: 20px;
        }
        
        .price-section {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
        
        .current-price {
            font-size: 1.8rem;
            color: #e74c3c;
            font-weight: bold;
            margin-right: 15px;
        }
        
        .original-price {
            text-decoration: line-through;
            color: #95a5a6;
            font-size: 1.2rem;
        }
        
        .promotion-text {
            background: #e74c3c;
            color: white;
            padding: 3px 8px;
            border-radius: 4px;
            font-size: 0.9rem;
            margin-left: 15px;
        }
        
        .promotion {
            display: flex;
            gap: 10px;
        }
        
        .promotion-tag {
            background: #fffaf2;
            color: #f39c12;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.9rem;
            border: 1px dashed #f39c12;
        }
        
        /* 规格选择 */
        .spec-section {
            margin: 25px 0;
        }
        
        .spec-title {
            font-weight: 600;
            margin-bottom: 12px;
            color: #2c3e50;
            display: flex;
            align-items: center;
        }
        
        .spec-title i {
            margin-right: 8px;
            color: #3498db;
        }
        
        .spec-options {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 15px;
        }
        
        .spec-option {
            padding: 8px 15px;
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .spec-option:hover {
            border-color: #3498db;
        }
        
        .spec-option.selected {
            background: #3498db;
            color: white;
            border-color: #3498db;
        }
        
        .spec-option.disabled {
            background: #f8f9fa;
            color: #bbb;
            cursor: not-allowed;
            text-decoration: line-through;
        }
        
        /* 数量选择 */
        .quantity-section {
            display: flex;
            align-items: center;
            margin: 25px 0;
        }
        
        .quantity-title {
            font-weight: 600;
            margin-right: 15px;
            color: #2c3e50;
        }
        
        .quantity-selector {
            display: flex;
            align-items: center;
            border: 1px solid #ddd;
            border-radius: 4px;
            overflow: hidden;
        }
        
        .quantity-btn {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f8f9fa;
            cursor: pointer;
            font-size: 1.2rem;
            user-select: none;
        }
        
        .quantity-btn:hover {
            background: #e9ecef;
        }
        
        .quantity-input {
            width: 60px;
            height: 40px;
            border: none;
            border-left: 1px solid #ddd;
            border-right: 1px solid #ddd;
            text-align: center;
            font-size: 1rem;
        }
        
        /* 配送信息 */
        .delivery-service {
            background: #f8f9fa;
            padding: 15px;
            border-radius: 8px;
            margin-bottom: 25px;
        }
        
        .item {
            display: flex;
            margin-bottom: 10px;
        }
        
        .item:last-child {
            margin-bottom: 0;
        }
        
        .label {
            min-width: 60px;
           /* color: #7f8c8d; */
        }
        
        .value {
            color: #2c3e50;
            font-weight: 500;
        }
        
        /* 操作按钮 */
        .action-buttons {
            display: flex;
            gap: 15px;
        }
        
        .btn-cart, .btn-buy {
            flex: 1;
            padding: 15px 0;
            border-radius: 30px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            font-size: 1rem;
        }
        
        .btn-cart {
            background: #fff;
            color: #3498db;
            border: 2px solid #3498db;
        }
        
        .btn-cart:hover {
            background: #3498db;
            color: white;
        }
        
        .btn-buy {
            background: #e74c3c;
            color: white;
        }
        
        .btn-buy:hover {
            background: #c0392b;
        }
        
        /* 商品详情标签 */
        .detail-tabs {
            display: flex;
            border-bottom: 1px solid #ddd;
            margin-bottom: 20px;
        }
        
        .tab-item {
            padding: 15px 25px;
            cursor: pointer;
            position: relative;
            font-weight: 500;
        }
        
        .tab-item.active {
            color: #3498db;
        }
        
        .tab-item.active::after {
            content: '';
            position: absolute;
            bottom: -1px;
            left: 0;
            width: 100%;
            height: 3px;
            background: #3498db;
        }
        
        .detail-content img {
            max-width: 100%;
            border-radius: 8px;
            margin-bottom: 15px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
        }
        
        /* 对比功能 */
        .compare-section {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            margin-top: 40px;
        }
        
        .compare-title {
            font-size: 1.5rem;
            color: #2c3e50;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
        }
        
        .compare-items {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
        }
        
        .compare-item {
            border: 1px solid #eee;
            border-radius: 8px;
            padding: 15px;
            text-align: center;
            transition: transform 0.3s;
            cursor: pointer;
        }
        
        .compare-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .compare-item img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        
        .compare-item-title {
            font-size: 0.9rem;
            margin-bottom: 8px;
            height: 40px;
            overflow: hidden;
        }
        
        .compare-item-price {
            color: #e74c3c;
            font-weight: bold;
        }
        
        /* 响应式设计 */
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                text-align: center;
            }
            
            nav ul {
                margin-top: 15px;
                flex-wrap: wrap;
                justify-content: center;
            }
            
            nav li {
                margin: 5px 10px;
            }
            
            .goods-main {
                grid-template-columns: 1fr;
            }
            
            .main-image {
                height: 350px;
            }
            
            .action-buttons {
                flex-direction: column;
            }
            
            .cart-icon {
                top: 70px;
                right: 15px;
                width: 45px;
                height: 45px;
            }
        }
.sort-item.active {
    color: #3498db;
    font-weight: bold;
}

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

.goods-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.goods-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

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

.goods-info {
    padding: 15px;
}

.price-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.price {
    font-size: 1.2rem;
    color: #e74c3c;
    font-weight: bold;
    margin-right: 10px;
}

.original-price {
    text-decoration: line-through;
    color: #95a5a6;
}

.sales-info {
    display: flex;
    justify-content: space-between;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 筛选区域 */
.filter-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}

.filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 30px;
    padding: 0 15px;
    flex: 1;
    max-width: 400px;
}

.search-box input {
    border: none;
    background: transparent;
    padding: 12px 10px;
    width: 100%;
    outline: none;
    font-size: 1rem;
}

.icon-search {
    color: #7f8c8d;
    margin-right: 10px;
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.filter-tag:hover, .filter-tag.active {
    background: #3498db;
    color: white;
}

/* 资讯列表 */
.news-list, .news-section {
    /*display: grid;*/
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.news-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

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

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

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

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.news-image-wrapper:hover .image-overlay {
    opacity: 1;
}

.read-more {
    color: white;
    border: 2px solid white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
}

.news-content {
    padding: 20px;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.news-desc {
    color: #7f8c8d;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 72px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.left-info {
    flex: 1;
}

.news-meta {
    gap: 15px;
    margin-bottom: 10px;
}

.category, .date, .views {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.category {
    color: #3498db;
    font-weight: 500;
}

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

.price-container {
    display: flex;
    align-items: center;
    background: #fffaf2;
    padding: 5px 10px;
    border-radius: 5px;
    color: #f39c12;
    font-weight: 500;
}

.price-icon {
    margin-right: 5px;
}

.read-btn {
    background: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.3s;
}

.read-btn:hover {
    background: #2980b9;
}

/* 加载状态 */
.loading-status {
    text-align: center;
    padding: 30px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页脚 */
footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 50px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-direction: column;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
}

.link-group {
    display: flex;
    gap: 10px;
}

.link-item {
    cursor: pointer;
    transition: color 0.3s;
}

.link-item:hover {
    color: #3498db;
}

.divider {
    color: #95a5a6;
}

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

.contact-item {
    display: flex;
    margin-bottom: 10px;
}

.label {
    font-weight: 500;
    min-width: 60px;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    display: flex;
    justify-content: center;
}

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

.beian-link {
    color: #3498db;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav li {
        margin: 5px 10px;
    }
    
    .banner {
        height: 400px;
    }
    
    .banner-content {
        text-align: center;
        padding: 0 20px;
    }
    
    .welcome {
        justify-content: center;
    }
    
    .company-name {
        font-size: 2rem;
    }
    
    .banner-btns {
        justify-content: center;
    }
    
    .goods-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .news-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .right-info {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 20px;
    }
    
    .link-group {
        flex-wrap: wrap;
        justify-content: center;
    }
}
        /* 关于内容 */
        .about-content {
            padding: 40px 0;
        }
        
        .content-wrapper {
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 25px rgba(0,0,0,0.08);
            padding: 40px;
            margin-bottom: 40px;
        }
        
        .section-title {
            font-size: 1.8rem;
            color: #2c3e50;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #3498db;
            position: relative;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 60px;
            height: 2px;
            background: #e74c3c;
        }
        
        .company-info {
            margin-bottom: 30px;
        }
        
        .company-desc {
            font-size: 1.1rem;
            line-height: 1.8;
            color: #34495e;
            margin-bottom: 25px;
        }
        
        .info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-bottom: 40px;
        }
        
        .info-card {
            background: #f8f9fa;
            border-radius: 8px;
            padding: 25px;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .info-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        .info-card i {
            font-size: 2.5rem;
            color: #3498db;
            margin-bottom: 15px;
        }
        
        .info-card h3 {
            font-size: 1.3rem;
            margin-bottom: 10px;
            color: #2c3e50;
        }
        
        .info-card p {
            color: #7f8c8d;
            line-height: 1.6;
        }
        
        .contact-details {
            background: #2c3e50;
            color: white;
            padding: 40px;
            border-radius: 10px;
        }
        
        .contact-details h2 {
            color: white;
            margin-bottom: 25px;
        }
        
        .contact-item {
            display: flex;
            margin-bottom: 20px;
            align-items: flex-start;
        }
        
        .contact-icon {
            min-width: 40px;
            font-size: 1.5rem;
            color: #3498db;
            margin-right: 15px;
        }
        
        .contact-text {
            flex: 1;
        }
        
        .contact-text h4 {
            margin-bottom: 5px;
            font-size: 1.1rem;
        }
        
        .contact-text p {
            color: #ecf0f1;
        }
        
        .map-container {
            margin-top: 40px;
            border-radius: 10px;
            overflow: hidden;
            height: 400px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .map-placeholder {
            width: 100%;
            height: 100%;
            background: #e8f4fd;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #3498db;
            font-weight: bold;
            font-size: 1.2rem;
        }
		.about-title {
			margin-bottom: 40px;
		}
        /* 筛选栏 */
        .filter-bar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            margin-bottom: 30px;
        }
        
        .total-count {
            color: #7f8c8d;
            font-weight: 500;
        }
        
        .sort-options {
            display: flex;
            gap: 20px;
        }
        
        .sort-item {
            color: #7f8c8d;
            cursor: pointer;
            position: relative;
            padding: 5px 10px;
            border-radius: 15px;
            transition: all 0.3s;
        }
        
        .sort-item.active {
            color: #3498db;
            background: #e8f4fd;
            font-weight: bold;
        }
        
        .sort-item:hover {
            color: #3498db;
        }
        
        .order-icon {
            margin-left: 5px;
            font-size: 0.8rem;
        }