/* 现有的banner样式保持不变 */
.banner {
    width: 100%;
    height: 100vh;
    background-image: url('/images/product/300000580.png');
    background-size: cover;
    background-position: center;
}

/* 添加产品内容区域样式 */
.product-content {
    padding: 80px 0;
    background: #fff;
}

.section-title {
    margin-bottom: 24px;
    font-size: var(--font-size-30);
    color: var(--text-color);
}

.product-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.product-nav a {
    color: var(--text-color);
    font-size: var(--font-size-20);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative; /* 添加相对定位 */
    padding-right: 20px; /* 为竖线留出空间 */
    font-weight: 400;
}
.product-nav a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color); /* 竖线颜色 */
}


/* 产品线 */
  .timeline-nav {
    width: 100%;
    position: relative;
    margin-top: 80px;
  }
  
  .timeline-nav::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 5px;
    width: 100%;
    height: 1px;
    border-top: 1px dashed #7a7a7a;
  }
  
  .timeline-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
  }
  
  .timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 1;
    cursor: pointer;
  }
  
  .timeline-item .icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin-bottom: 30px;
  }
  
  .timeline-item .icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .timeline-item .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4c4c4c;
    box-shadow: 0 0 0 10px rgba(223, 223, 223, .8);
  }
  
  .timeline-item.active .dot {
    background: var(--primary-color);
    box-shadow: 0 0 0 10px rgba(226, 236, 253, .8);
  }

  /* 产品站 */
  .products {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 40px;
      margin: 100px auto 0;
  }

  .products-card {
      background: #f6f6f6;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: space-around;
      overflow: hidden;
      padding: 30px;
      gap: 40px;
      height: 300px;
  }
  .products-card .products-img {
      flex: 0 0 60%;  /* 图片占据固定宽度 */
      max-width: 60%;
      text-align: center;
    
  }
  .products-card .products-img img {
      height: 201px;
      object-fit: contain;
  }
  .products-info {
    width: 100%;
  }
  .products-info h3 {
      margin: 0;
      font-size: var(--font-size-24);
      color: var(--text-color);
      font-weight: 500;
      margin-bottom: 20px;
  }
  .products-info p{
      font-size: var(--font-size-18);
      color: var(--text-color);
      font-weight: 500;
  }
  .details-btn {
      width: 108px;
      height: 34px;
      display: inline-block;
      border-radius: 40px;
      text-align: center;
      line-height: 30px;
      border: 1px solid var(--primary-color);
      color: var(--primary-color);
      transition: background-color 0.3s;
      font-size: var(--font-size-14);
      position: relative;
      padding-right: 10px;
      margin-top: 20px;
  }
  .details-btn::after{
    content: '';
    position: absolute;
    right: 10px;
    background: url('/images/100000561.png') no-repeat center center;
    background-size: 100%;
    width: 16px;
    height: 16px;
    top: 50%;
    transform: translateY(-50%);
  }

  .details-btn:hover {
      background-color: #fff;
      color: var(--primary-color);
  }



  /* 大屏幕 (1440px 及以上) */
@media screen and (min-width: 1440px) and (max-width: 1919px)  {
  .section-title {
    font-size: var(--font-size-24);
  }
  .product-nav a {
      font-size: var(--font-size-18);
  }

  /* 产品站 */
  .products-info h3 {
    font-size: var(--font-size-22);
  }
  .products-info p{
    font-size: var(--font-size-16);
  }
}

/* 中等屏幕 (1280px - 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
  .section-title {
    font-size: var(--font-size-20);
  }
  .product-nav a {
      font-size: var(--font-size-16);
  }
  /* 产品站 */
  .products-card,{
    height: 260px;
  }
  .products-card:last-child .products-img img {
    height: 180px;
  }
  .products-info h3 {
    font-size: var(--font-size-18);
  }
  .products-info p{
    font-size: var(--font-size-14);
  }
  .details-btn {
    width: 98px;
    height: 30px;
    line-height: 30px;
    font-size: var(--font-size-12);
  }
  .details-btn::after {
    width: 14px;
    height: 14px;
  }
}

/* 平板及小屏幕 (1024px - 1279px) */
@media screen and (min-width: 1024px) and (max-width: 1279px) {
  .section-title {
    font-size: var(--font-size-18);
  }
  .product-nav a {
      font-size: var(--font-size-14);
  }

  /* 产品线 */
  .timeline-item .icon {
    width: 80px;
    height: 80px;
  }
  .timeline-item .dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 8px rgba(223, 223, 223, .8);
  }
  .timeline-item.active .dot {
    box-shadow: 0 0 0 8px rgba(226, 236, 253, .8);
  }
  /* 产品站 */
  .products-card {
    height: 260px;
  }
  .products-card:last-child .products-img img {
    height: 160px;
  }
  .products-info h3 {
    font-size: var(--font-size-16);
  }
  .products-info h3{
    margin-bottom: 10px;
  }
  .products-info p {
    font-size: var(--font-size-12);
  }
  .details-btn {
    width: 86px;
    height: 28px;
    line-height: 28px;
    font-size: var(--font-size-10);
    padding-right: 8px;
  }
  .details-btn::after {
    width: 12px;
    height: 12px;
  }
}

/* 平板 (768px - 1023px) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .section-title {
    font-size: var(--font-size-24);
  }
  .product-nav a {
      font-size: var(--font-size-18);
  }
  .timeline-item .icon {
    width: 80px;
    height: 80px;
  }
  .timeline-item .dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 8px rgba(223, 223, 223, .8);
  }
  
  .timeline-item.active .dot {
    box-shadow: 0 0 0 8px rgba(226, 236, 253, .8);
  }
  .timeline-nav::before {
    bottom: 4px;
  }
  /* 产品站 */
  .products {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 移动端 (480px - 767px) */
@media screen and (min-width: 480px) and (max-width: 767px) {
  .section-title {
    font-size: var(--font-size-24);
  }
  .product-nav{
    display: none;
  }
  /* 产品线 */
  .timeline-items {
    /* 横向滚动条 */
    gap: 80px;
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
    padding-bottom: 20px;
  }
  .timeline-item .dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 8px rgba(223, 223, 223, .8);
  }
  
  .timeline-item.active .dot {
    box-shadow: 0 0 0 8px rgba(226, 236, 253, .8);
  }
  .timeline-nav::before {
    bottom: 25px;
  }
  /* 产品站 */
  .products {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* 小屏手机 (375px 及以下) */
@media screen and (max-width: 479px) {
  .section-title {
    font-size: var(--font-size-24);
  }
  .product-nav{
    display: none;
  }
  
  /* 产品线 */
  .timeline-nav {
    margin-top: 40px;
  }
  .timeline-items {
    /* 横向滚动条 */
    gap: 80px;
    overflow: hidden;
    overflow-x: scroll;
    width: 100%;
    padding-bottom: 20px;
  }
  .timeline-item .dot {
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 8px rgba(223, 223, 223, .8);
  }
  
  .timeline-item.active .dot {
    box-shadow: 0 0 0 8px rgba(226, 236, 253, .8);
  }
  .timeline-nav::before {
    bottom: 25px;
  }
  /* 产品站 */
  .products {
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin-top: 40px;
  }
  
  .products-card{
    height: 200px;
  }
  .products-info h3 {
    font-size: var(--font-size-18);
  }
  .products-info h3{
    margin-bottom: 10px;
  }
  .products-info p {
    font-size: var(--font-size-14);
  }
  .details-btn {
    width: 98px;
    height: 30px;
    line-height: 28px;
    font-size: var(--font-size-12);
    padding-right: 8px;
  }
  .details-btn::after {
    width: 14px;
    height: 14px;
  }
}