* {
  box-sizing: border-box;
  font-family: tahoma,arial,'Hiragino Sans GB','\5b8b\4f53',sans-serif;
}
html,body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff !important;
}
p {
  margin: 0;
}
.page-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f5f5;
  z-index: 9999;
}

.box {
  display: inline-block;
  /* border: 1px solid currentcolor; */
  border-radius: 3px;
  padding: 1em;
  margin-bottom: .25em;
  vertical-align: top;
  -webkit-transition: .3s color, .3s border;
  transition: .3s color, .3s border;
}

[class*="loader-"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  color: inherit;
  vertical-align: middle;
  pointer-events: none;
}

.loader-01 {
  border: .2em dotted currentcolor;
  border-radius: 50%;
  -webkit-animation: 1.5s loader-01 linear infinite;
  animation: 1.5s loader-01 linear infinite;
}

@-webkit-keyframes loader-01 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes loader-01 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* .welcome {
  position: relative;
  width: 100%;
  height: 100%;
} */
@media screen and (max-width: 600px) {
  .welcome {
    position: relative;
    width: 100%;
    height: 100%;
  }
}
@media screen and (min-width: 601px) {
  body {
    width: 600px;
    min-height: 800px;
    padding-left: calc((100% - 600px)/2);
    background-color: #ffffff;
  }
  .welcome {
    position: relative;
    width: 600px;
    height: 100%;
    border: 1px solid rgba(0,0,0,0.09);
    background-color: #ffffff;
  }
}



.product-list-content {
  display: none;
  background:rgba(247,247,248,1);
  display: flex;
  flex-wrap: wrap;
  padding: 14px 12px;
}
.p-list-item:nth-child(odd) {
  margin-right: 12px;
}
.p-list-item {
  width: calc((100% - 14px) / 2);
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 12px;
}
.p-list-item-top {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  overflow: hidden;
}
.p-list-item-top img {
  width: 90%;
}

.p-list-item-top > img {
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
  left: 50%;
}

.product-discount {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.discount-num {
  position: absolute;
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  top: 4px;
  left: 3px;
  line-height: 10px;
  width: 30px;
  text-align: center;
}
.product-discount p:nth-child(1) {
  font-weight: bold;
  width: 76%; 
}

.product-detail-img-100, .product-detail-img {
  display: none;
}

.product-detail-discount {
  display: none;
  width: 34% !important;
}
.product-detail-discount img {
  height: auto !important;
}
.product-detail-discount .discount-num {
  top: 8px;
  left: 8px;
  font-size: 14px;
}

.product-detail-discount .discount-num p:nth-child(1) {
  margin-top: -3px;
}

@media screen and (min-width: 600px) {
  .header img:nth-child(1) {
    width: 30px !important;
    height: 30px !important;
    top: 30px !important;
  }

  .product-discount {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    display: flex;
  }
  .discount-num {
    font-size: 16px;
    line-height: 14px;
    width: 60px;
    top: 7px;
  }
  .product-discount p:nth-child(1) {
    font-weight: bold;
    width: 76%; 
  }
  .product-detail-discount {
    width: 28% !important;
  }
  .product-detail-discount .discount-num {
    padding-left: 6px;
    font-size: 22px;
    top: 17px;
    width: 65px;
    text-align: center;
  }
}
@media screen and (max-width: 414px) {
  .content {
    height: calc(100% - 120px) !important;
  }
  .product-discount {
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
  }
  .product-discount p:nth-child(1) {
    font-weight: bold;
    width: 76%; 
  }
  .product-detail-discount .discount-num {
    top: 15px;
    font-size: 18px;
    width: 52px;
  }
  .product-detail-discount .discount-num  p:nth-child(2) {
    margin-top: 5px;
  }
}
@media screen and (max-width: 375px) {
  .product-discount {
    position: absolute;
    top: 0;
    left: 0;
    width: 44%;
  }
  .product-detail-discount .discount-num {
    top: 12px;
    font-size: 16px;
  }
}
@media screen and (max-width: 320px) {
  .header img:nth-child(1) {
    top: 13px !important;
  }

  .product-discount {
    position: absolute;
    top: 0;
    left: 0;
    width: 56%;
  }
  .product-detail-discount .discount-num {
    top: 12px;
    font-size: 16px;
  }
}

.product-detail-free {
  width: 20%;
  top: 4px;
  display: none;
}

.p-list-item-content {
  padding: 8px;
}

.p-list-item-content p:nth-child(1) {
  margin-bottom: 5px;
  font-size:14px;
  color:rgba(0,0,0,0.65);
  line-height:20px;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.p-list-item-price {
  font-size:16px;
  font-weight:500;
  line-height:22px;
  color: #DB0220;
  display: flex;
  /* justify-content: space-between; */
  flex-wrap: wrap;
}
.p-list-item-price span {
  font-size:14px;
  color: #ACACAC;
  text-decoration: line-through;
  margin-left: 12px;
  font-weight: 400;
}

.partner {
  width: 100%;
  text-align: center;
  margin: 14px 0;
}
.partner img {
  width: calc((100% - 12px) / 2);
}
.partner img:nth-child(1) {
  margin-right: 6px;
}



.product-detail {
  display: none;
}

.header {
  position: relative;
  width: 100%;
  display: none;
}
.header img {
  width: 100%;
}
.header img:nth-child(1) {
  width: 22px;
  height: 22px;
  position: absolute;
  top: 18px;
  left: 8px;
  display: none;
}

.content {
  position: relative;
  width: 100%;
  height: calc(100% - 170px);
  overflow-y: auto;
  padding: 10px 0;
  color: rgba(0,0,0,0.65);
  /* .header 有4px空隙，原因不明 */
  margin-top: -4px;
}

.start-title {
  font-size: 18px;
  font-weight: 500;
  padding: 0 12px;
}
.start-content {
  font-size: 16px;
  margin-top: 10px;
  padding-bottom: 10px !important;
  padding: 0 12px;
}
.start-img {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 10px;
  padding: 0 12px;
  text-align: center;
}
.start-img img {
  width: 0px;
  height: 0px;
}
.start-shop-name {
  padding: 0 12px;
}

.start-shop-star {
  /* display: flex; */
  /* justify-content: space-between; */
  /* align-items: center; */
  margin-top: 12px;
  padding: 0 12px;
}
.start-shop-star-left {
  font-size:18px;
  color:rgba(208,2,27,1);
  font-weight:500;
}
.star {
  position: relative;
  width: 81px;
  height: 14px;
  margin-top: 14px;
  overflow: hidden;
  display: inline-block;
}
.star img {
  position: absolute;
  height: 100%;
}
.no-star {
  right: 0 !important;
  display: none;
}

.event-over {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  width: 100%;
  max-width: 600px;
  height: 100%;
  background-color: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 24px;
  display: none;
}
.event-over p {
  font-size:24px;
  font-weight:500;
  color:rgba(255,255,255,1);
  line-height:44px;
}
.event-over span {
  font-size:16px;
  font-weight:500;
  color:rgba(255,255,255,1);
  line-height:22px;
}

.footer {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 10;
  width: 100%;
  height: 79px;
  border-top: 1px solid rgba(0,0,0,0.09);
  text-align: center;
  /* .content 有4px空隙，原因不明 */
  margin-top: -4px;
  background-color: #ffffff;
}
.footer img {
  height: 48px;
  margin-top: 16px;
  cursor: pointer;
}


.width-100 {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 100% !important;
  height: auto !important;
}


/* 轮播图 */
/* banner */
.c-banner{
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
}
.c-banner img{
	width: 100%;
}
.c-banner .banner ul{
	list-style: none;
	padding-left: 0px;
	margin: 0px;
}
.c-banner .banner ul li{
	position: absolute;
	display: none;
  opacity: 0;
  border: 1px solid rgba(0,0,0,0.1);
  width: 100%;
  height: 0;
  padding: 12px;
  padding-bottom: calc(100% - 2px);
}
.c-banner .banner ul li:nth-child(1){
	opacity: 1;
	display: block;
}
.c-banner .banner ul li img{
  width: 100%;
  height: auto;
	position: absolute;
	top: 0px;
}
.c-banner .banner ul li:first-child img{
	position: relative;
}
.c-banner .nexImg,.c-banner .preImg{
	position: absolute;
	top: 50%;
	margin-top: -53px;
  background: #000000;
  color: #ffffff;
	opacity: 0.5;
	border-radius: 5px;
	z-index: 10;
	
}
.nexImg {
  padding: 15px 0px 15px 10px;
  right: 5px;
}
.preImg {
  padding: 15px 10px 15px 0px;
  left: 5px;
}
.c-banner .nexImg:active,.c-banner .preImg:active{
	opacity: 0.8;
}
.c-banner .jumpBtn{
	width: 100%;
	position: absolute;
	bottom: 5px;
	text-align: center;
}
.c-banner .jumpBtn ul{
	margin-bottom: 0px;
	padding: 0px;
}

.c-banner .jumpBtn ul li{
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
	background-color: #c0c4cc;
	opacity: 0.9;
	margin-left: 10px;
}
.c-banner .jumpBtn ul li:first-child{
  margin-left: 0px;
}

.product-title {
  font-size: 14px;
}

.start-shop-price {
  margin-top: 12px;
  padding: 0 12px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.now-price {
  font-size: 34px;
  color: #DB0120;
  font-weight: bold;
}
.old-price {
  text-decoration: line-through;
  font-size: 14px;
  color:rgba(172,172,172,1);
  margin-left: 4px;
}
.product-detail-hot {
  display: none;
}
