/* 响应式样式 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .product-cats-grid,
    .product-grid,
    .advantage-grid,
    .case-grid,
    .supply-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-layout {
        grid-template-columns: 1fr;
    }

    .classification {
        margin-bottom: 20px;
    }

    .news-grid,
    .news-list-horizontal {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-layout {
        grid-template-columns: 1fr;
    }

    .float-sidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .head-top,
    .head-center .phone-num,
    .main-nav {
        display: none;
    }

    .mobile-header {
        display: block;
        background: #fff;
        padding: 10px 15px;
        position: relative;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

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

    .mobile-header .logo img {
        height: 55px;
    }

    .mobile-menu-toggle {
        display: block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        background: #1e88e5;
        color: #fff;
        border-radius: 4px;
        font-size: 18px;
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 65px;
        left: 0;
        right: 0;
        background: #1e88e5;
        z-index: 100;
    }

    .mobile-nav.active {
        display: block;
    }

    .mobile-nav a {
        display: block;
        padding: 12px 15px;
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .banner-slider {
        height: 160px;
    }

    .section-title {
        padding: 30px 0 20px;
    }

    .section-title h2 {
        font-size: 20px;
        margin-bottom: 6px;
    }

    .section-title .line {
        margin-top: 10px;
    }

    .product-cats {
        padding-bottom: 30px;
    }

    .product-cats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .product-cats-grid .item {
        padding: 15px 8px;
    }

    .product-cats-grid .item img {
        width: 48px;
        height: 48px;
        margin-bottom: 8px;
    }

    .product-cats-grid .item h3 {
        font-size: 12px;
        margin-bottom: 0;
    }

    .product-list-section,
    .about-section,
    .news-section,
    .case-showcase,
    .advantage-section,
    .supply-systems {
        padding-bottom: 30px;
    }

    .product-grid,
    .case-grid,
    .case-grid-4,
    .advantage-grid,
    .supply-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-grid .item .img {
        height: 120px;
    }

    .product-grid .item h3 {
        padding: 10px;
        font-size: 12px;
    }

    .case-grid .item .img,
    .case-grid-4 .item .img {
        height: 120px;
    }

    .case-grid .item h3,
    .case-grid-4 .item h3 {
        padding: 25px 8px 8px;
        font-size: 12px;
    }

    .advantage-grid .item .icon {
        width: 56px;
        height: 56px;
        line-height: 56px;
        font-size: 24px;
        margin-bottom: 10px;
    }

    .advantage-grid .item h3 {
        font-size: 14px;
    }

    .advantage-grid .item p {
        font-size: 12px;
    }

    .supply-grid .item {
        padding: 15px 8px;
    }

    .supply-grid .icon {
        width: 48px;
        height: 48px;
        line-height: 48px;
        font-size: 20px;
        margin-bottom: 8px;
    }

    .supply-grid h3 {
        font-size: 12px;
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .news-grid .item {
        padding: 12px;
    }

    .news-grid .item .img {
        width: 100%;
        height: 100px;
    }

    .news-grid .item .info h3 {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .news-grid .item .info p {
        display: none;
    }

    .news-grid .item .info span {
        font-size: 11px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-content .text h3 {
        font-size: 18px;
        margin-bottom: 12px;
    }

    .about-content .text a.more {
        padding: 8px 20px;
    }

    .page-banner {
        height: 140px;
    }

    .page-banner h1 {
        font-size: 20px;
    }

    .news-list .item {
        flex-direction: column;
    }

    .news-list .item .img {
        width: 100%;
        height: 160px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .scrolltop {
        right: 15px;
        bottom: 70px;
        width: 40px;
        height: 40px;
        line-height: 40px;
    }

    /* 快捷导航 */
    .quick-nav {
        padding: 15px 0;
        background: #fff;
    }

    .quick-nav-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .quick-nav-grid .item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        color: #333;
    }

    .quick-nav-grid .item .icon {
        width: 46px;
        height: 46px;
        line-height: 46px;
        border-radius: 12px;
        font-size: 22px;
        margin-bottom: 6px;
        color: #fff;
    }

    .quick-nav-grid .item .icon-product { background: #1e88e5; }
    .quick-nav-grid .item .icon-news { background: #ff9800; }
    .quick-nav-grid .item .icon-info { background: #2196f3; }
    .quick-nav-grid .item .icon-case { background: #9c27b0; }
    .quick-nav-grid .item .icon-about { background: #00bcd4; }
    .quick-nav-grid .item .icon-contact { background: #f44336; }
    .quick-nav-grid .item .icon-phone { background: #4caf50; }
    .quick-nav-grid .item .icon-service { background: #ff5722; }

    .quick-nav-grid .item span {
        font-size: 12px;
        line-height: 1.2;
    }

    /* 广告横幅 */
    .mobile-ad-banner {
        padding: 10px 0;
    }

    .mobile-ad-banner .container {
        padding: 0 10px;
    }

    .mobile-ad-banner a {
        display: block;
    }

    .mobile-ad-banner .banner-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
        border-radius: 8px;
        color: #fff;
    }

    .green-banner .banner-inner {
        background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
    }

    .green-banner .banner-inner h3 {
        font-size: 15px;
        font-weight: normal;
    }

    .green-banner .banner-inner .more {
        padding: 4px 12px;
        border: 1px solid rgba(255,255,255,0.8);
        border-radius: 20px;
        font-size: 12px;
        white-space: nowrap;
    }

    .big-ad-banner .banner-inner {
        height: 160px;
        background-size: cover;
        background-position: center;
        position: relative;
        justify-content: flex-start;
    }

    .big-ad-banner .banner-inner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.3);
        border-radius: 8px;
    }

    .big-ad-banner .banner-inner .text {
        position: relative;
        z-index: 1;
    }

    .big-ad-banner .banner-inner h3 {
        font-size: 22px;
        margin-bottom: 6px;
    }

    .big-ad-banner .banner-inner h3 small {
        display: block;
        font-size: 14px;
        margin-top: 4px;
    }

    .big-ad-banner .banner-inner p {
        font-size: 13px;
        opacity: 0.9;
    }

    /* 查看更多按钮 */
    .section-more {
        text-align: center;
        margin-top: 15px;
    }

    .section-more a {
        display: inline-block;
        padding: 8px 25px;
        border: 1px solid #1e88e5;
        color: #1e88e5;
        border-radius: 20px;
        font-size: 13px;
    }

    /* 新闻列表 */
    .news-list-mobile .item {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #eee;
        color: #333;
    }

    .news-list-mobile .item h3 {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 6px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .news-list-mobile .item span {
        font-size: 12px;
        color: #999;
    }

    /* 底部固定导航 */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 55px;
        background: #fff;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
        display: flex;
        z-index: 999;
    }

    .mobile-bottom-nav .item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 11px;
    }

    .mobile-bottom-nav .item.active,
    .mobile-bottom-nav .item:active {
        color: #1e88e5;
    }

    .mobile-bottom-nav .item .icon {
        font-size: 20px;
        line-height: 1;
        margin-bottom: 3px;
        font-style: normal;
    }

    body {
        padding-bottom: 55px;
    }
}
