* {
  margin: 0;
  padding: 0;
}

html,
body {
  background: #f8f6ff;
  width: 100%;
  height: 100%;
}

a {
  color: #ed3c3c;
  outline: none;
}

button,
input {
  outline: none;
}

a:hover {
  color: #ed3c3c;
}

#bf-bg {
  color: #fff;
  width: 100%;
  min-height: 800px;
  padding-top: 160px;
  padding-bottom: 160px;
  background: url("../img/banner-pc.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
#bf-bg > div.container {
  position: relative;
  z-index: 2;
}

.bf-tit {
  margin-bottom: 48px;
}
.bf-tit img {
  max-width: 90%;
}
.bf-des p {
  text-align: center;
  font-size: 20px;
  padding: 0 16px;
  color: #888;
}

.bf-btns {
  position: absolute;
  text-align: center;
  width: 100%;
  bottom: -90px;
  z-index: 2;
}
.bf-btns > div {
  padding: 0 32px;
}
.bf-btns ul {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #fff;
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.2);
  border-radius: 25px;
  width: 100%;
  padding: 0;
  overflow: hidden;
}
.bf-btns ul li {
  list-style: none;
  width: 100%;
}

.bf-btns ul li a {
  display: block;
  height: 180px;
  color: #666;
  font-size: 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  transition: all 0.3s ease;
}

.bf-btns ul li a:hover {
  background: #eee;
}

.bf-btns ul li a > i {
  display: block;
  color: #ed3c3c;
  font-size: 40px;
  margin-bottom: 10px;
}

#products {
  padding: 200px 0 60px;
}

.product-head {
  text-align: center;
  position: relative;
}

.product-head p {
  margin: 0;
  color: #aaa;
}
.product-head h1 {
  color: #2d2d2d;
}
.product-head h1 span {
  color: #ed3c3c;
}
.product-head div {
  position: relative;
}
.product-head div i {
  display: inline-block;
  font-size: 32px;
  color: #ed3c3c;
  background: #f8f6ff;
  padding: 10px;
  padding-right: 15px;
  position: relative;
  z-index: 2;
}
.product-head div::after {
  content: "";
  display: block;
  width: 250px;
  top: 50%;
  left: 50%;
  margin-left: -125px;
  border-bottom: 1px solid #d8d8d8;
  position: absolute;
  z-index: 1;
}

.product-list ul {
  display: flex;
  flex-wrap: wrap;
}
.product-list ul li {
  list-style: none;
  padding: 16px;
  width: 33%;
}

.product {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.2);
}
.product-tit {
  background: url(../img/product-bg.jpg) no-repeat center;
  background-size: cover;
  display: flex;
  color: #fff;
  align-items: center;
  padding: 16px;
}
.product-tit img {
  width: 72px;
  height: 72px;
  margin-right: 10px;
  border-radius: 10px;
}
.product-tit.bg img {
  border-radius: 5px;
  background: #fff;
}
.product-tit span {
  font-size: 28px;
  margin-right: 3px;
  color: #ff4e4e;
  font-weight: 600;
}
.product-tit del {
  color: #888;
}
.product-des {
  padding: 16px;
  color: #666;
}
.product-des div {
  word-break: normal;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
  min-height: 120px;
}
.product-des a {
  display: block;
  background: #ed3c3c;
  color: #fff;
  text-align: center;
  height: 45px;
  line-height: 45px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 16px;
  margin-top: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 600;
}
.product-des a:hover {
  background: #ff5858;
}

@media screen and (max-width: 992px) {
  #bf-bg {
    padding-top: 120px;
  }
  .bf-tit {
    text-align: center;
  }
  .product-list ul li {
    width: 50%;
  }
}

@media screen and (max-width: 768px) {
  .product-list ul li {
    width: 100%;
  }
}
@media screen and (max-width: 640px) {
  .bf-tit,
  .bf-des {
    margin-left: 0;
    margin-right: 0;
  }
  #bf-bg {
    background-image: url("../img/banner-wap.jpg");
    padding-top: 90px;
  }
}

@media screen and (max-width: 576px) {
  .bf-btns > div {
    padding: 0;
  }
  .bf-btns ul {
    border-radius: 0;
  }
}
