html.site-device--mobile .customer-page > .mobile-footer {
  display: none !important;
}

html.site-device--mobile .customer-page {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: #f7f7f7;
}

html.site-device--mobile .customer-mobile {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - 52px);
  padding-top: 52px;
  overflow-x: hidden;
  background: #f7f7f7;
}

html.site-device--mobile .customer-page--inner .mobile-header,
html.site-device--mobile .customer-page--inner .mobile-menu {
  display: none !important;
}

html.site-device--mobile .customer-page--inner .customer-mobile {
  min-height: 100vh;
  padding-top: 0;
}

.customer-m-hero {
  height: 100px;
  padding: 27px 22px 0;
  background-color: #fff;
  background-image: url('../assets/images/customer-bg.png');
  background-repeat: no-repeat;
  background-position: calc(100% + 58px) center;
  background-size: auto 100%;
}

.customer-m-hero__en {
  margin: 0 0 6px;
  color: #e23232;
  font-size: 8px;
  line-height: 1;
}

.customer-m-hero__title {
  margin: 0;
  color: #e23232;
  font-size: 23px;
  line-height: 1.15;
}

.customer-m-searchbar {
  display: flex;
  align-items: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding: 19px 21px;
  overflow: hidden;
  background: #fff;
}

.customer-m-searchbar--search {
  /* iPhone Safari 下搜索页右侧有“取消”按钮，减少左右留白避免整行被撑出屏幕。 */
  padding-right: 16px;
  padding-left: 16px;
}

.customer-m-searchbar__box {
  position: relative;
  /* flex-basis:0 + min-width:0 用于兼容 iOS Safari，避免 input 的固有宽度撑开容器。 */
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
}

.customer-m-searchbar__box:before {
  position: absolute;
  top: 50%;
  left: 13px;
  width: 12px;
  height: 12px;
  border: 1px solid #c9cdd3;
  border-radius: 50%;
  content: '';
  transform: translateY(-50%);
}

.customer-m-searchbar__box:after {
  position: absolute;
  top: 25px;
  left: 24px;
  width: 6px;
  height: 1px;
  background: #c9cdd3;
  content: '';
  transform: rotate(45deg);
}

.customer-m-searchbar input {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 38px;
  padding: 0 86px 0 32px;
  border: 0;
  border-radius: 20px;
  color: #111;
  background: #f7f7f7;
  /* iOS Safari 小于 16px 聚焦会自动放大页面，容易造成横向滚动。 */
  font-size: 16px;
  outline: none;
}

.customer-m-searchbar input::-webkit-search-cancel-button,
.customer-m-searchbar input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.customer-m-searchbar--search input {
  height: 44px;
  padding-right: 38px;
  border: 1px solid #ffdede;
  background: #fff;
}

.customer-m-searchbar__button {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 66px;
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 17px;
  color: #fff;
  background: #e23232;
  font-size: 14px;
}

.customer-m-searchbar__cancel {
  flex: none;
  margin-left: 8px;
  padding: 0;
  border: 0;
  color: #111;
  background: transparent;
  font-size: 14px;
  white-space: nowrap;
}

.customer-m-searchbar__clear {
  position: absolute;
  top: 50%;
  right: 14px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #c8c8c8;
  font-size: 14px;
  line-height: 1;
  transform: translateY(-50%);
}

.customer-m-searchbar__clear--show {
  display: inline-flex;
}

.customer-m-card {
  margin-top: 6px;
  background: #fff;
}

.customer-m-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 55px;
  padding: 0 22px;
  color: #000;
  font-size: 16px;
}

.customer-m-card__more {
  border: 0;
  color: #9a9a9a;
  background: transparent;
  font-size: 14px;
}

.customer-m-list {
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
}

.customer-m-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 59px;
  padding: 0 21px;
  border-top: 1px solid #ededed;
  color: #000;
  background: #fff;
  font-size: 16px;
}

.customer-m-item__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-m-item__arrow {
  flex: none;
  margin-left: 16px;
  color: #c8c8c8;
  font-size: 25px;
}

.customer-m-help {
  padding: 28px 20px;
  color: #778391;
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.customer-m-help a,
.customer-m-help button {
  border: 0;
  color: #778391;
  background: transparent;
  font: inherit;
}

.customer-m-spacer {
  min-height: 110px;
}

.customer-m-topbar {
  position: relative;
  height: 45px;
  background: #fff;
  box-shadow: 0 1px 0 #eee;
}

.customer-m-topbar__back {
  position: absolute;
  top: 0;
  left: 0;
  width: 46px;
  height: 45px;
  border: 0;
  background: transparent;
}

.customer-m-topbar__back:before {
  position: absolute;
  top: 14px;
  left: 18px;
  width: 11px;
  height: 11px;
  border-left: 2px solid #111;
  border-bottom: 2px solid #111;
  content: '';
  transform: rotate(45deg);
}

.customer-m-topbar__title {
  margin: 0;
  color: #202020;
  font-size: 20px;
  font-weight: 700;
  line-height: 45px;
  text-align: center;
}

.customer-m-detail {
  min-height: calc(100vh - 45px);
  padding: 34px 20px 24px;
  background: #fff;
}

.customer-m-detail h1 {
  margin: 0 0 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e7e7e7;
  color: #000;
  font-size: 22px;
  line-height: 1.35;
}

.customer-m-detail__content {
  color: #000;
  font-size: 16px;
  line-height: 1.65;
}

.customer-m-search-result {
  min-height: 292px;
  margin-top: 6px;
  background: #fff;
}

.customer-m-empty {
  padding: 100px 0 34px;
  color: #b0b0b0;
  text-align: center;
}

.customer-m-empty__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 14px;
  border-radius: 50%;
  color: #d3d3d3;
  background: #efefef;
  font-size: 58px;
  line-height: 78px;
}

.customer-m-hit {
  color: #e23232;
}

.customer-m-records {
  padding: 28px 38px 30px;
  border-top: 6px solid #f5f5f5;
  color: #6f7d88;
  background: #fff;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.customer-m-records a {
  color: inherit;
}

.customer-m-records button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.customer-m-records__nav {
  margin-bottom: 8px;
  color: #000;
  font-size: 13px;
}

.customer-m-records__nav span {
  margin: 0 7px;
}

.customer-m-records p {
  margin: 5px 0;
}

.customer-m-records__divider {
  height: 1px;
  margin: 31px 0 23px;
  background: #eee;
}

.customer-m-records__contact {
  color: #000;
  font-weight: 600;
}
