html {
  font-size: 50px;
  -webkit-tap-highlight-color: transparent;
  height: 100%;
  min-width: 1100px;
  /* overflow-x: hidden; */
}

body {
  font-family: "微软雅黑";
  color: #333;
  font-size: 0.28em;
  line-height: 1;
  background-color: #fff;

  --main-color: #ed3f14;
  --cats-width: 300px;
}

.clearfix::after {
  display: block;
  content: "";
  clear: both;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header {
}

a {
  text-decoration: none;
}

a:hover {
  color: var(--main-color);
}
a:visited {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.xj-button {
  height: 34px;
  padding: 0 20px;
 
  border: none;
  box-sizing: border-box;
}

.xj-input {
  border: 1px solid var(--main-color);
  font-size: 12px;
  height: 34px;
  padding: 6px 7px;
  border-radius: 4px;
  color: #515a6e;
  background-color: #fff;
  background-image: none;
  box-sizing: border-box;
  outline: none;
  min-width: 200px;
}

.xj-button-default {
  background-color: var(--main-color);
  color: #fff;
}

.xj-form .xj-form-item {
  height: 36px;
  line-height: 36px;
  margin-top: 12px;
}

.xj-form-item label {
  display: inline-block;
  width: 100px;
}

.header .top-nav {
  background-color: #f5f5f5;
  height: 40px;
  line-height: 40px;
  border-bottom: 1px #eeeeee solid;
}

.top-nav ul {
  display: flex;
  float: right;
}

.top-nav ul.list li.item {
  margin-left: 10px;
}

.header .search {
  margin-top: 24px;
}

.search img {
  vertical-align: middle;
}

.search .logo {
  font-size: 50px;
  font-weight: bold;
  vertical-align: middle;
  font-style: italic;
  letter-spacing: 2px;
  color: var(--main-color);
  background-image: url(../images/logo-bg.png);
  background-size: cover;
  background-clip: text;
  color: transparent;
}

.search .search-box {
  margin-left: 100px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.search-box .search-input,
.search-box .search-input:focus {
  border: 2px solid var(--main-color);
  font-size: 12px;
  height: 34px;
  padding: 6px 7px;
  border-radius: 4px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  color: #515a6e;
  background-color: #fff;
  background-image: none;
  width: 300px;
  box-sizing: border-box;
  outline: none;
}

.header .cat-nav {
  margin-top: 40px;
}

.cat-nav .container {
  display: flex;
  flex-direction: row;
  background-color: #eeeeee;
}

.cat-nav .cat-title {
  width: var(--cats-width);
  background-color: var(--main-color);
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #fff;
  font-weight: bold;
}

.cat-nav ul.list {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.cat-nav ul.list li.item {
  margin-left: 8px;
  font-size: 14px;
  font-weight: bold;
  padding-left: 20px;
}

/* 分类轮播图区域 */
.cat-section {
}

.cats {
  width: var(--cats-width);
  background-color: #6e6568;
  overflow: hidden;
  float: left;
}

.cats ul.list {
  padding: 36px;
}

.cats ul.list li.item {
  margin-top: 18px;
}

.cats ul.list li.item:first-child {
  margin-top: 0;
}

.cats ul.list li.item > a {
  color: #fff;
  text-decoration: none;
}

.cats ul.list li.item > a:hover {
  color: var(--main-color);
}

.swipper-container {
    --bg: #fff;
    width: 600px;
    height: 310px;
    margin-left: 0;
    /* float: left; */
    overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
  margin-left: 0;
  background: var(--bg);
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-fix {
  width: 100%;
  height: 100%;
  position: fixed;
  background-color: rgba(0, 0, 0, .3);
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog {
  display: none;
  min-width: 200px;
  padding: 36px;
  background-color: #fff;
  border-radius: 4px;
}

.dialog .dialog-footer {
  margin-top: 48px;
  display: flex;
  flex-direction: row-reverse;
}

.dialog-footer button {
  margin-left: 24px;
}

.login-dialog {
  width: 400px;
}

.qrcode-dialog .dialog-wrapper{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}

.scan-img {
  width: 200px;
  height: 200px;
}

.scan-price {
  margin-top: 24px;
  font-size: 24px;
  color: #ed3f14;
  font-weight: bold;
}

.scan-title {
  margin-top: 0;
  font-size: 18px;
}

.pay-list {
  --border-color: #e1e1e1;
  margin-top: 100px;
  border: 1px solid var(--border-color);
}

/* 支付列表 */
.pay-list .template {
  display: none;
  height: 0;
  overflow: hidden;
}

.pay-list .list-item {
  display: flex;
  height: 100px;
  line-height: 100px;
  flex-direction: row;
  border-bottom: 1px solid var(--border-color);
  padding: 0 24px;
}

.pay-list .list-item:last-child{
  border-bottom:none;
}

.pay-list .list-item .title{
  flex-grow: 1;
  font-size: 18px;
  font-weight: bold;
}

.pay-list .list-item .create-date{
  width: auto;
  font-size: 15px;
}

/* 订单列表 */

.products h2 {
  text-align: center;
  margin-top: 50px;
}
.product-list {
  --border-color: #e1e1e1;
  margin-top: 50px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.product-list .template {
  display: none;
  height: 0;
  overflow: hidden;
}

.product-list .list-item {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  padding: 0 24px;
  width: 300px;
}

.product-list .list-item .icon {
  margin-top: 24px;
}

.product-list .list-item .name{
  text-align: right;
  font-weight: bold;
}

.product-list .list-item .price{
  text-align: right;
  color: #ed3f14;
}

