@charset "utf-8";
[v-cloak] {
  display: none !important;
}
body {
  width: 100%;
  max-width: 640px;
  padding: 0;
  margin: 0 auto;
  font-size: 14px;
  color: #232628;
  font-family: SourceHanSansCN, -apple-system, Verdana, Arial, Helvetica, sans-serif;
  -webkit-tap-highlight-color: transparent;
}
body.overflow-hidden {
  overflow: hidden;
}
div,
ul,
ol,
dl,
p,
pre,
section,
article,
aside,
li,
nav,
input,
textarea {
  border: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
input,
textarea,
select {
  outline: none;
  appearance: none;
}
input::-webkit-autofill,
textarea::-webkit-autofill,
select::-webkit-autofill {
  background-color: transparent;
  background-image: none;
  color: inherit;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
  line-height: 1em;
}
ul,
dl,
dt,
dd {
  list-style: none;
}
img {
  width: 100%;
  vertical-align: middle;
}
a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  -webkit-focus-ring-color: transparent;
}
i,
em,
strong {
  font-style: normal;
}
.iconfont {
  font-size: inherit;
}
.navigation {
  display: block;
}
.text-overflow {
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-overflow-line2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
.text-overflow-line3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}
html,
body {
  background: #E9ECF0;
}
@media screen and (max-width: 267px) {
  html,
  body {
    font-size: 10px;
  }
}
@media screen and (min-width: 268px) and (max-width: 294px) {
  html,
  body {
    font-size: 11px;
  }
}
@media screen and (min-width: 295px) and (max-width: 321px) {
  html,
  body {
    font-size: 12px;
  }
}
@media screen and (min-width: 348px) and (max-width: 374px) {
  html,
  body {
    font-size: 13px;
  }
}
@media screen and (min-width: 375px) and (max-width: 401px) {
  html,
  body {
    font-size: 14px;
  }
}
@media screen and (min-width: 402px) and (max-width: 428px) {
  html,
  body {
    font-size: 15px;
  }
}
@media screen and (min-width: 429px) and (max-width: 455px) {
  html,
  body {
    font-size: 16px;
  }
}
@media screen and (min-width: 456px) and (max-width: 482px) {
  html,
  body {
    font-size: 17px;
  }
}
@media screen and (min-width: 483px) and (max-width: 508px) {
  html,
  body {
    font-size: 18px;
  }
}
@media screen and (min-width: 509px) and (max-width: 535px) {
  html,
  body {
    font-size: 19px;
  }
}
@media screen and (min-width: 536px) and (max-width: 562px) {
  html,
  body {
    font-size: 20px;
  }
}
@media screen and (min-width: 563px) and (max-width: 589px) {
  html,
  body {
    font-size: 21px;
  }
}
@media screen and (min-width: 590px) and (max-width: 616px) {
  html,
  body {
    font-size: 22px;
  }
}
@media screen and (min-width: 617px) and (max-width: 639px) {
  html,
  body {
    font-size: 23px;
  }
}
@media screen and (min-width: 640px) {
  html,
  body {
    font-size: 24px;
  }
}
html {
  background: #fff;
}
body {
  background: #fff;
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}
a:active {
  opacity: 0.8;
}
.active > a:active {
  background-color: transparent;
  opacity: 1;
}
.iconfont {
  font-size: 1.14285714rem;
}
.navigation {
  display: block;
}
.headerbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  z-index: 9;
  height: 3.14285714rem;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
  background: #fff;
  overflow: hidden;
  border-bottom: 2px solid #F1F3F6;
}
.headerbar-content {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 2.57142857rem;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin: 0.28571429rem 0.85714286rem;
  padding-left: 0.57142857rem;
  background-color: #F3F5F7;
  border-radius: 1.28571429rem;
}
.headerbar-content-left,
.headerbar-content-right {
  width: 2.57142857rem;
  height: 2.57142857rem;
  line-height: 2.57142857rem;
  text-align: center;
}
.headerbar-content-left .iconfont,
.headerbar-content-right .iconfont {
  font-size: 1.42857143rem;
  color: #B0B3B6;
}
.headerbar-content-center {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 2.57142857rem;
  line-height: 2.57142857rem;
  padding-right: 1.14285714rem;
  color: #71797F;
  font-size: 1rem;
}
.headerbar-content-center a {
  display: inline-block;
  width: 100%;
  height: 100%;
}
.catebox {
  position: relative;
  width: 100%;
  height: -webkit-calc(100vh - 3.5rem);
  height: calc(100vh - 3.5rem);
  padding-top: 3.14285714rem;
}
.catebox-menu {
  position: absolute;
  top: 3.14285714rem;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 21.06666667%;
  border-right: 1px solid #E9ECF0;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  overflow-x: hidden;
  overflow-y: auto;
}
.catebox-menu-item {
  width: 100%;
  height: 4rem;
  line-height: 4rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.catebox-menu-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 2px;
  height: 2.28571429rem;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: transparent;
}
.catebox-menu-item > a {
  display: block;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catebox-menu-item.active {
  color: #FF734C;
}
.catebox-menu-item.active::before {
  background-color: #FF734C;
}
.catebox-details {
  position: absolute;
  top: 3.14285714rem;
  left: 21.06666667%;
  width: 78.93333333%;
  bottom: 0;
  z-index: 2;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
  -webkit-perspective: 1000;
  overflow-x: hidden;
  overflow-y: auto;
}
.catebox-details-mode {
  display: none;
  padding: 0.85714286rem 0.85714286rem 3.14285714rem;
}
.catebox-details-mode.active {
  display: block;
}
.catebox-details-banner {
  height: 7rem;
  overflow: hidden;
  margin-bottom: 0.85714286rem;
}
.catebox-details-banner > .navigation {
  position: relative;
  display: block;
  height: 7rem;
}
.catebox-details-banner-price {
  position: absolute;
  top: 45.92%;
  left: 4.04%;
  font-size: 1rem;
  line-height: 1.42857143rem;
  font-weight: 500;
}
.catebox-details-banner-price p {
  display: inline-block;
  margin-left: 0.21428571rem;
  font-weight: normal;
  text-decoration: line-through;
  font-size: 0.71428571rem;
  line-height: 1.42857143rem;
}
.catebox-details-body {
  padding: 0.57142857rem 0.28571429rem;
  border-radius: 0.14285714rem;
  margin-bottom: 0.85714286rem;
  -webkit-box-shadow: 0px 2px 6px 0px #e9ecf0;
  box-shadow: 0px 2px 6px 0px #e9ecf0;
}
.catebox-details-title {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 0.85714286rem;
  padding: 0 0.85714286rem;
}
.catebox-details-title-left,
.catebox-details-title-right {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 1.42857143rem;
  line-height: 1.42857143rem;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catebox-details-title-left {
  font-weight: normal;
}
.catebox-details-title-right {
  text-align: right;
  color: #71797F;
}
.catebox-details-title-right > .navigation {
  display: inline-block;
  padding: 0 0.28571429rem;
  height: 2.57142857rem;
  font-size: 0.85714286rem;
}
.catebox-details-title-right > .navigation .iconfont {
  font-size: inherit;
}
.catebox-details-list:after {
  content: "";
  display: block;
  height: 0;
  clear: both;
}
.catebox-details-list-square {
  padding: 0 0.14285714rem;
}
.catebox-details-list-square .catebox-details-row {
  font-size: 0;
  border-bottom: 1px solid #F7F9FA;
}
.catebox-details-list-square .catebox-details-row:first-child .catebox-details-item {
  height: 3.42857143rem;
  padding-top: 0;
}
.catebox-details-list-square .catebox-details-row:last-child {
  border-bottom: none;
}
.catebox-details-list-square .catebox-details-row:last-child .catebox-details-item {
  height: 3.42857143rem;
  padding-bottom: 0;
}
.catebox-details-list-square .catebox-details-item {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: none;
  display: inline-block;
  height: 4rem;
  border-right: 1px solid #F7F9FA;
  text-align: center;
  vertical-align: top;
}
.catebox-details-list-square .catebox-details-item:last-child {
  border-right: none;
}
.catebox-details-list-square .catebox-details-item .navigation img {
  width: 5.14285714rem;
  height: 2.85714286rem;
  border-radius: 0;
}
.catebox-details-list-text .catebox-details-item {
  margin: 0 0 0.85714286rem;
  padding: 0;
}
.catebox-details-list-text .catebox-details-item .navigation {
  width: 5.14285714rem;
  height: 2.57142857rem;
  margin: 0 auto;
  border-radius: 0.14285714rem;
  background: #F7F9FA;
}
.catebox-details-list-text .catebox-details-item .catebox-details-item-desc {
  margin: 0;
  font-size: 0.85714286rem;
  color: #232628;
  line-height: 2.57142857rem;
}
.catebox-details-item {
  float: left;
  width: 33.33333333%;
  padding: 0.57142857rem 0;
}
.catebox-details-item > .navigation {
  text-align: center;
}
.catebox-details-item > .navigation > img {
  width: 4rem;
  height: 4rem;
  border-radius: 100%;
  overflow: hidden;
}
.catebox-details-item > .navigation > p {
  font-size: 0.85714286rem;
  font-weight: 300;
  line-height: 1.33333333;
  max-width: 6em;
  margin: 0.57142857rem auto 0;
  color: #232323;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.catebox-details-item > .navigation > p:empty {
  display: none;
}
.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  height: 3.5rem;
  overflow: hidden;
  background: #F7F9FA;
}
.tabbar-item {
  flex: 1;
  text-align: center;
}
.tabbar-item.active {
  color: #FF734C;
}
.tabbar-item.active .iconfont.iconfont-home::before {
  content: "\e662";
}
.tabbar-item.active .iconfont.iconfont-category::before {
  content: "\e65f";
}
.tabbar-item.active .iconfont.iconfont-smile::before {
  content: "\e665";
}
.tabbar-item > .navigation {
  height: 3.5rem;
  padding-top: 0.28571429rem;
  box-sizing: border-box;
}
.tabbar-item .iconfont {
  font-size: 1.71428571rem;
  margin-top: 0.42857143rem;
  position: relative;
}
.tabbar-item .iconfont[data-dot]::after {
  content: " ";
  width: 0.42857143rem;
  height: 0.42857143rem;
  padding: 0;
  min-width: auto;
}
.tabbar-item .iconfont::after {
  content: attr(data-cartnum);
  position: absolute;
  top: 0;
  left: 90%;
  min-width: 0.71428571rem;
  line-height: 1;
  padding: 0 0.14285714rem;
  font-size: 0.71428571rem;
  color: #fff;
  background: #FF734C;
  border-radius: 1rem;
}
.tabbar-item .iconfont::after:empty {
  display: none;
}
.tabbar-item p {
  font-size: 0.78571429rem;
}
