@import url(common.css);
@import url(head.css);
@import url(sort.css);
@import url(foot.css);
.indexWrap .topInfo {
  padding: 0;
}
.indexWrap .popularContWrap {
  height: 100%;
  border-radius: 1rem;
  margin: 2rem auto;
}
.indexWrap .popularContWrap .topCouponList {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(4, calc((100% - 4.8rem) / 4));
  grid-gap: 1.6rem 1.6rem;
  align-items: center;
  justify-content: center;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem {
  padding: 1.6rem;
  text-align: center;
  border-radius: 0.8rem;
  border: 1px solid #EEEEEE;
  position: relative;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .coverlink {
  display: block;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .brandLogo {
  height: 14rem;
  width: 14rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.8rem;
  box-shadow: 0px 1px 3px rgba(60, 64, 67, 0.14902), 0px 1px 2px rgba(60, 64, 67, 0.301961);
  overflow: hidden;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .brandLogo img {
  width: 100%;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .brandLogo .brandsName {
  color: #A32034;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
  padding: 1.2rem;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .couponDetail .brandTitle {
  height: 2rem;
  color: #F82C4C;
  font-size: 1.6rem;
  line-height: 2rem;
  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;
  margin: 1rem 0 0.4rem 0;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .couponDetail .brandName {
  height: 4.4rem;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 2.2rem;
  text-align: center;
  color: #999999;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: break-word;
  margin-bottom: 1rem;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .jumpInfo {
  display: flex;
  justify-content: center;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .jumpInfo .text {
  display: flex;
  position: relative;
  border: 0.5px dashed #F82C4C;
  border-radius: 3px;
  background-color: #F82C4C;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .jumpInfo .text span {
  display: inline-block;
  min-width: 13rem;
  color: #FFFFFF;
  font-size: 1.4rem;
  line-height: 2.2rem;
  font-weight: 500;
  padding-right: 1rem;
  margin: 0.5rem auto;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem .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 .popularContWrap .topCouponList .topCoupItem .jumpInfo .text img {
  position: absolute;
  z-index: 0;
  width: 1.6rem;
  height: 1.6rem;
  right: 0;
  bottom: -0.8rem;
}
.indexWrap .popularContWrap .topCouponList .topCoupItem:hover {
  background-color: #F8F7F7;
}
.indexWrap .popularContWrap .topCouponList .item_card {
  display: grid;
  grid-column: span 4;
}
@media only screen and (max-width: 767px) {
  .indexWrap {
    display: block;
    padding: 1.2rem 0.8rem;
  }
  .indexWrap .popularContWrap .topCouponList {
    grid-template-columns: repeat(2, calc((100% - 1.2rem) / 2));
    grid-gap: 1.2rem 1.2rem;
  }
  .indexWrap .popularContWrap .topCouponList .topCoupItem {
    padding: 1.6rem 1.2rem;
  }
  .indexWrap .popularContWrap .topCouponList .topCoupItem .brandLogo {
    height: 10.4rem;
    width: 10.4rem;
  }
  .indexWrap .popularContWrap .topCouponList .topCoupItem .jumpInfo .text span {
    min-width: 11.5rem;
    font-size: 1.2rem;
  }
  .indexWrap .popularContWrap .topCouponList .item_card {
    display: grid;
    grid-column: span 2;
  }
}
