@charset "UTF-8";
body {
  margin: 0;
  font-family: 'PingFang SC', 'Microsoft Yahei', sans-serif;
  color: #333333;
  /* 整页最小宽度：窗口再窄就出横向滚动条，不压缩页面布局 */
  min-width: 1226px; }

/* 首页 */
.ns-supply-index {
  margin-top: 10px; }

/* 分类/banner */
.ns-supply-index-center {
  width: 100%;
  display: flex;
  gap: 12px;
  /* justify-content: space-between;  */
}

.ns-supply-index-category {
  width: 220px;
  background-color: #FFFFFF;
  height: 358px;
  padding: 5px 0;
  box-sizing: border-box; }
  .ns-supply-index-category ul {
    width: 100%;
    position: relative; }
  .ns-supply-index-category li {
    padding: 5px 16px;
    line-height: 24px;
    cursor: pointer; }
    .ns-supply-index-category li .ns-cate-title {
      display: flex;
      justify-content: space-between;
      align-items: center; }
    .ns-supply-index-category li span {
      max-width: 130px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
    .ns-supply-index-category li i {
      font-size: 12px;
      color: #969799; }
  .ns-supply-index-category .na-cate-list {
    display: none;
    width: 500px;
    min-height: 358px;
    background-color: #fff;
    padding: 16px;
    box-shadow: 4px 4px 4px rgba(125, 126, 128, 0.16), 4px -4px 4px rgba(125, 126, 128, 0.16);
    border-left: 1px solid #fff;
    box-sizing: border-box;
    z-index: 100;
    position: absolute;
    left: 190px;
    top: -5px; }
  .ns-supply-index-category .ns-cate-li {
    margin-bottom: 10px; }
    .ns-supply-index-category .ns-cate-li h4 {
      font-size: 14px;
      line-height: 20px;
      font-weight: 700;
      color: #333;
      margin-bottom: 8px;
      display: inline-block;
      width: 80px;
      text-align: right; }
  .ns-supply-index-category .ns-cate-con {
    display: inline-block;
    vertical-align: top;
    width: 360px; }
    .ns-supply-index-category .ns-cate-con span {
      display: inline-block;
      font-size: 12px;
      color: #646566;
      margin-right: 12px;
      line-height: 22px; }
    .ns-supply-index-category .ns-cate-con span:hover {
      /* color: var(--primary-color, #009c50);  */
    }
  .ns-supply-index-category li:hover {
    background-color:#d6f7e4; 
  }
    .ns-supply-index-category li:hover .ns-cate-title span, .ns-supply-index-category li:hover .ns-cate-title i {
      color: var(--primary-color, #009c50); 
    }
    .ns-supply-index-category li:hover .ns-cate-bg {
      /* //background-color: var(--primary-color, #07c160); */
      opacity: .1; }
    .ns-supply-index-category li:hover .na-cate-list {
      display: block; }

.ns-supply-index-banner {
  width: 800px;
  height: 358px; }
  /* ===== 中间三栏榜单（2026-10-15 取代原来的 banner 轮播）=====
     结构：灰底容器 + 三个白卡（商机选品 / 全网销量榜 / 趋势飙升榜） */
  .ns-supply-index-banner .ns-rank {
    display: flex;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
    background-color: #f7f8fb;
    border-radius: 8px; }
  .ns-rank-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 12px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 6px; }
  .ns-rank-head {
    flex: none;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #232b26; }
    .ns-rank-head em {
      margin-left: 6px;
      font-style: normal;
      font-size: 12px;
      font-weight: 400;
      color: #98a29c; }
  .ns-rank-list {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 8px; }
  /* 商机选品：一行一个商品（左图右字） */
  .ns-rank-row {
    flex: 1;
    min-height: 0;
    display: flex;
    gap: 8px;
    text-decoration: none;
    color: inherit; }
    .ns-rank-row:hover .ns-rank-name {
      color: var(--primary-color, #009c50); }
  /* 两张榜单：2×2 小格 */
  .ns-rank-tiles {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
    gap: 8px; }
  .ns-rank-thumb {
    flex: none;
    width: 58px;
    height: 58px;
    overflow: hidden;
    background-color: #f4f6f5;
    border-radius: 6px; }
    .ns-rank-thumb img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover; }
  .ns-rank-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column; }
  .ns-rank-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.35;
    color: #232b26; }
  .ns-rank-price {
    margin-top: auto;
    font-style: normal;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color, #009c50); }
  .ns-rank-sub {
    margin-top: 2px;
    overflow: hidden;
    font-size: 12px;
    color: #98a29c;
    white-space: nowrap;
    text-overflow: ellipsis; }
  /* 商机选品那行的「推荐理由」：火苗 + 一行小字（不写店名） */
  .ns-rank-reason {
    display: flex;
    align-items: center; }
    .ns-rank-reason .ns-rank-fire {
      flex: none;
      width: 13px;
      height: 13px;
      margin-right: 3px;
      fill: #ff4d1f; }
    .ns-rank-reason .ns-rank-reason-text {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis; }
  .ns-rank-tile {
    width: calc(50% - 4px);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit; }
    .ns-rank-tile .ns-rank-thumb {
      width: 100%;
      /* 74 → 64（2026-10-15）：两行小格的 2×2 本来比列内容区高 11px，
         底行那行小字被外面 `.ns-supply-index-banner{overflow:hidden}` 切掉（用户：「这个地方都穿了」）。
         缩掉 10px/行，留 9px 余量，不依赖具体字体度量 */
      height: 64px; }
    .ns-rank-tile .ns-rank-price {
      margin-top: 6px;
      font-size: 14px;
      /* 价格不许换行：列窄时「￥16800.00/间」会折成两行，格子比别的高一截、底行小字被容器切掉
         （2026-10-15 用户：「这个地方都穿了」）。放不下时由 JS 降字号（见 .is-shrink） */
      white-space: nowrap; }
    .ns-rank-tile:hover .ns-rank-price {
      color: var(--primary-color, #009c50); }
  /* 长价格自动降一档（前台拼完 HTML 后由 JS 按实际宽度决定加不加） */
  .ns-rank-price.is-shrink {
    font-size: 12px !important; }
  .ns-rank-price.is-shrink-more {
    font-size: 11px !important; }
  /* 好店榜：供货商 logo + 店名 + 在售件数（京东那排「品牌好店」的位置） */
  .ns-rank-shops {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px; }
  .ns-rank-shop {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    background-color: #f9faf9;
    border-radius: 6px; }
    .ns-rank-shop:hover {
      background-color: var(--primary-color-light, #eefbf3); }
  .ns-rank-shop-logo {
    flex: none;
    width: 34px;
    height: 34px;
    overflow: hidden;
    background-color: #fff;
    border-radius: 6px; }
    .ns-rank-shop-logo img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover; }
    .ns-rank-shop-ph {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
      font-size: 15px;
      font-weight: 600;
      color: var(--primary-color, #009c50); }
  .ns-rank-shop-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column; }
    .ns-rank-shop-info b {
      overflow: hidden;
      font-size: 12px;
      font-weight: 500;
      color: #232b26;
      white-space: nowrap;
      text-overflow: ellipsis; }
    .ns-rank-shop-info em {
      margin-top: 2px;
      font-style: normal;
      font-size: 11px;
      color: #98a29c; }
  /* ===== 首页榜单骨架屏（2026-10-16）：榜单是异步拉的，数据没到之前先用灰块把这几栏搭起来 =====
     栏数 / 栏名 / 版式都由服务端按后台配置先渲染（见 Market::buildRankSkeleton），
     这里只管灰块的长相；数据回来时整块替换，所以没有「撤占位」的样式逻辑。 */
  .ns-rank-col.is-skeleton .ns-sk-bar,
  .ns-rank-col.is-skeleton .ns-rank-thumb,
  .ns-rank-col.is-skeleton .ns-rank-shop-logo {
    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-rank-col.is-skeleton .ns-sk-bar-name {
    height: 12px;
    margin-bottom: 5px; }
  .ns-rank-col.is-skeleton .ns-sk-bar-name2 {
    width: 68%;
    height: 12px; }
  .ns-rank-col.is-skeleton .ns-sk-bar-price {
    margin-top: auto;
    width: 60px;
    height: 15px; }
  .ns-rank-col.is-skeleton .ns-sk-bar-sub {
    margin-top: 5px;
    width: 72px;
    height: 11px; }
  /* 成交榜 / 上新榜（2×2 小格）：方图沿用真格子那套尺寸（宽 100% / 高 64）+ 价格 + 小字 */
  .ns-rank-col.is-skeleton .ns-sk-bar-tprice {
    margin-top: 6px;
    width: 52px;
    height: 19px; }
  .ns-rank-col.is-skeleton .ns-sk-bar-tsub {
    margin-top: 2px;
    width: 44px;
    height: 17px; }
  /* 好店榜：logo（34×34 那块）+ 店名 + 在售件数 */
  .ns-rank-col.is-skeleton .ns-sk-bar-sname {
    width: 78%;
    height: 11px; }
  .ns-rank-col.is-skeleton .ns-sk-bar-ssub {
    margin-top: 5px;
    width: 52px;
    height: 9px; }
  .ns-supply-index-banner .layui-carousel .layui-carousel-img {
    width: 100%;
    height: 100%; }
    .ns-supply-index-banner .layui-carousel .layui-carousel-img img {
      width: 100%;
      height: 100%;
      object-fit: cover; }
  .ns-supply-index-banner .layui-carousel .layui-carousel-ind ul {
    background-color: transparent; }

.ns-goods-list {
  width: 100%;
  /* 与上方「精选货源」行、左侧类目导航左边缘对齐，这里不能再加内边距 */
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  /* 与上方「精选货源」行的间距由该行自身的 margin-bottom 控制 */
  margin-top: 0; }

.ns-goods-li {
  width: 200px;
  overflow: hidden;
  margin-right: 47.5px;
  margin-bottom: 30px;
  background-color: #fff;
  /* padding: 5px; */
  box-sizing: border-box; }
  .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;
    padding: 0 5px; }
    .ns-goods-li .ns-goods-name:hover {
      color: var(--primary-color, #009c50); }
  .ns-goods-li .ns-goods-info {
    position: relative;
    padding: 0 5px; }
    .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; }

.goods-list-title {
  text-align: left;
  font-size: 25px;
  margin-top: 40px;
  border-left: 6px solid var(--primary-color, #07c160);
  padding-left: 20px; }
/* ===== 商品卡片改版：京东式版式，配色走本站绿色体系 ===== */
.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-supply-index-category .na-cate-list {
  display: none;
  /* 固定宽度，一行正好 6 个：二级栏 230 + 面板左右边框 2 + 三级栏内边距 22×2
     + 三级栏滚动条 6 + 6×86 底板 + 5×29 列距 + 8 余量 = 951 */
  width: 951px;
  height: 358px;
  min-height: 0;
  padding: 0;
  background-color: #fff;
  box-sizing: border-box;
  overflow: hidden; }

.ns-supply-index-category li:hover .na-cate-list {
  display: flex; }

/* 类目二/三级面板：数据按需加载时的占位骨架 */
.ns-supply-index-category .ns-cate-loading {
  flex: 1;
  padding: 18px 22px;
  box-sizing: border-box; }
  .ns-supply-index-category .ns-cate-loading i {
    display: block;
    height: 12px;
    border-radius: 6px;
    background-color: #f2f3f4;
    margin-bottom: 12px; }
  .ns-supply-index-category .ns-cate-loading i:nth-child(1) {
    width: 62%; }
  .ns-supply-index-category .ns-cate-loading i:nth-child(2) {
    width: 78%; }
  .ns-supply-index-category .ns-cate-loading i:nth-child(3) {
    width: 48%; }

.ns-supply-index-category .ns-cate-col {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  /* 滚到两端后不再把滚动传给下面的页面 */
  overscroll-behavior: contain;
  box-sizing: border-box; }
  .ns-supply-index-category .ns-cate-col::-webkit-scrollbar {
    width: 6px; }
  .ns-supply-index-category .ns-cate-col::-webkit-scrollbar-thumb {
    background-color: #e0e0e0;
    border-radius: 3px; }

.ns-supply-index-category .ns-cate-col-sub {
  width: 230px;
  padding: 10px 0;
  border-right: 1px solid #f2f3f2;
  background-color: #fafbfa; }
  .ns-supply-index-category .ns-cate-col-sub .ns-cate-li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 9px 12px 9px 18px;
    cursor: pointer; }
    .ns-supply-index-category .ns-cate-col-sub .ns-cate-li h4 {
      display: block;
      width: auto;
      margin: 0;
      font-size: 14px;
      font-weight: 400;
      line-height: 20px;
      color: #333;
      text-align: left; }
    .ns-supply-index-category .ns-cate-col-sub .ns-cate-li i {
      font-size: 12px;
      color: var(--primary-color-disabled, #c8c9cc); }
    .ns-supply-index-category .ns-cate-col-sub .ns-cate-li.is-active {
      background-color: #fff; }
      .ns-supply-index-category .ns-cate-col-sub .ns-cate-li.is-active h4 {
        color: var(--primary-color, #009c50);
        font-weight: 600; }

.ns-supply-index-category .ns-cate-col-third {
  flex: 1;
  padding: 0; }

/* 三级：按二级分块，块内是该二级下的全部三级；块标题滚动时吸顶 */
.ns-supply-index-category .ns-cate-sec {
  padding: 0 22px 8px; }
.ns-supply-index-category .ns-cate-sec-title {
  position: sticky;
  top: 0;
  z-index: 2;
  margin: 0 -22px;
  padding: 14px 22px 10px;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: #333;
  background-color: #fff;
  cursor: pointer; }
  .ns-supply-index-category .ns-cate-sec-title:hover {
    color: var(--primary-color, #009c50); }
.ns-supply-index-category .ns-cate-con {
  display: grid;
  /* 底板 86×86、列距 29px、行距 24px，与参考图一致 */
  grid-template-columns: repeat(auto-fill, 86px);
  gap: 24px 29px;
  width: auto; }
  /* 三级类目：图标在上、文字在下 */
  .ns-supply-index-category .ns-cate-con span {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* 无图的三级类目名称与其它名称对齐 */
    width: auto;
    max-width: none;
    margin: 0;
    font-size: 13px;
    line-height: 18px;
    color: #646566;
    text-align: center;
    cursor: pointer; }
    .ns-supply-index-category .ns-cate-con span:hover {
      color: var(--primary-color, #009c50); }
  .ns-supply-index-category .ns-cate-con span.ns-cate-con-pic {
    position: relative; }
  /* 每个类目一块浅灰圆角底板 86×86，图标内留 5px 边距几乎铺满，名称在下方 */
  .ns-supply-index-category .ns-cate-con span img {
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 0 8px;
    padding: 5px;
    box-sizing: border-box;
    object-fit: contain;
    background-color: #f5f6f5;
    border-radius: 6px;
    transition: background-color .18s; }
  .ns-supply-index-category .ns-cate-con span:hover img {
    background-color: #eef8ea; }
  /* 三级类目没图标就不显示（数据层已经不输出）；某个二级分块下全部没图时，整块也不显示 */
  .ns-supply-index-category .ns-cate-sec:not(:has(.ns-cate-con-pic)):not(:has(.ns-cate-empty)) {
    display: none; }
  /* 热门角标：底板右上角挂火苗图标 */
  .ns-supply-index-category .ns-cate-con span .ns-hot-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    margin: 0;
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    background-color: transparent;
    background-image: url(../img/ns-cate-hot.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    border: none;
    border-radius: 0; }
.ns-supply-index-category .ns-cate-con .ns-cate-empty {
  width: auto;
  color: var(--primary-color, #009c50); }

/* 精选货源：触底加载的状态提示 */
.ns-goods-more {
  padding: 18px 0 28px;
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  color: var(--primary-color-dark, #999999);
  min-height: 20px; }
/* ===== 首页「类目 + 广告」整块美化，面板铺满右侧不留空档 ===== */
.ns-supply-index-center {
  display: flex;
  align-items: stretch; }

.ns-supply-index-category {
  flex: none;
  width: 220px;
  height: 312px;
  max-height: 312px;
  /* 高于「精选货源」吸顶栏(z-index:19)，保证展开的列表和弹出面板都盖在它上面 */
  z-index: 30;
  box-sizing: border-box;
  border: none;
  background-color: #f5f6f5;
  border-radius: 6px;
  box-shadow: none;
  padding: 8px 0;
  overflow: visible; }
  .ns-supply-index-category li {
    margin: 0 6px;
    padding: 5px 12px;
    border-radius: 8px;
    line-height: 24px;
    transition: background-color .18s ease; }
  .ns-supply-index-category .ns-cate-title span {
    font-size: 15px; }
  .ns-supply-index-category li:hover {
    background-color: #ffffff; }
    .ns-supply-index-category li:hover .ns-cate-title span,
    .ns-supply-index-category li:hover .ns-cate-title i {
      color: var(--primary-color, #009c50); }

.ns-supply-index-banner {
  flex: 1;
  height: 312px;
  max-height: 312px;
  width: auto;
  box-sizing: border-box;
  border: 1px solid #f0f1f0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: none; }

/* 展开面板：独立浮层（四边描边 + 6px 圆角 + 淡阴影），固定宽度 951，一行正好 6 个三级底板 */
.ns-supply-index-category .na-cate-list {
  left: 219px;
  top: 0;
  width: 951px;
  height: 400px;
  border: 1px solid #f0f1f0;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  animation: nsCateFade .16s ease-out; }
  .ns-supply-index-category li:hover .na-cate-list {
    display: flex; }

@keyframes nsCateFade {
  from {
    opacity: 0; }
  to {
    opacity: 1; } }

/* 面板两栏随宽度自适应 */
.ns-supply-index-category .ns-cate-col-sub {
  width: 230px; }
.ns-supply-index-category .ns-cate-col-third {
  padding: 0; }
/* 左栏卡片保持自身圆角（弹出面板是独立浮层） */
.ns-supply-index-category.is-open .na-cate-list {
  left: 219px; }
/* 鼠标移入：一级分类整体展开显示全部（浮层，不改变其它两栏高度） */
.ns-supply-index-category.is-open > ul {
  max-height: none;
  overflow: visible;
  background-color: #f5f6f5;
  border-radius: 6px;
  /* 最后一项与底边留一点距离（与卡片上下 8px 内边距一致） */
  padding-bottom: 8px; }
/* 左栏菜单：固定高度（与广告图等高）；超过可视高度的类目在列表内部滚动，不影响页面布局 */
.ns-supply-index-category > ul {
  position: static;
  max-height: 296px; /* 卡片 312 - 上下各 8px 内边距 */
  /* 不出滚动条：超出部分裁掉，鼠标移入时整列展开显示全部 */
  overflow: hidden;
  scrollbar-width: none; }
  .ns-supply-index-category > ul::-webkit-scrollbar {
    width: 0;
    height: 0; }
/*
 * 类目没显示完：折叠时超出的部分被裁掉了，底部压一层渐隐提示「下面还有」。
 * .is-clipped 由 JS 按「内容高度 > 可视高度」判断后补上，类目少时不会出现；
 * 鼠标移入展开（.is-open）整列都看得见，渐隐自然消失。
 */
.ns-supply-index-category {
  position: relative; }
  .ns-supply-index-category.is-clipped:not(.is-open)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 46px;
    border-radius: 0 0 6px 6px;
    background: linear-gradient(to bottom, rgba(245, 246, 245, 0), #f5f6f5 74%);
    pointer-events: none;
    z-index: 5; }
/* 一级类目图标 + 热门角标 */
.ns-supply-index-category .ns-cate-name {
  display: flex;
  align-items: center;
  min-width: 0; }
  .ns-supply-index-category .ns-cate-name span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; }

.ns-supply-index-category .ns-cate-icon {
  flex: none;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  background-color: #646566;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-position: center;
  mask-position: center; }

.ns-hot-tag {
  flex: none;
  margin-left: 5px;
  padding: 0 4px;
  height: 16px;
  line-height: 15px;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  color: var(--primary-color, #009c50);
  background-color: var(--primary-color-light, #eefbf3);
  border: 1px solid #b7e6cd;
  border-radius: 3px;
  box-sizing: border-box; }
  .ns-supply-index-category .ns-cate-con span .ns-hot-tag {
    margin-left: 4px;
    vertical-align: 1px; }
/* 热门：角标圆点 + 单独一行「热门分类」 */
.ns-hot-dot {
  display: inline-block;
  flex: none;
  width: 6px;
  height: 6px;
  margin-left: 3px;
  border-radius: 50%;
  background-color: #ff4d4f;
  vertical-align: 4px; }

/* 一级项与弹出面板之间的命中桥接，避免鼠标划过空隙时面板消失 */
.ns-supply-index-category .ns-cate-title {
  position: relative; }
  .ns-supply-index-category .ns-cate-title::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -20px;
    width: 20px; }
/* 卡片悬停：不给图片加绿色描边（整卡浮动阴影在 .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); } }


/* ===== 首页新布局：顶部渠道条 + 左中右三段 ===== */
.ns-supply-channel {
  display: flex;
  align-items: center;
  margin-top: 12px;
  padding: 8px 16px;
  background-color: #fff;
  border: 1px solid #f0f1f0;
  border-radius: 12px;
  box-sizing: border-box; }
  .ns-supply-channel .ns-channel-item {
    display: flex;
    align-items: center;
    flex: none;
    margin-right: 4px;
    padding: 6px 10px;
    font-size: 14px;
    color: #323233;
    border-radius: 8px;
    transition: color .18s, background-color .18s; }
    .ns-supply-channel .ns-channel-item:hover {
      color: var(--primary-color, #009c50);
      background-color: var(--primary-color-light, #eefbf3); }
  .ns-supply-channel .ns-channel-icon {
    flex: none;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    background-color: #646566;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center; }
    .ns-supply-channel .ns-channel-item:hover .ns-channel-icon {
      background-color: var(--primary-color, #07c160); }
  .ns-supply-channel .ns-channel-more {
    margin-left: auto;
    font-size: 13px;
    color: #969799; }
    .ns-supply-channel .ns-channel-more i {
      margin-left: 2px;
      font-size: 12px; }
    .ns-supply-channel .ns-channel-more:hover {
      color: var(--primary-color, #009c50); }

/* 三段：类目 / 轮播 / 采购工作台 */
.ns-supply-index-center {
  gap: 12px; }

.ns-supply-side {
  flex: none;
  width: 300px;
  height: 312px;
  padding: 16px;
  /* 2026-10-15 用户：整块面板要「浅绿 → 白」的上下渐变（原来整块纯白） */
  background-color: #fff;
  background-image: linear-gradient(180deg, #e6f7df 0%, #ffffff 100%);
  border: 1px solid #f0f1f0;
  border-radius: 6px;
  box-sizing: border-box; }
  .ns-supply-side .ns-side-head {
    display: flex;
    align-items: center;
    margin-bottom: 10px; }
    .ns-supply-side .ns-side-avatar {
      flex: none;
      width: 38px;
      height: 38px;
      margin-right: 10px;
      font-size: 20px;
      line-height: 38px;
      text-align: center;
      color: var(--primary-color, #009c50);
      background-color: var(--primary-color-light, #eefbf3);
      border-radius: 50%; }
    .ns-supply-side .ns-side-hello {
      min-width: 0; }
      .ns-supply-side .ns-side-hello b {
        display: block;
        overflow: hidden;
        font-size: 14px;
        color: #323233;
        white-space: nowrap;
        text-overflow: ellipsis; }
      .ns-supply-side .ns-side-hello span {
        display: block;
        margin-top: 3px;
        font-size: 12px;
        color: #969799; }

  .ns-supply-side .ns-side-card {
    padding: 14px 12px;
    /* 渐变挪到整个面板上了，中间这块回到纯白 */
    background-color: #fff;
    border-radius: 10px; }
  /* ===== 登录后的「采购工作台」（2026-10-15 用户：登录后显示板块）=====
     结构：三格数字（待发货 / 待收货 / 退款售后）+ 两张小卡（订单 / 采购车），
     下面那排「收藏 / 关注 / 上新 / 足迹」是登录前后共用的，没动。 */
  .ns-supply-side .ns-work-stats {
    display: flex;
    margin-bottom: 8px; }
    .ns-supply-side .ns-work-stat {
      flex: 1;
      min-width: 0;
      text-align: center;
      text-decoration: none;
      color: inherit; }
      .ns-supply-side .ns-work-stat span {
        display: block;
        font-size: 12px;
        color: #646566; }
      .ns-supply-side .ns-work-stat b {
        display: block;
        margin-top: 4px;
        font-size: 19px;
        font-weight: 700;
        line-height: 1.1;
        color: #232b26; }
      .ns-supply-side .ns-work-stat em {
        display: block;
        margin-top: 4px;
        overflow: hidden;
        font-size: 11px;
        font-style: normal;
        color: #98a29c;
        white-space: nowrap;
        text-overflow: ellipsis; }
        .ns-supply-side .ns-work-stat em.is-warn {
          color: #ff7a1a; }
      .ns-supply-side .ns-work-stat:hover b,
      .ns-supply-side .ns-work-stat:hover span {
        color: var(--primary-color, #009c50); }
  .ns-supply-side .ns-work-cards {
    display: flex;
    gap: 8px; }
    .ns-supply-side .ns-work-card {
      flex: 1;
      min-width: 0;
      padding: 8px 9px 9px;
      text-decoration: none;
      color: inherit;
      background-color: #f5fbf2;
      border-radius: 8px;
      transition: background-color .18s; }
      .ns-supply-side .ns-work-card:hover {
        background-color: #ecf7e7; }
      .ns-supply-side .ns-work-card-head {
        display: flex;
        align-items: center;
        justify-content: space-between; }
        .ns-supply-side .ns-work-card-head b {
          font-size: 13px;
          font-weight: 600;
          color: #232b26; }
        .ns-supply-side .ns-work-card-head i {
          font-size: 11px;
          color: #9aa39c; }
      .ns-supply-side .ns-work-card-body {
        margin-top: 6px;
        min-width: 0; }
        .ns-supply-side .ns-work-card-body > em {
          display: block;
          font-size: 12px;
          font-style: normal;
          color: #4a544e; }
          .ns-supply-side .ns-work-card-body > em b {
            font-size: 14px;
            color: var(--primary-color, #009c50); }
        .ns-supply-side .ns-work-card-body > span.ns-work-empty {
          display: block;
          font-size: 11px;
          line-height: 1.4;
          color: #98a29c; }
  /* 采购车预览：小图 + 名称 + 价格 */
  .ns-supply-side .ns-work-cart {
    display: flex;
    align-items: center;
    gap: 6px; }
    .ns-supply-side .ns-work-cart img {
      flex: none;
      width: 34px;
      height: 34px;
      object-fit: cover;
      border-radius: 6px; }
    .ns-supply-side .ns-work-cart-info {
      flex: 1;
      min-width: 0; }
      .ns-supply-side .ns-work-cart-info span {
        display: block;
        overflow: hidden;
        font-size: 11px;
        line-height: 1.3;
        color: #4a544e;
        white-space: nowrap;
        text-overflow: ellipsis; }
      .ns-supply-side .ns-work-cart-info b {
        display: block;
        margin-top: 2px;
        font-size: 13px;
        color: var(--primary-color, #009c50); }
        .ns-supply-side .ns-work-cart-info b i {
          font-size: 11px;
          font-style: normal; }
    .ns-supply-side .ns-side-feats {
      display: flex; }
    .ns-supply-side .ns-side-feat {
      flex: 1;
      min-width: 0;
      margin-right: 8px;
      text-align: center;
      color: #646566; }
      .ns-supply-side .ns-side-feat:last-child {
        margin-right: 0; }
      .ns-supply-side .ns-side-feat i {
        display: block;
        width: 34px;
        height: 34px;
        margin: 0 auto 6px;
        font-size: 19px;
        line-height: 34px;
        text-align: center;
        color: var(--primary-color, #009c50);
        /* 中间块改成白底后，图标原来的白方块会看不见 —— 换一层更浅的绿底，保留「图标块」的样子 */
        background-color: var(--primary-color-light, #eefbf3);
        border-radius: 10px; }
      .ns-supply-side .ns-side-feat b {
        display: block;
        font-size: 13px;
        font-weight: 600;
        color: #323233; }
      .ns-supply-side .ns-side-feat span {
        display: block;
        margin-top: 3px;
        font-size: 11px;
        line-height: 15px;
        color: #969799; }
      .ns-supply-side .ns-side-feat:hover i {
        color: #fff;
        background-color: var(--primary-color, #07c160); }
      .ns-supply-side .ns-side-feat:hover b {
        color: var(--primary-color, #009c50); }
    .ns-supply-side .ns-side-btn {
      display: block;
      height: 38px;
      margin-top: 14px;
      font-size: 15px;
      font-weight: 600;
      line-height: 38px;
      text-align: center;
      color: #fff;
      background-color: var(--primary-color, #07c160);
      /* 2026-10-15 用户：不要椭圆胶囊，改成圆角矩形 */
      border-radius: 8px;
      transition: background-color .18s; }
      .ns-supply-side .ns-side-btn:hover {
        color: #fff;
        background-color: var(--primary-color, #009c50); }

  .ns-supply-side .ns-side-shortcuts {
    display: flex;
    margin-top: 10px; }
    .ns-supply-side .ns-side-shortcut {
      display: flex;
      flex: 1;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      height: 46px;
      margin-right: 6px;
      font-size: 11px;
      color: #646566;
      white-space: nowrap;
      /* 2026-10-15 用户：底部这排不要边框，直接贴在渐变底上 */
      background-color: transparent;
      border: 0;
      border-radius: 8px;
      transition: color .18s, background-color .18s; }
      .ns-supply-side .ns-side-shortcut:last-child {
        margin-right: 0; }
      .ns-supply-side .ns-side-shortcut i {
        margin-bottom: 3px;
        font-size: 16px; }
      .ns-supply-side .ns-side-shortcut:hover {
        color: var(--primary-color, #009c50);
        background-color: rgba(7, 193, 96, .08); }

/*
 * 首页曾经把右侧悬浮栏（采购单/我的订单/采购中心/客服/回顶部）藏起来，
 * 理由是「和右栏的采购工作台撞」——那是容器还是 1210px 固定宽时的事。
 * 现在容器是「两侧各 96px 内边距」，悬浮栏距右边 14px、宽 64px（距边 78px），
 * 正好落在页面外边距里，不会压到右栏，所以照常显示。
 */

/* 吸顶搜索行始终盖在一级类目卡/展开的类目列表之上（header.css 里是 z-index:20，
   这里用 .ns-supply-home 提升优先级）。吸顶时不加阴影，保持干净的白条 */
.ns-supply-home .ns-supply-header-wrap {
  z-index: 40; }

/* ===== 首页：精选货源（后台自定义类目） ===== */
.ns-pick-cate {
  /* 滚动到吸顶工具条下方后吸附住（吸顶工具条高 64） */
  position: sticky;
  top: 64px;
  z-index: 19;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  height: 46px;
  margin: 2px 0 0;
  padding: 0;
  box-sizing: border-box; }
  .ns-pick-cate.is-stuck {
    box-shadow: 0 6px 8px -6px rgba(0, 0, 0, 0.14); }
  .ns-pick-cate .ns-pick-cate-list {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 44px;
    height: 100%;
    padding-right: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none; }
    .ns-pick-cate .ns-pick-cate-list::-webkit-scrollbar {
      display: none; }
    .ns-pick-cate .ns-pick-cate-list.is-scrollable {
      padding-right: 48px; }
    .ns-pick-cate .ns-pick-cate-list .ns-pick-cate-item {
      flex: 0 0 auto;
      /* 未激活状态 */
      font-size: 14px;
      font-weight: 500;
      color: rgba(0, 0, 0, 0.6);
      text-decoration: none;
      white-space: nowrap; }
      .ns-pick-cate .ns-pick-cate-list .ns-pick-cate-item:hover {
        color: #222222; }
      .ns-pick-cate .ns-pick-cate-list .ns-pick-cate-item.is-active {
        /* 激活状态 */
        font-size: 18px;
        font-weight: 600;
        color: rgba(0, 0, 0, 0.87); }
  .ns-pick-cate .ns-pick-cate-more,
  .ns-pick-cate .ns-pick-cate-prev {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 58px;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    font-size: 16px;
    color: #666666;
    cursor: pointer; }
    .ns-pick-cate .ns-pick-cate-more:hover,
    .ns-pick-cate .ns-pick-cate-prev:hover {
      color: #222222; }
  .ns-pick-cate .ns-pick-cate-more {
    right: 0;
    justify-content: flex-end;
    padding-right: 4px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0), #ffffff 46%); }
  .ns-pick-cate .ns-pick-cate-prev {
    left: 0;
    justify-content: flex-start;
    padding-left: 4px;
    background-image: linear-gradient(to left, rgba(255, 255, 255, 0), #ffffff 46%); }
    .ns-pick-cate .ns-pick-cate-prev .iconfont {
      transform: rotate(180deg); }

.ns-goods-empty {
  padding: 60px 0;
  text-align: center;
  font-size: 14px;
  color: var(--primary-color-dark, #999999); }

/* ===== 商品列表骨架屏（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; }

/* 标题行：真卡片的标题固定两行（14px / 行高 20 / 第二行超出打点） */
.ns-goods-list .ns-goods-li.ns-goods-sk .ns-sk-line {
  height: 40px;
  margin: 8px 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;
  /* 首页这版卡片的底行是 28 高（list.css 那版是 26），占位跟着它走，高度才和真卡片一样 */
  height: 28px;
  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; } }

/* 商品标题统一固定两行：单行标题也保留第二行高度，价格和供货商行始终对齐 */
.ns-goods-list .ns-goods-li .ns-goods-title {
  align-items: flex-start; }

.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; }
