* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", Arial, sans-serif; font-size: 14px; line-height: 1.6; color: #333; background: #fff; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }
.swiper-container { width: 100%; height: 400px; }
.swiper-container img { width: 100%; height: 100%; object-fit: cover; }
.swiper-pagination-bullet { width: 10px; height: 10px; background: #fff; opacity: 0.8; }
.swiper-pagination-bullet-active { background: #007bff; }
.swiper-slide { position: relative; }
.slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; }
.slide-caption h3 { font-size: 24px; }
.btn { display: inline-block; padding: 10px 30px; background: #007bff; color: #fff; border-radius: 4px; cursor: pointer; border: none; transition: background 0.3s; }
.btn:hover { background: #0056b3; }
.btn-secondary { background: #6c757d; }
.btn-secondary:hover { background: #545b62; }
.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 1000; }
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 15px; }
.logo img { height: 50px; }
.nav ul { display: flex; gap: 30px; }
.nav a { display: block; padding: 5px 0; color: #333; font-size: 16px; transition: color 0.3s; }
.nav a:hover, .nav a.active { color: #007bff; }
.banner { position: relative; height: 400px; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.banner-content { position: absolute; bottom: 30%; left: 50%; transform: translateX(-50%); text-align: center; color: #fff; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.banner-content h2 { font-size: 48px; }
.section { padding: 60px 0; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-header h2 { font-size: 32px; color: #333; margin-bottom: 10px; }
.section-header p { font-size: 16px; color: #666; }
.section-footer { text-align: center; margin-top: 30px; }
.page-banner { position: relative; height: 300px; overflow: hidden; }
.page-banner .banner { height: 300px; }
.page-banner .banner-content h2 { font-size: 36px; }
.page-nav { background: #f8f9fa; padding: 15px 0; }
.breadcrumb { display: flex; gap: 10px; }
.breadcrumb li:not(:last-child)::after { content: '/'; margin-left: 10px; color: #999; }
.breadcrumb a:hover { color: #007bff; }
.page-content { padding: 40px 0; }
.page-content .container { display: flex; gap: 30px; }
.page-main { flex: 1; }
.page-sidebar { width: 280px; }
.sidebar-widget { background: #f8f9fa; padding: 20px; margin-bottom: 20px; border-radius: 8px; }
.sidebar-widget h3 { font-size: 18px; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 2px solid #007bff; }
.sidebar-widget ul { display: flex; flex-direction: column; gap: 10px; }
.sidebar-widget a { display: block; padding: 8px 10px; border-radius: 4px; transition: all 0.3s; }
.sidebar-widget a:hover, .sidebar-widget a.active { background: #007bff; color: #fff; }
.page-main h1 { font-size: 28px; margin-bottom: 20px; padding-bottom: 15px; border-bottom: 2px solid #007bff; }
.content { line-height: 1.8; }
.content p { margin-bottom: 15px; }
.content img { max-width: 100%; border-radius: 8px; margin: 15px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.3s; }
.product-item:hover { transform: translateY(-5px); }
.product-img { height: 200px; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-item:hover .product-img img { transform: scale(1.1); }
.product-info { padding: 15px; }
.product-info h4 { font-size: 18px; margin-bottom: 10px; }
.product-info p { color: #666; font-size: 14px; }
.product-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.news-item { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.3s; }
.news-item:hover { transform: translateY(-5px); }
.news-img { height: 200px; overflow: hidden; position: relative; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-date { position: absolute; top: 10px; right: 10px; background: #007bff; color: #fff; padding: 5px 10px; border-radius: 4px; font-size: 12px; }
.news-info { padding: 15px; }
.news-info h4 { font-size: 16px; margin-bottom: 10px; line-height: 1.4; }
.news-info p { color: #666; font-size: 14px; }
.news-time { font-size: 12px; color: #999; display: block; margin-top: 10px; }
.news-meta { display: flex; gap: 15px; font-size: 13px; color: #999; margin: 10px 0; }
.news-meta .category { color: #007bff; }
.news-detail { background: #fff; padding: 20px; }
.news-header h1 { font-size: 28px; margin-bottom: 15px; }
.news-cover img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; margin: 20px 0; }
.news-body { line-height: 1.8; margin: 20px 0; }
.news-body p { margin-bottom: 15px; }
.news-body img { max-width: 100%; border-radius: 8px; margin: 15px 0; }
.style-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.style-grid .style-item { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.style-grid .style-img { height: 250px; overflow: hidden; position: relative; }
.style-grid .style-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.style-grid .style-item:hover .style-img img { transform: scale(1.1); }
.style-grid .style-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: #fff; padding: 20px; }
.style-grid .style-overlay h3 { font-size: 18px; margin-bottom: 5px; }
.style-grid .style-overlay p { font-size: 14px; opacity: 0.9; }
.style-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 30px; }
.style-gallery .style-item { border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.1); transition: transform 0.3s, box-shadow 0.3s; }
.style-gallery .style-item:hover { transform: translateY(-5px); box-shadow: 0 5px 20px rgba(0,0,0,0.15); }
.style-gallery .style-image { height: 250px !important; overflow: hidden; }
.style-gallery .style-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.style-gallery .style-item:hover .style-image img { transform: scale(1.05); }
.style-gallery .style-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.style-gallery .style-item:hover .style-overlay { opacity: 1; }
.style-gallery .style-overlay .icon-zoom { font-size: 48px; color: #fff; }
.style-gallery .style-info { padding: 16px; text-align: center; }
.style-gallery .style-info h4 { font-size: 16px; color: #333; margin: 0; }
@media (max-width: 1200px) { .style-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .style-gallery { grid-template-columns: repeat(2, 1fr); gap: 15px; } }
@media (max-width: 480px) { .style-gallery { grid-template-columns: 1fr; } }
.product-detail { display: flex; gap: 30px; margin-bottom: 40px; }
.product-gallery { width: 400px; }
.gallery-main { border: 1px solid #eee; border-radius: 8px; overflow: hidden; margin-bottom: 15px; }
.gallery-main img { width: 100%; height: 300px; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumbs img { width: 80px; height: 60px; object-fit: cover; border: 2px solid transparent; cursor: pointer; border-radius: 4px; }
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: #007bff; }
.product-info { flex: 1; }
.product-info h1 { font-size: 24px; margin-bottom: 15px; }
.category-tag { display: inline-block; background: #007bff; color: #fff; padding: 3px 10px; border-radius: 3px; font-size: 12px; margin-bottom: 15px; }
.info-item { padding: 10px 0; border-bottom: 1px solid #eee; }
.info-item label { color: #999; }
.product-spec, .product-desc { margin: 20px 0; }
.product-spec h3, .product-content h3 { font-size: 18px; margin-bottom: 10px; }
.product-actions { margin-top: 20px; display: flex; gap: 15px; }
.product-content { background: #f8f9fa; padding: 20px; border-radius: 8px; margin-top: 30px; }
.product-content h3 { font-size: 20px; margin-bottom: 20px; }
.contact-info { background: #f8f9fa; padding: 30px; border-radius: 8px; margin-bottom: 30px; }
.contact-info h2 { font-size: 24px; margin-bottom: 20px; }
.info-list { display: grid; gap: 15px; }
.info-list .info-item { border: none; padding: 5px 0; }
.info-list label { font-weight: bold; margin-right: 10px; }
.contact-form { background: #f8f9fa; padding: 30px; border-radius: 8px; }
.contact-form h3 { font-size: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input, .form-group textarea { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.form-group textarea { resize: vertical; }
.contact-map { margin-top: 30px; }
.map-container { height: 400px; background: #eee; border-radius: 8px; overflow: hidden; }
.footer { background: #333; color: #fff; padding: 40px 0 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h4 { font-size: 18px; margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: #007bff; }
.qrcode { width: 100px; height: 100px; background: #fff; border-radius: 8px; }
.friendlinks { padding: 20px 0; border-top: 1px solid #444; border-bottom: 1px solid #444; margin-bottom: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.friendlinks a:hover { color: #007bff; }
.copyright { text-align: center; color: #999; font-size: 13px; }
.copyright p { margin: 5px 0; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 30px 0; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 8px 15px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; }
.pagination a:hover { background: #007bff; color: #fff; border-color: #007bff; }
.pagination .active { background: #007bff; color: #fff; border-color: #007bff; }
.no-data { text-align: center; padding: 60px 0; color: #999; }
@media (max-width: 768px) {
    .swiper-container { height: 250px; }
    .header .container { flex-direction: column; gap: 15px; }
    .nav ul { flex-wrap: wrap; justify-content: center; gap: 15px; }
    .page-content .container { flex-direction: column; }
    .page-sidebar { width: 100%; }
    .product-detail { flex-direction: column; }
    .product-gallery { width: 100%; }
    .banner { height: 300px; }
    .banner-content h2 { font-size: 32px; }
    .section { padding: 40px 0; }
    .contact-info, .contact-form { padding: 20px; }
}
