/* ============================================================
   畅捷官网 cjds.com.cn — 移动端适配层
   ------------------------------------------------------------
   PC 端（>=1024px）完全不受影响：本文件所有规则都包在媒体查询内。
   移动端：保留原站 HTML 与内容，重构为移动友好的排版。
   加载顺序：base.min.css → index.min.css → mobile-adapt.css → 本文件
   ============================================================ */

@media (max-width: 1023px) {
  /* ---------- 基础 ---------- */
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }
  body {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background: #fff;
  }
  img { max-width: 100%; height: auto; }
  a { color: inherit; text-decoration: none; }
  .container,
  .home-hero-container.container,
  .page-main .container,
  .site-footer .container {
    width: 100% !important;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
  }

  /* ---------- 顶部导航：Logo + 汉堡 ---------- */
  .site-header {
    position: sticky !important;
    top: 0;
    height: 56px !important;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,.08);
    z-index: 100;
  }
  .site-header .container {
    position: relative;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .header-logo {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    height: 56px;
    display: flex;
    align-items: center;
  }
  .header-logo .logo { display: block; line-height: 0; }
  .header-logo img { width: 100px; height: auto; display: block; }

  /* 原导航与搜索在移动端移入抽屉 */
  .header-nav, .header-search {
    display: none !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
  }

  /* 汉堡按钮 */
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
  }
  body.nav-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* ---------- 抽屉菜单 ---------- */
  .mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-drawer.is-open { visibility: visible; pointer-events: auto; }
  .mobile-drawer .drawer-mask {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    opacity: 0;
    transition: opacity .25s;
  }
  .mobile-drawer.is-open .drawer-mask { opacity: 1; }
  .mobile-drawer .drawer-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 82%;
    max-width: 340px;
    background: #fff;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-drawer.is-open .drawer-panel { transform: translateX(0); }
  .drawer-head {
    height: 56px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #12365c;
  }
  .drawer-nav { padding: 8px 0; }
  .drawer-nav a {
    display: block;
    padding: 14px 18px;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
  }
  .drawer-nav a.active { color: #ff6a00; font-weight: 700; background: #fff8f2; }
  .drawer-search { padding: 16px; }
  .drawer-search form { display: flex; }
  .drawer-search input[type="search"] {
    flex: 1; min-width: 0;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
  }
  .drawer-search input[type="submit"] {
    width: 52px;
    border: 0;
    background: #ff6a00;
    color: #fff;
    font-size: 13px;
    border-radius: 0 4px 4px 0;
  }

  /* ---------- Hero Banner ---------- */
  .home-hero-container { margin-top: 0 !important; }
  .home-hero-slider {
    height: auto !important;
    overflow: hidden;
  }
  .home-hero-slider .focus ul,
  .home-hero-slider ul.rslides { margin: 0; padding: 0; list-style: none; }
  .home-hero-slider img {
    display: block;
    width: 100% !important;
    height: auto !important;
  }
  .home-hero-slider .rslides li { display: block; }

  /* 关于畅捷 */
  .home-hero-sub {
    display: block !important;
    padding: 18px 0 10px;
  }
  .home-about {
    width: auto !important;
    text-align: center !important;
    font-size: 19px !important;
    line-height: 1.5 !important;
    color: #ff6a00 !important;
    font-weight: 700;
    padding: 0 0 10px !important;
    position: relative;
  }
  .home-about:after {
    content: "";
    display: block;
    width: 40px;
    height: 2px;
    background: #ffac13;
    margin: 8px auto 0;
  }
  .homeabout {
    padding: 6px 4px 12px !important;
    font-size: 13px !important;
    line-height: 1.9 !important;
    text-indent: 2em !important;
    color: #666 !important;
    text-align: justify;
  }

  /* ---------- 栏目标题 ---------- */
  .xm-plain-box, .home-brick-box {
    margin-bottom: 18px !important;
  }
  .box-hd {
    height: auto !important;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 2px solid #ffac13;
    margin-bottom: 12px;
  }
  .box-hd .title {
    font-size: 17px !important;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1.4;
  }
  .box-hd .more, .box-hd .more-link {
    float: none !important;
    font-size: 12px;
    color: #999;
  }
  .box-hd .more-link i { font-style: normal; margin-left: 2px; }

  /* ---------- 产品列表：2 列卡片 ---------- */
  .box-bd, .home-brick-box .box-bd {
    width: 100% !important;
    overflow: visible !important;
  }
  .box-bd .row, .box-bd .span20, .box-bd .span4, .box-bd .span16 {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .xm-carousel-wrapper {
    height: auto !important;
    overflow: visible !important;
  }
  .xm-carousel-list, .brick-list, .brick-promo-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
  }
  /* clearfix 伪元素在 Grid 中会占据网格项，必须清除 */
  .xm-carousel-list::before, .xm-carousel-list::after,
  .brick-list::before, .brick-list::after,
  .brick-promo-list::before, .brick-promo-list::after,
  .review-list::before, .review-list::after,
  .products::before, .products::after {
    display: none !important;
    content: none !important;
  }
  .xm-carousel-list > li, .brick-list > li, .brick-promo-list > li {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 10px 8px 12px !important;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 4px;
    overflow: hidden;
    text-align: center;
  }
  .goods-list .desc, .brick-list .desc { display: none !important; }
  .thumb, .figure-img {
    display: block;
    width: 100%;
    height: 108px;
    margin: 0 auto 8px;
    overflow: hidden;
  }
  .thumb img, .figure-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .goods-list h3.title, .brick-list h3.title {
    margin: 0 0 6px !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
  }
  .goods-list .price, .brick-list .price {
    margin: 0 !important;
    font-size: 15px !important;
    font-weight: 700;
    color: #ff6a00 !important;
    text-align: left;
    line-height: 1.4;
  }
  .goods-list .price .num, .brick-list .price .num { font-size: 17px; }
  .brick-item-l img { width: 100% !important; height: auto !important; object-fit: contain; }

  /* ---------- 合作伙伴 ---------- */
  .limit-box, .home-review-box {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 18px !important;
    overflow: visible !important;
  }
  .limit-buy-hd {
    height: auto !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 2px solid #ffac13;
  }
  .limit-buy-hd .title { font-size: 17px !important; margin: 0; }
  .limit-buy-nav { display: none !important; }
  .btn-prev, .btn-next { display: none !important; }
  .limit-buy-bd { width: 100% !important; overflow: visible !important; }
  .review-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    list-style: none;
  }
  .review-list + .review-list { margin-top: 10px !important; }
  .review-item {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .review-item .pic {
    margin: 0;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 4px;
    overflow: hidden;
  }
  .review-item .pic img { max-width: 90%; max-height: 70%; object-fit: contain; }

  /* ---------- 服务条 ---------- */
  .footer-service { padding: 18px 0 !important; }
  .list-service {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px 6px;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .list-service li { float: none !important; width: auto !important; }
  .list-service a {
    display: block;
    font-size: 12px;
    color: #666;
    text-align: center;
    line-height: 1.5;
  }
  .list-service i { margin-right: 4px; color: #ff6a00; }

  /* ---------- 页脚 ---------- */
  .footer-links {
    padding: 22px 0 !important;
    float: none !important;
    width: 100% !important;
    display: flex;
    flex-wrap: wrap;
  }
  .col-links {
    width: 50% !important;
    float: none !important;
    margin: 0 0 18px !important;
    padding: 0 8px 0 0 !important;
    box-sizing: border-box;
  }
  .col-links dt { font-size: 14px; font-weight: 700; color: #333; margin-bottom: 8px; }
  .col-links dd { margin: 0 0 6px; font-size: 12.5px; color: #777; }
  .col-contact {
    clear: both;
    float: none !important;
    width: 100% !important;
    padding: 16px 0 !important;
    border-top: 1px solid #eee;
  }
  .col-contact .phone { font-size: 22px !important; color: #ff6a00 !important; font-weight: 700; margin: 0 0 6px; }
  .col-contact p { font-size: 12px; color: #888; margin: 0 0 10px; }
  .col-contact .btn {
    display: inline-block;
    padding: 8px 16px;
    font-size: 12px;
    color: #ff6a00;
    border: 1px solid #ff6a00;
    border-radius: 4px;
  }
  .footer-beian {
    clear: both !important;
    float: none !important;
    width: 100% !important;
    font-size: 11px !important;
    line-height: 1.8;
    color: #999;
    padding: 12px 0 20px;
    text-align: center;
  }

  /* ---------- 右侧悬浮工具栏：移动端完全移除 ---------- */
  .toolbar, .toolbar-item, .toolbar-layer { display: none !important; }

  /* ---------- 内页通用 ---------- */
  .breadcrumb, .crumbs, .location { font-size: 12px; color: #999; padding: 10px 0; }
  .article-title, .news-title, .detail-title {
    font-size: 20px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }
  .article-content, .news-content, .detail-content, .con-right, .content {
    font-size: 14px !important;
    line-height: 1.9 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
  }
  .article-content img, .news-content img, .detail-content img { max-width: 100% !important; height: auto !important; }
  .news-list li, .article-list li { padding: 12px 0 !important; border-bottom: 1px solid #eee; }
  .news-list a, .article-list a { font-size: 14px !important; line-height: 1.6; }
  .con-left, .contact-left, .contact-right, .col-5, .col-7, .col-xs-10 {
    width: 100% !important;
    float: none !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
    box-sizing: border-box;
  }
  .form-horizontal .form-group { margin-bottom: 12px !important; }
  .form-control, input[type="text"], input[type="email"], input[type="tel"], textarea {
    max-width: 100%;
    width: 100% !important;
    box-sizing: border-box;
    font-size: 16px !important;
  }
  textarea { min-height: 90px; }
  .btn, button { font-size: 14px; }
  table { width: 100%; font-size: 13px; }

  /* ---------- 高优先级覆盖：抵消原站 index.min.css 的固定尺寸 ----------
     原站选择器如 .home-star-goods .goods-list li 权重高于通用规则，
     必须用同款选择器 + !important 才能在本断点内彻底改写。          */
  .home-star-goods .box-bd,
  .home-star-goods .xm-carousel-wrapper,
  .home-star-goods .goods-list {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  .home-star-goods .goods-list li {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 10px 8px 12px !important;
    margin: 0 !important;
    float: none !important;
    text-align: center !important;
    background: #fff !important;
    border: 1px solid #ededed !important;
    border-radius: 4px;
    box-sizing: border-box;
  }
  .home-star-goods .goods-list .thumb {
    display: block !important;
    width: 100% !important;
    height: 108px !important;
    margin: 0 auto 8px !important;
    overflow: hidden;
  }
  .home-star-goods .goods-list .thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
  }
  .home-star-goods .goods-list .title {
    margin: 0 0 6px !important;
    font-size: 12.5px !important;
    font-weight: 500 !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    text-overflow: clip !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
    min-height: 36px;
  }
  .home-star-goods .goods-list .desc { display: none !important; }
  .home-star-goods .goods-list .price { margin: 0 !important; text-align: left; font-size: 15px !important; }

  /* 电子秤大图：原站固定 614px 高；且大图独占一行，避免与小卡错位 */
  .brick-promo-list {
    grid-template-columns: 1fr !important;
    margin-bottom: 10px !important;
  }
  .brick-promo-list .brick-item-l,
  .brick-promo-list .brick-item-l img {
    width: 100% !important;
    height: auto !important;
    max-height: 260px !important;
    object-fit: contain;
    margin: 0 !important;
    padding: 0 !important;
  }
  .brick-promo-list .brick-item-l {
    display: block !important;
    grid-column: 1 / -1 !important;
  }
  /* 大图那一行若外层 row 只有它，避免下方 offset 错位 */
  .home-brick-box .row { width: 100% !important; }

  /* 合作伙伴轮播容器：原站为绝对定位 + 9000px 宽 */
  .limit-buy-bd {
    position: static !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    overflow: visible !important;
    z-index: auto !important;
  }
  .review-item { margin-left: 0 !important; }
  /* 原站 .products li 写死 167px 高，图片下方留大片空白 → 取消固定高度 */
  .products.review-list > li, .review-item {
    height: auto !important;
    min-height: 0 !important;
    padding: 8px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 4px;
  }
  .review-item .pic,
  .review-item .figure-img,
  .review-item .figure-img img,
  .review-item .pic img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-height: 76px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    object-fit: contain !important;
  }

  /* 原 mobile-adapt.css 用 3 级选择器把页脚锁成单列，这里同等权重覆盖 */
  .site-footer .footer-links {
    display: flex !important;
    flex-wrap: wrap !important;
    float: none !important;
    width: 100% !important;
  }
  .site-footer .footer-links .col-links {
    width: 50% !important;
    float: none !important;
    box-sizing: border-box;
    padding-right: 8px !important;
  }
  .site-footer .footer-links .col-contact {
    clear: both !important;
    width: 100% !important;
    text-align: left !important;
  }
  .site-footer .list-service li { width: auto !important; }

  /* ---------- 联系我们页专项 ---------- */
  .contact-left, .contact-right {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    padding: 12px !important;
    margin: 0 0 14px !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  .contact-left .contact-con { width: 100% !important; margin: 0 !important; }
  .contact-left .contact-con h2 {
    height: auto !important;
    line-height: 1.5 !important;
    margin: 0 0 14px !important;
    white-space: normal !important;
    font-size: 17px !important;
  }
  .contact-con li {
    float: none !important;
    width: 100% !important;
    margin: 0 0 8px !important;
    padding-left: 34px !important;
    text-indent: 0 !important;
    box-sizing: border-box;
    line-height: 1.7 !important;
    font-size: 13px !important;
  }
  .contact-con li.cd6 { margin: 14px 0 0 !important; padding-left: 0 !important; }
  .contact-con li.cd6 img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .contact-right h2 { margin: 0 0 10px !important; }
  .contact-right p { margin: 0 0 12px !important; }
  .contact-right .pro-message { width: 100% !important; margin: 0 0 12px !important; }
  .pro-message .form-group {
    width: 100% !important;
    float: none !important;
    margin: 0 0 10px !important;
  }
  .pro-message .control-label {
    float: none !important;
    width: auto !important;
    display: block;
    margin-bottom: 5px;
  }

  /* ---------- 留言板：客服卡片居中占满 ---------- */
  .mess-top, .mess, .mess-led {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
    height: auto !important;
    margin: 0 0 14px !important;
    box-sizing: border-box;
  }
  .mess-led { padding: 24px 12px !important; }
  .mess-led .cus-kf-pic { margin-top: 0 !important; }
  .mess-led .cus-kf-tit { margin-top: 12px !important; }

  /* 内页内容破图/外链图片兜底 */
  .mess img, .news-content img, .article-content img { max-width: 100% !important; }

  /* ---------- 下载中心专项：解除固定 580px/220px 与浮动 ----------
     原站 .pl-info 固定 580px + float:right，窄屏下 left 为负值，
     文字会跑到卡片外面；这里全部改为单列卡片堆式布局。       */
  .news-list, .down-list, .news_right, .zp-list {
    margin: 16px 0 !important;
    padding: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
  }
  .down-list li {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 14px !important;
    padding: 12px !important;
    box-sizing: border-box;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    overflow: hidden;
  }
  .pl-img, .pl-info {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    max-width: 100%;
  }
  .pl-img { margin: 0 auto 10px !important; text-align: center; }
  .pl-img img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 180px !important;
    margin: 0 auto !important;
    display: inline-block;
  }
  .pl-info h1 {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin: 0 0 8px !important;
    word-break: break-word;
  }
  .pl-info p { font-size: 13px !important; line-height: 1.7 !important; }
  .pl-info p.pinfo {
    height: auto !important;
    overflow: visible !important;
    word-break: break-word;
    margin: 0 0 10px !important;
  }
  .pl-info p.pbtn { float: none !important; margin: 0 !important; }
  .pl-info p .pmore {
    display: inline-block;
    padding: 7px 16px !important;
    font-size: 13px !important;
  }
}

/* ---------- 小屏手机 ---------- */
@media (max-width: 400px) {
  .header-logo img { width: 88px; }
  .thumb, .figure-img { height: 92px; }
  .box-hd .title, .limit-buy-hd .title { font-size: 16px !important; }
  .goods-list .price, .brick-list .price { font-size: 14px !important; }
  .col-contact .phone { font-size: 20px !important; }
}

/* ============================================================
   PC 端（>=1024px）修正：
   汉堡按钮在 HTML 中始终存在，PC 端必须显式隐藏，
   否则会渲染成搜索框左上方的一个小灰框。
   ============================================================ */
@media (min-width: 1024px) {
  .mobile-menu-toggle { display: none !important; }
  .mobile-drawer { display: none !important; }
}

/* ============================================================
   栏目页 / 详情页 / 教程页 移动端专项规整（仅 ≤1023px 生效）
   1) 产品栏目页 .prolist：卡片等高、图片统一高度、标题两行截断
   2) 教程页 .pro_hot_pic：热销图限高，避免整屏大图
   3) 产品详情页 .proinfo / #tags：解除固定宽度与浮动，标签文字不裁切、选项卡不竖排
   ============================================================ */
@media (max-width: 1023px) {
  /* ---- 1. 产品栏目页：网店管家云端版等 ---- */
  .product .prolist {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: 100% !important;
    margin: 12px auto !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
  }
  .product .prolist li,
  .prolist li {
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 10px 8px 12px !important;
    float: none !important;
    box-sizing: border-box !important;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    list-style: none !important;
  }
  .product .prolist li::before,
  .product .prolist li::after,
  .prolist li::before,
  .prolist li::after { content: none !important; display: none !important; }
  .prolist li a { display: block !important; text-align: center; }
  .prolist li img {
    display: block !important;
    width: 100% !important;
    height: 132px !important;
    object-fit: contain !important;
    object-position: center center;
    margin: 0 auto 8px !important;
    padding: 0 !important;
  }
  .prolist h2 {
    height: 38px !important;
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: normal !important;
    line-height: 1.45 !important;
    text-align: center;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  /* ---- 2. 教程页热销推荐 ---- */
  .pro_hot_pic li {
    width: 100% !important;
    height: auto !important;
    margin: 0 0 12px !important;
    padding: 0 0 10px !important;
    box-sizing: border-box !important;
    text-align: center;
  }
  .pro_hot_pic li img {
    display: block !important;
    width: auto !important;
    max-width: 96% !important;
    height: 150px !important;
    object-fit: contain !important;
    margin: 0 auto 8px !important;
    padding: 0 !important;
  }
  .pro_hot_pic li p {
    margin: 0 !important;
    padding: 0 5px !important;
    font-size: 13px !important;
    line-height: 1.5;
    text-align: center;
  }

  /* ---- 3. 产品详情页 ---- */
  .proinfo {
    width: 100% !important;
    height: auto !important;
    float: none !important;
    clear: both !important;
    margin: 0 !important;
    padding: 12px 12px 4px !important;
    box-sizing: border-box !important;
  }
  .proinfo li {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    float: none !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    line-height: 1.7 !important;
    word-break: break-word;
    border-bottom: 1px dashed #eee;
  }
  .proinfo li:last-child { border-bottom: 0; }
  .proinfo .ps0 {
    display: inline !important;
    float: none !important;
    width: auto !important;
    white-space: nowrap !important;
  }
  .proinfo li.price b { color: #ff7e00; font-size: 16px; }
  .proinfo li.buttom { border-bottom: 0 !important; padding-top: 14px !important; }
  .proinfo ul li.buttom { margin: 0 !important; float: none !important; clear: both !important; }
  .proinfo ul li.buttom a {
    display: inline-block !important;
    padding: 8px 14px !important;
    margin: 0 10px 0 0 !important;
    white-space: nowrap !important;
    line-height: 1.5 !important;
    font-size: 13px !important;
    border-radius: 4px;
  }
  #con { width: 100% !important; margin-left: 0 !important; }
  #tags {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
  }
  #tags li {
    width: 33.333% !important;
    height: 44px !important;
    line-height: 44px !important;
    margin: 0 !important;
    float: left !important;
    text-align: center;
    box-sizing: border-box !important;
  }
  #tags li a {
    display: block !important;
    width: 100% !important;
    height: 44px !important;
    line-height: 44px !important;
    font-size: 15px !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .procon .tagContent img,
  .procon .tagContent table { max-width: 100% !important; height: auto !important; }
}

/* ============================================================
   合作伙伴：两组合并为连续网格，一行 3 个、间距 15px、图片放大
   原站有两个 ul.review-list（各 4 个 logo），若各自成网格会排成
   3+1 / 3+1 参差；用 display:contents 让 8 个 li 直接进入父容器
   的 3 列网格，得到整齐的 3+3+2。
   ============================================================ */
@media (max-width: 1023px) {
  .limit-buy-bd {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 15px !important;
  }
  .products.review-list, .review-list {
    display: contents !important;
  }
  .products.review-list > li, .review-item {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 10px 8px !important;
    box-sizing: border-box !important;
  }
  .review-item .pic,
  .review-item .figure-img,
  .review-item .figure-img img,
  .review-item .pic img {
    max-height: 90px !important;
  }
}
