/* 重置样式和基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
.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;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: #e74c3c;
    font-size: 1.8rem;
    margin-bottom: 0.2rem;
}

.logo p {
    color: #666;
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #e74c3c;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 英雄区域 */
.hero {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
}

.stat .label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 产品网格 */
.featured-products {
    padding: 4rem 0;
}

.featured-products h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.price {
    color: #e74c3c;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: #ffc107;
}

.score {
    color: #666;
    font-size: 0.9rem;
}

.features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.features li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.features li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
}

.btn {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background 0.3s;
    text-align: center;
}

.btn:hover {
    background: #c0392b;
}

/* 分类网格 */
.categories {
    padding: 4rem 0;
    background: #f8f9fa;
}

.categories h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    color: #666;
}

/* 页脚 */
.footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #ecf0f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        right: 20px;
        top: 1.5rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero {
        padding: 2rem 0;
    }

    .featured-products, .categories {
        padding: 2rem 0;
    }
}

/* 页面头部样式 */
.page-header {
    background: #f8f9fa;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #666;
}

/* 评测页面样式 */
.reviews-content {
    padding: 3rem 0;
}

.review-filters {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #e74c3c;
    background: white;
    color: #e74c3c;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #e74c3c;
    color: white;
}

.reviews-grid {
    display: grid;
    gap: 2rem;
}

.review-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    padding: 2rem;
}

.review-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.review-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.rating {
    color: #ffc107;
    font-weight: bold;
}

.product-image {
    text-align: center;
    margin: 2rem 0;
}

.product-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.pros h3 {
    color: #27ae60;
}

.cons h3 {
    color: #e74c3c;
}

.pros-cons ul {
    list-style: none;
    padding-left: 0;
}

.pros-cons li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pros-cons li:before {
    content: "•";
    margin-right: 0.5rem;
}

.specs-table {
    margin: 2rem 0;
}

.specs-table table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table th,
.specs-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.specs-table th {
    background: #f8f9fa;
    font-weight: bold;
}

.user-feedback {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.user-feedback blockquote {
    font-style: italic;
    margin-bottom: 1rem;
}

.user-feedback cite {
    font-weight: bold;
    color: #666;
}

/* 对比页面样式 */
.comparison-content {
    padding: 3rem 0;
}

.comparison-filters {
    margin-bottom: 2rem;
    text-align: center;
}

.filter-options {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.comparison-table-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: center;
    border: 1px solid #ddd;
}

.comparison-table th {
    background: #2c3e50;
    color: white;
    font-weight: bold;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.recommendation-summary {
    margin: 3rem 0;
}

.recommendation-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #e74c3c;
}

.recommendation-card.best {
    border-left-color: #27ae60;
}

.recommendation-card.premium {
    border-left-color: #3498db;
}

.recommendation-card.budget {
    border-left-color: #f39c12;
}

.comparison-charts {
    margin: 3rem 0;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.chart-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.chart-bar {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.bar-label {
    width: 100px;
    font-weight: bold;
}

.bar {
    height: 30px;
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: white;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 1rem;
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* 导航激活状态 */
.nav-menu a.active {
    color: #e74c3c;
    font-weight: bold;
}

/* 工具类 */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* 响应式调整 */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1.1rem;
    }
    
    .pros-cons {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-options {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comparison-table-container {
        font-size: 0.9rem;
    }
    
    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .review-card {
        padding: 1rem;
    }
    
    .review-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.5rem;
    }
}

/* 购买指南页面样式 */
.guide-content {
    padding: 3rem 0;
}

.guide-navigation {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.guide-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.guide-navigation a {
    color: #e74c3c;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #e74c3c;
    border-radius: 20px;
    transition: all 0.3s;
}

.guide-navigation a:hover {
    background: #e74c3c;
    color: white;
}

.guide-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.guide-section:last-child {
    border-bottom: none;
}

.guide-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.budget-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.budget-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.budget-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.budget-card:nth-child(1) {
    border-left-color: #f39c12;
}

.budget-card:nth-child(2) {
    border-left-color: #3498db;
}

.budget-card:nth-child(3) {
    border-left-color: #9b59b6;
}

.feature-checklist {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.checklist-item {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem;
    background: white;
    border-radius: 5px;
}

.checklist-item input[type="checkbox"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.checklist-item label {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.checklist-item label strong {
    font-size: 1.1rem;
    color: #2c3e50;
}

.checklist-item label span {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.safety-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.safety-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #e74c3c;
}

.safety-card.important {
    border-left-color: #e74c3c;
    background: #fff5f5;
}

.safety-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.scenario-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.scenario-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.scenario-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.buying-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.summary-card {
    max-width: 600px;
    margin: 0 auto;
}

.summary-card h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.summary-card ol {
    text-align: left;
    margin-bottom: 2rem;
}

.summary-card li {
    margin: 1rem 0;
    line-height: 1.6;
}

.tip {
    background: rgba(255,255,255,0.2);
    padding: 1rem;
    border-radius: 8px;
    font-style: italic;
}

/* 使用技巧页面样式 */
.tips-content {
    padding: 3rem 0;
}

.tips-navigation {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.tips-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.tips-navigation a {
    color: #e74c3c;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #e74c3c;
    border-radius: 20px;
    transition: all 0.3s;
}

.tips-navigation a:hover {
    background: #e74c3c;
    color: white;
}

.tips-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.tips-section:last-child {
    border-bottom: none;
}

.tips-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.step-by-step {
    display: grid;
    gap: 2rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.step-number {
    background: #e74c3c;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.advanced-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tip-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #3498db;
}

.tip-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.troubleshooting-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.troubleshooting-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.troubleshooting-table th,
.troubleshooting-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.troubleshooting-table th {
    background: #2c3e50;
    color: white;
    font-weight: bold;
}

.maintenance-tips {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.maintenance-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.schedule-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
}

.schedule-item h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.safety-warnings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.warning-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid #f39c12;
}

.warning-card.critical {
    border-left-color: #e74c3c;
    background: #fff5f5;
}

.warning-card h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tips-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.summary-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.point {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.point .icon {
    font-size: 2rem;
}

.point p {
    margin: 0;
    line-height: 1.4;
}

/* 清洁保养页面样式 */
.cleaning-content {
    padding: 3rem 0;
}

.cleaning-navigation {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.cleaning-navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
}

.cleaning-navigation a {
    color: #e74c3c;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #e74c3c;
    border-radius: 20px;
    transition: all 0.3s;
}

.cleaning-navigation a:hover {
    background: #e74c3c;
    color: white;
}

.cleaning-section {
    margin: 3rem 0;
    padding: 2rem 0;
    border-bottom: 1px solid #eee;
}

.cleaning-section:last-child {
    border-bottom: none;
}

.cleaning-section h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.cleaning-steps {
    display: grid;
    gap: 2rem;
}

.warning-tips {
    display: grid;
    gap: 1rem;
}

.warning {
    padding: 1rem;
    border-radius: 5px;
    background: #fff5f5;
    border-left: 4px solid #e74c3c;
}

.material-specific {
    margin: 2rem 0;
}

.material-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.material-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.material-card h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.deep-cleaning {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.cleaning-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.cleaning-method h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.stain-removal {
    display: grid;
    gap: 1rem;
}

.stain-type {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 5px;
}

.dishwasher-guide {
    display: grid;
    gap: 2rem;
}

.compatibility-check {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
}

.checklist {
    display: grid;
    gap: 1rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dishwasher-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.compatibility-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.compatibility-table th,
.compatibility-table td {
    padding: 1rem;
    text-align: left;
    border: 1px solid #ddd;
}

.compatibility-table th {
    background: #2c3e50;
    color: white;
    font-weight: bold;
}

.maintenance-schedule {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.schedule-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.problem-solutions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.problem {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.storage-guide {
    display: grid;
    gap: 2rem;
}

.storage-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.lifespan-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.lifespan-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.lifespan-card .years {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
    margin: 1rem 0;
}

.cleaning-summary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.summary-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.summary-point .icon {
    font-size: 2.5rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .guide-navigation ul,
    .tips-navigation ul,
    .cleaning-navigation ul {
        flex-direction: column;
    }
    
    .budget-options,
    .advanced-tips,
    .safety-tips,
    .scenario-recommendations,
    .material-tips,
    .deep-cleaning,
    .dishwasher-tips,
    .maintenance-schedule,
    .problem-solutions,
    .storage-tips,
    .lifespan-cards,
    .summary-points,
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
    }
    
    .buying-summary,
    .tips-summary,
    .cleaning-summary {
        padding: 2rem 1rem;
    }
    
    .point,
    .summary-point {
        flex-direction: row;
        text-align: left;
    }
}

/* 排行榜页面样式 */
.ranking-content {
    padding: 3rem 0;
}

.ranking-intro {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 3rem;
    text-align: center;
}

.top-products {
    margin: 3rem 0;
}

.ranking-list {
    display: grid;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.rank-item {
    display: flex;
    align-items: center;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    border-left: 6px solid #e74c3c;
}

.rank-item.gold {
    border-left-color: #ffd700;
    background: linear-gradient(135deg, #fff9e6, #ffffff);
}

.rank-item.silver {
    border-left-color: #c0c0c0;
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
}

.rank-item.bronze {
    border-left-color: #cd7f32;
    background: linear-gradient(135deg, #fff4e6, #ffffff);
}

.rank-number {
    font-size: 3rem;
    font-weight: bold;
    color: #e74c3c;
    margin-right: 2rem;
    min-width: 60px;
    text-align: center;
}

.rank-item.gold .rank-number {
    color: #ffd700;
}

.rank-item.silver .rank-number {
    color: #c0c0c0;
}

.rank-item.bronze .rank-number {
    color: #cd7f32;
}

.product-info h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-info .price {
    color: #e74c3c;
    font-weight: bold;
    font-size: 1.2rem;
}

.category-winners {
    margin: 3rem 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-winner {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

.category-winner h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.category-winner p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.award {
    font-size: 2rem;
    display: block;
}

/* 面包屑导航样式 */
.breadcrumb {
    background: #f8f9fa;
    padding: 1rem 0;
    margin-bottom: 2rem;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    margin: 0;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #e74c3c;
}

.breadcrumb .separator {
    color: #999;
}

.breadcrumb .current {
    color: #e74c3c;
    font-weight: bold;
}

/* 搜索框样式 */
.search-container {
    max-width: 500px;
    margin: 2rem auto;
}

.search-box {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e74c3c;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
}

.search-button {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .step,
    .cleaning-card,
    .schedule-card,
    .lifespan-card,
    .rank-item {
        padding: 1rem;
    }
    
    .tips-section,
    .cleaning-section {
        padding: 1rem 0;
    }
    
    .rank-item {
        flex-direction: column;
        text-align: center;
    }
    
    .rank-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
}

/* 视频播放器样式 */
.video-player {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    margin: 2rem 0;
}

.video-container {
    position: relative;
    width: 100%;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 宽高比 */
    height: 0;
    background: #000;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-controls {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.play-btn, .pause-btn, .fullscreen-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 1rem;
    transition: background 0.3s;
}

.play-btn:hover, .pause-btn:hover, .fullscreen-btn:hover {
    background: #c0392b;
}

.pause-btn {
    display: none;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #ddd;
    border-radius: 3px;
    margin: 0 1rem;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    background: #e74c3c;
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s;
}

.time-display {
    color: #666;
    font-size: 0.9rem;
    margin-right: 1rem;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 0.5rem;
}

.video-description {
    color: #666;
    line-height: 1.5;
}

/* 视频画廊样式 */
.video-gallery {
    margin: 3rem 0;
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery-header h2 {
    color: #333;
    font-size: 1.8rem;
}

.gallery-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-input, .filter-select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.search-input:focus, .filter-select:focus {
    outline: none;
    border-color: #e74c3c;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.video-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.video-item:hover .play-overlay {
    opacity: 1;
}

.play-icon {
    color: white;
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-amp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #999;
}

.brand, .category {
    background: #f8f9fa;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.prev-btn, .next-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.prev-btn:hover:not(:disabled), .next-btn:hover:not(:disabled) {
    background: #c0392b;
}

.prev-btn:disabled, .next-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.page-info {
    color: #666;
    font-size: 0.9rem;
}

/* 产品页面视频展示区 */
.product-videos {
    margin: 3rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.product-videos h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.video-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.video-tab {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.video-tab.active, .video-tab:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* 响应式调整 - 视频组件 */
@media (max-width: 768px) {
    .gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-input, .filter-select {
        flex: 1;
        min-width: 150px;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-controls {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .progress-bar {
        order: 3;
        flex: 0 0 100%;
        margin: 0.5rem 0;
    }
    
    .video-tabs {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .video-player {
        margin: 1rem 0;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
    
    .video-description {
        font-size: 0.8rem;
    }
    
    .gallery-pagination {
        flex-direction: column;
        gap: 0.5rem;
    }
}