/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .banner-content h2 {
        font-size: 2.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding: 0 15px;
    }
    
    .header-content {
        padding: 10px 0;
    }
    
    .banner-section {
        height: 350px;
        margin-top: 60px;
    }
    
    .banner-content {
        left: 5%;
    }
    
    .banner-content h2 {
        font-size: 1.8rem;
    }
    
    .banner-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .categories-section,
    .featured-products,
    .about-preview {
        padding: 50px 0;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
    }
    
    .banner-section {
        height: 300px;
    }
    
    .banner-content h2 {
        font-size: 1.5rem;
    }
    
    .banner-content .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .slider-controls {
        bottom: 15px;
    }
    
    .slider-controls button {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* 平板横屏优化 */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
    .banner-section {
        height: 450px;
    }
}

/* 高分辨率屏幕优化 */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

/* 打印样式 */
@media print {
    .header,
    .footer,
    .banner-section,
    .slider-controls {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}