
@media (min-width: 1921px) {
  .container {
    max-width: 1580px;
  }
}

@media (max-width: 1920px) {
  .container {
    max-width: 1480px;
  }
}

@media (max-width: 1680px) {
  .container {
    max-width: 1380px;
  }
}
@media screen and (max-width: 1520px) {
  .container {
    max-width: 1340px;
  }
}
@media screen and (max-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

@media screen and (max-width: 1360px) {
    .container {
    max-width: 1200px;
  }
  .nav-menu ul li {
    padding-right: 50px;
  }
 
}

@media screen and (max-width: 1280px) {
  .container {
    max-width: 1080px;
  }
   .header_phone {
    width: 50%;
  }
}

@media screen and (max-width: 1200px) {

  .about_cont p {
    font-size: 14px;
    margin: 10px 0;
  }
  .about_cont p.lin3 {
    display: block;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  .about-list2 li a {
    flex-direction: column;
  }
  /* 供应商网格 */
  .supplier-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
  }
  /* 供应商等级表格 */
  .pai_tit, .item-list li {
    grid-template-columns: 60px 1fr 80px 80px 10px;
    padding: 12px 15px;
  }
  /* .item-list2 li {
    grid-template-columns: 60px 1fr 80px 80px 80px 10px;
  }
  .pai_tit2 {
        grid-template-columns: 72px 1fr 100px 100px 117px 10px;
} */
  /* 个人中心主区域 */
  .user-box .dashboard {
    width: 95%;
  }
}

@media screen and (max-width: 1024px) {
 .container {
        max-width: 100%;
        padding-left: 20px;
        padding-right: 20px;
    }
  .about_cont p.lin3 {
    display: none;
  }
  .flfg_cont div ul li {
    padding: 14px 0;
  }
  /* 采购列表滚动区 */
  .scroll-box-list li .li {
    width: 50%;
  }
  /* 供应商等级表格进一步压缩 */
  .pai_tit, .item-list li {
    grid-template-columns: 50px 1fr 70px 70px 10px;
  }
  .item-list2 li {
    grid-template-columns: 50px 1fr 70px 70px 70px 10px;
  }
.pai_tit2 {
        grid-template-columns: 72px 1fr 112px 67px 73px 10px;
    }
}

@media screen and (max-width: 991px) {
.introduction .img_cont img{
  height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
    max-height: auto;
}
  .header-top {
    display: none;
  }
  #header.header-transparent {
    background: #fff;
    display: flex;
    align-items: center;
  }
  .header_center {
    display: none;
  }
  .findDiv {
    display: none;
  }
  #header {
    background: #fff;
  }
  .logo_mob {
    display: flex;
    align-items: center;
    margin-top: 5px;
  }
  .logo_tu img {
    height: 55px;
  }
  .main_tit {
    margin-top: 20px;
  }
  .about_cont p.lin3 {
    display: block;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }
  /* banner */
  #banner .swiper-button {
    display: none;
  }
  #banner .swiper-container-horizontal > .swiper-pagination-bullets,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 10px;
  }
  #banner .swiper-slide .pcimg {
    display: none !important;
  }
  #banner .swiper-slide .mobimg {
    display: block !important;
  }
  .fix-side {
    display: none;
  }
  .nav-top {
    display: block;
  }
  .footer-nav {
    display: none;
  }
  /* 右侧悬浮 */
  #suspension {
    display: none;
  }
  /* 平台介绍选项卡 */
  .cs_r .cs_rtit ul li {
    width: calc(32% - 10px);
    margin: 5px;
  }
  /* 底部footer */
  .footer-list2 {
    display: none;
  }
  .footer-list1 {
    padding-right: 0;
    border: none;
    width: 100%;
  }
  .pro_txt b {
    font-size: 16px;
  }
  .ab_more2 {
    margin: 5px 0;
    width: auto;
  }
  /* 个人中心侧边栏 */
  .user-box .sidebar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
  }
  .user-box .sidebar-item {
    flex: 1;
    justify-content: flex-start;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 10px ;
  }
  .user-box .sidebar-item.active {
    border-left: none;
    border-bottom-color: #0A2463;
  }
  .user-box .info-card {
    margin-bottom: 0;
  }
  /* 大团长卡片 */
  .leader-row-card {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 14px;
  }
  .leader-list .rank-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    margin-right: 0;
  }
  .leader-avatar-area {
    margin-left: 50px;
    margin-bottom: 8px;
  }
  .leader-stats {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
  }
  .leader-actions {
    justify-content: flex-end;
    margin-top: 6px;
  }
  /* 供应商详情页 */
  .supplier-detail-container {
    flex-direction: column;
  }
  .sidebar-content {
    width: 100%;
  }
  .scope-item {
    width: calc(50% - 15px);
  }
  /* 采购详情页 */
  .inquiry-table {
    display: block;
    overflow-x: auto;
  }
  /* 登录注册页 */
  .shengyan-login-scope .login-grid {
    flex-direction: column;
  }
  .shengyan-login-scope .brand-left {
    text-align: center;
    align-items: center;
  }
  .shengyan-login-scope .brand-left .brand-image img {
    max-width: 100%;
  }
  .shengyan-login-scope .form-right {
    padding: 32px 24px;
  }
  .shengyan-login-scope .top-bar {
    padding: 10px 20px;
  }
  /* index */
  .flex-al-stretch {
    flex-direction: column;
  }
  #banner{ width: 100%;}
  .banner-fr {
    width: 100%;
    margin-top: 20px;
  }
  .introduction{ width: 100%;}
  .zxjj-box{ width: 100%;}
  .supply ul li {

    margin: 10px;}
    .index-bg .txt{ font-size: 30px;}
    .level-box .team-list {
    width: calc(100% - 15px);
}
.level-box .supply-list {
    width: calc(100% - 15px);
}
.level-box{ flex-direction: column;}
.footer-main .container {
  flex-direction: column;
}
.footer-list3 span { text-align: center;}
.footer-list1{ padding: 0; text-align: center;}
.footer-list3{ width: 100%; align-items: center; justify-content: center;}
.footer-copyright span {
  text-align: center;
  margin-top: 20px;
}
.scroll-box-list {
  margin-left: 0!important;
}
.scroll-box-list li .box{ margin: 0;}
.scroll-box-list li{ margin-bottom: 0;}
 .scroll-box-list li .li {
        width: 46%;
        margin: 2%;
    }
    .scroll-box-show{ padding: 0; height: 400px; overflow-y: scroll;}
    .supply ul {height: 450px; overflow-y: scroll;}
    .news-container{ flex-direction: column;}
    .news-sidebar{width: 100%;}
    .recommend-box{ display: none;}
    .news-sidebar {
      padding: 10px;
    }
    .detail-container{ flex-direction: column;}
    .detail-container .news-sidebar{ width: 100%;}
    .tabs-bar{ margin: 20px 0;}
    .user-box .main-content{ padding: 0;}
.tab-box {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}
.fb-table {
    min-width: 750px;  
    width: auto;
}
.user-box .dashboard{ display: block;}
.user-box .sidebar{ margin-bottom: 20px;}
.scroll-box-list li .bot-list{ display: block;}
.item-list li a {
    display: flex
;
   
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
    flex-wrap: wrap;
}
.item-list li .num {
  width: 50px;
}
  .item-list li .com-name{width: calc(100% - 57px);}
  .item-list li .flower{ margin-top: 5px; width:  calc(100% - 85px); display: block; text-align: right;}
  .item-list li .like{ width: 80px; margin-top: 5px; display: block; text-align: center;}
  .item-list li .flower::before {
    left: auto;
    right: 40px;
    display: none;
  }
 .card-header .info-title {
    width: 100%;
  }
} 

@media screen and (max-width: 768px) {
  /* 头部高度 */
  #header {
    height: 60px;
  }
  .top-box .logo {
    justify-content: flex-start;
    height: 60px;
  }
  .top-box .logo img {
    max-height: 45px;
  }
  .mobile-nav-toggle {
    top: 5px;
  }
  .pic-data {
    width: 100%;
  }
  .foot {
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  .footer_logo {
    flex-direction: column;
    justify-content: center;
    padding-top: 30px;
  }
  .title {
    font-size: 24px;
  }
  .footer_logo {
    width: 100%;
  }
  .noticeBox span {
    display: inline;
    float: left;
    width: 50px;
    height: 50px;
    background: #CA231E;
    text-align: center;
    font-size: 16px;
    color: #fff;
    position: relative;
    padding: 5px;
    line-height: 20px;
    vertical-align: top;
    margin-right: 10px;
    margin-top: 5px;
  }
  .main_tit {
    font-size: 24px;
  }
  .main_tit p span {
    font-size: 18px;
  }
  #ry .swiper-slide i {
    padding-bottom: 5px;
  }
  #ry .swiper-slide p {
    padding-top: 0;
  }
  #ry .swiper-button-prev,
  #ry .swiper-button-next {
    width: 30px;
  }
  .footer-main .container {
    flex-direction: column;
  }
  .zxjj-box {
    margin-top: 20px;
  }
  .about-list2 {
    margin-bottom: 20px;
  }
  .company_list .item {
    display: flex;
    width: calc(50% - 20px);
  }
  .fwsj_list li {
    border-radius: 10px;
    transition: all .2s ease-in-out;
    width: calc(50% - 10px);
    padding: 20px;
    border: 1px solid #BFD8F3;
    background: #F3F8FE;
  }
  /* 供应商网格 */
  .supplier-grid {
    grid-template-columns: 1fr;
  }
  .action-buttons {
    flex-direction: column;
  }
  /* 供应商等级表格 */
  .pai_tit, .item-list li {
    grid-template-columns: 40px 1fr 60px 60px 10px;
    font-size: 12px;
  }
  .item-list2 li {
    grid-template-columns: 40px 1fr 60px 60px 60px 10px;
  }
  /* 个人中心 */
  .user-box .dashboard {
    flex-direction: column;
    width: 100%;
    padding: 0 0px;
  }
  .user-box .main-content {
    padding: 0px;
  }
  .user-box .profile-row {
    flex-direction: column;
    text-align: center;
  }
  .user-box .info-item {
    justify-content: center;
  }
  /* 发布需求表格 */
  .fb-table th, .fb-table td {
    padding: 6px;
    font-size: 12px;
  }
  .fb-table input, .fb-table textarea {
    font-size: 12px;
  }
  /* 采购详情页 */
  .purchase-header-card {
    padding: 20px;
  }
  .purchase-title {
    font-size: 22px;
  }
  .countdown-box {
    flex-wrap: wrap;
  }
  .quote-btn {
    width: 100%;
    text-align: center;
  }
  /* 登录注册页 */
  .shengyan-login-scope .form-right {
    padding: 24px 20px;
  }
  .shengyan-login-scope .tab-btn {
    font-size: 0.9rem;
    padding: 10px 0;
  }
  .cs_r .cs_rc ul li.on a h3{ font-size: 15px;}
  .cs_r .cs_rc ul li a div p{ font-size: 14px;}
  .supply ul{ padding: 0;}
 
.scroll-box .scroll-box-box{ padding: 0;}
   
 .scroll-box-list li .box{  padding: 8px;}
 .news-sidebar .menu-title{ font-size: 20px;}
 .news-card{ padding: 15px 0;}
 .news-title a{ font-size: 16px;}
 .page-li {
    display: flex
;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border-radius: 6px;}
    .info-card{ padding: 15px;}
    .detail-section{ padding: 15px;}
    .page-header b{ font-size: 20px;}
    .page-header{ padding: 20px 0;}
        .user-box .sidebar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 15px;
        display: grid;
        grid-template-columns: repeat(2,1fr);
    }
   
}

@media screen and (max-width: 640px) {
  .pro_txt b {
    font-size: 16px;
  }
  .cs_r .cs_rtit ul li a {
    padding: 5px 10px;
  }
  .ab_more2 {
    margin: 5px 0;
    width: auto;
  }
  .bt_title {
    font-size: 22px;
  }
  .detail .jian_tit {
    font-size: 14px;
  }
  .detail .txt_info {
    font-size: 14px;
  }
  .detail .xgzx ul li {
    width: calc(50% - 20px);
    margin: 10px;
    list-style-type: circle;
  }
  .detail {
    padding: 20px 10px;
  }
  .company_list .item {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .company_list .item .info {
    width: 100%;
  }
  .company_list .item .pict img {
    float: none;
    max-height: 260px;
  }
  .company_list .item p {
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
  .biaodan select.address {
    margin-left: 5px;
    width: calc(33% - 35px) !important;
  }
  .fr_wrap {
    width: 100%;
  }
  /* 供应商详情页 */
  .scope-item {
    width: 100%;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .company-header-card {
    flex-direction: column;
    text-align: center;
  }
  .company-logo {
    margin-bottom: 15px;
  }
  /* 采购详情页 */
  .inquiry-table th, .inquiry-table td {
    white-space: nowrap;
  }
  .remark-cell {
    white-space: normal !important;
    min-width: 150px;
  }
  /* 底部按钮组 */
  .detail-bottom-actions {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
  }
  .detail-bottom-actions .action-btn {
    flex: 1 1 40%;
    font-size: 0.85rem;
  }
  /* 大团长卡片操作按钮 */
  .leader-actions button {
    flex: 1;
    min-width: 80px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }
  .stat-badge .stat-number {
    font-size: 1rem;
  }
  /*  */
  .index-bg .txt { font-size: 16px; letter-spacing: 0;}
    .pai_tit, .item-list li {
        grid-template-columns: 40px 1fr 118px 103px 10px;
        font-size: 12px;
    }
    .toolbar{ padding: 20px 0;}
    .search-box {
      width: 100%;
    }
    .shengyan-login-scope .brand-left .main-slogan {
    font-size: 20px;
}
.shengyan-login-scope .brand-left .brand-image{ display: none;}
.shengyan-login-scope .brand-left{ padding: 20px;}
.shengyan-login-scope .checkbox-group label{ font-size: 12px;}
.shengyan-login-scope .brand-left .sub-slogan{ margin-bottom: 0;}
}

@media screen and (max-width: 480px) {
  .logo_tu img {
    height: 42px;
  }
  #header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
  }
  .mobile-nav-toggle i {
    width: 40px;
    height: 40px;
    line-height: 40px;
  }
  .mobile-nav-toggle {
    top: 10px;
  }
  .jzgs_btn a {
    width: 100%;
    margin: 10px 0;
  }
  .jzgs_btn {
    flex-direction: column;
  }
  .cs_r .cs_rtit ul li {
    width: calc(32% - 10px);
    margin: 5px;
  }
  .cs_r .cs_rtit ul li a {
    font-size: 14px;
    font-weight: normal;
  }
  .about-list2 li a {
    padding: 10px 5px;
    font-size: 14px;
  }
  .about-list2 li a .cn {
    font-size: 14px;
  }
  .gu_list a {
    flex-direction: column;
  }
  .pro_tu {
    width: 100%;
  }
  .pro_txt {
    width: 100%;
    text-align: center;
  }
  .detail .xgzx ul li {
    width: calc(100% - 20px);
  }
  .company_list .item {
    display: flex;
    width: calc(100% - 20px);
  }
  .link_box a {
    padding: 2px;
    line-height: 32px;
    font-size: 16px;
    width: calc(33% - 10px);
  }
  .fwsj_list li {
    border-radius: 10px;
    transition: all .2s ease-in-out;
    width: calc(50% - 10px);
    padding: 10px;
    border: 1px solid #BFD8F3;
    background: #F3F8FE;
  }
  .fwsj_list li a .icon {
    margin-top: -40px;
  }
  .fwsj_list li a .icon img {
    height: 30px;
  }
  /* 供应商等级表格极窄 */
      .pai_tit, .item-list li {
        grid-template-columns: 30px 1fr 91px 50px 10px;
        font-size: 11px;
    }
  /* 大团长卡片 */
  .leader-avatar {
    width: 48px;
    height: 48px;
  }
  .leader-name {
    font-size: 1rem;
  }
  .stat-badge {
    padding: 4px 10px;
  }
  /* 个人中心卡片 */
  .user-box .info-card {
    padding: 15px;
  }
  .user-box .card-title {
    font-size: 14px;
  }
  .user-box .btn-primary, .user-box .btn-sm {
    padding: 6px 12px;
    font-size: 12px;
  }
  /* 登录注册页按钮 */
  .shengyan-login-scope .btn-submit {
    padding: 10px;
    font-size: 0.9rem;
  }
  /* 支付弹窗 */
  .pay-card {
    padding: 20px 16px;
    width: 90%;
  }
  .qrcode {
    width: 160px;
    height: 160px;
  }
  .qrcode i {
    font-size: 60px;
  }
  .shengyan-login-scope .logo-area img{ max-height: 42px;}
}

/* 额外补充：小屏下表格滚动 */
@media screen and (max-width: 767px) {
 
  .scope-list {
    gap: 10px;
  }
  .gallery-grid {
    gap: 10px;
  }
  .item-list li .com-name::before {
    position: absolute;
    left: 6px;}
    .main_tit{ font-size: 20px;}
    .supply_con{ padding: 5px 0;}
}

/* 超小屏下隐藏某些元素 */
@media screen and (max-width: 375px) {
  .leader-actions button {
    min-width: 70px;
    padding: 4px 8px;
  }
  .stat-badge {
    gap: 4px;
  }
  .stat-badge .stat-number {
    font-size: 0.9rem;
  }
  .user-box .order-item {
    flex-direction: column;
    align-items: flex-start;
  }
}