/* ============================================================
 * 移动端响应式适配样式表（优化版 v2）
 * 仅在屏幕宽度 <= 768px 时生效，不影响 PC 端样式
 *
 * 核心修复：
 * 1. 内联 !important 已从 HTML 模板移除 → CSS !important 可正常覆盖
 * 2. 负 margin 重置（根因修复）
 * 3. 固定宽高元素自适应
 * 4. Bootstrap 网格 float 重置
 * 5. 搜索框绝对定位错位
 * 6. 侧栏/主栏堆叠顺序与宽度
 * 7. 富文本内容溢出
 * 8. 页脚移动端适配
 * ============================================================ */

@media (max-width: 768px) {

  /* ===== 0. 全局：禁止横向滚动 ===== */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }

  #wrap {
    margin-top: 30px !important;
    overflow-x: hidden !important;
  }

  /* ===== 1. 容器布局重置 ===== */
  .container.wrap {
    max-width: 100% !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
  }

  /* 搜索页特殊处理：覆盖内联 display:flex;justify-content:center */
  .container.wrap[style*="display:flex"],
  .container.wrap[style*="display: flex"] {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
  }

  /* 主内容区 + 侧栏 → 单栏堆叠 */
  .container.wrap .main {
    order: 2 !important;
    width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    box-sizing: border-box !important;
  }
  .container.wrap .sidebar {
    order: 1 !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 15px !important;
    box-sizing: border-box !important;
  }

  /* ===== 2. 清除所有内联负 margin（根因修复） ===== */
  .breadcrumb,
  .breadcrumb[style*="margin-left"],
  .entry[style*="margin-left"],
  .post-list[style*="margin-left"],
  .product-list[style*="margin-left"],
  .pagination[style*="margin-left"],
  .post-item .col-md-8[style*="margin-left"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* ===== 3. 顶部横幅 ===== */
  .contact-banner {
    height: 150px !important;
    position: relative !important;
  }
  .contact-banner img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  /* ===== 4. 面包屑导航 ===== */
  .breadcrumb {
    padding: 8px 0 !important;
    font-size: 13px !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
  }
  .breadcrumb li h1,
  .breadcrumb li h1[style] {
    font-size: 12px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: inline !important;
  }
  .breadcrumb>li {
    vertical-align: middle !important;
  }
  .breadcrumb>li+li:before {
    vertical-align: middle !important;
  }

  /* ===== 5. 侧栏菜单 ===== */
  .sidebar .widget_nav_menu,
  .sidebar .widget_nav_menu[style*="width"] {
    width: 100% !important;
    position: static !important;
  }
  .sidebar .parent-menu,
  .sidebar .parent-menu-1,
  .sidebar .parent-menu-2 {
    padding: 14px 12px !important;
  }
  .sidebar .parent-menu span,
  .sidebar .parent-menu-1 span {
    font-size: 17px !important;
  }
  .sidebar .parent-menu-2 span {
    font-size: 15px !important;
  }
  .sidebar .sub-menu .third-menu-item,
  .sidebar .sub-menu-2 .third-menu-item {
    padding: 12px 12px 12px 20px !important;
  }
  .sidebar .sub-menu .third-menu-item span,
  .sidebar .sub-menu-2 .third-menu-item span {
    font-size: 14px !important;
  }

  /* ===== 6. entry 内容区 ===== */
  .entry {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
  }
  .entry-title {
    font-size: 18px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
  }
  .entry-meta {
    font-size: 12px !important;
    line-height: 1.8 !important;
  }
  .entry-content {
    font-size: 15px !important;
    line-height: 1.75 !important;
    word-break: break-word !important;
  }

  /* 富文本内图片自适应 */
  .entry-content img,
  .entry-preview img,
  .entry-tab-content img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* 富文本内表格防溢出 */
  .entry-content table,
  .entry-tab-content table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-collapse: collapse !important;
  }

  /* 富文本内视频 */
  .entry-content video,
  .entry-content iframe {
    max-width: 100% !important;
    height: auto !important;
  }

  /* ===== 7. 列表页通用 (news/custome) ===== */
  .post-list,
  .post-list[style*="margin-left"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }

  /* post-item 卡片：图片在上，文字在下 */
  .post-item .entry-excerpt.row {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
  }
  .post-item .entry-excerpt .col-md-4,
  .post-item .entry-excerpt .col-md-8 {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }

  /* 缩略图自适应 - 覆盖内联 width:240px;height:180px */
  .post-item .thumbnail img,
  .post-item .thumbnail img[style*="width"],
  .post-item .thumbnail img[style*="width:240px"] {
    width: 100% !important;
    height: auto !important;
    max-height: 220px !important;
    object-fit: cover !important;
    display: block !important;
  }

  .post-item .entry-title {
    margin-top: 8px !important;
  }
  .post-item .entry-title a {
    font-size: 16px !important;
  }
  .post-item .entry-meta {
    font-size: 12px !important;
  }
  .post-item .read-more {
    margin-bottom: 12px !important;
  }

  /* 列表项间增加间距和分隔线 */
  .post-item {
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #eee !important;
  }

  /* ===== 8. 产品列表页 ===== */
  .product-list,
  .product-list[style*="margin-left"] {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  .product-list .p-item,
  .product-list .p-item[style*="width"] {
    width: 48% !important;
    margin: 0 0 15px 0 !important;
    transform: none !important;
    height: auto !important;
    float: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
  }

  .product-list .p-item .thumb,
  .product-list .p-item .thumb[style*="width"] {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  .product-list .p-item .thumb img,
  .product-list .p-item .thumb img[style*="width"] {
    width: 100% !important;
    height: auto !important;
    max-height: 180px !important;
    object-fit: cover !important;
  }
  .product-list .p-item .title {
    font-size: 13px !important;
    margin: 6px 0 !important;
    word-break: break-word !important;
  }
  .product-list .p-item .title a {
    font-size: 13px !important;
  }

  /* 产品卡片按钮组 */
  .product-list .p-item > div:last-child a,
  .product-list .p-item div[style*="margin: 5px"] a {
    padding: 4px 10px !important;
    font-size: 11px !important;
    margin: 2px !important;
  }

  /* 解决方案列表页 item - 覆盖内联 width:20%; float:left; transform:scale(0.9) */
  .product-list .p-item[style*="width:20%"],
  .product-list .p-item[style*="float:left"] {
    width: 48% !important;
    float: none !important;
    transform: none !important;
    height: auto !important;
  }
  .product-list .p-item-wrap img.cover {
    width: 100% !important;
    height: auto !important;
    max-height: 140px !important;
    object-fit: cover !important;
  }

  /* ===== 9. 搜索框（产品中心页） ===== */
  /* 重置绝对定位搜索框 */
  .container.wrap > div[style*="position: absolute"],
  .container.wrap > div[style*="position:absolute"],
  .container.wrap > form[style*="position"] {
    position: static !important;
    text-align: center !important;
    margin: 10px 0 15px 0 !important;
    right: auto !important;
    top: auto !important;
  }
  .container.wrap > div[style*="position: absolute"] input[type="text"],
  .container.wrap > div[style*="position:absolute"] input[type="text"] {
    width: 60% !important;
    max-width: 220px !important;
  }

  /* 产品中心页搜索框优化 */
  .container.wrap .search-box {
    width: 100% !important;
    margin: 10px 0 15px 0 !important;
    box-sizing: border-box !important;
  }
  .container.wrap .search-box .form-inline {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .container.wrap .search-box .form-inline input[type="text"] {
    flex: 1 !important;
    height: 40px !important;
    padding: 0 12px !important;
    font-size: 14px !important;
    border: 1px solid #ddd !important;
    border-right: none !important;
    border-radius: 4px 0 0 4px !important;
    outline: none !important;
    box-sizing: border-box !important;
    background-color: #fff !important;
    color: #333 !important;
  }
  .container.wrap .search-box .form-inline input[type="text"]::placeholder {
    color: #999 !important;
  }
  .container.wrap .search-box .form-inline button[type="submit"] {
    width: 44px !important;
    height: 40px !important;
    padding: 0 !important;
    font-size: 16px !important;
    border: 1px solid #08c !important;
    border-radius: 0 4px 4px 0 !important;
    background-color: #08c !important;
    color: #fff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    min-height: auto !important;
    min-width: auto !important;
  }
  .container.wrap .search-box .form-inline button[type="submit"]:active {
    background-color: #0077b3 !important;
  }

  /* ===== 10. 分页 ===== */
  .pagination,
  .pagination[style*="margin-left"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: center !important;
    padding: 15px 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
  }
  .pagination li {
    display: inline-block !important;
    margin: 0 2px !important;
  }
  .pagination a,
  .pagination span {
    display: inline-block !important;
    padding: 6px 10px !important;
    font-size: 13px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    line-height: 1.4 !important;
    border-radius: 4px !important;
    border: 1px solid #ddd !important;
    background-color: #fff !important;
    color: #666 !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    text-align: center !important;
    transition: all 0.2s ease !important;
  }
  .pagination a:hover {
    background-color: #f0f7ff !important;
    border-color: #08c !important;
    color: #08c !important;
  }
  .pagination .current {
    background-color: #08c !important;
    border-color: #08c !important;
    color: #fff !important;
    font-weight: 600 !important;
  }
  .pagination .disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
  }

  /* ===== 11. 咨询弹窗 ===== */
  #consult-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    z-index: 10000;
    overflow-y: auto;
    box-sizing: border-box;
  }
  #consult-modal > div,
  #consult-modal > div[style*="width"] {
    width: 92% !important;
    max-width: 380px !important;
    padding: 20px 15px !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 8px;
  }
  #close-consult-modal {
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
  }
  #consult-modal h2 {
    font-size: 22px !important;
  }
  #consult-modal p {
    font-size: 14px !important;
  }

  /* ===== 12. 客服中心 ===== */
  .entry[style*="display:flex"],
  .entry[style*="display: flex"] {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .entry[style*="display:flex"] > div,
  .entry[style*="display: flex"] > div {
    margin-left: 0 !important;
    text-align: center !important;
  }
  .entry[style*="display:flex"] img,
  .entry[style*="display: flex"] img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* 客服中心内嵌 div 的 margin-left:30px */
  .entry-content div[style*="margin-left:30px"],
  .entry-content div[style*="margin-left: 30px"] {
    margin-left: 0 !important;
  }

  /* 客服中心特有负 margin class 修复 */
  .normal-element {
    margin-left: 0 !important;
  }
  .last-element {
    margin-left: 0 !important;
  }

  /* ===== 13. 联系我们页 ===== */
  .contact-container {
    padding: 0 12px !important;
  }
  .contact-header h1 {
    font-size: 24px !important;
  }
  .contact-header p {
    font-size: 14px !important;
  }
  .contact-content {
    flex-direction: column !important;
    padding: 25px 0 !important;
    gap: 25px !important;
  }
  .contact-map-section .contact-map {
    height: 200px !important;
  }
  .info-label {
    width: 65px !important;
  }
  .info-item {
    font-size: 13px !important;
  }

  /* ===== 14. 搜索页 ===== */
  /* 搜索页主容器 */
  .search-page .main {
    padding: 20px 0 0 0 !important;
  }

  /* 搜索表单容器 - 现代卡片风格 */
  .search-page .search-form-wrap {
    background: #fff !important;
    border-radius: 14px !important;
    padding: 18px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04) !important;
  }

  .search-page .search-form-wrap .form-inline {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    gap: 0 !important;
  }

  /* 搜索输入框 */
  .search-page .search-form-wrap input[type="text"] {
    flex: 1 !important;
    min-width: 0 !important;
    height: 46px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    border: 2px solid #e8e8e8 !important;
    border-right: none !important;
    border-radius: 12px 0 0 12px !important;
    outline: none !important;
    background: #f7f8fa !important;
    color: #333 !important;
    box-sizing: border-box !important;
    transition: border-color 0.25s, background 0.25s !important;
    -webkit-appearance: none !important;
  }

  .search-page .search-form-wrap input[type="text"]:focus {
    border-color: #08c !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(0,136,204,0.08) !important;
  }

  .search-page .search-form-wrap input[type="text"]::placeholder {
    color: #bbb !important;
    font-size: 14px !important;
  }

  /* 覆盖通用选择器，避免冲突 */
  .search-page .search-form-wrap input[type="text"][name="keyword"] {
    width: auto !important;
    height: 46px !important;
  }

  /* 搜索按钮 */
  .search-page .search-form-wrap button[type="submit"] {
    flex-shrink: 0 !important;
    height: 46px !important;
    padding: 0 22px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    border: none !important;
    border-radius: 0 12px 12px 0 !important;
    background: linear-gradient(135deg, #08c, #006daa) !important;
    color: #fff !important;
    white-space: nowrap !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    transition: opacity 0.2s !important;
  }

  .search-page .search-form-wrap button[type="submit"]:active {
    opacity: 0.85 !important;
  }

  /* 搜索结果统计头部 */
  .search-page .search-result-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 6px 4px 10px !important;
    margin-bottom: 4px !important;
    border-bottom: 1px solid #f2f2f2 !important;
  }

  .search-page .search-result-header .result-count {
    font-size: 14px !important;
    color: #888 !important;
  }

  .search-page .search-result-header .result-count span {
    color: #08c !important;
    font-weight: 700 !important;
    font-size: 16px !important;
  }

  /* 面包屑优化 */
  .search-page .breadcrumb {
    background: transparent !important;
    padding: 6px 0 !important;
    margin: 0 0 4px !important;
    font-size: 13px !important;
    border-radius: 0 !important;
  }

  .search-page .breadcrumb .active h1 {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #666 !important;
    display: inline !important;
  }

  /* 搜索结果列表项增强 */
  .search-page .post-list .post-item {
    padding: 18px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
  }

  .search-page .post-list .post-item:last-child {
    border-bottom: none !important;
  }

  /* 搜索页缩略图 - 搜索页图片做圆角处理 */
  .search-page .post-item .thumbnail {
    border-radius: 10px !important;
    overflow: hidden !important;
    margin-bottom: 8px !important;
  }

  .search-page .post-item .thumbnail img {
    border-radius: 10px !important;
  }

  /* 搜索页标题 */
  .search-page .post-list .entry-title {
    margin: 6px 0 8px !important;
  }

  .search-page .post-list .entry-title a {
    font-size: 17px !important;
    line-height: 1.5 !important;
    display: block !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    white-space: normal !important;
  }

  /* 搜索页元信息 */
  .search-page .post-list .entry-meta {
    font-size: 12px !important;
    margin-bottom: 8px !important;
    color: #aaa !important;
  }

  .search-page .post-list .entry-meta span {
    margin-right: 12px !important;
  }

  /* 搜索页描述文本 */
  .search-page .post-list .entry-excerpt p {
    font-size: 14px !important;
    line-height: 1.7 !important;
    color: #666 !important;
    height: auto !important;
    -webkit-line-clamp: 3 !important;
    margin-bottom: 10px !important;
  }

  /* 搜索页"阅读更多"按钮 */
  .search-page .post-list .read-more {
    text-align: left !important;
    padding-right: 0 !important;
  }

  .search-page .post-list .read-more a {
    display: inline-block !important;
    padding: 7px 18px !important;
    font-size: 13px !important;
    color: #08c !important;
    background: #f0f7ff !important;
    border: 1px solid #d4e8fc !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
  }

  .search-page .post-list .read-more a:active {
    background: #ddeeff !important;
    border-color: #08c !important;
  }

  /* 搜索页空状态 */
  .search-page .empty-list {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 70px 20px !important;
    font-size: 15px !important;
    color: #aaa !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04) !important;
    margin-top: 8px !important;
  }

  .search-page .empty-list::before {
    content: "\f002" !important;
    font-family: FontAwesome !important;
    display: block !important;
    font-size: 52px !important;
    color: #e0e0e0 !important;
    margin-bottom: 18px !important;
    line-height: 1 !important;
  }

  /* 搜索页分页 */
  .search-page .pagination {
    margin-top: 20px !important;
  }

  /* ===== 15. 解决方案详情页推荐产品轮播 ===== */
  .hot-slider {
    height: auto !important;
    min-height: 120px !important;
    overflow: hidden !important;
  }
  .hot-slider .swiper-wrapper {
    height: auto !important;
  }
  .hot-slider .swiper-slide {
    height: auto !important;
  }
  .hot-slider .p-item-wrap {
    height: auto !important;
    min-height: 120px !important;
  }
  .hot-slider .thumb {
    height: 80px !important;
  }
  .hot-slider .title a {
    font-size: 12px !important;
  }
  .swiper-button-prev,
  .swiper-button-next {
    width: 28px !important;
    height: 28px !important;
  }
  .swiper-button-prev:after,
  .swiper-button-next:after {
    font-size: 14px !important;
  }

  /* ===== 16. 空数据提示 ===== */
  .product-list[style*="text-align: center"] {
    margin-left: 0 !important;
    height: auto !important;
    padding: 30px 0 !important;
  }

  /* ===== 17. Logo 移动端修正 ===== */
  /* 覆盖 site-body-header.html 中内联 margin-left:-260px */
  body #header .logo img,
  body #header .logo img[style*="margin-left"],
  body .header .logo img {
    margin-left: 0 !important;
    max-width: 160px !important;
    min-width: auto !important;
    height: auto !important;
    padding-top: 5px !important;
  }
  /* 覆盖导航栏内联 padding-left:10% */
  body #header .navbar-menu,
  body .header .navbar-menu {
    padding-left: 0 !important;
  }
  /* 覆盖菜单项内联 margin-left:40px */
  body #header #kh-menu .nav-item,
  body .header #kh-menu .nav-item {
    margin-left: 0 !important;
  }

  /* ===== 18. 首页合作伙伴轮播 → 移动端竖向网格 ===== */
  #module-11 .swiper-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    transform: none !important;
    transition: none !important;
  }
  #module-11 .swiper-slide {
    width: 100% !important;
    flex-shrink: unset !important;
    margin-right: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e5e5e5 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    background: #fff !important;
    box-sizing: border-box !important;
  }
  #module-11 .carousel-slider {
    padding: 0 !important;
  }
  #module-11 .swiper-button-next,
  #module-11 .swiper-button-prev {
    display: none !important;
  }
  #module-11 .carousel-slider .swiper-slide img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
    display: block !important;
  }

  /* ===== 19. 导航栏移动端微调 ===== */
  #header {
    padding: 0.5rem 0.8rem !important;
  }

  /* Logo 居中：navbar-header 改为 flex，hamburger 绝对定位左侧 */
  #header .navbar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
  }

  #header .navbar-header .navbar-toggle {
    position: absolute !important;
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    z-index: 2 !important;
  }

  #header .logo {
    padding-left: 0 !important;
    margin: 0 auto !important;
    height: auto !important;
    display: block !important;
  }
  /* Bootstrap 3 collapse 展开时用 .in 类 - 限定 #header */
  #header .navbar-menu.in,
  #header .navbar-menu.show {
    display: block !important;
  }

  /* ===== 20. PDF 下载按钮 ===== */
  .entry-content a[download],
  .entry-content a[href$=".pdf"] {
    display: inline-block !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    margin: 10px 0 !important;
  }

  /* ===== 21. 解决方案详情页侧栏 ===== */
  .sidebar[style*="width:220px"],
  .sidebar[style*="width: 220px"] {
    width: 100% !important;
    padding-left: 0 !important;
  }

  /* ===== 22. 页脚移动端适配 ===== */
  .footer {
    height: auto !important;
    padding-bottom: 60px !important;
  }
  .footer .container {
    padding: 0 10px !important;
  }
  .footer-widget {
    display: none !important;
  }
  .footer .widget[style*="margin-left"],
  .footer .widget[style*="margin-right"],
  .footer .widget[style*="width:240px"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    position: static !important;
  }
  .footer .widget-contact-sns div[style*="margin-left"],
  .footer .widget-contact-sns a[style*="margin-left"],
  .footer .widget-contact-sns img[style*="margin-left"] {
    position: static !important;
    margin-left: 0 !important;
    margin-top: 0 !important;
  }
  .footer .copyright {
    margin-top: 0 !important;
    font-size: 12px !important;
    padding: 15px 10px !important;
    text-align: center !important;
    line-height: 1.8 !important;
  }
  .footer .copyright a {
    font-size: 12px !important;
  }
  .footer .copyright img {
    width: 16px !important;
    height: 16px !important;
  }
  .footer .copyright p,
  .footer .copyright br + a {
    font-size: 11px !important;
  }

  /* ===== 23. 首页轮播图 ===== */
  /* 覆盖 style.css 中 .swiper-normal { width:126%; margin-left:-13% } 导致的横向溢出 */
  /* 使用 body #wrap 前缀确保最高优先级 */
  body #wrap .swiper-normal,
  body #wrap .swiper-full,
  html body .swiper-normal,
  html body .swiper-full {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-bottom: 10px !important;
    left: 0 !important;
    right: 0 !important;
  }

  /* 给 wrap 本身加 max-width 双保险，防止任何子元素撑宽 */
  body #wrap {
    max-width: 100vw !important;
  }

  body #wrap .modules-swiper .slide-img,
  .modules-swiper .slide-img {
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    overflow: hidden !important;
  }

  body #wrap .modules-swiper .slide-img img,
  .modules-swiper .slide-img img {
    width: 100% !important;
    height: auto !important;
    max-height: 280px !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* 轮播分页指示器 */
  .modules-swiper .swiper-pagination {
    bottom: 5px !important;
  }
  .modules-swiper .swiper-pagination-bullet {
    width: 6px !important;
    height: 6px !important;
  }

  /* ===== 23b. 首页合作伙伴区域 ===== */
  .modules-fullwidth {
    padding: 20px 0 !important;
  }
  .modules-fw-inner.container {
    padding: 0 10px !important;
    max-width: 100% !important;
  }
  .modules-carousel_slider .sec-title {
    font-size: 18px !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }
  .carousel-slider {
    padding: 0 30px !important;
  }
  .carousel-slider .swiper-slide img {
    max-width: 120px !important;
    height: auto !important;
    max-height: 60px !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }
  .carousel-slider .swiper-button-next,
  .carousel-slider .swiper-button-prev {
    width: 24px !important;
    height: 24px !important;
    margin-top: -12px !important;
  }
  .carousel-slider .swiper-button-next:after,
  .carousel-slider .swiper-button-prev:after {
    font-size: 20px !important;
    line-height: 24px !important;
  }

  /* ===== 23c. 侧边浮动按钮（联系我们/微信/返回顶部） ===== */
  .action {
    right: 5px !important;
    top: auto !important;
    bottom: 80px !important;
  }
  .action .a-box {
    width: 40px !important;
    height: 40px !important;
  }
  .action .contact-wrap {
    padding: 10px 8px !important;
    min-width: 120px !important;
    right: 45px !important;
    top: 0 !important;
    font-size: 12px !important;
  }
  .action .contact-wrap h3 {
    font-size: 14px !important;
  }
  .action .wechat-wrap {
    padding: 8px !important;
    right: 45px !important;
    top: 0 !important;
  }
  .action .wechat-wrap img {
    width: 100px !important;
    height: auto !important;
  }

  /* ===== 24. 解决方案列表卡片固定高度重置 ===== */
  .product-list .p-item[style*="height:300px"] {
    height: auto !important;
  }

  /* ===== 25. 招商合作页内容优化 ===== */
  .cooperate .entry-content {
    font-size: 14px !important;
    line-height: 1.8 !important;
    padding: 0 5px !important;
  }
  .cooperate .entry-tab-content {
    padding: 10px 0 !important;
  }

  /* ===== 26. 工程案例页优化 ===== */
  .custome .post-list {
    padding: 0 !important;
  }
  .custome .post-item {
    margin-bottom: 20px !important;
    border-bottom: 1px solid #eee !important;
    padding-bottom: 15px !important;
  }
  .custome .entry-excerpt {
    display: flex !important;
    flex-direction: column !important;
  }
  .custome .col-md-4,
  .custome .col-md-8 {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .custome .thumbnail {
    margin-bottom: 10px !important;
  }
  .custome .thumbnail img {
    width: 100% !important;
    height: auto !important;
    max-height: 200px !important;
    object-fit: cover !important;
  }

  /* ===== 27. 表单元素适配 ===== */
  input,
  textarea,
  select {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* ===== 28. 按钮适配 ===== */
  button,
  .btn {
    max-width: 100% !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
  }

  /* ===== 29. 代码块适配 ===== */
  pre,
  code {
    max-width: 100% !important;
    overflow-x: auto !important;
    font-size: 12px !important;
  }

  /* ===== 30. 表格响应式 ===== */
  table {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  th, td {
    padding: 6px 8px !important;
    font-size: 12px !important;
  }

  /* ===== 31. 隐藏不必要的元素 ===== */
  .hidden-mobile {
    display: none !important;
  }

  /* ===== 32. 触摸优化 ===== */
  a, button {
    min-height: 44px !important;
    min-width: 44px !important;
  }

  /* ===== 33. PDF下载按钮 ===== */
  .pdf-download {
    margin-top: 15px !important;
    padding-top: 15px !important;
    border-top: 1px solid #eee !important;
  }
  .pdf-download-btn {
    display: inline-block !important;
    font-size: 14px !important;
    padding: 8px 20px !important;
    background: #ff6700 !important;
    color: #fff !important;
    border-radius: 4px !important;
    text-decoration: none !important;
  }

  /* ===== 34. 产品详情页多级侧边栏菜单 ===== */
  .parent-menu-1 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 12px !important;
    margin: 0 !important;
    background: #fff !important;
    border-bottom: 1px solid #eee !important;
    cursor: pointer !important;
  }
  .parent-menu-1 span {
    font-size: 17px !important;
    color: #0066cc !important;
    font-weight: bold !important;
  }
  .arrow-1 {
    font-size: 18px !important;
    color: #0066cc !important;
  }
  .sub-menu-1 {
    background: #fff !important;
  }
  .parent-menu-2 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 12px !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee !important;
    cursor: pointer !important;
  }
  .parent-menu-2 span {
    font-size: 15px !important;
    color: #333 !important;
  }
  .arrow-2 {
    font-size: 15px !important;
    color: #666 !important;
  }
  .sub-menu-2 {
    background: #f9f9f9 !important;
    display: none !important;
  }
  .sub-menu-2 .third-menu-item {
    padding: 10px 12px 10px 25px !important;
    margin: 0 !important;
    border-bottom: 1px solid #eee !important;
    cursor: pointer !important;
  }
  .sub-menu-2 .third-menu-item span {
    text-decoration: none !important;
    color: #666 !important;
    font-size: 14px !important;
  }
}

/* ===== 小屏手机额外优化 (<= 480px) ===== */
@media (max-width: 480px) {
  .contact-banner {
    height: 120px !important;
  }

  .entry-title {
    font-size: 16px !important;
  }

  .product-list .p-item,
  .product-list .p-item[style*="width"] {
    width: 100% !important;
    margin: 0 0 12px 0 !important;
  }

  .breadcrumb {
    font-size: 12px !important;
  }

  .pagination a,
  .pagination span {
    padding: 4px 6px !important;
    font-size: 12px !important;
    min-width: 26px !important;
    min-height: 26px !important;
  }

  .container.wrap {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .entry-content {
    font-size: 14px !important;
  }

  /* 搜索页小屏优化 */
  .search-page .search-form-wrap {
    padding: 14px !important;
    border-radius: 10px !important;
  }

  .search-page .search-form-wrap input[type="text"] {
    height: 42px !important;
    font-size: 14px !important;
    padding: 0 12px !important;
  }

  .search-page .search-form-wrap input[type="text"][name="keyword"] {
    height: 42px !important;
  }

  .search-page .search-form-wrap button[type="submit"] {
    height: 42px !important;
    padding: 0 16px !important;
    font-size: 14px !important;
  }

  .search-page .post-list .entry-title a {
    font-size: 15px !important;
  }

  .search-page .post-list .entry-meta {
    font-size: 11px !important;
  }

  .search-page .post-list .entry-excerpt p {
    font-size: 13px !important;
    line-height: 1.6 !important;
  }

  .search-page .post-list .read-more a {
    padding: 5px 14px !important;
    font-size: 12px !important;
  }

  .search-page .search-result-header .result-count {
    font-size: 13px !important;
  }

  .search-page .empty-list {
    padding: 50px 16px !important;
    font-size: 14px !important;
  }

  .search-page .empty-list::before {
    font-size: 42px !important;
  }

  /* 小屏缩略图最大高度 */
  .search-page .post-item .thumbnail img,
  .search-page .post-item .thumbnail img[style*="width"] {
    max-height: 160px !important;
  }

  .container.wrap input[type="text"][name="keyword"] {
    width: 55% !important;
  }

  /* 首页轮播图更小 */
  .modules-swiper .slide-img {
    max-height: 180px !important;
  }
  .modules-swiper .slide-img img {
    max-height: 180px !important;
  }

  /* 合作伙伴更紧凑：2列 */
  #module-11 .swiper-wrapper {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }
}
