body {
  background-color: #fafafa;
}

/* serch */

.pagetitle {
  text-align: center;
  font-size: 0.426667rem;
  margin: 0.2rem 0;
}

.serch {
  position: relative;
  margin: 0.24rem 0.4rem;
  height: 0.866667rem;
  line-height: 0.866667rem;
  border-radius: 0.1rem;
  box-sizing: border-box;
  padding-left: 1rem;
  background-color: #f0f0f0;
  color: #999;
  font-size: 0.32rem;
}

.serch::before {
  position: absolute;
  font-family: "iconfont" !important;
  content: "\e63f";
  width: 0.36rem;
  height: 0.36rem;
  font-size: 0.36rem;
  color: #999;
  top: 0;
  left: 0.4rem;
}

/* mainnav */

.mainnav {
  overflow: hidden;
}

.mainnav li {
  float: left;
  width: 2rem;
}

.mainnav li a {
  display: block;
  text-align: center;
  font-size: 0.32rem;
  color: rgb(51, 51, 51);
  padding-bottom: 2px;
}

.mainnav li .img_hots {
  margin: 0.35rem auto;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  overflow: hidden;
}

.mainnav li .img_hots img {
  width: 100%;
  height: 100%;
}

i[class^="icon-"] {
  display: block;
  width: 80px;
  height: 63px;
  background: url(../img/nav@2x.png) no-repeat;
  background-size: 375px auto;
  margin: 0 auto;
}

i.icon-1 {
  background-position: 0 0px;
}

i.icon-2 {
  background-position: -75px 0px;
}

i.icon-3 {
  background-position: -150px 0px;
}

i.icon-4 {
  background-position: -225px 0px;
}

i.icon-5 {
  background-position: -300px 0px;
}

i.icon-6 {
  background-position: 0 -75px;
}

i.icon-7 {
  background-position: -75px -75px;
}

i.icon-8 {
  background-position: -150px -75px;
}

i.icon-8 {
  background-position: -225px -75px;
}

i.icon-10 {
  background-position: -300px -75px;
}

/* 优惠专场 -销量榜单 */

.box {
  margin: 0.533333rem 0.2rem;
  overflow: hidden;
}

.box h2 {
  font-size: 0.4rem;
  padding-left: 0.133333rem;
  margin-bottom: 0.4rem;
}

/* 销售榜单 */

@keyframes move {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-10rem, 0);
    opacity: 1;
  }
}

.hots {
  overflow: hidden;
  height: 6.533333rem;
  /* transition: all 5s; */
}

.pao {
  width: 20.080002rem;
  overflow: hidden;
  /*overflow-x: scroll;*/
  /* animation: move 15s; */
  /* transform: translateX(-100px); */
}

.hots a {
  position: relative;
  float: left;
  width: 3.946667rem;
  height: 5.533333rem;
  margin-right: 0.1rem;
  background-color: #fff;
  /* animation: move 15s ease-in 2s infinite alternate; */
  /* overflow: hidden; */
}

.hots .good_img {
  width: 3.946667rem;
  height: 3.306667rem;
  margin-bottom: 2px;
  overflow: hidden;
}

.hots img {
  width: 100%;
  height: 100%;
}

.hots .info {
  /* position: absolute;
  left: 0;
  bottom: 0.6rem; */
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  height: 0.72rem;
  padding: 0.2rem;
  font-size: 0.32rem;
  color: rgb(51, 51, 51);
  line-height: 0.33rem;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
  white-space: nowrap;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hots .rmb {
  font-size: 0.16rem;
  color: #f55177;
  padding: 0 0.2rem;
}
.hots .price {
  overflow: hidden;
  display: flex;
  position: absolute;
  padding: 0 0.2rem;
  left: 0;
  bottom: 0.6rem;
  box-sizing: border-box;
  width: 100%;
  justify-content: space-between;
}

.hots .price span:nth-child(1) {
  /* float: left; */
  color: rgb(243, 37, 85);
  font-size: 0.32rem;
}

.hots .price span:nth-child(2) {
  /* float: right; */
  /* color: #fff; */
  /* width: 1.813333rem; */
  padding: 0 0.1rem;
  /* background-color: rgb(243, 37, 85); */
  font-size: 0.32rem;
  border-radius: 0.1rem;
  margin-left: 0.2rem;
}

.hots .delprice {
  overflow: hidden;
  display: flex;
  position: absolute;
  padding: 0 0.2rem;
  left: 0;
  bottom: 0.1rem;
  box-sizing: border-box;
  width: 100%;
  justify-content: space-between;
}

.hots .delprice span:nth-child(1) {
  /* float: left; */
  color: #999;
  font-size: 0.32rem;
  text-decoration: line-through;
}

.hots .delprice span:nth-child(2) {
  /* float: right; */
  /* color: #fff; */
  /* width: 1.813333rem; */
  padding: 0 0.1rem;
  /* background-color: rgb(243, 37, 85); */
  font-size: 0.32rem;
  border-radius: 0.1rem;
  margin-left: 0.2rem;
}

/* 好店推荐-精选商品  */

.recommend {
  margin: 0 0.2rem 1.8rem;
  overflow: hidden;
}

.tabselect {
  overflow: hidden;
}

.tabselect li {
  float: left;
  margin: 0 0.2rem;
  padding: 0.066667rem 0;
}

.tabselect li a {
  display: block;
  font-size: 0.373333rem;
  text-decoration: underline;
  color: rgb(51, 51, 51);
}

.tabselect li.cur {
  border-bottom: 1px solid rgb(243, 37, 85);
}

.tabselect li.cur a {
  text-decoration: none;
  font-size: 0.4rem;
  font-weight: 700;
}

/* 店铺 */

.shop li {
  padding: 0.2rem;
  margin-top: 0.266667rem;
  background-color: #fff;
  border-radius: 0.2rem;
}

.shop-hd {
  position: relative;
  /* background-color: pink; */
  height: 1.6rem;
  overflow: hidden;
}

.shop-hd img {
  float: left;
  /* height: 1.6rem;
    width: 1.6rem; */
  height: 1.2rem;
  width: 1.2rem;
  margin-left: 0.2rem;
  /* background-color: palegreen; */
  vertical-align: middle;
  border-radius: 0.8rem;
  border: 1px solid #c2c2c2;
}

.shop-hd a {
  float: right;
  height: 1.6rem;
  line-height: 1.6rem;
  color: rgb(243, 37, 85);
  font-size: 0.32rem;
}

.shop-hd a::after {
  content: "\e670";
  display: inline-block;
  color: #e1e1e1;
  font-family: "iconfont" !important;
  font-size: 0.66rem;
  font-style: normal;
  vertical-align: top;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.shop-hd h3 {
  position: absolute;
  top: 0.133333rem;
  left: 2rem;
  font-size: 0.4rem;
  color: rgb(51, 51, 51);
  width: 5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.shop-hd .cuxiao {
  position: absolute;
  top: 0.7666667rem;
  left: 2rem;
  height: 0.4rem;
  width: 5rem;
}

.shop-hd .info_zhekou {
  float: left;
  margin-right: 0.2rem;
  font-size: 0.32rem;
  color: rgb(243, 37, 85);
}

.shop-hd .info_manjian {
  float: left;
  margin-right: 0.2rem;
  font-size: 0.24rem;
  color: #fff;
  height: 0.4rem;
  line-height: 0.4rem;
  background-color: #f32555;
  padding: 0 0.133333rem;
  border-radius: 0.1rem;
}

.shop-hd .info_zeng {
  float: left;
  margin-right: 0.2rem;
  height: 0.4rem;
  width: 0.4rem;
  line-height: 0.4rem;
  font-size: 0.24rem;
  color: #fff;
  background-color: #ffc637;
  padding: 0 0.066667rem;
  border-radius: 0.1rem;
  text-align: center;
}

.shop-img {
  width: 100%;
  display: flex;
}

.shop-img a {
  float: left;
  /* float: left; */
  /* width: 216px;
    height: 234px; */
  width: 2.88rem;
  height: 3.52rem;
  border-radius: 0.2rem;
  /*background-color: #f55177;*/
  margin-right: 0.2rem;
  /* text-align: center; */
  font-size: 0.24rem;
  color: #fff;
}

.shop-img a .good_img {
  width: 2.88rem;
  height: 2.4rem;
  background-color: #f0f0f0;
}

.shop-img a .good_img img {
  height: 100%;
  width: 100%;
  outline: 0;
  border: 0;
}

.shop-img a p {
  /* margin-top: 0.15rem; */
  text-indent: 0.1rem;
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */
  background-color: #f55177;
  height: 26px;
  justify-content: center;
  border-radius: 0 0 10px 10px;
}

.shop-img a del {
  color: #d9d9d9;
  text-align: center;
  font-size: 0.32rem;
}

.shop-img .rmb {
  background-color: #f55177;
  text-align: center;
}

.shop-img a span {
  color: #fff;
  text-align: center;
  font-size: 0.32rem;
}

.shop-count {
  margin: 0.266667rem 0;
  font-size: 0.24rem;
}

.shop-count span {
  color: #a8a8a8;
  display: none;
}

.shop-count i {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0.1rem 0.2rem;
  background-color: #f8f8f8;
  color: #666666;
  border-radius: 0.3rem;
}

/* 精选商品 */

.goods {
  overflow: hidden;
  margin: 0.2rem 0;
  width: 10rem;
}

.goods a {
  overflow: hidden;
  position: relative;
  /* float: left; */
  display: inline-block;
  width: 4.693333rem;
  height: 6.113333rem;
  margin: 0 0.2rem 0.2rem 0;
  background-color: #fff;
  /* border-radius: .2rem; */
}

.goods a .good_img {
  width: 4.693333rem;
  height: 3.933333rem;
  overflow: hidden;
}

.item3 a {
  width: 3.166667rem;
  height: 4rem;
  margin-right: 0.05rem;
}

.item3 a .good_img {
  width: 3.166667rem;
  height: 2.64rem;
}

.item3 .price {
  padding: 0 !important;
}

.item3 a .price span:nth-child(0),
.item3 a .price span:nth-child(1) {
  margin-left: 0;
  padding: 0;
}

.goods a img {
  width: 100%;
  height: 100%;
  display: block;
}

.goods .info {
  display: block;
  overflow: hidden;
  box-sizing: border-box;
  height: 0.8rem;
  padding: 0 0.4rem;
  font-size: 0.32rem;
  color: rgb(51, 51, 51);
  line-height: 0.41rem;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.goods .rmb {
  font-size: 0.16rem;
  color: #f55177;
  padding: 0 0.4rem;
}

.item3 .rmb {
  font-size: 0.16rem;
  color: #f55177;
  padding: unset;
}

.goods .price {
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: 0.6rem;
  box-sizing: border-box;
  width: 100%;
  padding: 0 0.4rem;
}

.goods .price span:nth-child(1) {
  float: left;
  color: rgb(243, 37, 85);
  font-size: 0.32rem;
  /* margin-left: .4rem; */
}

.goods .price span:nth-child(2) {
  float: right;
  /* color: #fff; */
  padding: 0 0.1rem;
  /* background-color: rgb(243, 37, 85); */
  font-size: 0.32rem;
  border-radius: 0.1rem;
  /* margin-right: .1rem; */
}

.goods .delprice {
  overflow: hidden;
  position: absolute;
  left: 0;
  bottom: 0.1rem;
  box-sizing: border-box;
  width: 100%;
  padding: 0 0.4rem;
}

.goods .delprice span:nth-child(1) {
  float: left;
  color: #999;
  font-size: 0.32rem;
  text-decoration: line-through;
  /* margin-left: .4rem; */
}

.goods .delprice span:nth-child(2) {
  float: right;
  /* color: #fff; */
  padding: 0 0.1rem;
  /* background-color: rgb(243, 37, 85); */
  font-size: 0.32rem;
  border-radius: 0.1rem;
  /* margin-right: .1rem; */
}
