body,
.mui-content {
  padding: 0;
  margin: 0;
}
body,
header {
  max-width: 1024px;
  margin: 0 auto;
}
html,
body {
  font-family: sans-serif, "微软雅黑", "Helvetica Neue", Helvetica,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial;
}
/* header css */
header .mui-pull-left img {
  width: 50px;
  height: 50px;
  margin: 5px 0.5em;
}
.mui-bar {
  height: 60px;
}
.mui-title {
  line-height: 60px;
  font-size: 20px;
}
#contacts {
  width: auto;
  height: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
#contacts img {
  width: 2.5em;
  height: 2.5em;
  margin-left: 0.5em;
}
#contacts img.user {
  width: 3.2rem;
  height: 3.2rem;
  margin-left: 0.3rem;
}
/* grid css */
.mui-bar-nav ~ .mui-content {
  padding-top: 60px;
}
.mui-grid-view.mui-grid-9 {
  background-color: #fff;
  border-top: none;
}
.mui-content > .mui-table-view:first-child {
  margin-top: 0;
}
.mui-table-view:after {
  height: 0px;
}
.mui-grid-view.mui-grid-9 .mui-table-view-cell {
  padding: 10px;
  border: none;
}
.mui-grid-view.mui-grid-9 .mui-table-view-cell.mui-active {
  background-color: transparent;
}
.mui-grid-view.mui-grid-9 .mui-table-view-cell > a:not(.mui-btn) {
  padding: 11px 5px;
  border-radius: 20px;
  color: #f2f2f2;
}
.mui-table-view.mui-grid-view.mui-grid-9 .mui-table-view-cell.gridItem a {
  background-color: #f2f2f2;
}
.mui-table-view-cell.gridItem img {
  width: 6em;
  height: 4em;
  /* object-fit: contain; */
}
.content.mui-table-view .mui-table-view-cell:after {
  height: 0;
  content: none;
  background-color: #fff;
}
/* drawer */
@keyframes scrollYBottom {
  100% {
    transform: translateY(0);
  }
  0% {
    transform: translateY(100%);
  }
}
.mui-backdrop {
  background-color: rgba(0, 0, 0, 0.8);
}
.drawer {
  position: fixed;
  bottom: 0px;
  left: 0px;
  height: calc(100vh - 300px);
  width: 100vw;
  animation-iteration-count: 1;
  animation: scrollYBottom 0.5s;
}
.mui-popover.drawer {
  border-radius: 0px;
  background-color: #fff;
}
.swiper-container {
  position: absolute;
  top: calc(0px - 4em - 65px);
  left: 0;
  overflow-x: clip;
}
.swiper-container,
.swiper-wrapper {
  width: 100%;
  height: calc((4em + 45px) * 1.2);
}
.swiper-container .swiper-wrapper .swiper-slide {
  width: calc(6em + 10px) !important;
  height: calc(4em + 45px);
  padding: 11px 5px;
  background-color: #fff;
  border-radius: 20px;
}
.swiper-container .swiper-wrapper .swiper-slide-active {
  transform: scale(1.2);
}
.swiper-container .swiper-wrapper .swiper-slide img {
  width: 6em;
  height: 4em;
}
.swiper-container .swiper-wrapper .swiper-slide .title {
  font-size: 15px;
  line-height: 15px;
  display: block;
  width: 100%;
  height: 15px;
  margin-top: 8px;
  text-overflow: ellipsis;
  color: #333;
  text-align: center;
}
.drawer .list-content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  position: relative;
}
.drawer .list-content .close {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 1;
  width: 20px;
  height: 20px;
}
#introduce {
  width: 100%;
  margin: 20px 0 10px 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
}
#introduce .pic {
  width: calc(6em + 10px) !important;
  height: calc(4em + 45px);
  padding: 11px 5px;
  background-color: #f2f2f2;
  border-radius: 20px;
  margin: 0 20px;
}
#introduce img {
  width: 6em;
  height: 4em;
}
#introduce .pic .title {
  font-size: 15px;
  line-height: 15px;
  display: block;
  width: 100%;
  height: 15px;
  margin-top: 8px;
  text-overflow: ellipsis;
  color: #333;
  text-align: center;
}
#introduce .meta {
  width: 100%;
  /* margin: 20px 0 10px 0; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* flex-wrap: wrap; */
}
#introduce p {
  color: #b4b4b4;
  border: 1px solid #b4b4b4;
  border-radius: 10px;
  margin: 3px 5px;
  padding: 0 10px;
}
#list-item {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
#list-item a {
  position: relative;
  display: inline-block;
  width: auto;
  height: 60px;
  margin: 5px;
  padding: 5px 10px;
  color: #212126;
  border-radius: 10px;
  background-color: #f2f2f2;
  flex-grow: 1;
}
#list-item a.special {
  background: linear-gradient(to bottom right, #fff8e6, #fff0cc);
}
#list-item a .title {
  line-height: 25px;
  font-size: 16px;
  font-weight: bold;
}
#list-item a .price .new {
  line-height: 25px;
  font-size: 16px;
  font-weight: bold;
}
#list-item a .price .old {
  line-height: 25px;
  font-size: 12px;
  margin-left: 10px;
  text-decoration: line-through;
  color: #b4b4b4;
}
#list-item a.special .title,
#list-item a.special .price .new,
#list-item a.special .price .old {
  color: #ff673c;
}
/* help */
.link-area {
  display: block;
  margin-top: 25px;
  margin-bottom: 25px;
  text-align: center;
}
.link-area a {
  color: rgb(153, 153, 153);
  margin: 0 10px;
}
/* sidebar */
#sidebar {
  visibility: visible !important;
  position: fixed;
  right: 0;
  bottom: 120px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  text-align: left;
  font-size: 20px;
  font-family: PingFangSC-Regular;
  font-weight: 600;
  line-height: 16px;
  color: #1e1f24;
  cursor: pointer;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: left;
  -webkit-justify-content: left;
  justify-content: left;
  border: 1px solid #d8e9ff;
  height: 46px;
  border-radius: 46px 0 0 46px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-box-shadow: 0 1px 4px rgba(71, 100, 254, 0.3);
  box-shadow: 0 1px 4px rgba(71, 100, 254, 0.3);
  background-color: rgba(240, 246, 255, 0.9);
  z-index: 2147483647 !important;
  -webkit-transition: left 0.2s ease-in-out;
  transition: left 0.2s ease-in-out;
  padding: 5px;
}
#sidebar img {
  width: 36px;
  height: 36px;
  border-radius: 36px;
  margin-left: 5px;
  -webkit-user-drag: none;
}
/* 媒体查询 */
@media screen and (min-width: 1024px) {
  .drawer {
    width: 1024px;
    left: calc((100vw - 1024px) / 2);
  }
  #sidebar {
    right: calc((100vw - 1024px) / 2);
  }
}
.mui-toast-container {
  bottom: 50% !important;
}

