/* 超大屏幕 (大于1200px) */
@media (min-width: 1200px) {
    .container {
        max-width: 1440px;
    }
}

/* 大屏幕 (992px - 1199px) */
@media (max-width: 1199px) {
    .hero-section {
        height: 400px;
    }
    
    .swiper-content h2 {
        font-size: 2rem;
    }
    
    .swiper-content p {
        font-size: 1rem;
    }
}

/* 中等屏幕 (768px - 991px) */
@media (max-width: 991px) {
    .hero-section {
        height: 350px;
    }
    
    .swiper-content {
        padding: 1.5rem;
    }
    
    .swiper-content h2 {
        font-size: 1.8rem;
    }
    
    .products-section .col-lg-3,
    .news-section .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .product-menu-panel {
        position: static;
        width: 100%;
        margin-top: 10px;
        padding: 12px 0 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
        display: none;
    }

    .product-menu-dropdown:hover .product-menu-panel,
    .product-menu-dropdown:focus-within .product-menu-panel {
        transform: none;
    }

    .product-menu-dropdown.show-mobile .product-menu-panel {
        display: block;
    }

    .product-menu-columns {
        grid-template-columns: 1fr;
    }

    .product-menu-categories {
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid #e9ecef;
        padding-bottom: 12px;
    }

    .product-menu-products {
        min-height: 0;
        padding-top: 12px;
    }

    .product-menu-product-group.active {
        grid-template-columns: 1fr;
    }
}

/* 小屏幕 (576px - 767px) */
@media (max-width: 767px) {
    .hero-section {
        height: 300px;
    }
    
    .swiper-content {
        padding: 1rem;
    }
    
    .swiper-content h2 {
        font-size: 1.5rem;
    }
    
    .swiper-content p {
        font-size: 0.9rem;
    }
    
    .products-section .col-lg-3,
    .news-section .col-lg-4,
    .products-section .col-md-4,
    .news-section .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .site-footer .col-lg-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .featured-products-wrap {
        padding: 0 36px;
    }
}

/* 超小屏幕 (小于576px) */
@media (max-width: 575px) {
    .hero-section {
        height: 250px;
    }
    
    .swiper-content {
        padding: 0.8rem;
    }
    
    .swiper-content h2 {
        font-size: 1.3rem;
    }
    
    .swiper-content p {
        font-size: 0.8rem;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .site-header .navbar-brand img {
        height: 30px;
    }
}

/* 打印样式 */
@media print {
    .site-header,
    .site-footer,
    .hero-section {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .card {
        break-inside: avoid;
    }
}
