@charset "utf-8";
/**
 * 商标分类 /guoxin 移动端布局
 */
@media (max-width: 768px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-width: 0;
    overflow-x: hidden;
    background: #f0f0f5;
  }

  .commWith {
    width: 100% !important;
    max-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  /* 顶部 Logo + 搜索 */
  .sort-top {
    width: 100%;
    margin: 12px auto 8px;
    padding: 0;
    min-height: 0;
    box-sizing: border-box;
  }

  .sort-top .sort-top-left,
  .sort-top .sort-top-right {
    float: none;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .sort-top .sort-top-left {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 10px;
  }

  .sort-top .sort-top-left .sort-brand-logo {
    height: 40px;
    max-width: 160px;
  }

  .sort-top .sort-top-right {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
  }

  .sort-top-right .search-input-sp {
    flex: 1;
    width: auto;
    min-width: 0;
    float: none;
    height: 40px;
    line-height: 40px;
    font-size: 13px;
    padding: 0 12px;
    box-sizing: border-box;
  }

  .sort-top-right .search-type {
    flex-shrink: 0;
    float: none;
    width: 96px;
    height: 42px;
    line-height: 42px;
    font-size: 14px;
  }

  /* 灰色内容区 */
  .sort-detail-box {
    min-width: 0;
    padding-bottom: 40px;
  }

  .sort-tab-bar {
    margin: 0 -12px;
    padding: 0 12px;
  }

  .sort-mode-tabs {
    height: 48px;
    line-height: 48px;
  }

  .sort-mode-tabs li {
    height: 48px;
    line-height: 48px;
    margin-right: 24px;
    font-size: 15px;
  }

  /* 45 类 / 行业类方块 */
  .sort-detail-first {
    padding: 16px 10px 20px;
    margin: 0 -12px;
  }

  .sort-detail-list li {
    width: calc(25% - 8px);
    height: 72px;
    margin: 4px;
    box-sizing: border-box;
  }

  .sort-detail-list li h2 {
    font-size: 14px;
    padding: 14px 0 6px;
    line-height: 14px;
  }

  .sort-detail-list li p {
    font-size: 11px;
    line-height: 12px;
    padding: 0 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* 行业图标：横向滑动 */
  .industry-panel-top.sort-detail-first {
    padding: 14px 0 10px;
    overflow: hidden;
  }

  .industry-grid {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start !important;
    gap: 8px;
    padding: 0 4px 6px;
  }

  .industry-grid .industry-card {
    flex: 0 0 56px !important;
    min-width: 56px;
    padding: 6px 2px 8px;
  }

  .industry-name {
    font-size: 11px;
    white-space: normal;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
  }

  /* 行业核心/关联：上下排列 */
  .industry-class-grouped {
    flex-direction: column !important;
    gap: 20px;
    padding: 12px 10px 16px;
    margin: 0 -12px;
  }

  .industry-class-section {
    width: 100%;
  }

  .industry-section-head {
    margin-bottom: 10px;
  }

  .industry-section-title {
    display: block;
    margin-bottom: 4px;
  }

  .industry-section-desc {
    display: block;
    margin: 0;
    font-size: 12px;
  }

  .industry-class-grouped .sort-detail-list li {
    width: calc(25% - 8px);
  }

  /* 注释 */
  .sort-detail-notes {
    margin: 12px 0 0;
    padding: 16px 12px;
  }

  .sort-detail-title01,
  .sort-detail-title02 {
    line-height: 44px;
    font-size: 15px;
    padding: 0 4px;
  }

  .sort-detail-title02 h2 {
    float: none;
    font-size: 15px;
  }

  .sort-detail-title02 p {
    float: none;
    margin: 0;
    padding: 0 0 8px;
    font-size: 13px;
  }

  /* 群组区：纵向堆叠 */
  .sort-second-box {
    padding: 0;
    margin: 0 -12px;
  }

  .sort-second-box table,
  .sort-second-box tbody,
  .sort-second-box tr {
    display: block;
    width: 100%;
  }

  .sort-second-box td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    border-left: none !important;
    border-right: none !important;
  }

  .sort-second-box .sort-big-left1,
  .sort-second-box .sort-big-left2,
  .sort-second-box .sort-result-left,
  .sort-second-box .sort-big-right {
    width: 100% !important;
    max-width: 100%;
  }

  .sort-second-box .bottom-cate-left {
    width: 100%;
    padding: 16px 12px;
    max-height: 240px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid #e1e1e6;
  }

  .sort-second-box .bottom-cate-left td:nth-child(2n+1) {
    width: 48px;
    padding-left: 12px;
  }

  .sort-second-box .bottom-cate-center {
    width: 100%;
    padding: 16px 12px;
    border-bottom: 1px solid #e1e1e6;
  }

  .sort-second-box .sort-result-left {
    padding: 16px 12px;
    border-bottom: 1px solid #e1e1e6;
  }

  .sort-second-box .sort-result-left .class-title {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .sort-second-box .search-result-box {
    max-height: 320px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .sort-second-box .sort-big-right {
    padding: 16px 12px 24px;
    border-top: 8px solid #f0f0f5;
  }

  .sort-second-box .choose-list li .comm {
    width: calc(100% - 50px);
    white-space: normal;
  }

  .sort-second-box .sort-copy .copy-btn {
    width: 100%;
    max-width: 280px;
    padding: 10px 20px;
  }

  #industryBelow .sort-detail-first {
    margin: 0;
  }
}

@media (max-width: 380px) {
  .sort-detail-list li {
    width: calc(33.33% - 8px);
    height: 68px;
  }

  .industry-class-grouped .sort-detail-list li {
    width: calc(33.33% - 8px);
  }
}

/* 移动端隐藏悬浮广告（后台可配置 hideOnMobile） */
@media (max-width: 768px) {
  .guoxin-side-ads.hide-on-mobile {
    display: none !important;
  }
}
