/* 现有的banner样式保持不变 */
.banner {
    width: 100%;
    height: 100vh;
    background-image: url('/images/product/100000068.jpg');
    background-size: cover;
    background-position: center;
}

/* 添加产品内容区域样式 */
.product-content {
    padding: 60px 0;
    background: #fff;
    background: url('/images/product/100000069.jpeg') no-repeat center;
    background-size: 100% 100%;
    width: 100%;
}

.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: 500;
}
.product-nav a.active {
    color: var(--primary-color);
}
.product-nav a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color); /* 竖线颜色 */
}



/* 产品详情样式 */
.product-detail-header {
    margin: 100px auto;
}
.product-detail-img {
    height: 253px;
    display: inline-block;
    text-align: center;
    margin: 0 80px;
}
.product-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    vertical-align: middle;
}
.product-detail-title {
    display: inline-block;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 20px;
}
.product-detail-title span:nth-child(1) {
    font-size: var(--font-size-36);
    color: var(--text-color);
    font-weight: 500;
}
.product-detail-title span:nth-child(2) {
    margin-left: 20px;
    font-size: var(--font-size-24);
    color: var(--text-color);
}

/* 规格参数表格样式 */
.specs-table {
    display: flex;
    flex-direction: column;
    margin-top: 40px;
}
.specs-row:nth-child(1) {
    border-top: 1px solid var(--light-gray-color);
}
.specs-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--light-gray-color);
}
.specs-row-1rf{
    display: grid;
    grid-template-columns: 1fr;
    border-bottom: 1px solid var(--light-gray-color);
}
.specs-item {
    padding: 20px 0;
}
.specs-item h3 {
    color: var(--text-color);
    font-size: var(--font-size-20);
    margin-bottom: 20px;
}
.specs-item p {
    color: var(--text-color);
    font-size: var(--font-size-16);
    margin: 0;
}


  
/* 大屏幕 (1440px 及以上) */
@media screen and (min-width: 1440px) and (max-width: 1919px)  {
    .product-nav a {
        font-size: var(--font-size-18);
    }
  }
  

/* 中等屏幕 (1280px - 1439px) */
@media screen and (min-width: 1280px) and (max-width: 1439px) {
    .product-nav a {
        font-size: var(--font-size-16);
    }
    .product-detail-img {
        height: 200px;
    }
    .product-detail-title span:nth-child(1) {
        font-size: var(--font-size-28);
    }
    .product-detail-title span:nth-child(2) {
        font-size: var(--font-size-20);
    }
    .specs-item h3 {
        font-size: var(--font-size-16);
    }
    .specs-item p {
        font-size: var(--font-size-14);
    }
}
  /* 平板及小屏幕 (1024px - 1279px) */
  @media screen and (min-width: 1024px) and (max-width: 1279px) {
    .product-nav a {
        font-size: var(--font-size-14);
    }
    .product-detail-img {
        margin: 0 60px;
        height: 180px;
    }
    .product-detail-title span:nth-child(1) {
        font-size: var(--font-size-26);
    }
    .product-detail-title span:nth-child(2) {
        font-size: var(--font-size-18);
    }
    .specs-item h3 {
        font-size: var(--font-size-14);
    }
    .specs-item p {
        font-size: var(--font-size-12);
    }
  }
  
  /* 平板 (768px - 1023px) */
  @media screen and (min-width: 768px) and (max-width: 1023px) {
    .product-nav a {
        font-size: var(--font-size-18);
    }
    .product-detail-header {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .product-detail-img {
        margin: 100px auto 0;
        width: 100%;
    }
    .specs-row {
        grid-template-columns: repeat(1, 1fr);
        border-bottom: 0;
    }
    .specs-item {
        border-bottom: 1px solid var(--light-gray-color);
    }
    .product-detail-title span:nth-child(1) {
        font-size: var(--font-size-26);
    }
    .product-detail-title span:nth-child(2) {
        font-size: var(--font-size-18);
    }
    
    .specs-item h3 {
        font-size: var(--font-size-16);
    }
    .specs-item p {
        font-size: var(--font-size-14);
    }
  }
  
  /* 移动端 (480px - 767px) */
  @media screen and (min-width: 480px) and (max-width: 767px) {
    .product-nav{
      display: none;
    }
    .product-detail-header {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .product-detail-img {
        margin: 100px auto 0;
        width: 100%;
    }
    .specs-row {
        grid-template-columns: repeat(1, 1fr);
        border-bottom: 0;
    }
    .specs-item {
        border-bottom: 1px solid var(--light-gray-color);
    }
    .product-detail-title span:nth-child(1) {
        font-size: var(--font-size-20);
    }
    .product-detail-title span:nth-child(2) {
        font-size: var(--font-size-18);
    }
    
    .specs-item h3 {
        font-size: var(--font-size-16);
    }
    .specs-item p {
        font-size: var(--font-size-14);
    }
  }
  
  /* 小屏手机 (375px 及以下) */
  @media screen and (max-width: 479px) {
    .product-nav{
      display: none;
    }
    .product-detail-header {
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
    }
    .product-detail-img {
        margin: 80px auto 0;
        width: 100%;
    }
    .specs-row {
        grid-template-columns: repeat(1, 1fr);
        border-bottom: 0;
    }
    .specs-item {
        border-bottom: 1px solid var(--light-gray-color);
    }
    .product-detail-title span:nth-child(1) {
        font-size: var(--font-size-22);
    }
    .product-detail-title span:nth-child(2) {
        font-size: var(--font-size-18);
    }
    
    .specs-item h3 {
        font-size: var(--font-size-16);
    }
    .specs-item p {
        font-size: var(--font-size-14);
    }
  }