html,
body {
  background: #fafafa;
}

/* nav + section */
nav,
section {
  min-width: 12rem;
  margin: 0.3rem auto 0.2rem;
}

nav {
  margin: 1.02rem auto 0.2rem;
}

/* nav */
nav ul {
  display: flex;
  justify-content: start;
  margin-left: 0.9rem;
}

nav ul li {
  display: flex;
  margin: 0 0.03rem;
  font-weight: 400;
  font-size: 0.14rem;
  color: #666666;
}

nav ul li:first-child a {
  font-weight: 400;
  font-size: 0.14rem;
  color: #666666;
  cursor: default;
}

nav ul li a {
  font-weight: 400;
  font-size: 0.14rem;
  color: #1e1e1e;
}

/* list */
section .list ul {
  margin: 0 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
}

section .list ul li {
  height: 3.48rem;
  flex: 1 1 3rem;
  max-width: 3.32rem;
  background: #ffffff;
  border-radius: 0.2rem;
  border: 0.01rem solid #eeeeee;
  position: relative;
  padding: 0.42rem 0.4rem;
}

section .list ul li img {
  width: 0.6rem;
  height: 0.6rem;
  margin-bottom: 0.32rem;
}

section .list ul li h3 {
  font-weight: bold;
  font-size: 0.2rem;
  color: #1e1e1e;
  margin-bottom: 0.2rem;
  max-width: 2.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

section .list ul li i {
  font-style: normal;
  font-weight: 400;
  font-size: 0.16rem;
  color: #666666;
  margin-bottom: 0.46rem;
  line-height: 0.24rem;
  height: 0.48rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

section .list ul li p {
  font-size: 0.28rem;
  font-weight: bold;
}

section .list ul li p em {
  font-style: normal;
  font-size: 0.28rem;
}

section .list ul li p del {
  font-weight: 400;
  font-size: 0.14rem;
  color: #666666;
}

/* badge */
section .list ul li span {
  display: block;
  position: absolute;
  top: 0.16rem;
  right: 0.16rem;
  width: 0.68rem;
  height: 0.28rem;
  line-height: 0.28rem;
  text-align: center;
  border-radius: 0.08rem;
}

/* discount */
section .list ul li .discount {
  font-weight: bold;
  font-size: 0.14rem;
  color: #1e1e1e;
  background: #fce100;
}

section .list ul li .hot {
  background: #dc251e;
  font-weight: bold;
  font-size: 0.14rem;
  color: #ffffff;
}

/* paging */
section .pagingbox {
  margin-top: 0.48rem;
  text-align: center;
}

section .pagingbox ul {
  display: inline-block;
  height: 0.32rem;
}

section .pagingbox ul li {
  float: left;
  width: 0.32rem;
  height: 0.32rem;
  margin: 0 0.04rem;
  line-height: 0.32rem;
  text-align: center;
  border-radius: 0.04rem;
  font-size: 0.14rem;
  color: #333333;
  border-radius: 0.04rem;
}

section .pagingbox ul li.active a {
  color: #fff;
  background: #1e1e1e;
  border-radius: 0.04rem;
}

section .pagingbox ul li a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

section .pagingbox ul li a:hover {
  background: #1e1e1e;
  color: #fff;
  border-radius: 0.04rem;
}

section .pagingbox ul li.page_prev,
section .pagingbox ul li.page_next {
  border: none;
}

section .pagingbox ul li.line {
  line-height: 0.26rem;
}