@import url('../css/head_foot.css');
#content .banner {
  width: 100%;
  padding: 36px 0 76px;
  background-image: url('../images/banner.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}
#content .banner .ba_cont {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}
#content .banner .ba_cont h2 {
  font-family: s;
  font-weight: 600;
  font-size: 48px;
  color: #FFFFFF;
  line-height: 56px;
  text-shadow: 0px 4px 2px rgba(121, 0, 36, 0.3);
  margin-bottom: 24px;
}
#content .banner .ba_cont h4 {
  font-size: 16px;
  font-family: m;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
  margin-bottom: 40px;
}
#content .banner .ba_cont .save {
  width: 248px;
  height: 64px;
  background: #FFD956;
  border-radius: 32px 32px 32px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#content .banner .ba_cont .save img {
  width: 32px;
  height: 32px;
  margin-right: 4px;
}
#content .banner .ba_cont .save span {
  font-family: m;
  font-weight: 500;
  font-size: 24px;
  color: #333333;
}
#content .cont {
  width: 1280px;
  padding: 16px 60px;
  margin: 0 auto;
}
#content .cont .ad {
  position: relative;
  margin-bottom: 36px;
}
#content .cont .ad .ad_title {
  position: absolute;
  top: -14px;
  right: 0;
  transform: translateX(-50%);
  font-size: 14px;
  font-family: r;
  font-weight: 400;
  color: #adabab;
}
#content .cont .ad .ad_cont {
  width: 100%;
  min-height: 90px;
}
#content .cont .brand-box,
#content .cont .top-cop,
#content .cont .cate {
  margin-bottom: 32px;
}
#content .cont .brand-box h3,
#content .cont .top-cop h3,
#content .cont .cate h3 {
  font-family: s;
  font-weight: 600;
  font-size: 24px;
  color: #333333;
  margin-bottom: 24px;
}
#content .cont .brand-box ul {
  display: grid;
  grid-template-columns: repeat(8, minmax(50px, 1fr));
  grid-gap: 24px;
}
#content .cont .brand-box ul li {
  position: relative;
}
#content .cont .brand-box ul li a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
}
#content .cont .brand-box ul li .img-box {
  position: relative;
  padding-top: 100%;
  width: 100%;
  overflow: hidden;
  margin-bottom: 8px;
  border-radius: 16px 16px 16px 16px;
  border: 1px solid #EEEEEE;
}
#content .cont .brand-box ul li .img-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#content .cont .brand-box ul li span {
  display: block;
  font-family: m;
  font-weight: 500;
  font-size: 16px;
  color: #666666;
  text-align: center;
}
#content .cont .brand-box ul li:hover span {
  color: #FF1057;
}
#content .cont .cate ul {
  display: grid;
  grid-template-columns: repeat(8, minmax(50px, 1fr));
  grid-gap: 24px;
}
#content .cont .cate ul li {
  position: relative;
}
#content .cont .cate ul li a {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
}
#content .cont .cate ul li .img-box {
  width: 100%;
  padding: 16px 0;
  margin-bottom: 8px;
  border-radius: 16px 16px 16px 16px;
  border: 1px solid #EEEEEE;
  text-align: center;
}
#content .cont .cate ul li .img-box img {
  width: 40px;
  height: 40px;
}
#content .cont .cate ul li span {
  display: block;
  font-family: m;
  font-weight: 500;
  font-size: 14px;
  color: #666666;
  text-align: center;
}
#content .cont .cate ul li:hover .img-box {
  border-color: #FF1057;
}
#content .cont .cate ul li:hover span {
  color: #FF1057;
}
#content .cont .top_coupons_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(100px, 1fr));
  grid-gap: 16px;
}
#content .cont .top_coupons_list .top_coupons_item {
  border-radius: 16px;
  border: 1px solid #eee;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#content .cont .top_coupons_list .top_coupons_item .img_box {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
}
#content .cont .top_coupons_list .top_coupons_item .img_box img {
  width: 100%;
}
#content .cont .top_coupons_list .top_coupons_item .item_c {
  width: calc(100% - 259px);
  display: flex;
  flex-direction: column;
}
#content .cont .top_coupons_list .top_coupons_item .item_c .title_span {
  font-family: m;
  font-weight: 500;
  font-size: 14px;
  color: #666666;
  margin-bottom: 8px;
}
#content .cont .top_coupons_list .top_coupons_item .item_c h4 {
  font-family: s;
  font-weight: bold;
  font-size: 18px;
  color: #333333;
  line-height: 21px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
#content .cont .top_coupons_list .top_coupons_item .list-right {
  display: flex;
  align-items: center;
}
#content .cont .top_coupons_list .top_coupons_item .list-right .tran-btn {
  display: flex;
  color: #fff;
  line-height: 44px;
  position: relative;
  text-align: center;
  width: 135px;
  height: 44px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  font-size: 14px;
}
#content .cont .top_coupons_list .top_coupons_item .list-right .tran-btn .tran-btn-name {
  width: 104px;
  background: #FF1057;
  position: absolute;
  z-index: 1;
  transition: all 0.3s;
  font-family: m;
}
#content .cont .top_coupons_list .top_coupons_item .list-right .tran-btn .tran-btn-sign {
  display: block;
  width: 44px;
  height: 44px;
  background-color: #eee;
  color: #666;
  padding-right: 5px;
  border-top-right-radius: 8px;
  border-end-end-radius: 8px;
  position: absolute;
  right: 0;
  word-break: break-all;
}
#content .cont .top_coupons_list .top_coupons_item .list-right .tran-btn .tran-btn-img {
  width: 26px;
  position: absolute;
  top: -1px;
  right: 10px;
  transition: all 0.3s;
  z-index: 10;
}
#content .cont .top_coupons_list .top_coupons_item .list-right .tran-btn .tran-btn-img img {
  height: 44px;
}
#content .cont .top_coupons_list .top_coupons_item .deal {
  width: 135px;
  height: 44px;
  background: #FEAB28;
  border-radius: 8px 8px 8px 8px;
  font-family: r;
  font-weight: 400;
  font-size: 16px;
  color: #FFFFFF;
  text-align: center;
  line-height: 44px;
}
@media (any-hover: hover) {
  #content .cont .top_coupons_list .top_coupons_item:hover .item_c h4 {
    color: #FF1057;
  }
  #content .cont .top_coupons_list .top_coupons_item:hover .list-right .tran-btn .tran-btn-name {
    width: 100px;
    transition: all 0.3s;
  }
  #content .cont .top_coupons_list .top_coupons_item:hover .list-right .tran-btn .tran-btn-img {
    right: 21px;
    transition: all 0.3s;
  }
}
@media (any-hover: hover) {
  #content .cont .top_coupons_list .huang:hover .item_c h4 {
    color: #E58C00 !important;
  }
  #content .cont .top_coupons_list .huang:hover .deal {
    background: #E58C00 !important;
  }
}
@media (min-width: 860px) and (max-width: 1200px) {
  #content .banner .ba_cont h2 {
    margin-bottom: 4px;
    font-size: 36px;
  }
  #content .banner .ba_cont h4 {
    font-size: 14px;
    margin-bottom: 20px;
  }
  #content .cont {
    width: 100%;
    padding: 0 16px;
  }
  #content .cont .brand-box ul {
    grid-template-columns: repeat(8, minmax(50px, 1fr));
  }
  #content .cont .cate ul {
    display: grid;
    grid-template-columns: repeat(8, minmax(50px, 1fr));
    grid-gap: 24px;
  }
  #content .cont .top_coupons_list {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }
  #content .cont .top_coupons_list .top_coupons_item .item_c {
    width: calc(100% - 112px);
  }
  #content .cont .top_coupons_list .top_coupons_item .list-right {
    display: none;
  }
  #content .cont .top_coupons_list .top_coupons_item .deal {
    display: none;
  }
}
@media (min-width: 750px) and (max-width: 859px) {
  #content .banner .ba_cont h2 {
    margin-bottom: 4px;
    font-size: 36px;
  }
  #content .banner .ba_cont h4 {
    font-size: 14px;
    margin-bottom: 20px;
  }
  #content .cont {
    width: 100%;
    padding: 0 16px;
  }
  #content .cont .brand-box ul {
    grid-template-columns: repeat(6, minmax(50px, 1fr));
  }
  #content .cont .cate ul {
    display: grid;
    grid-template-columns: repeat(6, minmax(50px, 1fr));
    grid-gap: 24px;
  }
  #content .cont .top_coupons_list {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }
  #content .cont .top_coupons_list .top_coupons_item .item_c {
    width: calc(100% - 112px);
  }
  #content .cont .top_coupons_list .top_coupons_item .list-right {
    display: none;
  }
  #content .cont .top_coupons_list .top_coupons_item .deal {
    display: none;
  }
}
@media (min-width: 560px) and (max-width: 749px) {
  #content .banner .ba_cont h2 {
    margin-bottom: 4px;
    font-size: 36px;
  }
  #content .banner .ba_cont h4 {
    font-size: 14px;
    margin-bottom: 20px;
  }
  #content .cont {
    width: 100%;
    padding: 0 16px;
  }
  #content .cont .brand-box ul {
    grid-template-columns: repeat(5, minmax(50px, 1fr));
  }
  #content .cont .cate ul {
    display: grid;
    grid-template-columns: repeat(5, minmax(50px, 1fr));
    grid-gap: 24px;
  }
  #content .cont .top_coupons_list {
    grid-template-columns: repeat(2, minmax(100px, 1fr));
  }
  #content .cont .top_coupons_list .top_coupons_item .item_c {
    width: calc(100% - 112px);
  }
  #content .cont .top_coupons_list .top_coupons_item .list-right {
    display: none;
  }
  #content .cont .top_coupons_list .top_coupons_item .deal {
    display: none;
  }
}
@media (min-width: 0px) and (max-width: 559px) {
  #content .banner {
    padding: 36px 12px 46px;
    margin-bottom: 0;
  }
  #content .banner .ba_cont h2 {
    margin-bottom: 4px;
    font-size: 28px;
  }
  #content .banner .ba_cont h4 {
    font-size: 14px;
    margin-bottom: 20px;
  }
  #content .banner .ba_cont .save {
    height: 44px;
  }
  #content .cont {
    width: 100%;
    padding: 0 16px;
  }
  #content .cont .brand-box ul {
    grid-template-columns: repeat(3, minmax(50px, 1fr));
  }
  #content .cont .cate ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(50px, 1fr));
    grid-gap: 24px;
  }
  #content .cont .top_coupons_list {
    grid-template-columns: repeat(1, minmax(100px, 1fr));
  }
  #content .cont .top_coupons_list .top_coupons_item .item_c {
    width: calc(100% - 112px);
  }
  #content .cont .top_coupons_list .top_coupons_item .list-right {
    display: none;
  }
  #content .cont .top_coupons_list .top_coupons_item .deal {
    display: none;
  }
}
