/* ========================================
   Product List Section
   ======================================== */

   .zhongyu-goods-list {
    padding-bottom: 140px;
    background-color: #f8f8f8;
  }
  
  @media (min-width: 1800px) {
    .zhongyu-goods-list .container {
      max-width: 1600px;
    }
  }
  
  /* ========================================
     Category Tabs
     ======================================== */
  
  .zhongyu-goods-list-tabs {
    margin-bottom: 50px;
  }
  .zhongyu-goods-list-tabs-wrapper{
    background: #CAD5E0;
    
  }
  .zhongyu-goods-list-tabs-wrapper .container{
    display: flex;
    flex-wrap: wrap;
    /* column-gap: 40px; */
    justify-content: space-between;
  }
  .zhongyu-goods-list-tabs-wrapper .container::after {
  content: "";
  width: calc(59%); /* 你每个项目的宽度（举例） */
}
  .zhongyu-goods-list-path{
    padding-bottom: 40px;
  }
  .zhongyu-goods-list-tab {
    width: 17%;
    padding: 15px 24px;
    /* height: 59px; */
    background-color: transparent;
    border: none;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.17;
    color: #0C3054;
    opacity: 0.8;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  /* .zhongyu-goods-list-tab:first-child {
    width: 57px;
    text-align: center;
  } */
  
  .zhongyu-goods-list-tab.active {
    background-color: #1A68B7;
    color: #FFFFFF;
    opacity: 1;
  }
  
  .zhongyu-goods-list-tab:hover {
    opacity: 1;
  }
  
  /* ========================================
     Products Grid
     ======================================== */
  
  .zhongyu-goods-list-grid {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 35px;
    margin-bottom: 80px;
  }
  
  /* ========================================
     Product Card
     ======================================== */
  
  .zhongyu-goods-card {
    width: calc((100% - 72px) / 4);
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  
  /* Product Image */
  .zhongyu-goods-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 381 / 303;
    overflow: hidden;
    border-radius: 5px 5px 0 0;
  }
  
  
  .zhongyu-goods-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
  }
  
  .zhongyu-goods-card:hover .zhongyu-goods-card-image img {
    transform: scale(1.05);
  }
  
  /* Product Content */
  .zhongyu-goods-card-content {
    padding: 35px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    flex: 1;
  }
  
  .zhongyu-goods-card-category {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.17;
    color: #1B6ABA;
    margin: 0;
  }
  
  .zhongyu-goods-card-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.17;
    color: #0C3054;
    margin: 0;
  }
  .zhongyu-goods-card-desc {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .zhongyu-goods-card-desc p,.zhongyu-goods-card-desc span {
    font-size: 16px!important;
    font-weight: 400;
    line-height: 2;
    color: #595757!important;
   
  }
  .zhongyu-goods-card-btn{
    width: 35%;
    height: 40px;
    line-height: 40px;
    margin:0 35px 30px;
    background: var(--color-primary);
    color: #fff;
    border-radius: var(--button-radius);
    font-size: 16px;
    color: #fff;
    display: inline-block;
    text-align: center;
  }
  .zhongyu-goods-card-btn:hover{
    background-color: #fff;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
  }
  
  /* ========================================
     Load More Section
     ======================================== */
  
  .zhongyu-goods-list-loadmore {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  
  /* Progress Bar */
  .zhongyu-goods-list-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 288px;
  }
  
  .zhongyu-goods-list-progress-bar {
    position: relative;
    width: 100%;
    height: 3px;
    border-radius: 4px;
    overflow: hidden;
  }
  
  .zhongyu-goods-list-progress-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #E6E6E6;
  }
  
  .zhongyu-goods-list-progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background-color: #1B6ABA;
    transition: width 0.3s ease;
    z-index: 1;
  }
  
  .zhongyu-goods-list-progress-text {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.17;
    color: #333333;
    text-align: center;
  }
  
  /* Load More Button */
  .zhongyu-goods-list-loadmore-btn {
    padding: 16px 34px;
    width: 165.6px;
    height: 59.04px;
    background-color: #E6E6E6;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.17;
    color: #333333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .zhongyu-goods-list-loadmore-btn:hover {
    background-color: #1B6ABA;
    color: #FFFFFF;
  }
  
  .zhongyu-goods-list-loadmore-btn.loading {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
  .zhongyu-goods-list-loadmore-btn.hidden {
    display: none;
  }
  
  /* ========================================
     Responsive Styles
     ======================================== */
  
  /* Large tablets (max-width: 1400px) */
  @media (max-width: 1400px) {
    .zhongyu-goods-list {
      padding-bottom: 100px;
    }
  
    .zhongyu-goods-card {
      width: calc((100% - 48px) / 3);
    }
  }
  
  /* Tablets (max-width: 1200px) */
  @media (max-width: 1200px) {
    .zhongyu-goods-list {
      padding-bottom: 80px;
    }
    .zhongyu-goods-card-title{
      font-size: 18px;
    }
    .zhongyu-goods-card-category{
      font-size: 16px;
    }
    .zhongyu-goods-card-desc{
      font-size: 14px;
    }
    .zhongyu-goods-list-tabs-wrapper {
      gap: 10px;
    }
  
    .zhongyu-goods-list-tab {
      width: 23%;
      font-size: 16px;
      padding: 12px 10px;
      /* height: 50px; */
    }
  
    /* .zhongyu-goods-list-tab:first-child {
      width: 120px;
    } */
  
    .zhongyu-goods-list-grid {
      gap: 20px;
      margin-bottom: 60px;
    }
  
    .zhongyu-goods-card {
      width: calc((100% - 40px) / 3);
    }
  }
  
  /* Tablets and below (max-width: 991px) */
  @media (max-width: 991px) {
    .zhongyu-goods-list {
      padding-bottom: 60px;
    }
  
    .zhongyu-goods-list-tabs {
      margin-bottom: 40px;
    }
  
    .zhongyu-goods-list-tab {
      width: 30%;
      /* font-size: 18px; */
      padding: 10px 8px;
      /* height: 45px; */
    }
    .zhongyu-goods-card-title{
      font-size: 16px;
    }
    .zhongyu-goods-card-category{
      font-size: 14px;
    }
    .zhongyu-goods-card-desc{
      font-size: 12px;
    }
    /* .zhongyu-goods-list-tab:first-child {
      width: 100px;
    } */
  
    .zhongyu-goods-list-grid {
      gap: 16px;
      margin-bottom: 50px;
    }
  
    .zhongyu-goods-card {
      width: calc((100% - 16px) / 2);
    }
  
    .zhongyu-goods-card-content {
      padding: 25px;
    }
    .zhongyu-goods-card-btn{
      margin: 0 25px 25px;
      font-size: 14px;
    }
    .zhongyu-goods-card-title {
      font-size: 20px;
      min-height: auto;
    }
  
    .zhongyu-goods-card-desc {
      font-size: 14px;
    }
    .zhongyu-goods-card-category{
      font-size: 14px;
    }
    .zhongyu-goods-card-desc{
      font-size: 12px;
    }
  }
  
  /* Mobile landscape and below (max-width: 767px) */
  @media (max-width: 767px) {
    .zhongyu-goods-list {
      padding-bottom: 40px;
    }
  
    .zhongyu-goods-list-tabs-wrapper {
      gap: 8px;
    }
  
    .zhongyu-goods-list-tab {
      width: 45%;
      font-size: 14px;
      padding: 8px 6px;
      /* height: 40px; */
    }
  
    /* .zhongyu-goods-list-tab:first-child {
      width: 80px;
    } */
  
    .zhongyu-goods-list-grid {
      margin-bottom: 40px;
    }
  
    .zhongyu-goods-card-content {
      padding: 20px;
      gap: 8px;
    }
    .zhongyu-goods-card-btn{
      margin: 0 20px 20px;
    }
    .zhongyu-goods-card-title {
      font-size: 18px;
    }
  
    .zhongyu-goods-card-category,
    .zhongyu-goods-card-desc {
      font-size: 13px;
    }
  
    .zhongyu-goods-list-loadmore {
      gap: 30px;
    }
  
    .zhongyu-goods-list-progress {
      width: 240px;
    }
  
    .zhongyu-goods-list-progress-text {
      font-size: 16px;
    }
  
    .zhongyu-goods-list-loadmore-btn {
      width: 140px;
      height: 50px;
      font-size: 16px;
    }
  }
  
  /* Mobile portrait (max-width: 575px) */
  @media (max-width: 575px) {
    .zhongyu-goods-list {
      padding-bottom: 30px;
    }
  
    .zhongyu-goods-list-tabs {
      margin-bottom: 30px;
    }
  
    .zhongyu-goods-list-tabs-wrapper {
      gap: 6px;
    }
  
    .zhongyu-goods-list-tab {
      font-size: 13px;
      padding: 6px 4px;
      /* height: 36px; */
    }
  
    .zhongyu-goods-list-tab:first-child {
      width: 70px;
    }
  
    .zhongyu-goods-list-grid {
      gap: 12px;
      margin-bottom: 30px;
    }
  
    .zhongyu-goods-card {
      width: 100%;
    }
  
    .zhongyu-goods-card-content {
      padding: 15px;
    }
  .zhongyu-goods-card-btn{
      margin: 0 15px 15px;
    }
    .zhongyu-goods-card-title {
      font-size: 16px;
    }
  }
  
  