 .product-main {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 3rem;
      background: white;
    }

    /* 图片切换区域 */
    .gallery {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      max-width: 750px;
    }
    .main-img-wrapper {
      position: relative;
      border: 1px solid #eee;
      height: 300px;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
          border-radius: 4px;
    }
    .main-img {
      max-width: 100%;
      max-height: 100%;
      object-fit: contain;
    }
    .gallery-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,0.6);
      color: white;
      border: none;
      width: 44px;
      height: 44px;
      font-size: 1.2rem;
      cursor: pointer;
      z-index: 2;
          border-radius: 4px;
    }
    #prevBtn { left: 10px; }
    #nextBtn { right: 10px; }
    .thumbnails {
      display: flex;
      gap: 0.8rem;
      flex-wrap: wrap;
    }
    .thumbnail {
      width: 80px;
      height: 80px;
      object-fit: cover;
      border: 1px solid #eee;
      cursor: pointer;
    }
    .thumbnail.active {
      border-color: #1a1a1a;
    }

    /* 产品信息 */
    .product-info h1 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
      line-height: 1.5;
    }
    .rating {
      color: #ffc107;
      margin-bottom: 1rem;
      font-size: 1.1rem;
    }
    .desc {
      color: #555;
      margin: 1.5rem 0;
      line-height: 1.5;
      font-size: 1rem;
    }
    .desc img{
        max-height: 350px;
    }
    .options {
      margin: 1.5rem 0;
    }
    .options h3 {
      margin-bottom: 0.8rem;
      font-size: 1rem;
    }
    .color-options, .size-options {
      display: flex;
      gap: 0.8rem;
      margin-bottom: 1rem;
    }
    .color {
      width: 36px;
      height: 36px;
      cursor: pointer;
      border: 1px solid #ddd;
    }
    .size {
      padding: 0.6rem 1.2rem;
      border: 1px solid #ddd;
      cursor: pointer;
    }
    .add-cart {
      background: #f7f7f7;
      color: #1e3a8a;
      border: none;
      padding: 1rem 2.5rem;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      margin-top: 1rem;
      transition: 0.2s;
          border-radius: 4px;
          border: 1px solid var(--primary-color);
      
    }
    .add-cart:hover {
      background: #1e3a8a;
      color: white;
    }

    /* 详情介绍标签页 */
    .product-tabs {
      background: white;
      margin: 2rem 0;
    }
     .product-tabs p{
     margin-bottom: 10px;   
    }
    .tab-buttons {
      display: flex;
      gap: 0.5rem;
      border-bottom: 1px solid #eee;
      margin-bottom: 1.5rem;
    }
    .tab-btn {
      padding: 1rem 0rem;
      background: none;
      border: none;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      border-bottom: 3px solid transparent;
    }
    .tab-btn.active {
      border-color: #242c81;
      color: #242c81;
    }
    .tab-panel {
      display: none;
      line-height: 1.8;
      color: #333;
    }
    .tab-panel.active {
      display: block;
    }
    .spec-list {
      display: grid;
      grid-template-columns: 180px 1fr;
      gap: 0.8rem 0;
    }
    .spec-list strong {
      color: #222;
    }
    .feature-list {
      padding-left: 1.2rem;
    }
    .feature-list li {
      margin-bottom: 0.6rem;
    }

    /* 相关产品 - 固定一行三列 */
    .related-products {
      margin-top: 4rem;
    }
    .related-title {
      font-size: 1.5rem;
      margin-bottom: 1.5rem;
      padding-bottom: 0.8rem;
      border-bottom: 2px solid #eee;
    }
    .related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
    }
    .related-card {
      background: white;
      border: 1px solid #eee;
      overflow: hidden;
    }
    .related-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      border-bottom: 1px solid #eee;
    }
    .related-info {
      padding: 1rem;
    }
    .related-name {
      font-size: 0.95rem;
      margin-bottom: 0.5rem;
    }
    .related-price {
      color: #ff3d00;
      font-weight: 600;
    }

    /* 自适应 */
    @media (max-width: 992px) {
      .product-main {
        grid-template-columns: 1fr;
      }
      .main-img-wrapper {
        height: 380px;
      }
    }
    @media (max-width: 768px) {
        .product-info h1{
            font-size: 1.2rem;
        }
      .main-img-wrapper {
        height: 300px;
      }
      .thumbnail {
        width: 65px;
        height: 65px;
      }
      .spec-list {
        grid-template-columns: 120px 1fr;
      }
      .related-grid {
        grid-template-columns: 1fr;
      }
    }
     /* 上下篇导航容器 */
    .article-navigation {
      margin: 30px 0;
      padding-top: 30px;
      border-top: 1px solid #eee;
      display: flex;
      justify-content: space-between;
      gap: 20px;
    }

    /* 导航按钮通用样式 */
    .next-link {
      flex: 1;
      padding: 18px 24px;
      border: 1px solid #ddd;
      border-radius: 6px;
      text-decoration: none;
      color: #2d2d2d;
      transition: all 0.2s ease;
    }

    .next-link:hover {
      background: #f7f7f7;
      border-color: #999;
    }

    /* 导航标签 */
    .next-label {
      font-size: 12px;
      color: #888;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 6px;
    }

    /* 导航标题 */
    .next-title {
      font-size: 15px;
      font-weight: 500;
    }

    /* 响应式 */
    @media (max-width: 768px) {
      .article-container {
        padding: 20px;
      }

      .article-title {
        font-size: 1.2rem;
      }

      .article-navigation {
        flex-direction: column;
      }
    }