/* products */
.products {
  padding-top: 30px;
  padding-bottom: 30px;
}

/* 左侧 */
.products .lt-nav {
  margin-bottom: 20px;
}

.products .product-form {
  display: flex;
  margin-bottom: 30px;
}

.products .form-control {
  flex: 1;
  height: 52px;
  padding-left: 20px;
  padding-right: 20px;
  border-radius: 0;
  border-right: none;
  border-color: #CFCFCF;
  background: #F9F9F9;
}

.products .product-form .btn {
  width: 68px;
  padding: 0;
  color: #fff;
  border-radius: 0;
  font-weight: normal;
  background: var(--style-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.products .product-form .btn i {
  font-size: 28px;
}

.products .nav-title {
  padding-bottom: 10px;
  border-bottom: 1px solid #cccccc;
  margin-bottom: 12px;
}

.products #category {
  border: none;
  background: none;
  cursor: pointer;
}

.products #category i {
  margin-right: 5px;
}

.products .pdt-nav {
  margin-top: 10px;
}

.products .nav-open {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products .nav-open.drop {
  font-weight: bold;
  color: var(--style-color);
  background: rgba(0, 32, 118, 0.1);
}

.products .nav-open a {
  flex: 1;
  padding: 13px 15px 13px 50px;
}

.products .nav-open i {
  width: 10px;
  height: 10px;
  margin-right: 20px;
  transition: all .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.products .nav-open i::before, .products .nav-open i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #333;
}

.products .nav-open i::before {
  width: 100%;
  height: 2px;
}

.products .nav-open i::after {
  width: 2px;
  height: 100%;
  transition: height .3s;
}

.products .nav-open.drop i::before {
  background: #fff;
}

.products .nav-open.drop i::after {
  height: 0;
  background: #fff;
}

.products .first-btn {
  font-weight: bold;
}

.products .first-btn {
  border-bottom: 1px solid #ECECEC;
}

.products .first-btn a {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-left: 20px;
}

.products .first-btn.drop {
  color: #fff;
  border-color: var(--style-color) !important;
  background: var(--style-color);
}

.products .child-list {
  display: none;
  background: #FCFCFC;
}

.products .bottom-wrap {
  color: #fff;
  margin-top: 30px;
  padding: 20px 15px;
  position: relative;
}

.products .bottom-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--style-color);
  opacity: 0.3;
}

.products .bottom-wrap>* {
  position: relative;
  z-index: 1;
}

.products .sub-title {
  margin-bottom: 10px;
  line-height: calc(38 / 28);
}

.products .sub-info {
  margin-bottom: 20px;
  line-height: calc(30 / 16);
}

.products .bottom-btn {
  width: 100%;
  border-radius: 6px;
  background: #FFFFFF;
  color: var(--style-color);
  box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.16);
}

/* 右侧 */
.products .row {
  margin-bottom: -30px;
}

.products .row>div {
  margin-bottom: 30px;
}

.products .block {
  text-align: center;
  border-radius: 10px;
  background: #fff;
  padding: 19px 19px 27px;
  border: 1px solid #C1C1C1;
}

.products .scale-img img {
  width: 100%;
  aspect-ratio: 340 / 340;
}

.products .tit {
  height: 54px;
  font-weight: bold;
  color: var(--style-color);
  margin-top: 15px;
  margin-bottom: 5px;
}

.products .info {
  height: 96px;
  color: #666666;
}

.products .block .btn {
  width: 150px;
  margin-top: 15px;
  padding: 7px 15px;
  border-radius: 23px;
  color: var(--style-color);
  border-color: var(--style-color);
}

@media (min-width: 768px) {
  .products #category {
    display: none;
  }

  .products .pdt-nav {
    margin-top: 0;
  }
}

@media (min-width: 1200px) {
  .products {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .products .container {
    display: flex;
  }

  .products .lt-nav {
    width: 284px;
  }

  .products .product-form {
    margin-bottom: 49px;
  }

  .products .nav-title {
    border-width: 2px;
    padding-bottom: 16px;
    margin-bottom: 18px;
  }

  .products .form-control {
    padding-left: 29px;
    padding-right: 30px;
  }

  .products .nav-open:not(.first-btn):hover {
    color: var(--style-color);
    background: rgba(0, 32, 118, 0.1);
  }

  .products .first-btn a {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .products .first-btn:hover {
    color: #fff;
    background: var(--style-color);
  }

  .products .first-btn:hover i::before, .products .first-btn:hover i::after {
    background: #fff;
  }

  .products .bottom-wrap {
    padding: 36px 30px 42px;
    margin-top: 50px;
  }

  .products .sub-info {
    margin-bottom: 30px;
  }

  .products .bottom-btn {
    padding: 10px 15px 9px;
  }

  .products .rt-content {
    flex: 1;
    padding-left: 30px;
  }

  .products .row {
    margin-left: -18px;
    margin-right: -18px;
    margin-bottom: -36px;
  }

  .products .row>div {
    padding: 0 18px;
    margin-bottom: 36px;
  }

  .products .tit {
    height: 60px;
    margin-top: 24px;
    margin-bottom: 9px;
  }

  .products .block .btn {
    margin-top: 26px;
    padding-top: 9px;
    padding-bottom: 8px;
    transition: all .3s;
  }

  .products .block .btn:hover {
    color: #fff;
    background: var(--style-color);
  }
}

@media (min-width: 1440px) {
  .products {
    padding-bottom: 100px;
  }

  .products .rt-content {
    padding-left: 64px;
  }

  .products .tit {
    height: 66px;
  }
}