* {
  box-sizing: border-box;
}

html {
  font-size: 4.27vw;
}

body,
h1,
h2,
h3,
p,
div,
ol,
ul,
input,
button {
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
  max-width: 100%;
  font-family: Microsoft YaHei, Arial, Helvetica, sans-serif;
  -webkit-text-size-adjust: none;
}

ol,
ul,
li {
  list-style: none;
}

a {
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  color: #000;
}

a:focus {
  outline: none;
}

input,
button,
textarea {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: transparent;
  -webkit-appearance: none;
}

button {
  outline: 0;
}

img {
  border: 0;
  vertical-align: middle;
}

.mask,
.mc-bg {
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 200;
}

.fn-clear:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: "";
  clear: both;
  height: 0;
}

.fn-clear {
  clear: both;
  zoom: 1;
}

.fn-left {
  float: left;
}

.fn-right {
  float: right;
}

.fn-hide {
  display: none;
}

.tc {
  text-align: center;
}

.right {
  text-align: right;
}

.db {
  display: block;
}

.db-line {
  display: inline-block;
}

.df {
  display: -webkit-box;
  display: flex;
  display: -webkit-flex;
  justify-content: flex-start;
  align-items: center;
}

.dflex {
  display: -webkit-box;
  display: flex;
  display: -webkit-flex;
}

.fn-bold {
  font-weight: bold;
}

.fn-nomal {
  font-weight: normal;
}

.flex {
  flex: 1;
  -moz-box-flex: 1;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  box-flex: 1;
  position: relative;
}

.fn20 {
  font-size: 2.67vw;
}

.fn22 {
  font-size: 2.93vw;
}

.fn24 {
  font-size: 3.2vw;
}

.fn28 {
  font-size: 3.733vw;
}
.fn30 {
  font-size: 4vw;
}
.fn32 {
  font-size: 4.26vw;
}
.fn34 {
  font-size: 4.53vw;
}

.fn36 {
  font-size: 4.8vw;
}

.fn42 {
  font-size: 5.6vw;
}

.fn-grey {
  color: #999;
}

.fn-orange {
  color: #ff5446;
}

.fn-red {
  color: #fc0a0a;
}

.fn-black {
  color: #000;
}

.white-bg {
  background: #fff;
}

.grey-bg {
  background: #f5f5f5;
}
.linear-bg {
  background: linear-gradient(
    180deg,
    #ffc8cb 5%,
    #ffd1ff 6.91%,
    #fad0ca 20%,
    #fad0c4 69%
  );
}
.w92 {
  width: 92vw;
  margin: 0 auto;
}

[v-cloak] {
  display: none;
}

.pr {
  position: relative;
}

.pa {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
}

.mb15 {
  margin-bottom: 15px;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 2.66vw;
}

.mb20 {
  margin-bottom: 2.66vw;
}

.mb2 {
  margin-bottom: 2vw;
}

.grey {
  color: #666;
}

.mt15 {
  margin-top: 15px;
}

.goods-tit-one {
  overflow: hidden;
  word-wrap: normal;
  display: block;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: break-all;
}

.goods-tit-two {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
  line-height: 1.2;
}

.goods-tit-three {
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
}

.orange-price {
  text-decoration: line-through;
}

.mask .ad-float-box {
  position: fixed;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
}

.mask .ad-float-box .ad-box-close {
  display: block;
  width: 36px;
  margin: 15px auto 0;
}

.mask .ad-float-box .ad-pic-box {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}

.mask .ad-float-box .ad-pic-list {
  width: 84vw;
  position: absolute;
  left: 4vw;
  bottom: 20px;
}

.mask .ad-float-box .ad-pic-list li {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  width: 25.33vw;
}

.mask .ad-float-box .ad-pic-list li:nth-child(2n) {
  margin: 0 4vw;
}

.goods-tag-cell-info {
  height: 54px;
}

.bottom-nav {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  text-align: center;
  box-shadow: 0px -1px 0px 0px #e6e6e6;
  padding: 4px 0;
  z-index: 10;
  /* background: #cdcffb; */
  /* background: url("../images/bottom-bg.png") no-repeat; */
  /* background-size: 100% 100%; */
  color: #272727;
}
.bottom-nav a {
  color: #272727;
}
.stamp-bottom-nav.bottom-nav .selected {
  color: #fff;
}
.bottom-nav .selected {
  color: #f68964;
  font-size: 2.667vw;
  font-weight: bold;
}

.page-nav-icon {
  /* width: 9.467vw;
  height: 7.2vw; */
  width: 9.333vw;
  height: 9.333vw;
  display: block;
  margin: 0 auto;
}

.page-link-index {
  background: url("../images/bottom-img/home.png") no-repeat;
  background-size: 100% auto;
}

.bottom-nav .selected .page-link-index {
  background: url("../images/bottom-img/home-activited.png") no-repeat;
  background-size: 100% auto;
}

/* .page-link-shop {
  background: url("../images/bottom_nav_5.png") no-repeat;
  background-size: 100% auto;
}

.bottom-nav .selected .page-link-shop {
  background: url("../images/bottom_nav_selected_5.png") no-repeat;
  background-size: 100% auto;
} */

.page-link-cart {
  background: url("../images/bottom-img/cart.png?v=20250722") no-repeat;
  background-size: 100% auto;
}

.bottom-nav .selected .page-link-cart {
  background: url("../images/bottom-img/cart-activited.png") no-repeat;
  background-size: 100% auto;
}

.page-link-my {
  background: url("../images/bottom-img/my.png?v=20250722") no-repeat;
  background-size: 100% auto;
}

.bottom-nav .selected .page-link-my {
  background: url("../images/bottom-img/my-activited.png?v=20250722") no-repeat;
  background-size: 100% auto;
}
.page-link-shop {
  background: url("../images/bottom-img/classify.png?v=20250722") no-repeat;
  background-size: 100% auto;
}
.bottom-nav .selected .page-link-shop {
  background: url("../images/bottom-img/classify-activited.png?v=20250722")
    no-repeat;
  background-size: 100% auto;
}

.page-link-stamp {
  background: url("../images/bottom_nav_6.png?v=20240926") no-repeat;
  background-size: 100% auto;
}
.bottom-nav .selected .page-link-stamp {
  background: url("../images/bottom_nav_selected_6.png?v=20240926") no-repeat;
  background-size: 100% auto;
}
.good-num-icon {
  background: url("../images/icon_good_num.png?v=20240926") no-repeat;
  background-size: contain;
  width: 5.6vw;
  height: 3.867vw;
  position: absolute;
  top: -1.333vw;
  right: 3.267vw;
  font-size: 2.4vw;
  text-align: center;
  color: #000;
  z-index: 10;
  font-weight: bold;
}
.stamp-bottom-nav {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  text-align: center;
  box-shadow: 0px -1px 0px 0px #e6e6e6;
  padding: 4px 0;
  z-index: 10;
  background: #cdcffb;
}
.stamp-bottom-nav .page-link-index {
  background: url("../images/bottom_nav_1.png?v=20240926") no-repeat;
  background-size: 100% auto;
}
.stamp-bottom-nav .page-link-cart {
  background: url("../images/bottom_nav_31.png?v=20240926") no-repeat;
  background-size: 100% auto;
}
.stamp-bottom-nav .selected .page-link-cart {
  background: url("../images/bottom_nav_selected_31.png?v=20240926") no-repeat;
  background-size: 100% auto;
}
.stamp-bottom-nav .page-link-shop {
  /* background: url("../images/bottom_nav_5.png?v=20240926") no-repeat; */
  /* background-size: 100% auto; */
}
.stamp-bottom-nav .selected .page-link-shop {
  /* background: url("../images/bottom_nav_selected_5?v=20240926") no-repeat; */
  /* background-size: 100% auto; */
}
.stamp-bottom-nav .page-link-my {
  background: url("../images/bottom_nav_4.png?v=20240926") no-repeat;
  background-size: 100% auto;
}
.stamp-bottom-nav .selected .page-link-my {
  background: url("../images/bottom_nav_selected_4.png?v=20240926") no-repeat;
  background-size: 100% auto;
}

.pd15 {
  padding-bottom: 15px;
}

.rd16 {
  border-radius: 16px;
}

.return-btn {
  position: fixed;
  left: 4vw;
  top: 4vw;
  width: 40px;
  height: 40px;
  display: block;
  background: url("../images/icon_back.png") no-repeat;
  background-size: 100% auto;
  z-index: 99;
}

.footer-btn-box,
.footer-nav-box {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #dadada;
  z-index: 10;
}

.footer-nav-box {
  border-top: 1px solid #f2f2f2;
  padding: 0.9vw 0 0.2vw 0;
}

.footer-nav-box .footer-nav-icon {
  width: 8vw;
  display: block;
  margin: 0 auto -0.5vw;
}

.footer-nav-box .footer-nav-icon.scale {
  transform: scale(1.39);
  transform-origin: bottom center;
}

.footer-nav-selected {
  color: #518ff4;
}

.iponex {
  padding-bottom: 2vw !important;
}

.rd10 {
  border-radius: 1.33vw;
  overflow: hidden;
}

.rd20 {
  border-radius: 2.66vw;
  overflow: hidden;
}

.prison-btn {
  width: 89.33vw;
  height: 8vw;
  line-height: 8vw;
  background: #518ff4;
  color: #fff;
  border-radius: 4vw;
  margin: 3.2vw auto;
}

.prison-header {
  width: 100%;
  height: 13.33vw;
  line-height: 12.33vw;
  background: #518ff4;
  color: #fff;
  font-size: 5vw;
  margin-bottom: -1vw;
}

.btn-color {
  background: #0ec10e;
  background: -ms-linear-gradient(right, #00a600, #14cc14);
  background: -moz-linear-gradient(right, #00a600, #14cc14);
  background: -webkit-gradient(
    linear,
    100% 100%,
    0% 0%,
    from(#00a600),
    to(#14cc14)
  );
  background: -webkit-gradient(
    linear,
    100% 100%,
    0% 0%,
    from(#00a600),
    to(#14cc14)
  );
  background: -webkit-linear-gradient(right, #00a600, #14cc14);
  background: -o-linear-gradient(right, #00a600, #14cc14);
}

.weui_dialog,
.weui_toast {
  position: fixed;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%) !important;
  margin-left: 0 !important;
}

.diy .qr-code,
.mandelivery .qr-code {
  background: #fff;
  width: 80%;
  margin: 30% auto;
  min-height: 270px;
  border-radius: 16px;
  text-align: center;
  padding-top: 50px;
  position: relative;
}

.diy .qr-code img,
.mandelivery .qr-code img {
  display: block;
  margin: 0 auto;
  width: 140px;
  height: 140px;
}

.diy .qr-code p,
.mandelivery .qr-code p {
  margin-top: 20px;
}

.width100 {
  width: 100%;
  display: block;
}
.diy-tips {
  height: 8vw;
  line-height: 8vw;
  background: antiquewhite;
  color: #666;
}
.form-back-link {
  position: fixed;
  left: 0;
  bottom: 20%;
  z-index: 100;
  width: 90px;
  height: 30px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid #cccccc;
  border-radius: 0px 30px 30px 0px;
  line-height: 30px;
  font-size: 12px;
}
.form-back-link img {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0 3px 3px 0;
}
.red-icon {
  background: #ea2828;
  width: 2.13vw;
  height: 2.13vw;
  display: block;
  border-radius: 1.5vw;
  position: absolute;
  right: 8vw;
  top: 0;
}
.pre-sale-tag {
  display: inline-block;
  width: 4.333vw;
  height: 4.333vw;
  background: #ff4b3e;
  border-radius: 50%;
  color: #fff;
  font-size: 3vw;
  text-align: center;
  line-height: 4.333vw;
  margin-right: 1.333vw;
  vertical-align: middle;
}

.pre-sale-tag-small {
  display: inline-block;
  width: 3.733vw;
  height: 3.733vw;
  background: #ff4b3e;
  border-radius: 50%;
  color: #fff;
  font-size: 2.667vw;
  text-align: center;
  line-height: 3.733vw;
  margin-right: 1.333vw;
  vertical-align: middle;
}
