body {
  color: #333333; }

.ns-supply-list {
  background-color: #FFFFFF; }

.ns-supply-crumb {
  /* 让出 4px：否则类目框的 1px 顶边会被头部白条(z-index:20)盖住，看着像缺了一边 */
  padding-top: 4px;
  padding-left: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  color: #969799; }
  .ns-supply-crumb > span {
    cursor: pointer; }
    .ns-supply-crumb > span:hover {
      color: var(--primary-color, #009c50); }
  .ns-supply-crumb > i {
    font-size: 12px;
    margin: 0 10px; }
  .ns-supply-crumb .ns-cate-list {
    position: relative; }
  .ns-supply-crumb .ns-cate-current {
    -webkit-box-shadow: 0 0 0 1px #dcdee0;
    -moz-box-shadow: 0 0 0 1px #dcdee0;
    box-shadow: 0 0 0 1px #dcdee0;
    padding: 2px 5px;
    cursor: pointer;
    z-index: 9; }
    .ns-supply-crumb .ns-cate-current .iconiconangledown-copy {
      display: none; }
    .ns-supply-crumb .ns-cate-current .iconiconangledown {
      display: inline-block; }
  .ns-supply-crumb .ns-cate-li {
    display: none;
    width: 400px;
    padding: 15px;
    font-size: 12px;
    background-color: #FFFFFF;
    position: absolute;
    top: 22px;
    left: 0;
    z-index: 9; }
    .ns-supply-crumb .ns-cate-li span {
      margin-right: 10px;
      cursor: pointer;
      line-height: 24px; }
      .ns-supply-crumb .ns-cate-li span:hover {
        color: var(--primary-color, #009c50); }
  .ns-supply-crumb .ns-cate-list:hover .ns-cate-current {
    -webkit-box-shadow: 2px 0 2px rgba(125, 126, 128, 0.16), -2px -2px 2px rgba(125, 126, 128, 0.16);
    -moz-box-shadow: 2px 0 2px rgba(125, 126, 128, 0.16), -2px -2px 2px rgba(125, 126, 128, 0.16);
    box-shadow: 2px 0 2px rgba(125, 126, 128, 0.16), -2px -2px 2px rgba(125, 126, 128, 0.16); }
  .ns-supply-crumb .ns-cate-list:hover .ns-cate-current:before {
    content: "";
    position: absolute;
    display: block;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: #fff;
    z-index: 999; }
  .ns-supply-crumb .ns-cate-list:hover .ns-cate-li {
    display: block;
    -webkit-box-shadow: 0 0 2px 2px rgba(125, 126, 128, 0.16);
    -moz-box-shadow: 0 0 2px 2px rgba(125, 126, 128, 0.16);
    box-shadow: 0 0 2px 2px rgba(125, 126, 128, 0.16); }
  .ns-supply-crumb .ns-cate-list:hover .iconiconangledown-copy {
    display: inline-block; }
  .ns-supply-crumb .ns-cate-list:hover .iconiconangledown {
    display: none; }

.ns-supply-goods-term {
  padding: 0 10px 20px; }

/* ---------- 关键词命中的「相关类目」（2026-10-16）----------
   ① .ns-kw-cate-bar：面包屑右边那一行，不用点开下拉就看得见；
   ② .ns-kw-cate-in：类目下拉里置顶的那一组（搜「玉米」→ 鲜玉米/干玉米/玉米面… 带货量）。 */
.ns-kw-cate-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-left: 18px;
  font-size: 12px;
  color: #969799; }
  .ns-kw-cate-bar > span {
    margin-right: 8px; }
  .ns-kw-cate-bar > a {
    margin-right: 12px;
    color: var(--primary-color, #009c50);
    text-decoration: none; }
    .ns-kw-cate-bar > a:hover {
      color: var(--primary-color, #07c160);
      text-decoration: underline; }
    .ns-kw-cate-bar > a.is-on {
      color: #333333;
      font-weight: 600;
      text-decoration: none; }

.ns-supply-crumb .ns-cate-li .ns-kw-cate-in {
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px dashed #e7e8ea; }
  .ns-supply-crumb .ns-cate-li .ns-kw-cate-in > p {
    margin: 0 0 4px;
    color: #969799; }
  .ns-supply-crumb .ns-cate-li .ns-kw-cate-in a {
    color: var(--primary-color, #009c50); }
    .ns-supply-crumb .ns-cate-li .ns-kw-cate-in a:hover {
      color: var(--primary-color, #07c160); }
    .ns-supply-crumb .ns-cate-li .ns-kw-cate-in a em {
      margin-left: 2px;
      font-style: normal;
      color: #bbbfc4; }

.ns-goods-term-list {
  width: 100%;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  height: 36px;
  line-height: 34px; }
  .ns-goods-term-list li {
    flex-shrink: 0;
    width: 90px;
    height: 100%;
    text-align: center;
    border: 1px solid #dcdee0;
    border-right: none;
    font-size: 12px;
    color: #646566;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box; }
    .ns-goods-term-list li div {
      display: inline-block;
      margin-left: 5px; }
      .ns-goods-term-list li div span {
        display: block;
        height: 7px;
        line-height: 7px; }
      .ns-goods-term-list li div i {
        font-size: 12px; }
      .ns-goods-term-list li div .i-color {
        color: #646566; }
  .ns-goods-term-list > div {
    border: 1px solid #dcdee0;
    height: 34px;
    flex: 1; }
  .ns-goods-term-list li.ns-text-color {
    border: 1px solid var(--primary-color, #07c160); }
  .ns-goods-term-list li.ns-text-color + li {
    border-left: none; }

.ns-goods-term-form {
  border: 1px solid #dcdee0;
  border-top: none;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 12px;
  background-color: #f7f8fa; }
  .ns-goods-term-form .layui-inline {
    height: 40px;
    padding: 0 15px;
    border-right: 1px solid #dcdee0;
    display: flex;
    align-items: center; }
  .ns-goods-term-form .layui-form-label {
    width: auto;
    font-size: 12px; }
  .ns-goods-term-form .layui-input-inline {
    width: 65px;
    height: 24px;
    position: relative; }
    .ns-goods-term-form .layui-input-inline span {
      display: inline-block;
      width: 30px;
      height: 22px;
      text-align: center;
      line-height: 22px;
      background-color: #f7f8fa;
      border-right: 1px solid #E6E6E6;
      position: absolute;
      left: 1px;
      top: 1px; }
    .ns-goods-term-form .layui-input-inline .layui-input {
      height: 24px;
      line-height: 24px;
      padding-left: 35px; }
  .ns-goods-term-form .layui-form-mid {
    margin: 0 5px; }
  .ns-goods-term-form .layui-btn {
    width: 56px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    text-align: center;
    padding: 0;
    color: var(--primary-color, #009c50);
    border-color: var(--primary-color, #07c160);
    margin-left: 8px; }
  .ns-goods-term-form .ns-goods-profit-rate .layui-input-inline span {
    left: unset;
    right: 1px;
    border-left: 1px solid #E5E5E5;
    border-right: 0; }
  .ns-goods-term-form .ns-goods-profit-rate .layui-input {
    padding-left: 5px; }
  .ns-goods-term-form .ns-goods-service {
    padding-left: 15px; }

.ns-goods-list {
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap; }

.ns-goods-li {
  width: 200px;
  overflow: hidden;
  margin-right: 47.5px;
  margin-bottom: 30px; }
  .ns-goods-li:nth-child(5n) {
    margin-right: 0; }
  .ns-goods-li .ns-goods-img {
    width: 100%;
    height: 170px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative; }
    .ns-goods-li .ns-goods-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* 卡片移入时图片放大：0.25s 收口，1s 那种「慢慢推过去」的手感太拖 */
      transition: transform .25s ease-out; }
    .ns-goods-li .ns-goods-img .ns-goods-sale {
      font-size: 12px;
      position: absolute;
      bottom: 0;
      padding-left: 10px;
      width: 100%;
      height: 30px;
      line-height: 30px;
      background-color: rgba(0, 0, 0, 0.6);
      color: var(--primary-color-disabled, #c8c9cc);
      box-sizing: border-box; }
      .ns-goods-li .ns-goods-img .ns-goods-sale .sale-label {
        opacity: .66; }
      .ns-goods-li .ns-goods-img .ns-goods-sale .sale-num {
        display: inline-block;
        margin-left: 10px;
        color: #fff; }
    .ns-goods-li .ns-goods-img .hover-content {
      display: none;
      font-size: 12px;
      position: absolute;
      bottom: 0;
      width: 100%;
      height: 30px;
      line-height: 30px;
      text-align: center;
      background-color: var(--primary-color, #07c160);
      color: #fff;
      font-weight: bolder; }
  .ns-goods-li .ns-goods-img:hover {
    border: 2px solid var(--primary-color, #07c160); }
    .ns-goods-li .ns-goods-img:hover img {
      transform: scale(1.2); }
    .ns-goods-li .ns-goods-img:hover .hover-content {
      display: block; }
  .ns-goods-li .ns-goods-name {
    font-size: 12px;
    color: #323233;
    margin: 5px 0;
    height: 42px; }
    .ns-goods-li .ns-goods-name:hover {
      color: var(--primary-color, #009c50); }
  .ns-goods-li .ns-goods-info {
    position: relative; }
    .ns-goods-li .ns-goods-info p {
      font-size: 12px; }
      .ns-goods-li .ns-goods-info p span:first-child {
        color: #969799;
        display: inline-block; }
    .ns-goods-li .ns-goods-info .ns-goods-profit {
      font-size: 15px; }
    .ns-goods-li .ns-goods-info p:nth-child(2) {
      margin-top: 5px; }
    .ns-goods-li .ns-goods-info p:nth-child(3) {
      position: absolute;
      right: 0;
      bottom: 0;
      cursor: pointer; }

#list_page {
  text-align: right;
  padding: 0 10px; }

.empty-null {
  display: block;
  width: 100%;
  text-align: center;
  padding: 100px 0;
  color: #646566; }
  .empty-null p {
    margin-bottom: 20px; }
  .empty-null i {
    font-size: 62px;
    color: var(--primary-color-dark, #999999); }
/* ===== 商品卡片改版：京东式版式，配色走本站绿色体系 ===== */
.ns-goods-list {
  gap: 15px; }

.ns-goods-list .ns-goods-li {
  position: relative;
  width: calc((100% - 75px) / 6);
  margin: 0;
  padding: 0 0 14px;
  background-color: #fff;
  border: none;
  box-shadow: none; /* 默认不投影 */
  border-radius: 6px;
  box-sizing: border-box;
  overflow: hidden;
  transition: box-shadow .2s ease; }

.ns-goods-list .ns-goods-li:hover {
  /* 移入只加阴影：不要绿色描边、不要上浮位移 */
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); }

/* 唯一的 hover 动画：商品图放大 */
.ns-goods-list .ns-goods-li:hover .ns-goods-img img {
  transform: scale(1.2); }

.ns-goods-list .ns-goods-li .ns-goods-img {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  position: relative;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background-color: #fff; }
  .ns-goods-list .ns-goods-li .ns-goods-img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; }
  .ns-goods-list .ns-goods-li:hover .ns-goods-img {
    border: none; }

.ns-goods-list .ns-goods-li .ns-goods-min {
  /* 位置不够时允许收缩并打点（原来 flex:none：像「99999斤起批」这种长数字会顶到「选规格」按钮上）2026-10-16 */
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  color: #999;
  white-space: nowrap; }

.ns-goods-list .ns-goods-li .ns-goods-title {
  display: flex;
  /* 标签（自营 / 需确认价）与单行标题上下居中：标题行高 22px、标签 18px，
     原来 flex-start 会让标签顶在上面、看着偏高 2px（2026-10-15 用户提的） */
  align-items: center;
  margin: 10px 10px 0; }

.ns-goods-list .ns-goods-li .ns-goods-tag {
  flex: none;
  height: 18px;
  line-height: 16px;
  padding: 0 5px;
  margin-right: 5px;
  font-size: 12px;
  color: var(--primary-color, #009c50);
  background-color: var(--primary-color-light, #eefbf3);
  border: 1px solid #a8e0c4;
  border-radius: 3px;
  box-sizing: border-box; }

.ns-goods-list .ns-goods-li .ns-goods-name {
  flex: 1;
  min-width: 0;
  height: 22px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  color: #323233;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis; }
  .ns-goods-list .ns-goods-li .ns-goods-name:hover {
    color: var(--primary-color, #009c50); }

.ns-goods-list .ns-goods-li .ns-goods-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 10px 0;
  font-size: 12px;
  color: #999; }
  .ns-goods-list .ns-goods-li .ns-goods-supplier {
    flex: 1;
    min-width: 0;
    margin-right: 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; }
  .ns-goods-list .ns-goods-li .ns-goods-stock {
    flex: none; }

.ns-goods-list .ns-goods-li .ns-goods-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 26px;
  margin: 8px 10px 0;
  padding-right: 34px; }

/* 带「选规格」胶囊的卡片：它比 + 圆钮宽，底行要给它留位置，否则会压住「起批量」文字（2026-10-16） */
.ns-goods-list .ns-goods-li .ns-goods-bottom.has-spec {
  padding-right: 72px; }

.ns-goods-list .ns-goods-li .ns-goods-price {
  color: var(--primary-color, #009c50);
  white-space: nowrap; }
  .ns-goods-list .ns-goods-li .ns-goods-price i {
    font-style: normal;
    font-size: 12px;
    margin-right: 1px; }
  .ns-goods-list .ns-goods-li .ns-goods-price b {
    font-size: 20px;
    font-weight: 700; }
  .ns-goods-list .ns-goods-li .ns-goods-price em {
    font-style: normal;
    font-size: 12px;
    color: #999; }
  .ns-goods-list .ns-goods-li .ns-goods-price em.ns-price-dec {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color, #009c50); }

/* 多规格商品：卡片按钮换成「选规格」（跳详情页选完规格再加车），只有单规格才显示「+」直接加购 */
.ns-goods-list .ns-goods-li .ns-goods-spec-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 26px;
  line-height: 26px;
  padding: 0 12px;
  border-radius: 13px;
  background-color: var(--primary-color, #07c160);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
  transition: background-color .2s; }
  .ns-goods-list .ns-goods-li .ns-goods-spec-btn:hover {
    background-color: var(--primary-color, #009c50); }
.ns-goods-list .ns-goods-li .ns-goods-cart {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  background-color: var(--primary-color, #07c160);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, transform .2s; }
  .ns-goods-list .ns-goods-li .ns-goods-cart:hover {
    background-color: var(--primary-color, #009c50);
    transform: scale(1.06); }
  .ns-goods-list .ns-goods-li .ns-goods-cart.is-adding {
    opacity: .6;
    cursor: default; }
  .ns-goods-list .ns-goods-li .ns-goods-cart i {
    font-size: 14px; }
.ns-goods-list .ns-goods-li .ns-goods-shop {
  display: flex;
  align-items: center;
  margin: 8px 10px 0;
  padding-top: 8px;
  font-size: 12px;
  line-height: 18px; }

.ns-goods-list .ns-goods-li .ns-goods-shop-name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  color: #646566;
  text-decoration: none; }
  .ns-goods-list .ns-goods-li .ns-goods-shop-name:hover {
    color: var(--primary-color, #009c50); }

/* 卡片悬停：不给图片加绿色描边（整卡浮动阴影在 .ns-goods-list .ns-goods-li:hover 上）；
   图片放大保留，时长由上面 .ns-goods-img img 的 transition 控制 */
.ns-goods-li .ns-goods-img:hover {
  border: none; }
/* ===== 布局自适应：容器定位 + 商品栅格断点 ===== */
.ns-supply-index-center {
  position: relative; }

/* 栅格：>=1500 六列，之后按窗口逐级降列 */
@media screen and (max-width: 1499px) {
  .ns-goods-list .ns-goods-li {
    width: calc((100% - 60px) / 5); } }

@media screen and (max-width: 1279px) {
  .ns-goods-list .ns-goods-li {
    width: calc((100% - 45px) / 4); } }

/* ===== 商品列表骨架屏（2026-10-16）：列表重新取数的那一下先用灰块占位 =====
   尺寸是照着真卡片量的（方图 1:1 + 两行标题 + 价格行 + 供货商行），
   所以真数据回来换上去时高度不跳；类名只在本文件里用，不碰真卡片的选择器。 */
.ns-goods-list .ns-goods-li.ns-goods-sk {
  pointer-events: none; }

.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-img,
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-line,
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-price,
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-min,
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-btn,
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-shop {
  display: block;
  border-radius: 4px;
  background-color: #f2f3f4;
  background-image: linear-gradient(90deg, #f2f3f4 0%, #f7f8f8 50%, #f2f3f4 100%);
  background-size: 200% 100%;
  animation: nsSkShimmer 1.2s linear infinite; }

/* 方图：和 .ns-goods-img 一样 1:1（圆角交给卡片自己的 overflow 裁） */
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-img {
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  border-radius: 0; }

/* 标题行：真卡片的标题是固定一行（15px / 行高 22 / 超出打点），所以这里也只摆一行，
   位置和真标题一致（卡片顶往下 15px） */
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-line {
  height: 22px;
  margin: 15px 10px 0; }

/* 价格行：左价格 + 右起批，圆钮绝对定位在右下角（对齐真卡片的「+ / 选规格」） */
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 26px;
  margin: 13px 10px 0;
  padding-right: 34px; }

.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-price {
  width: 76px;
  height: 20px; }

.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-min {
  width: 56px;
  height: 14px; }

.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-btn {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%; }

/* 供货商行 */
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-shop {
  width: 40%;
  height: 18px;
  margin: 12px 10px 4px; }

@keyframes nsSkShimmer {
  0% {
    background-position: 100% 0; }
  100% {
    background-position: -100% 0; } }

/* ===== 2026-10-17 列表页改版（照 1688 的筛选条 / 卡片 / 分页；数据只用我们真有的） ===== */

/* 搜索结果页借用首页的两行头部，但「回首页」图标要留着（首页那套样式里它是隐藏的） */
.ns-supply-wrap.ns-supply-list-page .ns-hd-home {
  display: flex; }

/* ---------- 筛选区：一张白卡，两行 ---------- */
.ns-supply-goods-term {
  padding: 12px 16px;
  margin-bottom: 14px;
  background-color: #fff;
  border: 1px solid #eef0ef;
  border-radius: 8px;
  box-sizing: border-box; }

.ns-term-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px; }
  .ns-term-row + .ns-term-row {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #f0f2f1; }

/* 排序文字：综合 / 销量 / 价格 / 上架时间 */
.ns-supply-goods-term .ns-goods-term-list {
  width: auto;
  height: auto;
  line-height: normal;
  gap: 22px; }
  .ns-supply-goods-term .ns-goods-term-list li {
    width: auto;
    height: 22px;
    padding: 0;
    border: 0;
    font-size: 14px;
    color: #333333;
    gap: 4px; }
    .ns-supply-goods-term .ns-goods-term-list li:hover {
      color: var(--primary-color, #009c50); }
    .ns-supply-goods-term .ns-goods-term-list li.is-on {
      color: var(--primary-color, #009c50);
      font-weight: 600; }
    .ns-supply-goods-term .ns-goods-term-list li.ns-text-color,
    .ns-supply-goods-term .ns-goods-term-list li.ns-text-color + li {
      border: 0; }

.ns-term-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #c9cdca; }
  .ns-supply-goods-term .ns-goods-term-list li.is-on .ns-term-arrow {
    border-top-color: var(--primary-color, #009c50); }
  .ns-term-arrow.asc {
    border-top: 0;
    border-bottom: 5px solid var(--primary-color, #009c50); }

.ns-term-fields {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-left: auto; }

.ns-term-field {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #666; }

.ns-term-range {
  display: flex;
  align-items: center;
  gap: 4px; }
  .ns-term-range i {
    font-style: normal;
    font-size: 12px;
    color: #999; }
  .ns-term-range b {
    font-weight: 400;
    color: #c9cdca; }

.ns-term-input {
  width: 72px;
  height: 30px;
  line-height: 30px;
  padding: 0 8px;
  border: 1px solid #e2e5e3;
  border-radius: 4px;
  font-size: 12px;
  color: #333;
  box-sizing: border-box; }
  .ns-term-input:focus {
    border-color: var(--primary-color, #07c160);
    outline: none; }

.ns-term-province {
  height: 30px;
  padding: 0 8px;
  border: 1px solid #e2e5e3;
  border-radius: 4px;
  background-color: #fff;
  font-size: 12px;
  color: #333; }
  .ns-term-province:focus {
    border-color: var(--primary-color, #07c160);
    outline: none; }

.ns-term-btn {
  height: 30px;
  padding: 0 14px;
  border: 1px solid #e2e5e3;
  border-radius: 4px;
  background-color: #fff;
  color: #666;
  font-size: 12px;
  cursor: pointer; }
  .ns-term-btn:hover {
    color: var(--primary-color, #009c50);
    border-color: var(--primary-color, #07c160); }
  .ns-term-btn.is-primary {
    background-color: var(--primary-color, #07c160);
    border-color: var(--primary-color, #07c160);
    color: #fff; }
    .ns-term-btn.is-primary:hover {
      background-color: var(--primary-color, #009c50);
      border-color: var(--primary-color, #009c50);
      color: #fff; }

/* 第二行：复选 chip */
.ns-term-chips {
  gap: 10px; }

.ns-term-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid #e6e8e7;
  border-radius: 14px;
  background-color: #fff;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  user-select: none; }
  .ns-term-chip input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--primary-color, #07c160);
    cursor: pointer; }
  .ns-term-chip.is-on,
  .ns-term-chip:has(input:checked) {
    color: var(--primary-color, #009c50);
    border-color: #a8e0c4;
    background-color: var(--primary-color-light, #eefbf3); }

/* ---------- 卡片：5 列，白卡 + 图上角标 + 两行标题 ---------- */
.ns-goods-list {
  gap: 14px;
  padding: 0; }

.ns-goods-list .ns-goods-li {
  width: calc((100% - 70px) / 6);
  padding: 0 0 12px;
  background-color: #fff;
  border: 1px solid #eef0ef;
  border-radius: 8px; }
  .ns-goods-list .ns-goods-li .ns-goods-img {
    border-radius: 8px 8px 0 0; }

.ns-goods-badges {
  position: absolute;
  left: 8px;
  top: 8px;
  display: flex;
  gap: 4px; }

.ns-goods-badge {
  height: 20px;
  line-height: 20px;
  padding: 0 6px;
  border-radius: 4px;
  font-style: normal;
  font-size: 12px;
  color: #fff; }
  .ns-goods-badge.is-own {
    background-color: var(--primary-color, #07c160); }
  .ns-goods-badge.is-cert {
    background-color: rgba(0, 0, 0, .55); }
  .ns-goods-badge.is-new {
    background-color: var(--primary-helper-color3, #ff9f1c); }

.ns-goods-list .ns-goods-li .ns-goods-title {
  align-items: flex-start;
  margin: 8px 10px 0; }

.ns-goods-list .ns-goods-li .ns-goods-name {
  min-height: 40px;
  height: 40px;
  max-height: 40px;
  box-sizing: border-box;
  font-size: 14px;
  line-height: 20px;
  white-space: normal;
  word-break: break-all;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis; }

.ns-goods-list .ns-goods-li .ns-goods-name .ns-goods-spec {
  margin-left: 4px;
  font-style: normal;
  font-size: 12px;
  color: #999; }

.ns-goods-list .ns-goods-li .ns-goods-bottom {
  min-height: 28px;
  margin: 6px 10px 0; }
  .ns-goods-list .ns-goods-li .ns-goods-bottom .ns-goods-price b {
    font-size: 20px; }

.ns-goods-list .ns-goods-li .ns-goods-shop {
  margin: 4px 10px 0;
  padding-top: 0; }
  .ns-goods-list .ns-goods-li .ns-goods-shop .ns-goods-region {
    flex: none;
    margin-left: 2px;
    font-style: normal;
    color: #999; }
    .ns-goods-list .ns-goods-li .ns-goods-shop .ns-goods-region::before {
      content: '·';
      margin-right: 2px; }

@media screen and (max-width: 1499px) {
  .ns-goods-list .ns-goods-li {
    width: calc((100% - 56px) / 5); } }

@media screen and (max-width: 1279px) {
  .ns-goods-list .ns-goods-li {
    width: calc((100% - 42px) / 4); } }

/* 骨架屏：标题改成两行后，占位块也跟着变高（不然真数据换上来会跳一下） */
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-line {
  height: 40px; }

/* ---------- 分页：页码方块 + 到 __ 页 确定 ---------- */
#list_page {
  padding: 10px 0 30px;
  text-align: center; }
  #list_page .layui-laypage {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0; }
    #list_page .layui-laypage > a,
    #list_page .layui-laypage > span:not(.layui-laypage-skip) {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      line-height: 1;
      margin: 0;
      padding: 0 12px;
      border: 1px solid #e2e5e3;
      border-radius: 6px;
      background-color: #fff;
      color: #333;
      font-size: 15px;
      text-align: center;
      box-sizing: border-box; }
    #list_page .layui-laypage > a:hover {
      color: var(--primary-color, #009c50);
      border-color: var(--primary-color, #07c160); }
    #list_page .layui-laypage .layui-laypage-curr {
      border-color: var(--primary-color, #07c160);
      background-color: var(--primary-color, #07c160);
      color: #fff; }
      #list_page .layui-laypage .layui-laypage-curr em {
        color: #fff; }
    #list_page .layui-laypage .layui-laypage-skip {
      display: inline-flex;
      align-items: center;
      height: 40px;
      line-height: 1;
      margin: 0 0 0 10px;
      font-size: 14px;
      color: #666;
      border: 0;
      background: none; }
      #list_page .layui-laypage .layui-laypage-skip .layui-input {
        display: inline-block;
        width: 56px;
        height: 40px;
        margin: 0 8px;
        vertical-align: middle;
        border: 1px solid #e2e5e3;
        border-radius: 6px;
        font-size: 15px;
        text-align: center; }
      #list_page .layui-laypage .layui-laypage-skip button {
        height: 40px;
        margin-left: 8px;
        vertical-align: middle;
        padding: 0 16px;
        border: 1px solid #e2e5e3;
        border-radius: 6px;
        background-color: #fff;
        color: #666;
        font-size: 14px;
        cursor: pointer; }
        #list_page .layui-laypage .layui-laypage-skip button:hover {
          color: var(--primary-color, #009c50);
          border-color: var(--primary-color, #07c160); }
