/* ============================================
   响应式样式 - 1400px以下设备适配
   重写版 - clamp()自动等比例缩放，此处仅保留布局变化
   ============================================ */

/* ------------------------------
   1400px - 大屏幕平板/小桌面
   ------------------------------ */
@media (max-width: 1400px) {
    /* 产品展示 - clamp()自动缩放，仅保留布局调整 */
    .products-section {
        height: auto !important;
    }
    
    .product-info h3 {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    
    .product-info p {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: unset !important;
    }
    
    /* 最新资讯 - clamp()自动缩放，仅保留布局调整 */
    .news-section {
        height: auto;
    }
    
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .news-main {
        width: 100%;
    }
    
    .news-list {
        width: 100%;
    }
    
    .news-item {
        width: 100%;
    }
    
    /* 产品应用 - 已在index.php内联样式中统一处理1400px以下适配 */
    
    /* 关于我们 - clamp()自动缩放，仅保留布局调整 */
    .about-section {
        height: auto;
    }
    
    .about-header {
        height: auto;
    }
    
    .about-body {
        width: 100%;
    }
    
    .about-image {
        width: 55%;
        height: auto;
    }
    
    .about-stats {
        width: 100%;
        height: auto;
    }
    
    /* 客户区域 - clamp()自动缩放，仅保留布局调整 */
    .clients-section {
        min-height: auto;
        margin-top: 0;
        background: #54A1DA;
    }
    
    .clients-grid {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .clients-arrows {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 25px;
        display: flex;
        justify-content: center;
        gap: 20px;
    }
    
    /* 页脚区域等比例缩小 */
    .footer {
        height: auto;
        min-height: auto;
    }
    
    .footer-top {
        height: auto;
        min-height: auto;
    }
    
    .footer-header {
        width: 100%;
        padding-top: 15px;
    }
    
    .footer-logo img {
        width: 160px;
        height: auto;
    }
    
    .footer-anniversary img {
        width: 80px;
        height: auto;
    }
    
    .footer-grid {
        gap: 25px;
    }
    
    .footer-col h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    /* ========================================
       全局容器 - 重要：所有固定宽度容器改为百分比
       ======================================== */
    /* 全局容器 - 重要：所有固定宽度容器改为百分比 */
    .container,
    .header-inner,
    .top-bar-inner,
    .footer-inner,
    .footer-header,
    .about-body,
    .about-stats,
    .mega-menu-container,
    .pc-container,
    .service-banner-content,
    .service-quick-buttons,
    .service-content,
    .service-flow-section .flow-content,
    .news-list-banner-content,
    .news-featured,
    .news-filter,
    .news-list-container,
    .news-pagination,
    .distributors-container,
    .region-grid {
        width: 100% !important;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* 重要：所有固定宽度的容器都要适配 */
    .china-distributors {
        width: 100%;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    /* 顶部栏 */
    .top-bar {
        height: auto;
        padding: 10px 0;
    }

    .top-bar-inner {
        justify-content: flex-end;
        gap: 15px;
    }

    .online-quote {
        font-size: 14px;
    }

    /* 导航栏 - 已在style.css中统一处理移动端样式 */

    .mobile-nav-header {
        display: none !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .mega-menu-title {
        font-size: 14px !important;
    }

    .mega-menu-list a {
        font-size: 14px !important;
    }

    .solution-mega-menu-column .mega-menu-title,
    .service-mega-menu-column .mega-menu-title,
    .news-mega-menu-column .mega-menu-title,
    .about-mega-menu-column .mega-menu-title {
        font-size: 14px !important;
    }

    .solution-mega-menu-item a {
        font-size: 14px !important;
    }

    /* 头部高度修复 - 移动端不需要100px高度 */
    .header {
        height: auto !important;
        min-height: 56px;
        padding: 8px 0;
    }

    .header-inner {
        padding: 0 15px;
    }

    .logo img {
        max-width: clamp(110px, 11.458vw, 160px);
        height: auto;
    }

    .mobile-menu-btn {
        display: block !important;
        font-size: 20px;
        padding: 6px 10px;
    }

    /* 产品展示 */
    .products-section {
        height: auto !important;
    }

    /* 最新资讯 */
    .news-section {
        height: auto;
        padding-top: clamp(30px, 3.177vw, 61px);
    }

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

    .news-main {
        width: 100%;
        height: auto;
        flex-direction: column;
    }

    .news-main-image-container {
        width: 100%;
    }

    .news-main-content {
        height: auto;
    }

    .news-list {
        width: 100%;
    }

    .news-item {
        width: 100%;
        flex-direction: column;
    }

    .news-item .news-image-container {
        width: 100%;
        margin: 0;
    }

    /* 产品应用 - 已在index.php内联样式中统一处理 */
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-main {
        width: 100%;
        max-width: 100%;
    }
    
    .news-list {
        width: 100%;
        max-width: 100%;
    }
    
    .news-item {
        width: 100%;
    }
    
    .clients-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    /* 关于我们 */
    .about-section {
        height: auto;
    }

    .about-body {
        flex-direction: column;
    }

    .about-image {
        width: 100%;
        height: auto;
    }

    .about-content {
        margin-top: 0;
    }

    .about-stats {
        flex-wrap: wrap;
        height: auto;
    }

    .stat-box {
        flex: 1 1 45%;
        min-width: 150px;
        padding: 20px;
    }

    .stat-box .number {
        font-size: 32px;
    }

    /* 服务客户 */
    .clients-section {
        padding-top: clamp(30px, 3.177vw, 61px);
        padding-bottom: 60px;
        min-height: auto;
        margin-top: 0;
        background: #54A1DA;
    }

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* 页脚 */
    .footer {
        height: auto;
        padding: 40px 0;
    }

    .footer-top {
        height: auto;
        padding: 30px 0;
    }

    .footer-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .footer-logo img {
        max-width: 130px;
    }

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

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    .about-content-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        align-items: start;
    }

    .footer-social-qr {
        margin-left: 0;
        margin-top: 0;
        align-items: flex-start;
    }

    .footer-bottom {
        height: auto;
        padding: 20px 0;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* 右侧浮动按钮 */
    .floating-buttons {
        right: 10px;
        gap: 3px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn img {
        width: 24px;
        height: 24px;
    }

    /* Mega Menu */
    .mega-menu-inner {
        padding: 30px 20px;
    }

    .mega-menu-column-wide {
        min-width: 400px;
    }

    /* 产品中心页面 */
    .pc-card,
    .pc-accessory {
        height: auto;
        min-height: 400px;
    }

    .pc-card-title,
    .pc-accessory-title {
        font-size: 28px;
    }

    .pc-card-list li,
    .pc-accessory-list li {
        font-size: 15px;
    }

    /* 服务与支持页面 */
    .service-tabs,
    .service-tab-line {
        width: 600px;
    }

    .service-banner-title {
        font-size: 36px;
    }

    /* 关于华仪页面 - 已在page-about.css中统一处理 */

    /* 新闻列表页面 */
    .news-featured-item {
        height: auto;
        min-height: 397px;
    }

    .news-list-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .news-list-item {
        width: 100%;
    }
}

/* ------------------------------
   1200px - 中等桌面
   ------------------------------ */
@media (max-width: 1200px) {
    /* 导航菜单 */
    .nav-menu {
        gap: 20px;
    }

    .nav-menu a {
        font-size: 15px;
    }

    /* 产品应用 - 已在index.php内联样式中统一处理 */

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

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    /* 客户 */
    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* 新闻网格调整 */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-main,
    .news-list {
        width: 100%;
    }
    
    .news-item {
        width: 100%;
    }

    /* 产品中心页面 */
    .pc-card-first {
        flex-direction: column;
    }

    .pc-card-first .pc-card-img,
    .pc-card-first-right {
        flex: none;
        width: 100%;
    }

    .pc-card-first .pc-card-img {
        padding: 20px;
        justify-content: center;
    }

    .pc-card-first-right {
        padding: 20px;
    }

    .quick-btn {
        width: calc(33.333% - 14px);
        font-size: 20px;
    }
    
    /* 产品中心卡片适配 */
    .pc-card,
    .pc-accessory {
        height: auto;
        min-height: 400px;
    }

    /* 关于华仪页面 - 已在page-about.css中统一处理 */
    
    /* 关于页面其他区域适配 */
    .applications-grid {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .application-item {
        width: calc(50% - 10px);
    }
    
    .products-container {
        flex-direction: column;
    }
    
    .product-categories {
        width: 100%;
    }
    
    .category-item {
        width: 100%;
    }

    /* 新闻列表页面 */
    .news-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 服务与支持页面适配 */
    .service-banner-content,
    .service-quick-buttons,
    .service-content,
    .service-flow-section .flow-content {
        width: 100% !important;
        max-width: 1200px !important;
        padding: 0 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    /* 解决方案页面适配 */
    .solution-content,
    .solution-features,
    .solution-application {
        width: 100% !important;
        max-width: 1200px !important;
        padding: 0 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    /* 新闻列表页面适配 */
    .news-list-banner-content,
    .news-featured,
    .news-filter,
    .news-list-container,
    .news-pagination {
        width: 100% !important;
        max-width: 1200px !important;
        padding: 0 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    /* 配件中心页面适配 */
    .accessory-content,
    .accessory-categories,
    .accessory-products {
        width: 100% !important;
        max-width: 1200px !important;
        padding: 0 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    /* 联系我们页面适配 */
    .contact-content,
    .contact-form,
    .contact-info {
        width: 100% !important;
        max-width: 1200px !important;
        padding: 0 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

/* ------------------------------
   992px - 平板设备
   ------------------------------ */
@media (max-width: 992px) {
    /* 导航栏 - 已在style.css中统一处理移动端样式 */

    /* 产品应用 - 已在index.php内联样式中统一处理 */

    /* 关于我们 */
    .stat-box {
        flex: 0 0 50%;
        max-width: 50%;
        border-bottom: 1px solid #E3E3E3;
        box-sizing: border-box;
    }

    .stat-box:nth-child(odd) {
        border-right: 1px solid #E3E3E3;
    }

    .stat-box:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .stat-box:not(:first-child)::before {
        display: none;
    }

    /* 客户 */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 页脚 */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-col:last-child {
        grid-column: 1 / -1;
    }

    /* 产品中心页面 */
    .pc-card,
    .pc-card.reverse,
    .pc-accessory {
        flex-direction: column;
    }

    .pc-card-img,
    .pc-card-body,
    .pc-accessory-info,
    .pc-accessory-imgs {
        flex: none;
        width: 100%;
    }

    .pc-card-img,
    .pc-card.reverse .pc-card-img {
        padding: 20px;
        justify-content: center;
    }

    .pc-card-body,
    .pc-accessory-info {
        padding: 30px 20px;
    }

    .pc-card-first-right {
        padding-top: 20px;
    }

    .pc-accessory-imgs {
        justify-content: center;
        padding: 20px;
        gap: 15px;
    }

    /* 浮动按钮 */
    .floating-buttons {
        right: 5px;
    }

    .floating-btn {
        width: 45px;
        height: 45px;
    }

    .service-tab {
        font-size: 16px;
        padding: 0 10px;
    }

    .quick-btn {
        width: 100%;
        margin-bottom: 10px;
    }

    .service-quick-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* 关于华仪页面 - 已在page-about.css中统一处理 */

    /* 分销商页面 */
    .distributors-container img {
        width: 100%;
        height: auto;
    }

    .region-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .region-tab {
        flex: 1;
        min-width: 120px;
    }

    .region-grid {
        grid-template-columns: 1fr;
    }

    /* 新闻列表页面 */
    .news-featured-item {
        flex-direction: column;
    }

    .news-featured-image,
    .news-featured-content {
        flex: none;
        width: 100%;
    }
}

/* ------------------------------
   768px - 小平板/大屏手机
   ------------------------------ */
@media (max-width: 768px) {
    /* 全局 */
    html {
        font-size: 14px;
    }

    /* 顶部栏 */
    .top-bar {
        padding: 8px 0;
    }

    .online-quote {
        font-size: 13px;
    }

    /* 头部 */
    .header {
        min-height: 50px;
        padding: 6px 0;
    }

    .header-inner {
        padding: 0 10px;
    }

    /* Logo */
    .logo img {
        max-width: 100px;
    }

    .mobile-menu-btn {
        font-size: 16px;
        padding: 6px;
    }

    nav {
        width: 85%;
        max-width: 300px;
    }

    .nav-menu > li > a {
        padding: 12px 16px;
        font-size: 14px;
    }

    .mega-dropdown > a::after,
    .news-mega-dropdown > a::after,
    .solution-mega-dropdown > a::after,
    .service-mega-dropdown > a::after,
    .about-mega-dropdown > a::after {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }

    .mega-menu-list a,
    .solution-mega-menu-item a {
        padding: 7px 16px 7px 26px !important;
        font-size: 13px !important;
    }

    .news-mega-menu-column .mega-menu-title,
    .service-mega-menu-column .mega-menu-title,
    .about-mega-menu-column .mega-menu-title {
        padding: 7px 16px 7px 26px !important;
        font-size: 13px !important;
    }

    .solution-mega-menu-column .mega-menu-title {
        font-size: 13px !important;
    }

    .mega-menu-title {
        font-size: 13px !important;
        padding: 8px 16px 5px !important;
    }

    /* Banner - 保持PC比例 */
    .banner {
        height: auto !important;
        position: relative !important;
    }
    
    .banner::before {
        content: '' !important;
        display: block !important;
        padding-top: 39.32% !important; /* 755/1920 = 39.32% */
    }
    
    .banner-slides {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .banner-slide {
        overflow: hidden !important;
    }

    .banner-content {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 100% !important;
        top: 50% !important;
        text-align: left;
        position: absolute !important;
        overflow: hidden !important;
        max-height: 80% !important;
    }

    .banner-content h3 {
        font-size: clamp(12px, 3.5vw, 20px) !important;
        margin-bottom: clamp(6px, 1.5vw, 12px) !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .banner-content h3.banner-title {
        margin-bottom: 0 !important;
    }

    .banner-content h3.banner-subtitle {
        margin-bottom: clamp(6px, 1.5vw, 12px) !important;
    }

    .banner-desc-text {
        font-size: clamp(10px, 2.8vw, 14px) !important;
        line-height: 1.4 !important;
    }
    
    .banner-description {
        margin-bottom: clamp(6px, 1.5vw, 12px) !important;
    }
    
    .banner-desc-line {
        margin-bottom: clamp(3px, 1vw, 6px) !important;
    }

    .banner-arrow {
        bottom: clamp(15px, 3vw, 30px) !important;
        transform: translateY(0) !important;
    }

    .banner-arrow.prev {
        left: calc(50% - clamp(50px, 12vw, 80px)) !important;
    }

    .banner-arrow.next {
        right: calc(50% - clamp(50px, 12vw, 80px)) !important;
    }

    .banner-dots {
        bottom: clamp(15px, 3vw, 30px) !important;
        transform: translateX(-50%) translateY(0) !important;
    }

    /* 产品展示 */
    .product-tabs {
        flex-wrap: wrap;
    }

    /* 最新资讯 */
    .news-main-image-container {
        height: auto;
    }

    .news-item .news-image-container {
        height: auto;
    }

    /* 产品应用 - 已在index.php内联样式中统一处理 */

    /* 关于我们 */
    .about-image {
        height: auto;
    }

    .about-paragraph {
        flex-direction: column;
    }

    .about-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* 客户 */
    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 页脚 */
    .footer-logo img {
        max-width: 100px;
    }

    .footer-col h3 {
        font-size: 16px;
    }

    .footer-links a {
        font-size: 13px;
    }

    .footer-copyright p {
        font-size: 13px;
    }

    .footer-links-bottom a {
        font-size: 13px;
    }

    .qr-code {
        width: 100px;
        height: 100px;
    }

    /* 产品中心页面 */
    .pc-banner {
        height: 250px;
    }

    .pc-banner-inner h1 {
        font-size: 24px;
    }

    .pc-banner-inner p {
        font-size: 13px;
        padding: 0 15px;
    }

    .pc-card-title,
    .pc-accessory-title {
        font-size: 22px;
    }

    .pc-card-list li,
    .pc-accessory-list li {
        font-size: 13px;
        line-height: 2;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .pc-card-first .pc-card-list {
        flex-direction: column;
        gap: 0;
    }

    .pc-card-first .pc-card-list-col1,
    .pc-card-first .pc-card-list-col2 {
        padding-right: 0;
        margin-bottom: 10px;
    }

    /* 浮动按钮 */
    .floating-buttons {
        gap: 2px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
    }

    .floating-btn img {
        width: 20px;
        height: 20px;
    }

    /* 服务与支持页面 */
    .service-banner {
        height: 300px;
    }

    .service-banner-title {
        font-size: 28px;
        top: 100px;
    }

    .service-tabs {
        top: 220px;
        width: 90%;
        gap: 10px;
    }

    .service-tab {
        font-size: 14px;
        padding: 0 5px;
    }

    .service-tab-line {
        top: 260px;
        width: 90%;
    }

    .service-tab-indicator {
        top: 252px;
    }

    .service-content-section h3 {
        font-size: 18px;
    }

    .service-content-section p,
    .service-content-section ul li {
        font-size: 14px;
    }

    .service-flow-section h3 {
        font-size: 20px;
    }

    /* 视频页面 */
    .video-grid {
        justify-content: center;
    }

    .video-item {
        width: 100%;
        max-width: 442px;
    }

    .video-thumbnail {
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
    }

    /* FAQ页面 */
    .faq-item {
        padding: 20px;
    }

    .faq-question .faq-text {
        font-size: 18px;
    }

    .faq-answer .faq-text {
        font-size: 14px;
    }

    /* 表单 */
    .form-row {
        flex-direction: column;
    }

    .form-group input,
    .form-group textarea {
        height: 56px;
        font-size: 14px;
    }

    .form-group textarea {
        height: 150px;
    }

    .upload-area {
        height: 56px;
    }

    /* 关于华仪页面 - 已在page-about.css中统一处理 */
    .stat-item {
        width: 100%;
    }

    /* .stat-item .stat-number 已在page-about.css中用clamp统一处理 */

    /* .industry-applications 已在page-about.css中用clamp统一处理 */

    /* 新闻列表页面 */
    .news-list-banner {
        height: 280px;
    }

    .news-list-banner h1 {
        font-size: 28px;
    }

    .news-featured-content {
        padding: 30px 20px;
    }

    .news-featured-title {
        font-size: 20px;
    }

    .news-list-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-filter {
        flex-wrap: wrap;
        gap: 10px;
    }

    .news-filter-search {
        width: 100%;
        max-width: 100%;
    }

    .news-filter-select {
        flex: 1;
        min-width: 120px;
    }

    .news-list-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
}

/* ------------------------------
   576px - 手机设备
   ------------------------------ */
@media (max-width: 576px) {
    /* Banner */
    .banner {
        height: auto;
    }

    /* 产品卡片 - clamp()自动缩放 */
    .product-card img {
        height: auto;
    }

    /* 新闻 - clamp()自动缩放 */
    .news-main-image-container {
        height: auto;
    }

    .news-item .news-image-container {
        height: auto;
    }

    /* 应用 - 已在index.php内联样式中统一处理 */

    /* 客户 */
    .clients-section {
        background: #54A1DA;
    }
    /* 页脚 */
    .footer-social-qr {
        margin-left: 0;
        align-items: flex-start;
    }

    .footer-col:last-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .about-content-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        align-items: start;
    }

    /* 浮动按钮 */
    .floating-buttons {
        right: 5px;
        gap: 2px;
    }

    /* 服务与支持页面 */
    .service-banner {
        height: 250px;
    }

    .service-banner-title {
        font-size: 24px;
        top: 80px;
    }

    .service-tab {
        font-size: 12px;
    }

    .video-category-title {
        font-size: 20px;
    }

    .video-name {
        font-size: 18px;
    }

    .faq-pagination a,
    .faq-pagination span {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    /* 新闻列表页面 */
    .news-list-banner {
        height: 220px;
    }

    .news-list-banner h1 {
        font-size: 22px;
    }

    .news-featured-date {
        font-size: 14px;
    }

    .news-featured-title {
        font-size: 18px;
    }

    .news-featured-desc {
        font-size: 14px;
    }

    .news-list-image {
        height: 200px;
    }

    .news-list-title {
        font-size: 20px;
    }
}

/* ------------------------------
   480px - 小屏手机
   ------------------------------ */
@media (max-width: 480px) {
    /* Banner - 保持PC比例 */
    .banner {
        height: auto !important;
        position: relative !important;
    }
    
    .banner::before {
        content: '' !important;
        display: block !important;
        padding-top: 39.32% !important; /* 755/1920 = 39.32% */
    }
    
    .banner-slides {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .banner-slide {
        overflow: hidden !important;
    }

    .banner-content {
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        width: 95% !important;
        max-width: 100% !important;
        top: 50% !important;
        position: absolute !important;
        overflow: hidden !important;
        max-height: 80% !important;
    }

    .banner-content h3 {
        font-size: clamp(10px, 4vw, 16px) !important;
        margin-bottom: clamp(4px, 1.2vw, 8px) !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .banner-content h3.banner-title {
        margin-bottom: 0 !important;
    }

    .banner-content h3.banner-subtitle {
        margin-bottom: clamp(4px, 1.2vw, 8px) !important;
    }

    .banner-desc-text {
        font-size: clamp(9px, 3vw, 12px) !important;
        line-height: 1.3 !important;
    }
    
    .banner-description {
        margin-bottom: clamp(4px, 1.2vw, 8px) !important;
    }
    
    .banner-desc-line {
        margin-bottom: clamp(2px, 0.8vw, 4px) !important;
    }

    .banner-arrow {
        bottom: clamp(10px, 2.5vw, 20px) !important;
        transform: translateY(0) !important;
    }

    .banner-arrow.prev {
        left: calc(50% - clamp(40px, 10vw, 60px)) !important;
    }

    .banner-arrow.next {
        right: calc(50% - clamp(40px, 10vw, 60px)) !important;
    }

    .banner-dots {
        bottom: clamp(10px, 2.5vw, 20px) !important;
        transform: translateX(-50%) translateY(0) !important;
    }

    /* 产品中心页面 */
    .pc-banner {
        height: 200px;
    }

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

    .pc-banner-inner p {
        font-size: 12px;
    }

    /* 服务与支持页面 */
    .service-banner {
        height: 220px;
    }

    .service-banner-title {
        font-size: 22px;
        top: 70px;
    }

    .service-tab {
        font-size: 11px;
        padding: 0 5px;
    }

    /* 关于华仪页面 - 已在page-about.css中统一处理 */

    /* 新闻列表页面 */
    .news-list-banner {
        height: 180px;
    }

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

    .news-pagination a,
    .news-pagination span {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ============================================
   通用响应式规则
   ============================================ */

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 容器响应式 */
section {
    padding-left: 15px;
    padding-right: 15px;
}

/* Banner和产品应用区域不需要左右padding */
section.banner,
section.application-section,
.product-nav,
.product-intro,
.product-summary,
.safety-features,
.function-features,
.product-specs,
.online-quote,
.related-products {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 文字换行 */
h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    hyphens: auto;
}

/* 触摸优化 */
button, a {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* 输入框优化 */
input, textarea {
    -webkit-appearance: none;
    border-radius: 0;
}

/* 隐藏水平滚动条 */
body {
    overflow-x: hidden;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 表格响应式 */
table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}

@media (max-width: 768px) {
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

/* 产品表格响应式 */
.product-table {
    overflow-x: auto;
}

/* 分销商区域响应式 */
.region-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.region-item:last-child {
    border-bottom: none;
}

/* 客户卡片响应式 */
.client-card {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    margin-bottom: 10px;
}

.client-card img {
    max-height: 60px;
    object-fit: contain;
}

/* 服务与支持页面 - 产品分类横向滚动 */
.product-categories {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
}

.product-category {
    display: inline-block;
    margin-right: 20px;
    vertical-align: top;
}

/* 移动端菜单遮罩 */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
}

.mobile-menu-overlay.active {
    display: block;
}

/* 表单标签修复 */
.form-placeholder-label {
    pointer-events: none;
}

/* 按钮hover效果移除（移动端） */
@media (hover: none) {
    a:hover, button:hover {
        transform: none !important;
    }
}