.products-page {
  background: #f5f5f5;
  color: #1d1d1f;
}

.products-cate-list {
  height: 54px;
  text-align: center;
  background: #fff;
  border-bottom: 1px solid #cececf;
  position: relative;
  z-index: 20;
}

.products-cate-list ul {
  display: inline-block;
  height: 54px;
  margin: 0;
  padding: 0;
}

.products-cate-list li {
  float: left;
  padding: 20px 0;
  font-size: 14px;
  line-height: 14px;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
}

.products-cate-list .cate-txt {
  color: #6e6e73;
  font-weight: 400;
  padding: 0 20px;
  border-right: 1px solid #d2d2d7;
}

.products-cate-list li:last-child .cate-txt {
  border-right: 0;
}

.products-cate-list .cate-txt:hover,
.products-cate-list .cate-txt.active {
  color: #d80522;
}

.products-cate-list .second-wrap {
  display: none;
}

.products-cate-list .second-wrap.second-show {
  display: block;
}

.products-cate-list .children-wrap {
  width: 100%;
  padding: 30px 0;
  overflow: hidden;
  position: absolute;
  top: 54px;
  left: 0;
  background: #fff;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.18);
  z-index: 26;
}

.products-cate-list .children-wrap .container-fluid {
  padding: 0 83px;
}

.products-cate-list .children-wrap .col-xs-2 {
  text-align: center;
}

.products-cate-list .figure {
  width: 88%;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-cate-list .figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: contain;
}

.products-cate-list h4 {
  width: 88%;
  margin: 34px auto 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  color: #6e6e73;
}

.products-cate-list .figure-title {
  width: 88%;
  margin: 2px auto 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  line-height: 24px;
  color: #8f2929;
}

.products-cate-list .figure-link,
.product-card .figure-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.products-banner {
  max-height: 790px;
  overflow: hidden;
}

.products-banner .carousel-indicators {
  z-index: 1;
  bottom: 24px;
}

.products-banner .carousel-indicators li {
  width: 39px;
  height: 3px;
  margin: 0;
  background: rgba(204, 204, 204, 0.5);
  border-radius: 0;
  border: 0;
}

.products-banner .carousel-indicators .active {
  background: #d80522;
}

.products-banner .banner-category {
  position: relative;
  padding-bottom: 37.5%;
}

.products-banner .banner-category .banner-con {
  height: 100%;
  position: absolute;
  top: 0;
  width: 100%;
}

.products-banner #carousel-example-generic {
  height: 100%;
}

.products-banner .carousel-inner {
  width: 100%;
  height: 100%;
}

.products-banner .carousel-inner .item,
.products-banner .carousel-inner .item img {
  width: 100%;
  height: 100%;
}

.products-banner .carousel-inner .item img {
  object-fit: cover;
}

.products-banner .carousel-inner .item a {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.products-banner .carousel-control span {
  opacity: 1;
  position: absolute;
  top: 50%;
  margin-top: -15px;
}

.products-wrap {
  padding: 83px;
}

.products-list-top {
  min-height: 80px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
}

.products-filter {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  color: #6e6e73;
  font-size: 14px;
}

.products-filter dt {
  font-weight: 400;
}

.products-filter dd {
  flex: 1 1 auto;
  margin-left: 14px;
  min-width: 0;
}

.products-filter ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
}

.products-filter li {
  padding: 0;
}

.products-filter a,
.products-sort a {
  color: #333;
  display: inline-block;
  padding: 0 30px;
  border-right: 1px solid #d2d2d7;
  line-height: 1;
  text-decoration: none;
}

.products-filter li:last-child a,
.products-sort a:last-child {
  border-right: 0;
}

.products-filter a:hover,
.products-filter a.current,
.products-sort a.current {
  color: #ed1c24;
}

.products-filter a:focus,
.products-sort a:focus,
.products-filter a:active,
.products-sort a:active {
  outline: none;
  box-shadow: none;
}

.products-sort {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
  font-size: 14px;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px 10px;
  margin: 0;
  padding-top: 14px;
}

.products-grid::before,
.products-grid::after {
  display: none;
}

.product-card {
  flex: 0 0 calc((100% - 30px) / 4);
  width: calc((100% - 30px) / 4);
  max-width: calc((100% - 30px) / 4);
  margin: 0;
  padding: 0;
  float: none;
  display: flex;
  flex-direction: column;
  background: #fff;
  text-align: center;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.product-card:nth-child(4n + 1) {
  margin-left: 0;
}

.product-card:hover {
  z-index: 2;
  transform: translate3d(0, -2px, 0);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.product-card .figure {
  width: 100%;
  aspect-ratio: 431 / 360;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px 22px 8px;
}

.product-card .figure img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.product-card .procontent {
  flex: 1 1 auto;
  min-height: 228px;
  padding: 8px 18px 36px;
}

.product-card .figure-title {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  color: #303133;
}

.product-card .figure-subtitle {
  margin-top: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #8f2929;
  font-size: 14px;
  line-height: 22px;
}

.product-card .figure-brief {
  min-height: 48px;
  margin-top: 14px;
  overflow: visible;
  color: #6e6e73;
  font-size: 14px;
  line-height: 24px;
  text-align: center;
  display: block;
}

.product-card .figure-brief span {
  display: inline;
}

.product-card .figure-brief__divider {
  margin: 0 4px;
  color: #8f8f95;
}

.framework-summary {
  margin-top: 32px;
  padding: 32px 36px;
  background: #fff;
}

.framework-summary h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
}

.framework-summary p {
  margin: 14px 0 0;
  max-width: 760px;
  color: #6e6e73;
  font-size: 15px;
  line-height: 1.8;
}

.framework-summary__links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.framework-summary__links a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  border: 1px solid #d2d2d7;
  color: #333;
  text-decoration: none;
  transition: all 0.25s ease;
}

.framework-summary__links a:hover {
  border-color: #ed1c24;
  color: #ed1c24;
}

.framework-summary__links a.is-current {
  border-color: #ed1c24;
  color: #ed1c24;
}

@media (max-width: 1024px) {
  .products-wrap {
    padding: 48px 24px;
  }

  .products-list-top {
    padding: 0 18px;
  }

  .products-filter {
    gap: 0;
  }

  .products-filter a,
  .products-sort a {
    padding: 0 18px;
  }

  .product-card {
    flex-basis: calc((100% - 10px) / 2);
    width: calc((100% - 10px) / 2);
    max-width: calc((100% - 10px) / 2);
  }

  .product-card:nth-child(4n + 1) {
    margin-left: 0;
  }

  .product-card:nth-child(2n + 1) {
    margin-left: 0;
  }
}

@media (max-width: 768px) {
  .products-cate-list {
    height: auto;
  }

  .products-cate-list ul {
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .products-cate-list li {
    float: none;
    padding: 14px 0;
  }

  .products-cate-list .second-wrap {
    display: none !important;
  }

  .products-banner .banner-category {
    padding-bottom: 37.5%;
  }

  .products-list-top {
    display: block;
    padding: 18px 14px;
  }

  .products-filter {
    display: block;
    min-width: 0;
  }

  .products-filter dd {
    margin: 12px 0 0;
  }

  .products-filter ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
  }

  .products-sort {
    margin-top: 16px;
    justify-content: flex-start;
  }

  .products-filter a,
  .products-sort a {
    padding: 0 12px;
  }

  .product-card {
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .product-card:nth-child(4n + 1) {
    margin-left: 0;
  }

  .framework-summary {
    padding: 24px 18px;
  }

  .product-card .figure {
    padding: 18px 16px 4px;
  }

  .product-card .procontent {
    min-height: 188px;
    padding: 8px 16px 28px;
  }

  .product-card .figure-title {
    font-size: 18px;
    line-height: 28px;
  }
}
