@import url(common.css);
@import url(head.css);
@import url(category.css);
@import url(foot.css);
.guide {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.8rem;
  margin: 1.6rem 0rem;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
  -webkit-line-clamp: 1;
}
.guide a {
  color: #333;
}
.guide .guideIcon {
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1.8rem;
  color: #999999;
  margin: 0 1rem;
}
.guide span {
  font-weight: 500;
  line-height: 1.8rem;
  color: #F82C4C;
}
.indexWrap {
  padding-top: 0 !important;
}
.indexWrap .couponsRecommend .couponsList {
  grid-template-columns: repeat(3, calc((100% - 3.2rem) / 3));
  grid-gap: 1.6rem 1.6rem;
}
.indexWrap .couponsItem:nth-child(7),
.indexWrap .couponsItem:nth-child(8) {
  display: none;
}
.indexWrap .productRecommend .topProductsList {
  grid-template-columns: repeat(3, calc((100% - 3.2rem) / 3));
  grid-gap: 1.6rem 1.6rem;
}
.indexWrap .topProdItem:nth-child(7),
.indexWrap .topProdItem:nth-child(8) {
  display: none;
}
.indexWrap .couponDetailsWrap {
  padding: 0.8rem 0;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  box-sizing: border-box;
  display: flex;
}
.indexWrap .couponDetailsWrap .detailWrap {
  width: calc(100% - 35rem);
}
.indexWrap .couponDetailsWrap .detailWrap .current-cate {
  width: 100%;
  display: none;
  align-items: center;
  margin: 2rem 0;
}
.indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-pic {
  flex-shrink: 0;
  width: 10rem;
  height: 10rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  overflow: hidden;
}
.indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-pic img {
  width: 100%;
}
.indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-pic p {
  color: #A32034;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  padding: 1.2rem;
}
.indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-info {
  padding: 0 1.6rem;
  color: #333;
}
.indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-info .current-cate-tl {
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 3.4rem;
}
.indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-info .current-cate-tl-txt {
  margin-top: 0.8rem;
  font-weight: 400;
  color: #999999;
  font-size: 1.4rem;
  line-height: 2.2rem;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite {
  margin: 2rem 0;
  padding: 3.6rem 2.35rem;
  box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
  position: relative;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .detailCoupon {
  text-align: center;
  margin: auto;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .detailCoupon .detailTitle {
  color: #F82C4C;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: center;
  color: #333333;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
  -webkit-line-clamp: 3;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .detailCoupon .detailCode {
  margin: 1.6rem 0;
  padding: 1.6rem;
  background: #F8F1F1;
  border-radius: 0.4rem;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .detailCoupon .detailCode .codeNum {
  color: #F82C4C;
  font-weight: 500;
  font-size: 2.6rem;
  margin: 0 1rem;
  line-height: 3.4rem;
  letter-spacing: 1px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .detailCoupon .detailCode .codeDesp {
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 2.4rem;
  text-align: center;
  color: #999999;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .detailCoupon .couponButton {
  color: #FFFFFF;
  background-color: #F82C4C;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.5rem;
  letter-spacing: 1px;
  border-radius: 0.4rem;
  padding: 1.3rem 0;
  cursor: pointer;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .detailCoupon .detailDate {
  display: none;
  color: #aaa;
  font-size: 1.2rem;
  line-height: 3rem;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .tips {
  display: none;
  width: 33%;
  height: 15rem;
  padding: 2rem;
  position: absolute;
  top: 10%;
  left: 33%;
  background-color: #FFFFFF;
  border-radius: 4px;
  box-shadow: 0 0 0.2rem 0.2rem #ddd;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .tips svg {
  width: 5rem;
  height: 5rem;
}
.indexWrap .couponDetailsWrap .detailWrap .couponWhite .tips .copy {
  color: #F82C4C;
  width: fit-content;
  margin: auto;
  font-size: 2rem;
  line-height: 2;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list {
  margin-bottom: 1.6rem;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, calc((100% - 3.2rem) / 3));
  grid-gap: 1.6rem 1.6rem;
  align-items: center;
  justify-content: center;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem {
  box-sizing: border-box;
  background: #FFFFFF;
  border: 1px solid #EEEEEE;
  border-radius: 8px;
  padding: 1.6rem;
  text-align: center;
  position: relative;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .coverlink {
  display: block;
  font-size: 1.4rem;
  line-height: 4rem;
  color: #333;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .coverlink:hover {
  color: #F82C4C;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .upto {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #F82C4C;
  font-weight: 700;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .sale {
  height: 2rem;
  font-size: 1.6rem;
  line-height: 2rem;
  color: #F82C4C;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
  -webkit-line-clamp: 1;
  word-break: break-all;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .verified {
  display: none;
  margin: 1rem 0;
  color: #555;
  font-size: 1.2rem;
  font-weight: 300;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .couponDetail {
  color: #999999;
  text-align: center;
  font-size: 1.4rem;
  line-height: 2.2rem;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .couponDetail .couponTitle {
  height: 4.4rem;
  margin: 0.4rem 0 1rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .jumpInfo {
  display: flex;
  justify-content: center;
  border-radius: 0.3rem;
  margin: 0 auto;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .jumpInfo .text {
  display: flex;
  justify-content: center;
  position: relative;
  border-radius: 0.3rem;
  background-color: #F82C4C;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .jumpInfo .text p {
  min-width: 13rem;
  font-size: 1.4rem;
  line-height: 3rem;
  color: #FFFFFF;
  padding-right: 1rem;
  font-weight: 500;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .jumpInfo .text .turnPages {
  position: absolute;
  width: 2rem;
  height: 2rem;
  right: 0;
  bottom: 0;
  border-radius: 0.3rem 0;
  border-right: 1px dashed #FFFFFF;
  border-bottom: 1px dashed #FFFFFF;
  background: linear-gradient(to bottom right, #d0273e 0%, #d0273e 50%, white 51%, white 100%);
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .jumpInfo .text img {
  position: absolute;
  z-index: 0;
  width: 1.6rem;
  height: 1.6rem;
  right: 0;
  bottom: -0.8rem;
}
.indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem:hover {
  background-color: #F8F7F7;
}
.indexWrap .couponDetailsWrap .categoryWrap {
  margin-left: 5rem;
}
.couponDialog {
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
}
.couponDialog .mask {
  width: 100%;
  height: 100%;
  position: fixed;
  background: #000000;
  opacity: 0.5;
  left: 0;
  top: 0;
  z-index: 1;
}
.couponDialog .dialogWrap {
  width: 50%;
  height: auto;
  position: fixed;
  top: 10%;
  left: 25%;
  font-size: 2.4rem;
  background-color: #FFFFFF;
  z-index: 2;
  border-radius: 0.4rem;
}
.couponDialog .dialogWrap svg {
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}
.couponDialog .dialogWrap .dialogImg {
  display: flex;
  justify-content: center;
}
.couponDialog .dialogWrap .dialogImg .copyImg {
  width: 15rem;
}
.couponDialog .dialogWrap .dialogText {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.8rem;
  color: #666;
  text-align: center;
  margin: 0 1.3rem 1.6rem 1.3rem;
}
.couponDialog .dialogWrap .dialogCode {
  width: 50%;
  margin: auto;
  font-size: 1.8rem;
  line-height: 2.4rem;
  font-weight: 600;
  color: #333333;
  background: #F2F2F2;
  padding: 1.6rem 0;
  border-radius: 0.8rem;
  text-align: center;
}
.couponDialog .dialogWrap .copyButton {
  width: 50%;
  padding: 1.1rem 0;
  margin: 0.8rem auto 2rem auto;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.6rem;
  color: #FFFFFF;
  background: #F82C4C;
  border-radius: 0.8rem;
  text-align: center;
  cursor: pointer;
}
@media only screen and (max-width: 991px) {
  .guide {
    margin: 0.9rem 0rem;
  }
  .indexWrap {
    padding-top: 0 !important;
  }
  .indexWrap .couponsRecommend .couponsList {
    padding: 0;
    grid-template-columns: repeat(2, calc((100% - 1.2rem) / 2));
    grid-gap: 1.2rem 1.2rem;
  }
  .indexWrap .couponDetailsWrap {
    padding: 0rem;
    display: block;
  }
  .indexWrap .couponDetailsWrap .detailWrap {
    width: auto;
  }
  .indexWrap .couponDetailsWrap .detailWrap .current-cate {
    margin: 1.2rem 0;
  }
  .indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-pic {
    width: 8.8rem;
    height: 8.8rem;
  }
  .indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-info {
    padding: 0 1.2rem;
  }
  .indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-info .current-cate-tl {
    font-size: 2.4rem;
  }
  .indexWrap .couponDetailsWrap .detailWrap .current-cate .current-cate-info .current-cate-tl-txt {
    margin: 0;
  }
  .indexWrap .couponDetailsWrap .detailWrap .couponWhite {
    padding: 1.6rem 0.8rem;
  }
  .indexWrap .couponDetailsWrap .detailWrap .couponWhite .detailCoupon .detailTitle {
    font-size: 1.4rem;
  }
  .indexWrap .couponDetailsWrap .detailWrap .tips {
    display: none;
    width: 50% !important;
    top: 10% !important;
    left: 20% !important;
  }
  .indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList {
    grid-template-columns: repeat(2, calc((100% - 1.2rem) / 2));
    grid-gap: 1.6rem 1.2rem;
  }
  .indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem {
    padding: 1rem;
  }
  .indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .jumpInfo {
    width: auto;
  }
  .indexWrap .couponDetailsWrap .detailWrap .detail-list .couponList .coupItem .jumpInfo .text p {
    min-width: 12rem;
    font-size: 1.2rem;
  }
  .indexWrap .couponDetailsWrap .categoryWrap {
    margin-left: 0;
  }
  .couponDialog .dialogWrap {
    width: 84%;
    height: auto;
    position: fixed;
    top: 3%;
    left: 8%;
    font-size: 2rem;
  }
  .couponDialog .dialogWrap .dialogText {
    line-height: 2.5rem;
  }
  .couponDialog .dialogWrap .dialogCode {
    width: 90%;
    line-height: 4rem;
  }
  .couponDialog .dialogWrap .copyButton {
    width: 90%;
    line-height: 2.5rem;
  }
}
