/*  页面内部与步进器规则（选择器原文不变，加载于 kxt.css 之后）。
    数量输入去掉原生步进箭头，并压过全局 uni-input 最小高度，避免购物车/规格窗数量框被撑破。  */
body.pages-goods_cate-goods_cate .uni-app--showtabbar uni-page-body{padding-bottom:0}
body.pages-goods_cate-goods_cate .uni-app--showtabbar uni-page-wrapper:after{height:0}
body.pages-goods-goods_list-index uni-page-body,
body.pages-goods-goods_search-index uni-page-body{padding-bottom:0}
#kx .cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 0;
}
#kx .cart-btn .iconfont.icon-ic_increase-2,
#kx .cart-btn .icon-ic_increase-2 {
  position: relative;
  display: block;
  width: 14px;
  height: 14px;
  font-size: 0;
  line-height: 0;
  color: inherit;
  overflow: visible;
}
#kx .cart-btn .icon-ic_increase-2::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  font-family: none;
  font-size: 0;
  line-height: 0;
  speak: none;
}
#kx .cart-btn .icon-ic_increase-2::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
#kx .product-window .cart .carnum {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  padding: 0;
  gap: 0;
  border: 0;
  background: transparent;
  box-sizing: border-box;
}
#kx .product-window .cart .carnum > .stock,
#kx .product-window .cart .carnum > .stock.line {
  /* 限购/起购文案仍在步进器左侧，不放进边框内 */
  border: 0;
  background: transparent;
  height: auto;
  margin-right: 8px;
}
#kx .product-window .cart .carnum > .item.reduce,
#kx .product-window .cart .carnum > .item.plus,
#kx .product-window .cart .carnum > .item.num {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  min-width: 30px;
  height: 30px;
  min-height: 30px;
  margin: 0;
  padding: 0;
  line-height: 30px;
  text-align: center;
  border-radius: 0;
  border: 0;
  background: #fff;
  color: var(--kx-brand-600, #0789F5);
  font-size: 18px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
}
#kx .shoppingCart .list .item .picTxt .carnum {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
#kx .shoppingCart .list .item .picTxt .carnum > .reduce,
#kx .shoppingCart .list .item .picTxt .carnum > .plus {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  padding: 8px;
  background-clip: content-box;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.12s ease;
  position: relative;
}
#kx .shoppingCart .list .item .picTxt .carnum > .reduce {
  background-color: var(--kx-brand-50, #e6f1ff);
  color: var(--kx-brand-600, #0789F5);
}
#kx .shoppingCart .list .item .picTxt .carnum > .plus {
  background-color: var(--kx-brand-50, #e6f1ff);
  color: var(--kx-brand-600, #0789F5);
}
#kx .shoppingCart .list .item .picTxt .carnum > .reduce::before,
#kx .shoppingCart .list .item .picTxt .carnum > .plus::before,
#kx .shoppingCart .list .item .picTxt .carnum > .plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
#kx .shoppingCart .list .item .picTxt .carnum > .plus::after {
  width: 2px;
  height: 12px;
}
#kx .shoppingCart .kx-cur {
  margin-right: 1px;
  font-size: 0.72em;
  font-weight: 600;
}
#kx .shoppingCart .list .item .picTxt .carnum > .reduce:active,
#kx .shoppingCart .list .item .picTxt .carnum > .plus:active {
  transform: scale(0.92);
}
#kx .shoppingCart .list .item .picTxt .carnum > .reduce.on,
#kx .shoppingCart .list .item .picTxt .carnum > .plus.on {
  background-color: var(--kx-ink-100, #f0f2f5);
  color: #c5cdd8;
  transform: none;
}
#kx .shoppingCart .list .item .picTxt .carnum > .num {
  width: 32px;
  min-width: 32px;
  height: 44px;
  background: transparent;
  color: var(--kx-ink-900, #1c2333);
}
#kx .shoppingCart .list .item .picTxt .carnum > .num input {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: inherit;
  background: transparent;
  line-height: normal;
}
#kx .product-window .cart .carnum > .item.reduce {
  border: 1px solid rgba(var(--kx-brand-rgb), 0.22);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: #f5f9ff;
  font-size: 0;
  line-height: 0;
}
#kx .product-window .cart .carnum > .item.plus {
  border: 1px solid rgba(var(--kx-brand-rgb), 0.22);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  background: #f5f9ff;
  font-size: 0;
  line-height: 0;
  position: relative;
}
#kx .product-window .cart .carnum > .item.num {
  width: 40px;
  min-width: 40px;
  border-top: 1px solid rgba(var(--kx-brand-rgb), 0.22);
  border-bottom: 1px solid rgba(var(--kx-brand-rgb), 0.22);
  background: #fff;
  color: var(--kx-ink-900, #1c2333);
  font-size: 14px;
}
.product-window .cart .carnum > .item.num input {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  background: transparent;
  line-height: normal;
}
.product-window .cart .carnum > .item.reduce .iconfont,
.product-window .cart .carnum > .item.plus .iconfont {
  font-size: 0;
  width: 12px;
  height: 12px;
  position: relative;
  display: block;
  color: inherit;
}
.product-window .cart .carnum > .item.reduce .iconfont::before,
.product-window .cart .carnum > .item.plus .iconfont::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  font-family: none;
}
.product-window .cart .carnum > .item.plus .iconfont::after,
.product-window .cart .carnum > .item.plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 10px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
#kx .product-window .cart .carnum > .item.reduce.on,
#kx .product-window .cart .carnum > .item.plus.on {
  color: #c5cdd8;
  background: #f3f5f8;
}
.cartNum .reduce,
.cartNum .plus {
  width: 30px;
  height: 30px;
  line-height: 30px;
  color: var(--kx-brand-600, #0789F5);
  font-size: 18px;
}
.cartNum .num {
  min-width: 36px;
  text-align: center;
  color: var(--kx-ink-900, #1c2333);
  font-weight: 600;
}
#kx .goodsList .item .pictxt .bottom .cart,
#kx .goodsList .cart.acea-row {
  display: inline-flex;
  align-items: center;
  height: 44px;
  margin: -8px -8px -8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}
#kx .goodsList .item .pictxt .bottom .cart .pictrue,
#kx .goodsList .cart .pictrue {
  width: 44px;
  height: 44px;
  line-height: 44px;
  padding: 8px;
  box-sizing: border-box;
  background-clip: content-box;
  background-color: var(--kx-brand-50, #e6f1ff);
  border-radius: 50%;
  font-size: 0;
  color: var(--kx-brand-600, #0789F5);
  position: relative;
}
#kx .goodsList .item .pictxt .bottom .cart .pictrue.icon-jiahao,
#kx .goodsList .cart .pictrue.icon-jiahao {
  background-color: var(--kx-brand-600, #0789F5);
  color: #fff;
}
#kx .goodsList .cart .pictrue:active {
  transform: scale(0.92);
}
#kx .goodsList .cart .num {
  min-width: 24px;
  width: auto;
  padding: 0 2px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--kx-ink-900, #1c2333);
  background: transparent;
  border: 0;
  height: 44px;
  line-height: 44px;
}
#kx .goodsList .cart .icon-jianhao::before,
#kx .goodsList .cart .icon-jiahao::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
  font-family: none;
}
#kx .goodsList .cart .icon-jiahao::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2px;
  height: 12px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
#kx .goodsList .cart-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -8px -8px -8px 0;
}
#kx .goodsList .cart-add .icon-gouwuche6 {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--kx-brand-600, #0789F5);
  color: #fff;
  font-size: 18px;
  transition: transform 0.12s ease;
}
#kx .goodsList .cart-add:active .icon-gouwuche6 {
  transform: scale(0.92);
}
body.pages-user-index,body.pages-users-user_info-index,body.pages-index-index,body.pages-goods_cate-goods_cate,body.pages-order_addcart-order_addcart,body.pages-goods-order_list-index,body.pages-users-user_address-index,body.pages-user-index uni-page-body,body.pages-users-user_info-index uni-page-body,body.pages-index-index uni-page-body,body.pages-goods_cate-goods_cate uni-page-body,body.pages-order_addcart-order_addcart uni-page-body,body.pages-goods-order_list-index uni-page-body,body.pages-users-user_address-index uni-page-body{background:var(--kx-page-bg)}
html body.pages-goods_cate-goods_cate .goodCate .conter .wrapper .longTab,
html body.pages-goods_cate-goods_cate .goodCate .conter .wrapper .openList,
html body.pages-goods_cate-goods_cate .goodCate .conter .wrapper .downTab{background:var(--kx-page-bg);-webkit-backdrop-filter:none;backdrop-filter:none}
html body.pages-goods_cate-goods_cate .goodCate .conter .wrapper .longTab .longItem:not(.click),
html body.pages-goods_cate-goods_cate .goodCate .conter .wrapper .downTab .children .item:not(.click){background-color:var(--kx-card)}
html body.pages-goods-goods_list-index .productList .list .item .name,
html body.pages-points_mall-integral_goods_list .productList .list .item .name{font-size:var(--kx-fs-body);font-weight:var(--kx-fw-name)}
html body.pages-goods_cate-goods_cate .goodCate .header,
html body.pages-goods-goods_list-index .productList .search,
html body.pages-points_mall-integral_goods_list .productList .search,
html body.pages-goods-goods_list-index .productList .nav,
html body.pages-points_mall-integral_goods_list .productList .nav{background:var(--kx-page-bg,#ffffff);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:0;box-shadow:none}
html body.pages-goods-goods_list-index .productList .nav .item.font-color,
html body.pages-points_mall-integral_goods_list .productList .nav .item.font-color,
html body.pages-goods-goods_list-index .productList .nav .item.font-num,
html body.pages-points_mall-integral_goods_list .productList .nav .item.font-num{
  color:var(--view-theme, var(--kx-brand-600,#0789f5));
  font-weight:700;
}
html body.pages-index-index .kx-sw,
html body.pages-goods-goods_search-index .searchGood .search{box-shadow:none}
html body.pages-index-index .kx-sw .header .serch-wrapper .input .search,
html body.pages-goods_cate-goods_cate .goodCate .header .search,
html body.pages-goods-goods_list-index .productList .search .input,
html body.pages-points_mall-integral_goods_list .productList .search .input,
html body.pages-goods-goods_search-index .searchGood .search .input{background-color:var(--kx-card,#fff);border:1px solid var(--kx-border,#e5e7eb);border-radius:var(--kx-r-lg,16px);box-shadow:none;box-sizing:border-box;height:var(--kx-search-h);min-height:var(--kx-search-h);padding:0 var(--kx-search-px);font-size:var(--kx-fs-body);color:var(--kx-placeholder)}
html body.pages-index-index .kx-sw .header .serch-wrapper .input .search .iconfont,
html body.pages-goods_cate-goods_cate .goodCate .header .search .iconfont,
html body.pages-goods-goods_list-index .productList .search .input .iconfont,
html body.pages-points_mall-integral_goods_list .productList .search .input .iconfont,
html body.pages-goods-goods_search-index .searchGood .search .input .iconfont{margin:0 var(--kx-search-gap) 0 0;font-size:var(--kx-search-ico);color:var(--kx-placeholder)}
html body.pages-goods-goods_list-index .productList .search .input uni-input,
html body.pages-points_mall-integral_goods_list .productList .search .input uni-input,
html body.pages-goods-goods_search-index .searchGood .search .input uni-input{margin-left:0;font-size:var(--kx-fs-body);flex:1 1 0;width:auto;min-width:0}
html body.pages-index-index .kx-sw .header .serch-wrapper .input .search,
html body.pages-goods_cate-goods_cate .goodCate .header .search,
html body.pages-goods-goods_list-index .productList .search .input,
html body.pages-points_mall-integral_goods_list .productList .search .input,
html body.pages-goods-goods_search-index .searchGood .search .input{flex-wrap:nowrap;align-items:center}
html body.pages-goods-goods_list-index,
html body.pages-goods-goods_list-index uni-page-body,
html body.pages-goods-goods_search-index,
html body.pages-goods-goods_search-index uni-page-body,
html body.pages-points_mall-integral_goods_list,
html body.pages-points_mall-integral_goods_list uni-page-body{background-color:var(--kx-page-bg,#ffffff);background-image:none}
html body .page-design .kx-sz-head .kx-sw .header .serch-wrapper{
  height:auto;
  padding-top:var(--kx-sz-pt, var(--kx-gap, 12px));
  padding-bottom:var(--kx-sz-pb, calc(var(--kx-gap, 12px) / 2));
  padding-left:var(--kx-sz-x, var(--kx-page-x, 12px));
  padding-right:var(--kx-sz-x, var(--kx-page-x, 12px));
}
@media (min-width: 768px){
  #kx .productSort .header,
  #kx uni-page[data-page="pages/goods_cate/goods_cate"] .header {
    left: max(0px, calc(50vw - var(--kx-h5-max) / 2));
    right: max(0px, calc(50vw - var(--kx-h5-max) / 2));
    width: auto;
    max-width: var(--kx-h5-max);
  }
  #kx .productSort .aside,
  #kx uni-page[data-page="pages/goods_cate/goods_cate"] .aside {
    left: max(0px, calc(50vw - var(--kx-h5-max) / 2));
    width: calc(var(--kx-h5-max) * 0.23);
    right: auto;
    max-width: none;
  }
  #kx .productSort .wrapper,
  #kx uni-page[data-page="pages/goods_cate/goods_cate"] .wrapper {
    right: max(0px, calc(50vw - var(--kx-h5-max) / 2));
    width: calc(var(--kx-h5-max) * 0.77);
    left: auto;
    max-width: none;
  }
  #kx .productSort .longTab,
  #kx uni-page[data-page="pages/goods_cate/goods_cate"] .longTab {
    left: calc(50vw - var(--kx-h5-max) / 2 + var(--kx-h5-max) * 0.23);
    width: calc(var(--kx-h5-max) * 0.65);
    right: auto;
    max-width: none;
  }
  #kx .productSort .openList,
  #kx uni-page[data-page="pages/goods_cate/goods_cate"] .openList {
    right: max(0px, calc(50vw - var(--kx-h5-max) / 2));
    width: round(down, calc(var(--kx-h5-max) * 0.12), 2px);
    left: auto;
    max-width: none;
  }
  #kx .goodCate .header {
    height: calc(round(down, calc(var(--kx-h5-max) * 128 / 750), 2px) + 1px); /* +1px 为底边 hairline，内容区为偶数 */
  }}
@supports selector(:has(*)){
html:has(> body.pages-user-index),html:has(> body.pages-users-user_info-index),html:has(> body.pages-index-index),html:has(> body.pages-goods_cate-goods_cate),html:has(> body.pages-order_addcart-order_addcart),html:has(> body.pages-goods-order_list-index),html:has(> body.pages-users-user_address-index){background:var(--kx-page-bg)}
html:has(> body.pages-goods-goods_list-index),html:has(> body.pages-goods-goods_search-index),html:has(> body.pages-points_mall-integral_goods_list){background:var(--kx-page-bg)}}

/* 数量框是紧凑步进器的一部分，不要套全局 uni-input 的 24px 最小高度，也不要原生 number 箭头 */
#kx .shoppingCart .list .item .picTxt .carnum > .num uni-input,
#kx .product-window .cart .carnum > .item.num uni-input,
#kx .shoppingCart .list .item .picTxt .carnum > .num input,
#kx .product-window .cart .carnum > .item.num input,
.cartNum .num uni-input,
.cartNum .num input {
  min-height: 0;
  height: 100%;
  line-height: normal;
  -moz-appearance: textfield;
  appearance: textfield;
}
#kx .shoppingCart .list .item .picTxt .carnum > .num input::-webkit-outer-spin-button,
#kx .shoppingCart .list .item .picTxt .carnum > .num input::-webkit-inner-spin-button,
#kx .product-window .cart .carnum > .item.num input::-webkit-outer-spin-button,
#kx .product-window .cart .carnum > .item.num input::-webkit-inner-spin-button,
.cartNum .num input::-webkit-outer-spin-button,
.cartNum .num input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  display: none;
}
