html,
body {
  overflow: hidden;
  height: 100%;
  background-color: #fff;
}

#gHeader {
  position: fixed;
}

.pre-loading {
  background: rgba(248, 248, 248, 0.5) !important;
}
.pre-block {
  text-align: center;
  position: absolute;
  top: 1.95rem !important;
  bottom: 0 !important;
  right: 0 !important;
  width: auto !important;
  height: auto !important;
  left: 0 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(248, 248, 248, 1);
  margin: 0 !important;
}

.categroy-cnt {
  width: 22%;
  min-width: 22%;
  height: 100%;
  overflow-y: auto;
  display: block;
  background: #f7f7f7;
  position: relative;
  top: 60px;
}
.categroy-cnt .category {
  display: block;
  color: #333;
  line-height: 1.2em;
  font-size: 0.52rem;
}
.category-item.selected {
  background-color: #fff;
  color: #e1251b;
}

.category-item.selected::before {
  position: absolute;
  top: 50%;
  left: 0;
  content: '';
  width: 0.123rem;
  height: 0.72rem;
  background-color: #e1251b;
  transform: translateY(-50%);
}

.categroy-cnt .selected .category {
  color: #e1251b;
}

.categroy-list {
  position: absolute;
  width: 100%;
}

.category-item {
  position: relative;
  padding: 0 0.7rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-main {
  position: relative;
  height: 100vh;
  display: flex;
  box-sizing: border-box;
  clear: both;
  overflow: hidden;
  padding: 3.5rem 0 2rem;
  margin: 0;
  background-color: #fff;
}

.categroy-rgt {
  flex: 1;
  width: 75%;
  max-width: 75%;
  height: 100%;
  overflow-y: auto;
  padding: 0 0 0 0.4rem;
  box-sizing: border-box;
  position: relative;
  top: 60px;
}

.categroy-child-list {
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  padding: 0 0.434rem 0.434rem;
}

.categroy-child-list dl.wrap {
  box-sizing: border-box;
}

.categroy-child-list p.more i {
  font-size: 0.5rem;
  color: #e96059;
  margin-right: 0.21rem;
}

.categroy-child-list dt {
  line-height: 1.48rem;
  margin-top: 0.434rem;
}

.categroy-child-list dt:first-child {
  margin-top: 0;
}

.categroy-child-list dt a {
  display: block;
  width: 100%;
  height: 1.48rem;
  padding: 0 0 0 0.434rem;
  font-size: 0.61rem;
  line-height: 1.48rem;
  color: #2d2d2d;
  box-sizing: border-box;
  font-family: 'PingFang-SC-Bold';
}

.categroy-child-list dd {
  display: inline-block;
  width: 33.33%;
  border-radius: 5px;
  font-size: 0.55rem;
  vertical-align: top;
  margin-top: 0.434rem;
  box-sizing: border-box;
}

.categroy-child-list dd:nth-child(-n + 3) {
  margin-top: 0.26rem;
}

.categroy-child-list dd a {
  display: block;
  color: #333333;
  width: 100%;
  padding: 0 0.434rem;
  font-size: 0.52rem;
  box-sizing: border-box;
}

.categroy-child-list dd a .cat_pic {
  font-size: 0;
  line-height: 0 !important;
  width: 2.95rem;
  height: 2.95rem;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

.categroy-child-list dd a .cat_pic img {
  max-width: 100%;
  max-height: 100%;
}

.categroy-child-list dd a .cat_name {
  display: block;
  text-align: center;
  font-size: 12px;
  line-height: 1.43rem;
  height: 1.43rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.categroy-child-list dt i.col0 {
  background-color: #ed5564;
}

.pre-loading {
  background: rgba(248, 248, 248, 0.95);
  position: fixed;
  z-index: 4000;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.pre-block {
  text-align: center;
  position: absolute;
  z-index: 1;
  width: 6rem;
  height: 1rem;
  font-size: 0.55rem;
  color: #666;
  top: 50%;
  left: 50%;
  margin: -0.5rem 0 0 -3rem;
}

.spinner {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.4em;
  font-size: 1em;
  width: 1em;
  height: 1em;
  text-align: left;
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.1em rgba(58, 168, 237, 0.3);
}

.spinner i {
  position: absolute;
  clip: rect(0, 1em, 1em, 0.5em);
  width: 1em;
  height: 1em;
  animation: spinner-circle-clipper 1s ease-in-out infinite;
  -webkit-animation: spinner-circle-clipper 1s ease-in-out infinite;
}

.cat_wrap_dd {
  background: #fff;
  box-shadow: 0 0 5px #f5f5f5;
  border-radius: 0.13rem;
}

/*头部搜索框样式*/

.header-wrap {
  display: block;
  width: 100%;
  min-width: 320px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.header-title {
  display: inline-block;
  margin: 0 auto;
}
.header-title h1 {
  font-size: 0.65rem;
  line-height: 1.95rem;
  height: 1.95rem;
  color: #2d2d2d;
}
.header-title1{
  position: relative;
  left: -40px;
  display: inline-block;
  margin: 0 auto;
  font-size: 0.65rem;
  line-height: 1.95rem;
  height: 1.95rem;
  color: #ca1313;
}
i.my-s-05{
  background-image: url(../images/usercenter/my_s_10.png);
  background-size: cover;
}

.nearest-store {
  position: fixed;
  top: 1.95rem;
  width: 100%;
  height: 1.55rem;
  z-index: 1;
  display: flex;
  border-bottom: 1px solid #f7f7f7;
  font-size: 0.55rem;
  align-items: center;
  box-sizing: border-box;
}
.nearest-store .storename {
  flex: 1;
  display: flex;
  overflow: hidden;
  padding-left: 0.5rem;
  align-items: center;
}
.nearest-store .storename .van-icon {
  margin-left: 0.3rem;
}
.nearest-store .distance {
  padding: 0 0.5rem;
}

/**** 自提 - 商品列表 ****/
.goods-item {
  display: flex;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f7f7f7;
  align-items: center;
}
.goods-item .goods-pic {
  width: 3.6rem;
  height: 3.6rem;
  min-width: 3.6rem;
  min-height: 3.6rem;
  background: #fff;
}
.goods-item .goods-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.goods-item .goods-info {
  flex: 1;
  padding-left: 0.4rem;
  box-sizing: border-box;
}
.goods-item .goods-info .goods-basic {
  width: 100%;
}

.goods-item .goods-info h6 {
  width: 100%;
  font-size: 0.56rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  color: #232326;
  padding: 0;
  margin: 0;
  line-height: 1.2em;
}
.goods-item .goods-info .goods-jingle {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  color: #888;
  font-size: 0.52rem;
  margin-top: 0.1rem;
  line-height: 1.2em;
}
.goods-item .goods-info .goods-type {
  margin-top: 0.2rem;
  display: flex;
}
.goods-item .goods-info .goods-type span {
  height: 0.65rem;
  border-radius: 0.325rem;
  padding: 0 0.17rem;
  color: #fff;
  line-height: 0.65rem;
  font-size: 0.47rem;
  background: linear-gradient(to right, #fc1c1c, #ff5539);
  text-align: center;
  margin-top: 0.1rem;
  margin-right: 0.4rem;
}

.goods-item .goods-info .goods-price {
  display: flex;
  margin-top: 0.2rem;
  align-items: center;
}

.goods-item .goods-info .goods-price .price {
  flex: 1;
  font-size: 0.52rem;
  color: #e1251b;
}
.goods-item .goods-info .goods-price .price em {
  font-size: 0.7rem;
}
.goods-item .goods-info .goods-price .price span {
  margin-left: 0.15rem;
  color: #888;
  text-decoration: line-through;
}
.goods-item .goods-info .goods-price .van-stepper__input {
  border: none;
}

.list-cartbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2rem;
  background: #fff;
  z-index: 3000;
  border-top: 1px solid #e2e5e9;
  display: flex;
}
.list-cartbar .cart-info {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 0 0.5rem;
}
.list-cartbar .cart-info .cart-count {
  flex: 1;
  display: flex;
  align-items: center;
}
.list-cartbar .cart-info .cart-count .van-icon {
  font-size: 1rem;
}

.list-cartbar .cart-info .cart-count span {
  font-size: 0.56rem;
  margin-left: 0.5rem;
}
.list-cartbar .cart-info .cart-total {
  font-size: 0.56rem;
}

.list-cartbar .to-pay {
  width: 5rem;
  background: #bbb;
  color: #fff;
  text-align: center;
  height: 100%;
  line-height: 2rem;
  font-size: 0.65rem;
}
.list-cartbar .to-pay.enabled {
  background-color: #f23030;
}

.no-data {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: -6rem 0 0 -3rem;
  width: 6rem;
  height: 6rem;
  background: url(../images/no-data.png) no-repeat 50% 0 /100%;
  box-sizing: border-box;
  padding-top: 5rem;
  font-size: 0.52rem;
  color: #888;
  text-align: center;
}

.cart-pop {
  padding-bottom: 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cart-pop .cart-pop-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 1.95rem;
  border-bottom: 1px solid #e2e5e9;
  padding: 0 0.5rem;
}
.cart-pop .cart-pop-title .cart-total,
.cart-pop .cart-pop-title .cart-clear {
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}
.cart-pop .cart-pop-title .cart-total span {
  font-size: 0.56rem;
  margin-right: 0.5rem;
}

.cart-pop .cart-pop-title .cart-clear span {
  margin-left: 0.2rem;
  font-size: 0.56rem;
}
.cart-no-data {
  height: 8rem;
  text-align: center;
}
.cart-no-data i {
  margin: 1rem auto 0 auto;
  display: block;
  width: 7rem;
  height: 4rem;
  background: url(../images/cart_empty.png) no-repeat 50% 50%/100% auto;
}
.cart-no-data div {
  font-size: 0.6rem;
  line-height: 1.5em;
}

.cart-pop .cart-list {
  max-height: 70vh !important;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  padding: 0.5rem;
  border-bottom: 1px solid #f7f7f7;
  align-items: center;
}
.cart-item .goods-pic {
  min-width: 2.7rem;
  width: 2.7rem;
  height: 2.7rem;
  background: #f7f7f7;
}
.cart-item .goods-pic img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-item .goods-info {
  flex: 1;
  padding-left: 0.4rem;
}
.cart-item .goods-info .goods-basic {
  padding: 0;
  display: flex;
  align-items: center;
}

.cart-item .goods-info h6 {
  width: auto;
  flex: 1;
  font-size: 0.56rem;
  color: #232326;
  padding: 0;
  margin: 0;
  line-height: 1.2em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.cart-item .goods-info .goods-basic .del {
  padding-left: 0.8rem;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
}

.cart-item .goods-info .goods-price {
  display: flex;
  margin-top: 0.2rem;
  align-items: center;
  padding: 0;
}

.cart-item .goods-info .goods-price .price {
  flex: 1;
  font-size: 0.52rem;
  color: #e1251b;
}
.cart-item .goods-info .goods-price .price em {
  font-size: 0.7rem;
}
.cart-item .goods-info .goods-price .price span {
  margin-left: 0.15rem;
  color: #888;
  text-decoration: line-through;
}
.cart-item .goods-info .goods-price .van-stepper__input {
  border: none;
}

/**** 自提 - 门店选择 ****/

.sf-main {
  padding-top: 3.7rem;
  background-color: #f5f5f5;
  height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;
}
.store-select {
  position: fixed;
  top: 1.95rem;
  width: 100%;
  max-width: 640px;
  height: 1.75rem;
  z-index: 1;
  border-bottom: 1px solid #f7f7f7;
  font-size: 0.55rem;
  box-sizing: border-box;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}
.store-select .select {
  width: 4rem;
  display: flex;
  align-items: center;
}
.store-select .select .van-cell,
.store-select .input .van-cell {
  padding: 0;
}
.store-select .select .van-icon {
  margin-left: 0.3rem;
}
.store-select .input {
  padding-left: 1rem;
  flex: 1;
  align-items: center;
}
.store-select .input .van-field__control,
.store-select .input .van-button {
  height: 1.12rem;
}
.store-select .input .van-field__control {
  padding: 0.56rem;
  border-radius: 0.56rem;
  border: none;
  background-color: #f7f7f7;
}
.store-select .input .van-button {
  border: none;
  background: none;
  font-size: 0.56rem;
}

.store-list {
  padding: 0 0.5rem 0.5rem;
}

.store-list li {
  position: relative;
  margin-top: 0.5rem;
  background: #fff;
  border-radius: 0.25rem;
  font-size: 0.52rem;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.store-list li .tick {
  display: none;
  position: absolute;
  right: -0.65rem;
  top: -0.2rem;
  width: 2rem;
  height: 1rem;
  background: #4fc08d;
  transform: rotate(45deg);
  justify-content: center;
  align-items: center;
}
.store-list li.selected .tick {
  display: flex;
}
.store-list li .tick i {
  display: block;
  width: 0.4rem;
  height: 0.2rem;
  border-width: 0 0 2px 2px;
  border-color: #fff;
  border-style: solid;
  transform: rotate(-90deg);
}

.store-list li .store {
  flex: 1;
  color: #888;
}
.store-list li .store h6 {
  color: #333;
  font-size: 0.6rem;
}

/*** 自提推广记录 ***/

.sf-order-wrap {
  padding-top: 1.95rem;
  background-color: #fff;
  height: 100vh;
  box-sizing: border-box;
  overflow-y: auto;
}
.sf-order-list li {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5rem;
}
.sf-order-list li::after {
  height: 1px;
  content: '';
  width: 100%;
  border-top: 1px solid #e3e5e9;
  position: absolute;
  bottom: -1px;
  right: 0;
  transform: scaleY(0.5);
  -webkit-transform: scaleY(0.5);
  z-index: 1;
}
.sf-order-list li .user {
  font-size: 0.6rem;
  color: #232326;
}
.sf-order-list li .info {
  flex: 1;
  text-align: right;
}
.sf-order-list li .info .order {
  font-size: 0.56rem;
  color: #232326;
  line-height: 1.5em;
}
.sf-order-list li .info .order span{
  font-size: 0.5rem;
  color: #848689;
}
.sf-order-list li .info .time {
  font-size: 0.5rem;
  color: #848689;
}
.search {
  position: fixed;
  height: 30px;
  top: 80px;
  left: 0;
  right: 0;
  padding: 10px 5px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 35px;
  border-top: 1px solid #f7f7f7;
}
.search .search-bar {
  height: 30px;
  width: 75%;
  line-height: 25px;
  font-size: 13px;
  font-weight: normal;
  background: #f7f7f7;
  padding: 0 10px;
  border-radius: 3px;
  border-radius: 13px;
  border: solid 1px #dddddd;
  margin-left: 20px;
}
.search .search-btn {
  width: 50px;
  height: 30px;
  font-size: 13px;
  line-height: 25px;
  color: #333333;
  text-align: center;
  position: fixed;
  top: 95px;
}
