.container-content {
  width: 1200px;
  margin: 0 auto;
  padding-top: 16px;
  padding-bottom: 50px;

  .category_banner {
    background: rgba(255, 255, 255);
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    box-shadow: 0 4px 16px 0 rgba(139, 150, 165, 0.15);
    justify-content: space-between;

    .banner {
      width: 852px;
      height: 488px;
      margin-right: 15px;

      .carousel-control-prev,
      .carousel-control-next {
        width: 6%;
      }

      .carousel-inner img {
        width: 100%;
        height: 488px;
      }

      .carousel-control-prev-icon {
        background-image: url("../images/banner_left.png");
        width: 50px;
        height: 50px;
        opacity: 1;
      }

      .carousel-control-next-icon {
        background-image: url("../images/banner_right.png");
        width: 50px;
        height: 50px;
      }

      /* 轮播图指示器样式 - 改为圆点 */
      .carousel-indicators {
        bottom: 10px;

        li {
          width: 12px;
          height: 12px;
          border-radius: 50%;
          background-color: rgba(155, 189, 238);
          border: 2px solid transparent;
          margin: 0 5px;
          cursor: pointer;
          transition: all 0.3s ease;
        }

        li.active {
          background-color: rgba(0, 118, 72, 1);
        }

        li:hover {
          background-color: rgba(0, 118, 72, 1);
        }
      }
    }

    .category {
      width: 300px;
      height: 488px;
      margin-left: 20px;
      position: relative;

      .category-title {
        margin-top: 10px;
        width: 300px;
        height: 40px;
        font-size: 18px;
        font-weight: 700;
      }

      .category-hot {
        margin: 16px 0;
        font-size: 16px;
        font-weight: 500;
      }

      .category_item1 {
        font-size: 16px;
        font-weight: 500;
      }

      .category-all {
        border: none;
        position: absolute;
        bottom: 0;
        left: 0;
        /* 明确指定左侧位置为0 */
        width: 300px;
        height: 32px;
        line-height: 32px;
        border-radius: 5px;
        background: rgba(0, 118, 72, 1);

        color: rgba(255, 255, 255, 1);
        text-align: center;
        font-size: 14px;
        font-weight: 700;
        margin: 0;
        /* 重置button的默认margin */
        padding: 0;
        /* 重置button的默认padding */
        box-sizing: border-box;
        /* 确保宽度计算正确 */
      }

      .category-all:hover {
        background: rgba(252, 253, 253, 1);
        color: rgba(0, 118, 72, 1);
        border: 1px solid rgba(0, 118, 72, 1);
      }
    }
  }

  .category-content-hot {
    margin-top: 20px;
    width: 1200px;
    height: 592px;

    .product-all {
      text-align: center;
      margin-top: 20px;
    }

    .product-all-btn {
      width: 120px;
      height: 32px;
      line-height: 32px;
      font-size: 14px;
      color: rgba(0, 118, 72, 1);
      border: none;
      border-radius: 5px;
      background: #ffffff;
      border: 1px solid rgba(0, 118, 72, 1);
      display: inline-block;
    }

    .product-all-btn:hover {
      background: rgba(0, 118, 72, 1);
      color: rgba(255, 255, 255, 1);
      border: 1px solid rgba(255, 255, 255, 1);
    }

    .category-hot-item {
      width: 1200px;
      height: 72px;
      text-align: center;
      font-size: 14px;
      font-weight: 400;

      h2 {
        font-size: 24px;
        font-weight: 700;
        color: rgba(0, 118, 72, 1);
      }
    }

    .category-hot-list {
      width: 100%;
      /* height: 464px; */
      margin-top: 10px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;

      .product-item {
        width: 282px;
        height: 100%;
        /* min-height: 449px; */
        float: left;

        background: rgba(255, 255, 255, 1);

        .product-info {
          border-radius: 10px;
          padding: 15px;
          width: 100%;
          height: 100%;
          display: flex;
          flex-direction: column;
          align-items: normal;
          justify-content: space-between;
          box-shadow: 0 4px 16px 0 rgba(139, 150, 165, 0.15);
        }

        .product-info img {
          max-width: 100%;
          max-height: 100%;
          position: absolute;
          top: 50%;
          left: 50%;
          transform: translate(-50%, -50%);
        }

        .img-box {
          width: 250px;
          height: 250px;
          position: relative;
        }

        .product-name a {
          font-size: 14px;
          font-weight: 400;
          color: rgba(28, 28, 28, 1);
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
          overflow: hidden;
          text-overflow: ellipsis;
        }
        .product-name a:hover {
          color: rgba(0, 118, 72, 1);
        }

        .product-applications,
        .product-species,
        .product-number {
          width: 140px;
          height: 16px;

          font-size: 12px;
          font-weight: 400;
          color: rgba(139, 150, 165, 1);
        }

        .product-number a {
          color: rgba(139, 150, 165, 1);
        }

        .product-number a:hover {
          color:rgba(0, 118, 72, 1)
        }

        .product-price {
          /* height: 16px; */
          font-size: 14px;
          font-weight: 500;
          color: rgba(0, 118, 72, 1);
        }

        .product-detail {
          border: none;
          margin-top: 5px;
          width: 250px;
          height: 32px;
          line-height: 32px;
          border-radius: 5px;
          background: rgba(0, 118, 72, 1);
          color: rgba(255, 255, 255, 1);
          text-align: center;
          font-size: 14px;
          font-weight: 700;
        }

        .product-detail:hover {
          background: rgba(252, 253, 253, 1);
          color: rgba(0, 118, 72, 1);
          border: 1px solid rgba(0, 118, 72, 1);
          text-decoration: none;
        }
      }
    }
  }

  .category-product {
    margin-top: 50px;
    width: 1200px;
    height: 240px;

    .category-product-item {
      text-align: center;
      font-size: 14px;
      font-weight: 400;
      height: 72px;

      h2 {
        font-size: 24px;
        font-weight: 700;
        color: rgba(0, 118, 72, 1);
      }
    }

    .category-product-list {
      width: 100%;
      height: 160px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .category-product-info {
        cursor: pointer;
        width: 384px;
        height: 100%;
        float: left;
        box-shadow: 0 4px 16px rgba(139, 150, 165, 0.15);
        border-radius: 10px;
        background: rgba(255, 255, 255, 1);
        display: flex;
        padding: 16px;
        align-items: center;
        justify-content: space-between;

        .category-product-name {
          /* width: 145px; */
          height: 68px;
          font-size: 12px;
          font-weight: 400;

          h3 {
            font-size: 24px;
            font-weight: 700;
          }
        }
        .category-product-desc {
          font-size: 16px;
        }

        #product-next {
          width: 10px;
          height: 16px;
        }
      }
    }
  }

  .quality-item {
    margin-top: 50px;
    width: 1200px;
    height: 240px;
    border: 1px solid rgba(0, 118, 72, 1);
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 10px;

    .quality-item-info {
      width: 360px;
      height: 192px;
      text-align: center;
      color: rgba(28, 28, 28, 1);

      .quality-item-name {
        margin-top: 16px;
      }

      img {
        margin-top: 20px;
      }
    }

    h3 {
      font-size: 18px;
      font-weight: 700;
    }

    .quality-item-desc {
      font-size: 12px;
      font-weight: 400;
    }
  }

  .comments {
    margin-top: 50px;
    width: 1200px;
    height: 264px;

    .comments-item {
      text-align: center;
      font-size: 14px;
      font-weight: 400;
      height: 72px;

      h2 {
        font-size: 24px;
        font-weight: 700;
        color: rgba(0, 118, 72, 1);
      }
    }

    .comments-item-list {
      width: 100%;
      height: 184px;
      display: flex;
      align-items: center;
      justify-content: space-between;

      .comments-item-info {
        width: 384px;
        height: 100%;
        float: left;
        box-shadow: 0 4px 16px rgba(139, 150, 165, 0.15);
        border-radius: 10px;
        background: rgba(255, 255, 255, 1);
        padding: 16px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        /* 垂直居中对齐 */
        gap: 12px;

        .star-rating {
          display: flex;
          justify-content: flex-start;
          gap: 4px;

          .star {
            float: none;
            background-image: url(../images/start.png);
            width: 18px;
            height: 16px;
          }
        }

        .comments-item-desc {
          width: 336px;
          height: auto;
          font-size: 14px;
          font-weight: 400;
          text-align: left;
          clear: both;
          margin: 0;
        }

        .comments-item-avatar {
          display: flex;
          align-items: center;
          justify-content: flex-start;
          gap: 5px;

          img {
            width: 48px;
            height: 48px;
            float: none;
            border-radius: 50%;
          }

          span {
            text-align: left;

            div:first-child {
              font-size: 16px;
              font-weight: 700;
              color: rgba(28, 28, 28, 1);
            }

            div:last-child {
              font-size: 12px;
              color: rgba(139, 150, 165, 1);
            }
          }
        }
      }
    }
  }
}

.product-tags-name {
  font-size: 12px;
  font-weight: 400;
  display: flex;
}

.product-tags-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* 左对齐 */
  gap: 4px;
  /* 行间距 */
}

.tag {
  padding: 1px 10px;
  border-radius: 5px;
  border: 1px solid rgba(0, 118, 72, 1);
}

.product-number-label {
  margin-top: 2px;
}

.tag:first-child {
  margin-left: 0px;
}

.product-price-container {
  display: flex;
  color: rgba(139, 150, 165, 1);
  gap: 4px;
  /* 行间距 */
  font-size: 12px;
  font-weight: 400;
}

.product-number-list div {
  display: flex;
  align-items: center;
}

.category-container {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3列，均分宽度 */
  gap: 8px;
  text-align: left;
  font-size: 12px;
  height: 230px;
  overflow-y: auto;
}

.category-container span a {
  display: block;
  white-space: nowrap;
  cursor: pointer;
  color: rgba(28, 28, 28, 1);
}

.category-container span a:hover {
  color: rgba(0, 118, 72, 1);
}

.category-hot-list-box span {
  height: 32px;
  line-height: 32px;
  display: inline-block;
  font-size: 12px;
  margin-right: 10px;
  white-space: nowrap;
  cursor: pointer;
}

.category-hot-list-box span a {
  color: rgba(28, 28, 28, 1);
}

.category-hot-list-box span a:hover {
  color: rgba(0, 118, 72, 1);
}

.category-hot-list0-box span:hover {
  color: rgba(0, 118, 72, 1);
}

.product-img-box {
  width: 250px;
  height: 250px;
}

.carousel-control-prev-icon {
  background-image: url("../images/product_left.png");
  /* width: 30px;
  height: 30px; */
  opacity: 1;
}

.carousel-control-next-icon {
  background-image: url("../images/product_right.png");
  /* width: 30px;
  height: 30px; */
  opacity: 1;
}