/* uimi 寄售店铺页仿制 — 对齐 https://uimi.ymw1.com/shop/7SLZ68JR */
:root {
  --bg: #f5f7fa;
  --text: #565960;
  --text-2: #4e5969;
  --title: #1d2129;
  --primary: #165dff;
  --primary-2: #2275ff;
  --primary-soft: #f0f7ff;
  --line: #e5e6eb;
  --card: #ffffff;
  --radius: 8px;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: #f5f7fa;
  background: var(--bg);
  color: #565960;
  color: var(--text);
  font: 14px/1.5 "PingFang SC", "PingFangSC-Regular", "Microsoft YaHei", Roboto, Tahoma, Arial, sans-serif;
  word-break: break-all;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; border: 0; }

.body {
  min-height: 100%;
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
  background: #f5f7fa;
  background: var(--bg);
  color: #565960;
  color: var(--text);
}
.main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 24px;
  flex: 1;
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 16px;
  margin: 12px 12px 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.header-left { display: flex; align-items: center; min-width: 0; }
.header-logo { display: flex; align-items: center; min-width: 0; }
.header-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  flex: none;
  margin-right: 12px;
  background: #ff7d00;
}
.header-logo-img img { width: 48px; height: 48px; object-fit: cover; }
.header-logo-name .name {
  font-size: 18px;
  font-weight: 700;
  color: var(--title);
  margin-right: 10px;
  white-space: nowrap;
}
.sh_names {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.sh_names > * { margin-right: 10px; margin-bottom: 4px; }
.btn {
  -webkit-appearance: none;
  appearance: none;
  border: 1px dashed transparent;
  background: transparent;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  color: #565960;
  color: var(--text);
  line-height: 22px;
}
.btn svg { width: 14px; height: 14px; margin-right: 4px; }
.btn-success {
  border-color: #00b42a;
  color: #00b42a;
}
.btn-normal {
  border-color: #c9cdd4;
  color: #4e5969;
}
.btn-icon {
  border: 0;
  padding: 4px;
  color: #86909c;
}
.header-right {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.header-right > * { margin-left: 18px; }
.header-right > *:first-child { margin-left: 0; }
.munu {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.munu a { margin-right: 18px; }
.munu a:last-child { margin-right: 0; }
.munu a {
  color: #4e5969;
  font-size: 14px;
}
.munu a:hover { color: var(--primary); }
.btn-primary {
  -webkit-appearance: none;
  appearance: none;
  border: 0;
  background: #165dff;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0 16px;
  height: 36px;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
}
.btn-primary svg { width: 16px; height: 16px; margin-right: 6px; }

/* Tabs strip */
.fl_box { margin-top: 16px; padding: 0 12px; }
.content-tabs {
  background: transparent;
}
.tabs-nav {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tabs-nav > * + * { margin-left: 12px; }
.tab-pill {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #e8f3ff;
  color: var(--primary);
  font-weight: 600;
}
.tab-pill span { margin-left: 2px; }
.search-wrap {
  position: relative;
  width: 220px;
  max-width: 46vw;
}
.search-wrap input {
  width: 100%;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 34px 0 12px;
  background: #fff;
  outline: none;
  color: var(--title);
}
.search-wrap input:focus { border-color: var(--primary); }
.search-wrap .ico {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -8px;
  color: #86909c;
  width: 16px;
  height: 16px;
}

/* Content grid */
.page_content {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  align-items: flex-start;
  margin: 0 -10px;
}
.col-side {
  width: 20.833%;
  padding: 0 10px;
  flex: none;
}
.col-main {
  width: 79.167%;
  padding: 0 10px;
  flex: none;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}
.card-header {
  padding: 12px 16px;
  border-bottom: 1px solid #f2f3f5;
  font-weight: 600;
  color: var(--title);
}
.card-body { padding: 16px; }
.card-body.tight { padding: 8px 4px; }

.menu { padding: 0 4px; }
.menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 12px;
  margin-bottom: 4px;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-2);
}
.menu-item:hover { background: #f7f8fa; }
.menu-item.active {
  background: #f2f3f5;
  color: var(--primary);
  font-weight: 500;
}
.category-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  width: 100%;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.category-name { min-width: 0; margin-right: 8px; }
.category-name-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.goods-count {
  flex: none;
  min-width: 18px;
  text-align: right;
  color: #86909c;
  font-size: 12px;
}
.menu-item.active .goods-count { color: var(--primary); }

.stack { margin: -6px; }
.stack > .card-wrap { padding: 6px; }

.notice-text {
  white-space: pre-line;
  color: var(--text-2);
  line-height: 1.7;
}
.notice-text a { color: #3369ff; }

.goods-list {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  flex-direction: column;
}
.goods-item {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 4px;
  cursor: pointer;
  color: #4e5969;
  color: var(--text-2);
}
.goods-item-empty { cursor: default; }
.goods-item:hover { background: #f7f8fa; }
.goods-title {
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  flex: 1;
  min-width: 0;
  margin-right: 16px;
  color: #1d2129;
  color: var(--title);
  font-weight: 500;
}
.goods-title-muted { color: #86909c; font-weight: 400; }
.goods-info { -webkit-flex: none; flex: none; }
.subinfo {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.subinfo > * { margin-right: 10px; }
.subinfo > *:last-child { margin-right: 0; }
.goods-price {
  display: flex;
  align-items: baseline;
  color: var(--primary);
  font-weight: 600;
}
.currency { font-size: 12px; margin-right: 2px; }
.nowPrice { font-size: 16px; }
.divider {
  width: 1px;
  height: 14px;
  background: #e5e6eb;
}
.stock {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary-soft);
  color: var(--primary-2);
  font-size: 10px;
  font-weight: 700;
}
.footer-extra {
  text-align: center;
  padding: 12px 0 4px;
  color: var(--primary);
}
.footer-extra .pointer { cursor: pointer; }

/* Footer */
.site-footer {
  background: #fff;
  border-top: 1px solid #f2f3f5;
}
.j-site-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  font-size: 12px;
  color: #86909c;
}
.j-site-footer-bottom-left > * { margin-right: 12px; }
.j-site-footer-btn { color: #4e5969; }
.j-site-footer-copyright a { color: #86909c; }
.j-site-footer-copyright img {
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: -1px;
  margin-right: 2px;
}

/* 商品跳转加载弹窗（品牌色） */
.jump-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1100;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.45);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.jump-modal[hidden] { display: none !important; }
.jump-card {
  width: 360px;
  max-width: 100%;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(22, 93, 255, 0.22);
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(22, 93, 255, 0.12);
}
.jump-head {
  padding: 22px 20px 10px;
  background: #165dff;
  background: -webkit-linear-gradient(315deg, #165dff 0%, #2275ff 55%, #4e8aff 100%);
  background: linear-gradient(135deg, #165dff 0%, #2275ff 55%, #4e8aff 100%);
  color: #fff;
}
.jump-spin {
  width: 34px;
  height: 34px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  -webkit-animation: jumpSpin 0.85s linear infinite;
  animation: jumpSpin 0.85s linear infinite;
}
.jump-head h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.jump-name {
  margin: 16px 20px 0;
  color: #1d2129;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  max-height: 3em;
  overflow: hidden;
}
.jump-status {
  margin: 10px 20px 0;
  color: #165dff;
  font-size: 14px;
  font-weight: 600;
  min-height: 1.4em;
}
.jump-track {
  margin: 16px 20px 0;
  height: 8px;
  border-radius: 999px;
  background: #e8f3ff;
  overflow: hidden;
}
.jump-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: #165dff;
  background: -webkit-linear-gradient(left, #165dff, #4e8aff 60%, #7aa7ff);
  background: linear-gradient(90deg, #165dff, #4e8aff 60%, #7aa7ff);
  box-shadow: 0 0 12px rgba(22, 93, 255, 0.35);
  -webkit-transition: width 0.2s linear;
  transition: width 0.2s linear;
}
.jump-tip {
  margin: 12px 20px 20px;
  color: #86909c;
  font-size: 12px;
}
.jump-manual {
  display: none;
  padding: 0 20px 20px;
}
.jump-manual.is-show,
.jump-manual:not([hidden]) {
  display: block;
}
.jump-manual[hidden] { display: none !important; }
.jump-manual-btn {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  background: #165dff;
  background: -webkit-linear-gradient(left, #165dff, #2275ff);
  background: linear-gradient(90deg, #165dff, #2275ff);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
@-webkit-keyframes jumpSpin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes jumpSpin {
  to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .jump-spin {
    -webkit-animation: none;
    animation: none;
  }
}

/* Welcome notice modal */
#my-modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  z-index: 1000;
}
#my-modal[hidden] { display: none !important; }
.mark_notice {
  width: 400px;
  max-width: 92%;
  overflow: hidden;
  -webkit-animation: action_scale .5s alternate;
  animation: action_scale .5s alternate;
  border-radius: 20px 20px 0 0;
  position: relative;
}
.mark_notice_top {
  height: 110px;
  background: url("../assets/img/notice_bg.png") center/cover no-repeat;
  background-color: #106be6;
  position: relative;
  color: #fff;
  padding-top: 30px;
  letter-spacing: 1px;
  box-sizing: border-box;
  text-align: center;
}
.mark_notice_top .title {
  font-size: 22px;
  font-weight: 800;
  position: relative;
  left: -5px;
}
.mark_notice_top .t { font-size: 24px; display: inline-block; }
.mark_notice_top > span {
  font-size: 15px;
  display: inline-block;
  padding: 0 12.5px;
  color: #b5c8fb;
  font-weight: 700;
}
.mark_notice_top .close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
}
.mark_notice_bottom {
  padding: 16px 16px 0;
  background: #fff;
}
.sh_notice {
  color: #343434;
  font-size: 14px;
  max-height: 300px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  word-wrap: break-word;
  line-height: 1.6;
}
.sh_notice a { color: #3369ff; }
.exp {
  text-align: center;
  font-size: 14px;
  color: #a9aaad;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  padding: 15px 0;
  background: #fff;
  border-radius: 0 0 20px 20px;
  font-weight: 500;
}
.exp > * { margin: 0 8px; }
.exp .close {
  color: #2275ff;
  background: #f0f7ff;
  padding: 7px 16px;
  border-radius: 50px;
  border: 0;
  min-width: 80px;
  cursor: pointer;
}
@-webkit-keyframes action_scale {
  0% { -webkit-transform: scale(.2); transform: scale(.2); }
  to { -webkit-transform: scale(1); transform: scale(1); }
}
@keyframes action_scale {
  0% { -webkit-transform: scale(.2); transform: scale(.2); }
  to { -webkit-transform: scale(1); transform: scale(1); }
}

@media (max-width: 900px) {
  .header {
    height: auto;
    padding: 12px;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .header-right {
    width: 100%;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-top: 10px;
  }
  .munu {
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .munu a { font-size: 13px; margin-right: 10px; }
  .page_content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
  }
  .col-side, .col-main { width: 100%; }
  .col-side { margin-bottom: 8px; }
  .menu {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    overflow-x: auto;
    padding: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .menu-item {
    -webkit-flex: none;
    flex: none;
    margin-bottom: 0;
    margin-right: 6px;
    min-width: 120px;
  }
  .goods-item {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
  }
  .goods-title { margin-right: 0; margin-bottom: 8px; }
  .search-wrap { width: 160px; }
}

@media (max-width: 600px) {
  .header-logo-name .name { font-size: 15px; }
  .btn-primary span.hide-xs { display: none; }
  .mark_notice { width: 92%; }
}
