.m-wrap {
  display: block;
  margin: 0 auto;
}
.m-banner {
  margin-bottom: 31px;
}
.banner {
  width: 100%;
  height: 300px;
  margin-bottom: 31px;
  background-image: url(/w/img/Detailspage/banner.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.banner img {
  width: 100%;
  height: 100%;
}
.m-cover img {
  width: 100%;
  height: 100%;
}
.empty::after {
  background-color: #ededed;
  height: 100%;
  width: 100%;
  content: attr(data-desc);
  display: flex;
  color: #999;
  align-items: center;
  justify-content: center;
}
.m-main {
  display: flex;
  justify-content: space-between;
  margin-top: 22px;
  margin-bottom: 70px;
  width: 1200px;
  margin: 0 auto;
  margin-bottom: 40px;
}
.m-content {
  width: 884px;
  background: #FFFFFF;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}
.m-content .laypage {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}
.m-content .laypage .layui-laypage a,
.m-content .laypage .layui-laypage span {
  height: 24px;
  padding: 0 11px;
  line-height: 24px;
  margin: 0;
}
.m-content .laypage .layui-laypage .layui-laypage-curr .layui-laypage-em {
  height: 24px;
  width: 28px !important;
  background-color: #fff;
  border: 1px solid #F0292F;
}
.m-content .laypage .page .layui-laypage a,
.m-content .laypage .page span {
  margin: 0 5px;
}
.m-content .laypage .page .layui-laypage .layui-laypage-curr em {
  color: #F0292F;
  width: 28px;
}
.m-content .laypage .page .layui-laypage .layui-laypage-skip {
  color: #333;
}
.m-content .laypage .layui-laypage button,
.m-content .laypage .layui-laypage input {
  height: 24px;
  line-height: 24px;
}
.m-advs {
  width: 300px;
}
.m-advs img {
  width: 100%;
  height: 100%;
}
.m-advs .adv-item {
  width: 300px;
  border-radius: 3px;
  margin-bottom: 20px;
}
.m-advs .adv-item.long {
  height: 472px;
}
.m-title {
  height: 40px;
  line-height: 40px;
  background: #f3f3f5;
  font-weight: bold;
  color: #333333;
  font-size: 16px;
  padding-left: 17px;
  border-radius: 3px;
  overflow: hidden;
}
.m-title::before {
  position: absolute;
  width: 3px;
  left: 0;
  top: 5px;
  content: "";
  height: 30px;
  background: #ef2228;
}
.m-flex {
  display: flex;
  align-items: center;
}
.m-inner {
  padding: 20px;
  box-sizing: border-box;
}
.m-label {
  font-size: 14px;
  width: 82px;
  text-align: right;
  color: #333;
}
.search-input {
  width: 282px;
  height: 32px;
  background: #fefefe;
  border: 1px solid #d9d9d9;
  border-radius: 3px;
  padding-left: 10px;
}
.search-input::placeholder {
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 400;
  color: #999;
}
.search-btn {
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  width: 66px;
  height: 32px;
  background: #f0292f;
  border: 1px solid #f0292f;
  margin-left: 8px;
  border-radius: 4px;
  font-size: 14px;
  color: #fff;
  text-align: center;
  line-height: 32px;
}
.m-checkbox {
  display: inline-block;
  font-size: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  position: relative;
}
.m-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  opacity: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  cursor: pointer;
  margin: 0 !important;
}
.m-checkbox input[type="checkbox"] + i {
  background: url(/w/img/m_check@2x.png);
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}
.m-checkbox input[type="checkbox"]:checked + i {
  z-index: 0;
  background: url(/w/img/m_checked@2x.png);
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-repeat: no-repeat;
}
.isActive span {
  color: #F0292F;
}
.m-text {
  color: #666;
  font-size: 14px;
}
label.m-actions {
  cursor: pointer;
  margin-bottom: 0 !important;
  font-weight: normal !important;
}
.m-actions {
  margin-left: 10px !important;
  margin-left: 15px;
}
.m-actions.active .m-text {
  color: #f0292f;
}
.m-actions > .m-text {
  cursor: pointer;
}
.m-actions > .m-text:first-child {
  margin-left: 0 !important;
}
.m-actions .m-text {
  margin-left: 6px;
  margin-bottom: 0 !important;
  font-weight: normal !important;
}
.m-actions:first-child {
  margin-left: 0;
}
.m-filter {
  height: 40px;
}
.m-card {
  margin-bottom: 20px;
  flex-shrink: 0;
  cursor: pointer;
  width: 201px;
  margin-right: calc((100% - (201px * 4)) / 3);
  height: 291px;
  font-size: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.14);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}
.m-card .m-tag-new {
  position: absolute;
  right: 7px;
  top: 0;
}
.m-card:nth-child(4n+4) {
  margin-right: 0 !important;
}
.m-card .m-cover {
  height: 163px;
  border-radius: 4px;
}
.m-card .m-cover img {
  width: 100%;
  height: 100%;
}
.m-card .m-info {
  display: flex;
  flex-direction: column;
  height: 74px;
  padding: 14px 0 14px 12px;
}
.m-card .m-info .m-price-info {
  display: flex;
  align-items: center;
}
.m-card .m-tag {
  width: 47px;
  height: 18px;
}
.m-card .m-tag img {
  width: 100%;
  height: 100%;
}
.m-card .m-card-title {
  display: flex;
  height: 18px;
  align-items: center;
  margin-bottom: 7px;
}
.m-card .m-card-title .card-name {
  font-size: 14px;
  height: 18px;
  font-family: PingFang SC;
  font-weight: bold;
  color: #333333;
  margin-left: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.m-price {
  font-size: 20px;
  font-weight: bold;
  color: #f0292f;
}
.m-store-name {
  font-size: 14px;
  font-weight: normal;
  color: #999999;
  line-height: 18px;
}
.text-gray {
  color: #999;
}
.m-sales {
  padding: 0 10px;
  height: 54px;
  border-top: 1px solid #f3f3f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.m-sales .m-cart {
  width: 26px;
  height: 26px;
  display: inline-block;
}
.m-sales .m-cart img {
  width: 100%;
  height: 100%;
}
.m-list {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start;
}
.m-pager {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.m-pager .pager-item {
  cursor: pointer;
  display: inline-block;
  padding: 0 8px;
  height: 26px;
  line-height: 24px;
  border-radius: 3px;
  border: 1px solid #ddd;
  box-sizing: border-box;
  overflow: hidden;
  text-decoration: none;
  margin: 0 4px;
}
.m-pager .pager-item.active {
  border-color: #f0292f;
  color: #f0292f;
}
.m-pager .pager-item:hover {
  text-decoration: none;
}
.m-pager input.pager-item {
  width: 26px;
  cursor: default;
}
.m-pager .not-item {
  border: none;
  cursor: default;
}
.m-select {
  width: 80px;
  height: 32px;
  background-color: #FFFFFF;
  color: #999999;
  text-align: center;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 15px;
  border: 1px solid #AAAAAA;
  cursor: pointer;
  line-height: 32px;
  overflow: hidden;
  margin-left: 10px;
}
.m-select:first-child {
  margin-left: 0px;
}
.m-select-active {
  background-image: url("/w/img/Detailspage/dui.png");
  background-repeat: no-repeat;
  background-position-x: 59px;
  border: 1px solid #EF2228;
  color: #F0292F;
}
.miss-box {
  width: 340px;
  height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.miss-box img {
  width: 250px;
  height: 250px;
  margin-bottom: 30px;
}
.miss-box p {
  font-size: 16px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #999999;
  text-align: center;
}
.m-window {
  width: 578px;
  height: 398px;
  background: #FFFFFF;
  box-shadow: 0px 2px 10px 0px rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  position: fixed;
  top: 400px;
  left: calc(50% - 290px);
  z-index: 9999;
}
.m-window .m-head {
  width: 100%;
  height: 54px;
  background: #EF2228;
  border-radius: 4px 4px 0 0;
  margin-bottom: 25px;
}
.m-window .m-head .m-center {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.m-window .m-head .m-center .m-hint {
  font-size: 16px;
  font-family: PingFang SC;
  font-weight: bold;
  color: #FFFFFF;
}
.m-window .m-head .m-center .m-close {
  cursor: pointer;
}
.m-window .m-head .m-center .m-close img {
  width: 16px;
  height: 16px;
}
.m-window .m-window-mian {
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  border-radius: 0 0 4px 4px;
}
.m-window .m-window-mian .m-main-title {
  width: 100%;
  margin-bottom: 25px;
}
.m-window .m-window-mian .m-main-title p {
  text-align: center;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: bold;
  color: #333333;
  line-height: 26px;
  letter-spacing: 2px;
}
.m-window .m-window-mian .m-code {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
.m-window .m-window-mian .m-code .code img {
  width: 142px;
  height: 142px;
  border: 1px solid #E6E9EC;
}
.m-window .m-window-mian .m-code .code p {
  text-align: center;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #333333;
  line-height: 36px;
}
.m-window .m-window-mian .m-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 27px;
  cursor: pointer;
}
.m-window .m-window-mian .m-btn .m-btn-box {
  width: 238px;
  height: 36px;
  background: #EF2228;
  border-radius: 4px;
  font-size: 14px;
  font-family: PingFang SC;
  font-weight: 500;
  color: #FFFFFF;
  text-align: center;
  line-height: 36px;
}
