:root {
  --primary-color: #CF2F2F;
  --primary-text-color: #4A4A4A;
  --second-text-color: #9B9B9B;
  --bg-color: #F7F7FB;
  --border-color: #DDDDDD;
  --number-font: Impact;
  --text-font: 'Microsoft YaHei';
  --special-font: 'PingFang SC';
}
a {
  color: black;
}
@keyframes floatnav {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0%);
  }
}
body {
  font-family: Impact, Helvetica, "Microsoft YaHei", PingFang SC;
  font-size: 14px;
  color: #252525;
  background-color: var(--bg-color);
}
body.sticky header {
  position: fixed;
  z-index: 11;
  border-top: 0;
  border-bottom: 1px solid var(--primary-color);
  animation: floatnav 0.25s;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2);
}
body.sticky header .logo {
  margin: 8px auto;
}
body.sticky header .logo img {
  height: 36px;
}
body.sticky #main {
  padding-top: 160px;
}
.container {
  position: relative;
  width: 1240px;
  margin: 0 auto;
  background: var(--bg-color);
}
header {
  position: relative;
  width: 100%;
  border-top: 4px solid var(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  background: white;
  text-align: center;
}
header .container {
  background-color: white;
}
header .logo {
  margin: 25px auto;
}
header .logo img {
  height: 53px;
}
header nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
header nav a {
  width: 100%;
  position: relative;
  display: inline-block;
  line-height: 50px;
  font-size: 20px;
  color: #252525;
}
header nav a i {
  display: none;
  position: absolute;
  font-size: 8px !important;
  left: 50%;
  bottom: 0;
  height: 10px;
  width: 10px;
  margin-left: -5px;
  line-height: 10px;
  color: var(--primary-color);
}
header nav a.current,
header nav a:hover {
  background-color: #CF2F2F;
  color: #fff;
}
header .search {
  display: none;
  position: absolute;
  right: 0;
  width: 290px;
  height: 60px;
  top: 10px;
}
header .search form input {
  font-size: 16px;
  outline: none;
  border: 0;
  width: 100%;
  line-height: 40px;
  border-bottom: 1px solid #252525;
}
header .search form button {
  border: none;
}
footer {
  margin-top: 90px;
}
footer .features {
  background-color: var(--primary-color);
}
footer .features .container {
  height: 106px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: inherit;
}
footer .features .container img {
  height: 106px;
}
footer .inner {
  margin: 40px 0;
  display: flex;
}
footer .inner .logo {
  width: 350px;
  flex: none;
}
footer .inner .logo img {
  margin-top: 40px;
  width: 278px;
  height: 82px;
}
footer .inner .mobile {
  width: 280px;
  flex: none;
  text-align: center;
}
footer .inner .mobile h4 {
  font-size: 18px;
  color: #bdbdbd;
  line-height: 24px;
}
footer .inner .mobile img {
  margin-top: 10px;
  width: 170px;
  height: 170px;
}
footer .inner .intro {
  width: 100%;
}
footer .inner .intro .links {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}
footer .inner .intro .links a {
  display: inline-block;
  font-size: 18px;
  font-family: PingFangSC-Semibold, PingFang SC;
  font-weight: 600;
  color: #4f4f4f;
  line-height: 25px;
}
footer .inner .intro p {
  font-size: 18px;
  font-family: MicrosoftYaHei;
  color: #4f4f4f;
  line-height: 24px;
  letter-spacing: 4px;
  margin-top: 40px;
}
#float {
  position: fixed;
  right: 0;
  bottom: 200px;
}
#float .cell {
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
}
#float .cell .block {
  border: 1px solid #f6f6f6;
  position: absolute;
  top: 0;
  left: -160px;
  background: white;
  text-align: center;
  width: 160px;
  height: 160px;
  display: none;
  box-sizing: border-box;
}
#float .cell:hover .block {
  display: block;
}
.card {
  cursor: pointer;
  position: relative;
  transition: transform 0.2s linear;
  padding-bottom: 20px;
  box-sizing: border-box;
}
.card:hover {
  transform: scale(1.05);
}
.card:hover .more {
  opacity: 1;
}
.card .cover {
  width: 100%;
  height: auto;
}
.card .desc h3 {
  font-size: 16px;
  font-family: Helvetica;
  color: #4a4a4a;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card .desc h5 {
  height: 36px;
  line-height: 1.5;
  margin-top: 4px;
  font-size: 12px;
  font-family: Helvetica;
  color: #9b9b9b;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.card .price {
  margin-top: 8px;
}
.card .price-now * {
  font-family: Impact;
  font-size: 28px;
  color: var(--primary-color);
  letter-spacing: 1px;
}
.card .price-now * i,
.card .price-now * strong,
.card .price-now * em {
  font: inherit;
}
.card .price-origin {
  display: inline-block;
  margin-left: 2px;
}
.card .price-origin > * {
  font-family: "Microsoft YaHei";
  text-decoration: line-through;
  vertical-align: text-bottom;
  color: #9b9b9b;
  font-size: 14px;
  font-weight: 300;
}
.card .more {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
}
.card .more .qrcode {
  margin-top: 12%;
  width: 76%;
  margin-left: 12%;
  background: white;
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
}
.card .more .qrcode p {
  font-size: 14px;
  font-family: "Microsoft YaHei";
  color: #9b9b9b;
  font-weight: 300;
}
.card .more .qrcode img {
  width: 100%;
  height: 100%;
  max-width: 200px;
  margin-top: 10px;
}
.card .more button {
  cursor: pointer;
  border: 0;
  outline: 0;
  margin-top: 30px;
  width: 76%;
  margin-left: 12%;
  display: block;
  height: 60px;
  line-height: 60px;
  background: white;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}
.row {
  padding: 35px;
  display: flex;
  flex-wrap: wrap;
}
.row .card {
  width: 270px;
  margin-right: 30px;
  margin-bottom: 20px;
}
.row .card .cover {
  width: 270px;
  height: 270px;
}
.row .card:nth-of-type(4n) {
  margin-right: 0;
}
.col {
  margin: 20px;
}
.col .card {
  margin-bottom: 40px;
}
.col .card .cover {
  width: 280px;
  height: 280px;
}
.tag {
  display: inline-block;
  margin-left: 16px;
  height: 24px;
  line-height: 24px;
  color: white;
  border-radius: 0 4px 4px 4px;
  font-size: 12px;
  background: #D02424;
  padding: 0 8px;
  position: relative;
  vertical-align: top;
  font-family: 'Microsoft YaHei';
}
.tag::after {
  content: " ";
  width: 10px;
  background: url(../images/tag.png) no-repeat left top;
  left: -5px;
  top: 0;
  height: 24px;
  display: inline-block;
  position: absolute;
}
