@charset "UTF-8";
body {
  color: #333333; }

.layui-body::-webkit-scrollbar {
  display: none; }

.layui-body {
  overflow-x: hidden;
  overflow-y: scroll; }

/*o内核*/
.scroll_content .-o-scrollbar {
  -moz-appearance: none !important;
  background: rgba(0, 255, 0, 0) !important; }

.scroll_content::-o-scrollbar-button {
  background-color: rgba(0, 0, 0, 0); }

.scroll_content::-o-scrollbar-track {
  background-color: rgba(0, 0, 0, 0); }

.scroll_content::-o-scrollbar-track-piece {
  background-color: rgba(0, 0, 0, 0); }

.scroll_content::-o-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0); }

.scroll_content::-o-scrollbar-corner {
  background-color: rgba(0, 0, 0, 0); }

.scroll_content::-o-scrollbar-resizer {
  background-color: rgba(0, 0, 0, 0); }

/*IE10,IE11,IE12*/
.layui-body {
  -ms-scroll-chaining: chained;
  -ms-overflow-style: none;
  -ms-content-zooming: zoom;
  -ms-scroll-rails: none;
  -ms-content-zoom-limit-min: 100%;
  -ms-content-zoom-limit-max: 500%;
  -ms-scroll-snap-type: proximity;
  -ms-scroll-snap-points-x: snapList(100%, 200%, 300%, 400%, 500%);
  -ms-overflow-style: none;
  overflow: auto; }

.ns-body-content {
  background-color: #F7F8FA; }

.ns-supply-wrap {
  width: 100%; }

.ns-supply-wrap-con {
  width: 1210px;
  margin: 0 auto; }

/* 头部 */
.ns-supply-header-wrap {
  background-color: #FFFFFF;
  width: 100%; }

.ns-supply-header {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 12px;
  height: 64px;
  line-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center; }
  .ns-supply-header a {
    height: 64px;
    color: #646566;
    cursor: pointer; }
    .ns-supply-header a:hover {
      color: var(--primary-color, #009c50); }

.ns-supply-header-opretion {
  display: flex;
  align-items: center; }
  .ns-supply-header-opretion > span {
    width: 1px;
    height: 16px;
    line-height: 16px;
    margin: 0 16px;
    background-color: #ebedf0; }
  .ns-supply-header-opretion > a {
    display: flex;
    align-items: center; }
    .ns-supply-header-opretion > a > i {
      margin-right: 5px;
      font-size: 14px; }

.ns-supply-logo img {
  max-width: 135px;
  max-height: 50px; }

/* 顶部操作区：图标按钮（AI匹配 / 采购车 / 订单 / 消息） */
.ns-hd-item {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 18px; }
  .ns-hd-item .ns-hd-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 23px;
    color: #333333;
    transition: color .15s, background-color .15s; }
    /* 直接挂在 a.ns-hd-icon 上的 svg（采购车 / 订单）也要有固定尺寸 */
    .ns-hd-icon > svg {
      width: 27px;
      height: 27px;
      display: block; }
    .ns-hd-item .ns-hd-icon svg {
      width: 27px;
      height: 27px;
      display: block; }
    .ns-hd-item:hover .ns-hd-icon,
    .ns-hd-item.is-open .ns-hd-icon {
      color: var(--primary-color, #009c50);
      background-color: var(--primary-color-light, #eefbf3); }
  /* 采购车 / 我的订单：图标本身就是 a（同时挂 ns-hd-item ns-hd-icon），
     header 里 .ns-supply-header a{height:64px} 会把它撑成 64px 高，
     角标相对这个 64px 盒子定位就会飘到图标上方很远的地方；
     这里把它定成一枚 46x46 的圆形按钮，和 AI / 消息保持一致 */
  a.ns-hd-item.ns-hd-icon {
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 23px;
    color: #333333;
    transition: color .15s, background-color .15s; }
    a.ns-hd-item.ns-hd-icon:hover {
      color: var(--primary-color, #009c50);
      background-color: var(--primary-color-light, #eefbf3); }
  .ns-hd-item .ns-hd-badge {
    position: absolute;
    top: 2px;
    right: 4px;
    box-sizing: border-box;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    /* 顶栏所有数字角标统一红色（2026-10-16 用户：「颜色统一一下，这个都改成红色」——
       购物车是绿的、消息是红的，两枚不一致） */
    background-color: #f5222d;
    color: #ffffff;
    font-size: 11px;
    font-style: normal;
    text-align: center;
    box-shadow: 0 0 0 2px #ffffff; }
  .ns-hd-item .ns-hd-panel {
    display: none;
    line-height: 1.5;
    position: absolute;
    right: -10px;
    top: 44px;
    z-index: 30;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
    padding: 6px;
    box-sizing: border-box; }
    .ns-hd-item:hover .ns-hd-panel,
    .ns-hd-item.is-open .ns-hd-panel {
      display: block; }

/* AI 匹配面板 */
.ns-ai-panel {
  width: 300px;
  padding: 18px 22px 20px;
  text-align: center; }
  /* .ns-ai-chip（小胶囊）2026-10-15 去掉了：和下面的标题重复，样式留着不用也无害 */
  .ns-ai-panel .ns-ai-title {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222222;
    letter-spacing: -.2px; }
  .ns-ai-panel .ns-ai-desc {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--primary-color-dark, #999999); }
  .ns-ai-panel .ns-ai-btn {
    display: block;
    height: 42px;
    line-height: 42px;
    margin-top: 18px;
    border-radius: 8px;
    background-color: var(--primary-color, #07c160);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700; }
    .ns-ai-panel .ns-ai-btn:hover {
      background-color: var(--primary-color, #009c50); }

/* 消息面板 */
.ns-msg-panel {
  width: 250px;
  /* 上下留白收一收：原来 6px + 条目各 12px，看着底下空一截（2026-10-15 用户提的）
     现在面板上下 2px、条目 10px，上下总留白一致，也不显空 */
  padding: 2px 6px; }
  .ns-msg-panel a {
    display: block;
    position: relative;
    padding: 10px 12px 10px 26px;
    border-radius: 8px;
    text-decoration: none; }
    .ns-msg-panel a + a::before {
      content: '';
      position: absolute;
      left: 12px;
      right: 12px;
      top: 0;
      height: 1px;
      background-color: #f2f2f2; }
    .ns-msg-panel a:hover {
      background-color: var(--primary-color-light, #eefbf3); }
    .ns-msg-panel a span {
      display: block;
      font-size: 14px;
      line-height: 1.4;
      color: #333333; }
    .ns-msg-panel a span em {
      display: block;
      margin-top: 5px;
      font-size: 12px;
      font-style: normal;
      line-height: 1.5;
      color: var(--primary-color-dark, #999999); }
    /* 绿点：默认不显示，未读数 > 0 时才亮（见 market_head.html 里那段拉 unreadCount 的脚本） */
    .ns-msg-panel a .ns-msg-dot {
      display: none;
      position: absolute;
      left: 12px;
      top: 17px;
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background-color: var(--primary-color, #009c50); }
    .ns-msg-panel a .ns-msg-dot.is-on { display: block; }

  /* 客服未读角标（2026-10-16 离线消息提醒）：挂在顶栏「消息」图标右上角，
     数量由 cs_notify.js 维护（WS 推送 + 断线时轮询） */
  .ns-hd-item .ns-hd-icon .ns-cs-badge {
    display: none;
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 9px;
    background-color: #f5222d;
    color: #ffffff;
    font-style: normal;
    font-size: 11px;
    line-height: 17px;
    text-align: center; }
    .ns-hd-item .ns-hd-icon .ns-cs-badge.is-on { display: block; }

/* 顶部搜索栏 */
.ns-supply-header-search {
  border-top: 0;
  padding-left: 20px;
  padding-right: 20px;
  height: 72px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #FFFFFF; }
  .ns-supply-header-search a {
    display: inline-block;
    width: 135px; }

.ns-supply-search {
  display: flex;
  align-items: center; }

/* 搜索下拉面板：没输词「为你推荐 + 商机发现」，输了词「搜索建议 + 相关类目」。
   挂在 body 上、fixed 定位（位置由 JS 跟着当前聚焦的搜索框算），
   因为二级页面的大搜索行是 display:none，面板放在里面显示不出来（2026-10-16） */
.ns-supply-search {
  position: relative; }
.ns-sp-panel {
  position: fixed;
  z-index: 100001;
  width: 720px;
  background-color: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, .10);
  padding: 18px 22px 20px;
  box-sizing: border-box; }
  .ns-sp-panel .ns-sp-block + .ns-sp-block {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f4f4f4; }
  .ns-sp-panel .ns-sp-title {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 12px; }
    .ns-sp-panel .ns-sp-title svg {
      width: 16px;
      height: 16px;
      vertical-align: -3px;
      margin-right: 4px; }
    .ns-sp-panel .ns-sp-title--biz {
      color: var(--primary-color, #009c50); }
  .ns-sp-panel .ns-sp-words {
    display: flex;
    flex-wrap: wrap; }
    .ns-sp-panel .ns-sp-words a {
      width: 50%;
      height: 30px;
      line-height: 30px;
      font-size: 13px;
      color: #333333;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap; }
      .ns-sp-panel .ns-sp-words a:hover {
        color: var(--primary-color, #009c50); }
    .ns-sp-panel .ns-sp-words .ns-sp-empty {
      font-size: 13px;
      color: #bbbbbb; }
  /* 相关类目：输入关键词命中类目时显示（和列表页面包屑那边的「相关类目」同一口径，2026-10-16） */
  .ns-sp-panel .ns-sp-cate {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; }
    .ns-sp-panel .ns-sp-cate a {
      height: 28px;
      line-height: 28px;
      padding: 0 12px;
      border-radius: 14px;
      background-color: #f2f7f4;
      color: var(--primary-color, #009c50);
      font-size: 13px; }
      .ns-sp-panel .ns-sp-cate a:hover {
        background-color: var(--primary-color, #07c160);
        color: #FFFFFF; }
      .ns-sp-panel .ns-sp-cate a em {
        margin-left: 5px;
        font-style: normal;
        font-size: 12px;
        color: #9aa0a6; }
        .ns-sp-panel .ns-sp-cate a:hover em {
          color: #e8fff4; }
  .ns-sp-panel .ns-sp-words a b {
    font-weight: 600;
    color: var(--primary-color, #07c160); }
  .ns-sp-panel .ns-sp-goods {
    display: flex;
    flex-wrap: wrap; }
    .ns-sp-panel .ns-sp-goods-item {
      display: flex;
      align-items: center;
      width: 33.33%;
      padding: 6px 12px 6px 0;
      box-sizing: border-box; }
      .ns-sp-panel .ns-sp-goods-item .ns-sp-goods-img {
        width: 48px;
        height: 48px;
        flex: none;
        border-radius: 6px;
        overflow: hidden;
        background-color: #f7f7f7; }
        .ns-sp-panel .ns-sp-goods-item .ns-sp-goods-img img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          display: block; }
      .ns-sp-panel .ns-sp-goods-item .ns-sp-goods-info {
        flex: 1;
        min-width: 0;
        margin-left: 10px; }
        .ns-sp-panel .ns-sp-goods-item .ns-sp-goods-info b {
          display: block;
          font-size: 13px;
          font-weight: 400;
          color: #333333;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap; }
        .ns-sp-panel .ns-sp-goods-item .ns-sp-goods-info em {
          display: block;
          margin-top: 5px;
          font-size: 12px;
          font-style: normal;
          color: var(--primary-color, #009c50); }
          .ns-sp-panel .ns-sp-goods-item .ns-sp-goods-info em svg {
            width: 13px;
            height: 13px;
            vertical-align: -2px;
            margin-right: 2px; }
      .ns-sp-panel .ns-sp-goods-item:hover .ns-sp-goods-info b {
        color: var(--primary-color, #009c50); }

.ns-supply-search-box {
  position: relative;
  width: 400px;
  margin-right: 10px; }
  .ns-supply-search-box select {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 80px;
    height: 30px;
    background-color: #f6f6f6;
    border: none;
    color: #323233; }
  .ns-supply-search-box input {
    border-width: 2px;
    padding-left: 20px;
    line-height: 30px; }
    .ns-supply-search-box input:hover {
      border-color: var(--primary-color, #07c160) !important; }
  .ns-supply-search-box button {
    position: absolute;
    top: 0;
    right: 0;
    width: 72px; }

.ns-supply-search-ewm {
  margin-left: 15px;
  cursor: pointer;
  position: relative; }

.ns-ewm-box {
  display: none;
  width: 100px;
  padding: 10px;
  background-color: #FFFFFF;
  position: absolute;
  top: 30px;
  right: 10px;
  z-index: 99;
  text-align: center;
  font-size: 12px;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); }
  .ns-ewm-box img {
    max-width: 100%;
    margin-bottom: 5px; }

.ns-supply-search-ewm:hover .ns-ewm-box {
  display: block; }

.ns-supply-header-cart {
  font-size: 12px;
  color: var(--primary-color, #009c50);
  border: 1px solid #dfdfdf;
  padding: 10px 20px;
  cursor: pointer;
  position: relative; }
  .ns-supply-header-cart i {
    font-size: 14px; }
  .ns-supply-header-cart .cart-num {
    position: absolute;
    top: -5px;
    right: 10px;
    display: inline-block;
    /* 和「消息」图标上的红点/数字统一成红色（2026-10-16 用户：颜色统一一下，都改成红色） */
    background-color: #f5222d;
    color: #FFFFFF;
    padding: 2px 5px;
    border-radius: 20px; }

.ns-supply-order {
  margin-top: 10px;
  display: flex;
  justify-content: space-between; }

.order-menu {
  width: 190px;
  background-color: #ffffff; }
  .order-menu .layui-nav-tree {
    width: 100%;
    background-color: transparent; }
  .order-menu .layui-nav-itemed > a, .order-menu .layui-nav-tree .layui-nav-title a, .order-menu .layui-nav-tree .layui-nav-title a:hover {
    color: #333333 !important; }
  .order-menu .layui-nav .layui-nav-mored, .order-menu .layui-nav-itemed > a .layui-nav-more {
    border-color: transparent transparent #333333; }
  .order-menu .layui-nav-tree .layui-nav-item a:hover {
    background-color: transparent; }
  .order-menu .layui-nav-itemed > .layui-nav-child {
    background-color: transparent !important; }
  .order-menu .layui-nav .layui-nav-more {
    border-color: #333333 transparent transparent; }
  .order-menu .layui-nav-tree .layui-nav-child dd.layui-this, .order-menu .layui-nav-tree .layui-nav-child dd.layui-this a, .order-menu .layui-nav-tree .layui-this, .order-menu .layui-nav-tree .layui-this > a, .order-menu .layui-nav-tree .layui-this > a:hover {
    background-color: transparent;
    color: var(--primary-color, #009c50); }
  .order-menu .layui-nav .layui-nav-item dd a {
    padding-left: 35px; }

.order-list {
  width: calc(100% - 200px); }

.order-list-title {
  width: 100%;
  height: 50px;
  line-height: 50px;
  padding-left: 20px;
  border-bottom: 1px solid #f1f1f1;
  box-sizing: border-box;
  background-color: #ffffff; }
  .order-list-title span a {
    font-weight: 600; }
    .order-list-title span a:hover {
      color: var(--primary-color, #009c50); }

/* 链禾网 logo：图标 + 文字（参照 Next 站） */
.ns-supply-header-search a.ns-supply-logo-box {
  display: flex;
  align-items: center;
  width: auto; }

.ns-supply-logo-box .ns-supply-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px; }

/* 顶栏 logo（40px 图标 + 品牌字） */
.ns-supply-header .ns-supply-logo-box {
  display: flex;
  align-items: center;
  width: auto;
  height: 64px; }
.ns-supply-logo-box--top .ns-supply-logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px; }
/* 图文一体的 logo（图标 + 链禾网 + ACBNLINK 合成一张图） */
.ns-supply-logo-full {
  /* 顶部 logo 高度（用户 2026-10-12 要求：不要 48 那么高，取 32） */
  height: 32px;
  width: auto;
  display: block; }
.ns-supply-logo-box--top .ns-supply-logo-text b {
  font-size: 19px; }
.ns-supply-logo-box--top .ns-supply-logo-text i {
  font-size: 10px;
  letter-spacing: 1.4px; }

.ns-supply-logo-box .ns-supply-logo-text {
  display: flex;
  flex-direction: column;
  margin-left: 10px;
  line-height: 1; }
  .ns-supply-logo-box .ns-supply-logo-text b {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #222328; }
  .ns-supply-logo-box .ns-supply-logo-text i {
    font-style: normal;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 3px;
    color: var(--primary-color, #009c50);
    margin-top: 4px; }
/* ===== 搜索框改造：更大气（胶囊外框 + 内嵌圆角搜索按钮）===== */
.ns-supply-header-search .ns-supply-search-box {
  display: flex;
  align-items: center;
  width: 720px;
  /* 外壳高度 = 2px 边框 ×2 + 里面按钮的 56px，这样「搜索」和旁边「发布求购单」两块绿色
     视觉高矮才一致（2026-10-15 用户要求；原来按钮 44px、外壳 56px，差一截） */
  height: 60px;
  margin-right: 14px;
  /* 右端不再留内边距、也不画右边框：按钮直接贴到盒子右端，避免按钮外面再绕一圈绿边（双层边）*/
  padding: 0 0 0 20px;
  background-color: #fff;
  border: 2px solid var(--primary-color, #07c160);
  border-right: 0;
  /* 右端圆角和按钮一致：外框的上下边线才跟着弧线收进去，不会在按钮圆角外露出小尖角 */
  border-radius: 8px;
  box-sizing: border-box; }
  .ns-supply-header-search .ns-supply-search-box input {
    flex: 1;
    height: 56px;
    padding: 0 10px 0 0;
    font-size: 15px;
    line-height: 56px;
    color: #323233;
    background-color: transparent;
    border: none;
    border-radius: 0; }
    .ns-supply-header-search .ns-supply-search-box input:focus,
    .ns-supply-header-search .ns-supply-search-box input:hover {
      border: none;
      box-shadow: none; }
  /* ===== 搜索框里的「热搜词」轮播（2026-10-15 用户：热点查询做成上下翻动的关键字）=====
     原生 placeholder 没法做动画，所以这里盖一层占位：左对齐到输入起点（外壳 20px 内边距）、
     右端留出搜索按钮的位置，不遮按钮；overflow:hidden 把滑出/滑入的那半截裁掉。
     pointer-events:none —— 点它等同于点输入框（光标能正常落进去）。 */
  .ns-supply-header-search .ns-search-roll {
    position: absolute;
    left: 20px;
    right: 122px;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
    pointer-events: none;
    font-size: 15px;
    color: #9aa39c; }
    .ns-supply-header-search .ns-search-roll-w {
      display: block;
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
      transition: transform .26s ease, opacity .26s ease; }
      .ns-supply-header-search .ns-search-roll-w.is-out {
        transform: translateY(-100%);
        opacity: 0; }
      .ns-supply-header-search .ns-search-roll-w.is-pre {
        transition: none;
        transform: translateY(100%);
        opacity: 0; }
  .ns-supply-header-search .ns-supply-search-box button {
    position: static;
    flex: none;
    width: 112px;
    /* 按钮做满外壳的高度（60）——正好盖住外壳上下那 2px 边框，
       右端和外壳同圆角，接缝就完全没有「双层边/小尖角」了；
       旁边「发布求购单」也跟着做 60，两块绿才一样高 */
    height: 60px;
    padding: 0;
    margin: 0;
    font-size: 16px;
    line-height: 60px;
    color: #fff;
    background-color: var(--primary-color, #07c160);
    border: none;
    /* 右端圆角跟外壳外圆角一致（8px），外框的上下边线才会和按钮的弧线接上、不留小尖角 */
    border-radius: 0 8px 8px 0;
    transition: background-color .2s; }
    .ns-supply-header-search .ns-supply-search-box button i {
      margin-right: 5px;
      font-size: 16px; }
    .ns-supply-header-search .ns-supply-search-box button:hover {
      background-color: var(--primary-color, #009c50); }
    /* 零售后台主题里的 .layui-btn.ns-bg-color:hover 是带 !important 的红色，
       供应市场大搜索按钮复用这两个类时会被它覆盖。这里用更高优先级锁定市场主色，
       同时恢复 layui 默认 .layui-btn:hover 的 0.8 透明度。 */
    .ns-supply-header-search .ns-supply-search-box button.ns-bg-color:hover {
      opacity: 1;
      filter: none;
      background-color: var(--primary-color, #009c50) !important; }

.ns-supply-search > button.layui-btn {
  /* 和搜索框外壳、里面那枚「搜索」按钮同为 60px（2026-10-15：两块绿视觉同高） */
  height: 60px;
  padding: 0 26px;
  margin: 0;
  font-size: 16px;
  line-height: 60px;
  color: #fff;
  border: none;
  border-radius: 8px; }
  .ns-supply-search > button.layui-btn:hover {
    color: #fff;
    background-color: var(--primary-color, #009c50) !important; }
/* ===== 页面容器宽度规范：min 1180 / max 1708 / 左右内边距 96 ===== */
.ns-supply-wrap-con {
  width: auto;
  min-width: 1180px;
  max-width: 1708px;
  margin: 0 auto;
  padding: 0 96px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

/* 商品卡片：规格副标签 */
.ns-goods-spec {
  font-style: normal;
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: var(--primary-color-dark, #999999); }

/* 商品卡片：供货商已认证标记 */
.ns-shop-cert {
  display: inline-block;
  margin-left: 6px;
  padding: 0 5px;
  font-size: 11px;
  font-style: normal;
  line-height: 15px;
  color: var(--primary-color, #009c50);
  border: 1px solid var(--primary-color, #07c160);
  border-radius: 3px;
  vertical-align: 1px; }

/* ===== 头部通栏：白色条铺满屏幕宽度，内容仍保持原宽度并居中 ===== */
.ns-supply-wrap {
  position: relative; }

.ns-supply-header-wrap {
  position: absolute;
  top: 34px;
  left: 0;
  right: 0;
  z-index: 20;
  background-color: #FFFFFF; }

/* 头部脱离文档流后，用内边距把原来的高度补回来。
   顶部工具栏固定占 34；二级页面：工具栏 34 + 紧凑导航 64 = 98；
   首页：工具栏 34 + 细栏 64 + 搜索行 72 = 170 */
.ns-supply-wrap-con {
  padding-top: 98px; }
.ns-supply-home .ns-supply-wrap-con {
  padding-top: 170px; }

/* 供应商招募横幅显示时占 48px，依次把工具栏、主头部和正文整体下移 */
body.ns-has-join-bar .ns-supply-header-wrap {
  top: 82px; }
body.ns-has-join-bar .ns-supply-wrap-con {
  padding-top: 146px; }
body.ns-has-join-bar .ns-supply-home .ns-supply-wrap-con {
  padding-top: 218px; }

.ns-supply-header,
.ns-supply-header-search {
  max-width: 1708px;
  min-width: 1180px;
  margin: 0 auto;
  /* 和页面内容列（.ns-supply-wrap-con 的 96px）保持一致，原来写 100 差 4px */
  padding-left: 96px;
  padding-right: 96px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; }

/* 商品详情页容器更窄（1380/1164），头部内容跟着对齐（同样是一行导航） */
.dt-page .ns-supply-wrap-con {
  padding-top: 98px; }
.dt-page .ns-supply-header,
.dt-page .ns-supply-header-search {
  max-width: 1380px;
  min-width: 1164px;
  /* 详情页内容列是 12px 内边距（detail.css），头部跟着对齐，原来写 32 差 20px */
  padding-left: 12px;
  padding-right: 12px; }

.dt-page .ns-topbar-in {
  max-width: 1380px;
  min-width: 1164px;
  padding-left: 12px;
  padding-right: 12px; }

/* 首页：滚动吸顶 —— 顶部工具条（logo + 图标）吸顶，搜索框移到工具条中间，原搜索行收起 */
.ns-supply-home .ns-supply-header-wrap.is-stuck {
  position: fixed;
  top: 0; }

.ns-supply-home .ns-supply-header-wrap.is-stuck .ns-supply-header-search {
  display: none; }

.ns-supply-home .ns-supply-header-wrap.is-stuck .ns-hd-search {
  display: flex; }

/* 紧凑导航里的「发布求购单」按钮：二级页面默认显示；首页只在吸顶时显示 */
.ns-hd-purchase {
  display: block;
  flex: none;
  height: 44px;
  padding: 0 22px;
  margin-right: 10px;
  font-size: 15px;
  line-height: 44px;
  color: #ffffff;
  background-color: var(--primary-color, #07c160);
  border: none;
  border-radius: 8px;
  cursor: pointer; }
  .ns-hd-purchase:hover {
    background-color: var(--primary-color, #009c50); }

.ns-supply-home .ns-supply-header-wrap.is-stuck .ns-hd-purchase {
  display: block; }

/* 紧凑搜索框：二级页面默认就显示在导航条中间；首页只在吸顶时显示 */
.ns-hd-search {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  max-width: none;
  height: 44px;
  margin: 0 10px 0 34px;
  /* 右内边距留 0 + 右端不画边框：让「搜索」按钮直接做到外壳右端（和首页那条一致，避免"双层边"）2026-10-16 */
  padding: 0 0 0 14px;
  background-color: #ffffff;
  border: 2px solid var(--primary-color, #07c160);
  border-right: 0;
  border-radius: 8px;
  box-sizing: border-box; }
  .ns-hd-search input {
    flex: 1;
    height: 40px;
    padding: 0;
    font-size: 14px;
    line-height: 40px;
    color: #323233;
    background-color: transparent;
    border: none;
    outline: none; }
  .ns-hd-search button {
    flex: none;
    /* 和首页那条大搜索行统一：带「搜索」文字，并做满外壳右端（盖住上下那 2px 边框，不留缝隙）2026-10-16 */
    width: auto;
    min-width: 78px;
    height: 44px;
    padding: 0 16px;
    font-size: 14px;
    line-height: 44px;
    color: #ffffff;
    background-color: var(--primary-color, #07c160);
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer; }
    .ns-hd-search button span {
      margin-left: 4px; }
    .ns-hd-search button:hover {
      background-color: var(--primary-color, #009c50); }

/* ===== 个人中心：右上角头像下拉 ===== */
.ns-user-menu {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 18px;
  height: 64px;
  /* 顶栏 line-height:64px 会被下拉面板继承，这里重置，避免卡片被撑变形 */
  line-height: 1.5; }
  .ns-user-menu .ns-user-trigger {
    display: flex;
    align-items: center;
    color: #333333;
    cursor: pointer; }
    .ns-user-menu .ns-user-trigger:hover {
      color: var(--primary-color, #009c50); }
  .ns-user-menu .ns-user-avatar {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    margin-right: 7px;
    background-color: var(--page-bg-color, #f5f6f7);
    object-fit: cover; }
  .ns-user-menu .ns-user-name {
    display: inline-block;
    max-width: 120px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis; }
 .ns-user-menu .ns-user-caret {
    display: inline-block;
    margin-left: 5px;
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
    color: var(--primary-color-dark, #999999);
    transition: transform .15s ease; }
  .ns-user-menu:hover .ns-user-caret,
  .ns-user-menu.is-open .ns-user-caret {
    color: var(--primary-color, #009c50);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg); }
  .ns-user-menu .ns-user-panel {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 60;
    padding-top: 10px; }
  .ns-user-menu:hover .ns-user-panel,
  .ns-user-menu.is-open .ns-user-panel {
    display: block; }
  .ns-user-menu .ns-user-card {
    width: 232px;
    padding: 6px 0;
    background-color: #ffffff;
    border: 1px solid #f0f1f0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12); }
  .ns-user-menu .ns-user-head {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--page-bg-color, #f5f6f7); }
    .ns-user-menu .ns-user-head .ns-user-avatar-lg {
      flex: none;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      margin-right: 10px;
      background-color: var(--page-bg-color, #f5f6f7);
      object-fit: cover; }
    .ns-user-menu .ns-user-head .ns-user-head-info {
      min-width: 0; }
      .ns-user-menu .ns-user-head .ns-user-head-info b {
        display: block;
        max-width: 130px;
        font-size: 14px;
        font-weight: 600;
        color: #333333;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis; }
      .ns-user-menu .ns-user-head .ns-user-head-info em {
        display: inline-block;
        margin-top: 5px;
        padding: 0 6px;
        height: 18px;
        line-height: 16px;
        font-size: 11px;
        font-style: normal;
        color: var(--primary-color, #009c50);
        background-color: var(--primary-color-light, #eefbf3);
        border: 1px solid #b7e6cd;
        border-radius: 3px; }
  .ns-user-menu .ns-user-list {
    padding: 6px 0; }
    .ns-user-menu .ns-user-list li a {
      display: block;
      padding: 0 16px;
      height: 36px;
      line-height: 36px;
      font-size: 13px;
      color: #333333; }
      .ns-user-menu .ns-user-list li a:hover {
        color: var(--primary-color, #009c50);
        background-color: var(--primary-color-light, #eefbf3); }
  .ns-user-menu .ns-user-foot {
    padding-top: 6px;
    border-top: 1px solid var(--page-bg-color, #f5f6f7); }
    .ns-user-menu .ns-user-foot a {
      display: block;
      padding: 0 16px;
      height: 38px;
      line-height: 38px;
      font-size: 13px;
      color: #666666; }
      .ns-user-menu .ns-user-foot a:hover {
        color: var(--primary-color, #009c50);
        background-color: var(--primary-color-light, #eefbf3); }

/* ===== 导航形态：二级页面用一行紧凑导航；首页保持两行（大搜索行 + 吸顶时收成一行） ===== */
.ns-supply-home .ns-hd-search,
.ns-supply-home .ns-hd-purchase {
  display: none; }

.ns-supply-home .ns-supply-header-search {
  /* 注意：必须是 flex —— 原来的居中（justify-content:center）就挂在这个 display 上，
     写成 block 会让首页搜索框贴到左边去 */
  display: flex; }

/* 首页吸顶后：搜索行收起、紧凑搜索与按钮出现（与上面的默认值对应） */
.ns-supply-home .ns-supply-header-wrap.is-stuck .ns-hd-search {
  display: flex; }
.ns-supply-home .ns-supply-header-wrap.is-stuck .ns-hd-purchase {
  display: block; }

/* 非首页（二级页面）：大搜索行不渲染，只留一行导航 */
.ns-supply-header-search {
  display: none; }

/* 「回首页」图标：只在二级页面显示，首页本身不需要（在首页点了也是原地） */
.ns-supply-home .ns-hd-home {
  display: none; }

/* 「加入链禾」招商入口：未登录时显示在「登录 / 注册采购」左侧 */
.ns-supply-header-opretion > a.ns-hd-join {
  margin-right: 16px;
  font-size: 14px;
  color: #666666;
  white-space: nowrap; }
  .ns-supply-header-opretion > a.ns-hd-join:hover {
    color: var(--primary-color, #009c50); }

/* 以图搜图入口：做成搜索框里的细图标，不要跟「搜索」抢绿底（通用 button 规则会给它绝对定位 + 绿底） */
.ns-supply-search-box .ns-supply-cam {
  position: absolute;
  top: 0;
  right: 72px;              /* 紧贴「搜索」按钮左侧（该按钮 right:0; width:72px） */
  width: 38px;
  height: 46px;             /* 与搜索框等高 */
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #9a9a9a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center; }
  .ns-supply-search-box .ns-supply-cam svg {
    width: 20px;
    height: 20px; }
  .ns-supply-search-box .ns-supply-cam:hover {
    color: var(--primary-color, #009c50); }
  .ns-supply-search-box .ns-supply-cam.is-loading {
    opacity: .45;
    pointer-events: none; }

/* 吸顶紧凑搜索框里的相机：同样是细图标，不占 78px 绿底 */
.ns-hd-search .ns-hd-cam {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background-color: transparent;
  color: #8a8a8a;
  cursor: pointer;
  font-size: 16px; }
  .ns-hd-search .ns-hd-cam:hover {
    color: var(--primary-color, #009c50); }

/* 首页大搜索框是 flex 布局，通用规则给按钮设了 112px 绿底（优先级 `.ns-supply-header-search .ns-supply-search-box button`），
   这里用同长度选择器覆盖成透明细图标，别跟「搜索」抢绿底。 */
.ns-supply-header-search .ns-supply-search-box .ns-supply-cam {
  position: static;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0 6px 0 0;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  color: #9a9a9a; }
  .ns-supply-header-search .ns-supply-search-box .ns-supply-cam:hover {
    background-color: transparent;
    color: var(--primary-color, #009c50); }
  .ns-supply-header-search .ns-supply-search-box .ns-supply-cam svg {
    width: 22px;
    height: 22px; }

/* ===== 以图搜图气泡（挂在相机图标下方；粘贴图片 / 粘贴图片链接 / 拖拽 / 上传）===== */
.ns-imgsearch-pop { position: fixed; z-index: 100000; width: 320px; box-sizing: border-box; padding: 14px 14px 16px; background-color: #fff; border: 1px solid #f0f0f0; border-radius: 10px; box-shadow: 0 6px 24px rgba(0, 0, 0, .14); }
.ns-imgsearch-arrow { position: absolute; top: -7px; width: 14px; height: 14px; background-color: #fff; border-left: 1px solid #f0f0f0; border-top: 1px solid #f0f0f0; transform: rotate(45deg); }
.ns-imgsearch-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ns-imgsearch-head b { font-size: 15px; font-weight: 700; color: #333333; }
.ns-imgsearch-close { font-size: 13px; font-style: normal; color: #9a9a9a; cursor: pointer; }
.ns-imgsearch-close:hover { color: #333333; }
.ns-imgsearch-drop { height: 148px; padding: 0 10px; text-align: center; border: 1px dashed #d9d9d9; border-radius: 8px; background-color: #fafafa; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #b5b5b5; transition: border-color .15s, background-color .15s; }
.ns-imgsearch-drop svg { width: 40px; height: 40px; margin-bottom: 8px; }
.ns-imgsearch-drop p { margin: 0; font-size: 13px; color: #8a8a8a; }
.ns-imgsearch-drop.is-hover { border-color: var(--primary-color, #07c160); background-color: #f2fbf5; color: var(--primary-color, #009c50); }
.ns-imgsearch-drop.is-loading { opacity: .6; pointer-events: none; }
.ns-imgsearch-foot { margin-top: 12px; text-align: center; }
.ns-imgsearch-btn { width: 100%; height: 36px; font-size: 14px; line-height: 34px; color: #333333; background-color: #fff; border: 1px solid #d9d9d9; border-radius: 6px; cursor: pointer; -webkit-appearance: none; appearance: none; }
.ns-imgsearch-btn:hover { color: var(--primary-color, #009c50); border-color: var(--primary-color, #07c160); }
.ns-imgsearch-btn.is-loading { opacity: .6; pointer-events: none; }

/* ===== 「加入链禾」顶部广告带（2026-10-15 用户要求：不要常驻菜单项，做成可关闭的顶部条；
   2026-10-15 又要求「做得像广告」→ 换成品牌绿渐变 + 两侧光晕装饰 + 居中内容 + 白底绿字 CTA） =====
   条子由 market_head.html 顶部那段脚本插到 body 最前面，**在文档流里自然占位**：
   .ns-supply-wrap 及后面所有内容会被它顶下去一条的高度，头部是绝对定位、跟着往下走。
   所以这里不需要给 body 加 padding（加了反而会把条子自己也推下去，条子就不贴顶了）。 */
.ns-join-bar { position: absolute; z-index: 40; top: 0; left: 0; right: 0; height: 48px; overflow: hidden; background-image: linear-gradient(96deg, var(--primary-color, #009c50) 0%, var(--primary-color, #07c160) 45%, var(--primary-color, #07c160) 62%, var(--primary-color, #009c50) 100%); }
/* 两侧柔光，别让它看着像一条纯色块 */
.ns-join-bar::before,
.ns-join-bar::after { content: ""; position: absolute; top: 50%; border-radius: 50%; transform: translateY(-50%); pointer-events: none; }
.ns-join-bar::before { left: -70px; width: 260px; height: 260px; background-image: radial-gradient(circle, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, 0) 70%); }
.ns-join-bar::after { right: -90px; width: 320px; height: 320px; background-image: radial-gradient(circle, rgba(255, 255, 255, .14) 0%, rgba(255, 255, 255, 0) 70%); }
/* 内容整组居中（标签 + 文案 + 按钮 + 关闭挨在一起）——CTA 跟文案是一体的，
   甩到最右边会让中间空一大段、看着不像广告（2026-10-15 用户两次反馈「排版奇怪」） */
.ns-join-bar-in { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; height: 48px; max-width: 1708px; min-width: 1180px; margin: 0 auto; padding: 0 96px; box-sizing: border-box; }
/* 「供应商招募」小标签 */
.ns-join-bar-chip { flex: none; height: 22px; padding: 0 9px; font-size: 12px; line-height: 22px; color: #ffffff; background-color: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .45); border-radius: 11px; }
.ns-join-bar-text { flex: none; max-width: 62%; overflow: hidden; font-size: 15px; color: #ffffff; white-space: nowrap; text-overflow: ellipsis; }
.ns-join-bar-text b { font-weight: 700; }
/* 促销那半句（活动期间免费入驻 / 0 保证金）用暖金色挑出来，广告里就靠它抓眼 */
.ns-join-bar-text em { font-style: normal; font-weight: 600; color: #ffe08a; }
.ns-join-bar-btn { flex: none; height: 30px; padding: 0 20px; font-size: 13px; font-weight: 600; line-height: 30px; color: var(--primary-color, #009c50); background-color: #ffffff; border-radius: 15px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); text-decoration: none; }
.ns-join-bar-btn:hover { color: var(--primary-color, #009c50); background-color: #f2fff0; }
/* 关闭按钮固定在最右端（2026-10-15 用户要求），内容仍是整组居中、不受它影响 */
.ns-join-bar-x { position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; font-size: 14px; font-style: normal; line-height: 24px; text-align: center; color: rgba(255, 255, 255, .72); border-radius: 50%; transform: translateY(-50%); cursor: pointer; }
.ns-join-bar-x:hover { color: #ffffff; background-color: rgba(0, 0, 0, .12); }

/* ===== 「自营」标（2026-10-15）：平台自营商户（lh_supplier.is_own=1） =====
   放在 header.css 里，因为每个市场页面都会经 market_head.html 加载它，一处生效。
   商品卡片标题前一枚实心绿标（比「需确认价」那种描边标更显眼），店铺主页店名旁同样一枚。 */
.ns-goods-list .ns-goods-li .ns-goods-tag.ns-goods-own { font-weight: 600; color: #ffffff; background-color: var(--primary-color, #07c160); border-color: var(--primary-color, #07c160); }
.ns-shop-badge.ns-shop-own { background-color: var(--primary-color, #07c160); }
/* ===== 站内登录弹窗（点客服没登录时弹，不跳转）===== */
.ns-login-mask { display: none; position: fixed; inset: 0; z-index: 9999; background-color: rgba(0, 0, 0, .45); }
.ns-login-mask.is-open { display: flex; align-items: center; justify-content: center; }
.ns-login-dialog { position: relative; width: 900px; max-width: calc(100vw - 40px); height: 520px; max-height: calc(100vh - 80px); background-color: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(0, 0, 0, .22); }
.ns-login-dialog iframe { display: block; width: 100%; height: 100%; border: 0; }
.ns-login-close { position: absolute; right: 10px; top: 8px; z-index: 2; width: 26px; height: 26px; font-size: 15px; font-style: normal; line-height: 26px; text-align: center; color: #9aa39c; cursor: pointer; }
.ns-login-close:hover { color: #232b26; }
/* 未登录时的登录入口 + 悬停浮层（对齐 1688：告诉你登录之后能干什么，再给个立即登录） */
/* 登录入口：和旁边图标**完全同一枚圆**（图标是 46x46 / 圆角 23px），所以间距也用 .ns-hd-item 那套 18px，
   盒子宽度一致、可见间距自然一致（2026-10-15 用户要求「改成一样的圆形」） */
.ns-login-entry { position: relative; height: 64px; display: flex; align-items: center; margin-left: 18px; }
/* 选择器带 .ns-supply-header 是为了避开 `.ns-supply-header a{height:64px;color:#646566}` 的覆盖 */
.ns-supply-header .ns-login-entry-link { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; font-size: 13px; line-height: 1; color: #4a544e; background-color: #f2f4f3; border-radius: 23px; text-decoration: none; transition: color .15s, background-color .15s; }
.ns-supply-header .ns-login-entry-link:hover { color: var(--primary-color, #009c50); background-color: var(--primary-color-light, #eefbf3); }
.ns-login-panel { display: none; position: absolute; right: -12px; top: 64px; z-index: 30; width: 268px; padding: 20px 20px 18px; background-color: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.ns-login-entry:hover .ns-login-panel { display: block; }
.ns-login-panel-title { margin-bottom: 12px; font-size: 15px; font-weight: 600; color: #232b26; text-align: center; }
.ns-login-panel-list { margin: 0; padding: 0; list-style: none; }
.ns-login-panel-list li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 13px; line-height: 20px; color: #4a544e; white-space: nowrap; }
.ns-login-panel-list li i { color: var(--primary-color, #009c50); font-size: 15px; }
/* 选择器带上 .ns-supply-header：不然会被头部的 `.ns-supply-header a{color:#646566;height:64px}` 盖掉（绿底绿字） */
.ns-supply-header .ns-login-panel-btn { display: block; height: 38px; margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 38px; color: #fff; text-align: center; background-color: var(--primary-color, #07c160); border-radius: 8px; text-decoration: none; }
.ns-supply-header .ns-login-panel-btn:hover { color: #fff; background-color: var(--primary-color, #009c50); }
@media (max-width: 960px) { .ns-login-dialog { height: 620px; } }
/* 商品详情页店名旁的「自营」：跟「已认证」同一个位置，用实心绿区分 */
.dt-shop-cert.dt-shop-own { color: #ffffff; background-color: var(--primary-color, #07c160); border-color: var(--primary-color, #07c160); }

/* ===== 主色覆盖（2026-10-16 配色统一）：shop 模块的公共类 .ns-bg-color 里写死了旧黄绿 #2bc111，
   首页那条大搜索行的「搜索 / 发布求购单」用的就是它（其余按钮已走新主色，两边颜色不一致）。
   这份 header.css 只在供应市场前台加载，所以在这里覆盖是安全的（零售商城/店铺后台不受影响）。 ===== */
.ns-bg-color {
  background-color: var(--primary-color, #07c160) !important; }
  .ns-bg-color:hover {
    background-color: var(--primary-color, #009c50) !important; }

/* ===== 全站弹窗皮肤（2026-10-16 用户：「现在的弹窗样式都要改一下，以之前做的那个登录弹窗为标准」）
   标准取自站内登录弹窗（本文件 .ns-login-dialog 那套）：14px 圆角、无边框、
   0 18px 50px rgba(0,0,0,.22) 柔和投影、白底标题区、灰色 ✕、绿色主按钮。
   这里直接覆盖 layui layer 的默认皮（默认是 2px 直角 + 灰标题栏 + 蓝色按钮 + 圆形问号图标）。
   注意：只覆盖弹窗类，不动 .layui-layer-tips（气泡带箭头，裁圆角会把箭头裁掉）和 .layui-layer-loading。 ===== */
/* （`:not` 会算进优先级，所以轻提示那两类要一起排除，否则 .layui-layer-msg 那组小圆角会被这条盖住） */
.layui-layer:not(.layui-layer-tips):not(.layui-layer-loading):not(.layui-layer-msg):not(.layui-layer-hui) {
  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22) !important;
  overflow: hidden; }
/* 遮罩跟登录弹窗一致（layer 默认 .3，偏淡） */
.layui-layer-shade {
  background-color: #000 !important;
  opacity: .45 !important; }
/* 标题区：去掉灰底，白底 + 细下分隔，字重字号跟登录弹窗标题一致 */
.layui-layer-title {
  height: 54px !important;
  line-height: 54px !important;
  padding: 0 56px 0 22px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: #232b26 !important;
  background-color: #FFFFFF !important;
  border-bottom: 1px solid #f2f4f3 !important;
  border-radius: 14px 14px 0 0 !important; }
/* 关闭按钮：换成登录弹窗那样的灰色 ✕（默认是雪碧图里的小图标） */
.layui-layer-setwin {
  top: 14px !important;
  right: 14px !important; }
  .layui-layer-setwin .layui-layer-close1 {
    width: 26px !important;
    height: 26px !important;
    margin-left: 0 !important;
    font-size: 15px !important;
    line-height: 26px !important;
    text-align: center !important;
    color: #9aa39c !important;
    background-image: none !important; }
    .layui-layer-setwin .layui-layer-close1:before {
      content: "\2715"; }
    .layui-layer-setwin .layui-layer-close1:hover {
      color: #232b26;
      opacity: 1; }
/* 确认框：去掉那条蓝色圆形问号图标，只留一句问话（跟登录弹窗一样干净） */
.layui-layer-dialog:not(.layui-layer-msg) .layui-layer-content .layui-layer-ico {
  display: none; }
.layui-layer-dialog:not(.layui-layer-msg) .layui-layer-padding {
  padding: 22px 22px 6px 22px !important; }
/* 按钮区：主按钮绿色、次按钮白底描边，圆角 8px（默认是蓝色 + 2px 直角） */
.layui-layer-btn {
  padding: 6px 22px 20px !important; }
  .layui-layer-btn a {
    height: 38px !important;
    line-height: 36px !important;
    margin: 0 0 0 10px !important;
    padding: 0 22px !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    border: 1px solid transparent !important;
    text-decoration: none !important; }
  .layui-layer-btn .layui-layer-btn0 {
    background-color: var(--primary-color, #07c160) !important;
    border-color: var(--primary-color, #07c160) !important;
    color: #FFFFFF !important; }
    .layui-layer-btn .layui-layer-btn0:hover {
      background-color: var(--primary-color, #009c50) !important;
      border-color: var(--primary-color, #009c50) !important;
      opacity: 1; }
  .layui-layer-btn .layui-layer-btn1,
  .layui-layer-btn .layui-layer-btn2 {
    background-color: #FFFFFF !important;
    border-color: #d9dde1 !important;
    color: #4a544e !important; }
    .layui-layer-btn .layui-layer-btn1:hover,
    .layui-layer-btn .layui-layer-btn2:hover {
      color: var(--primary-color, #07c160) !important;
      border-color: var(--primary-color, #07c160) !important;
      opacity: 1; }
/* 弹窗内容区里的默认尺寸按钮也跟标准一致（layer 底部按钮是 8px/38px，内容区里的 .layui-btn 原来还是 layui 的直角 34px） */
.layui-layer .layui-btn:not(.layui-btn-sm):not(.layui-btn-xs):not(.layui-btn-fluid) {
  height: 38px;
  line-height: 38px;
  padding: 0 22px;
  border-radius: 8px;
}
/* 弹窗里的表单按钮行：右对齐 + 底边留出呼吸空间。
   结算页那个「编辑地址」用的是 .ns-form-row，但它在这个页面里**没有任何样式**
   （release.css 里那条是 .purchase-form-wrap 下的，管不到弹窗），于是按钮一直靠左、还贴着底边 —— 
   用户截图里「保存」只露出一半，一半原因是这个、一半是高度没跟着 form.render 重算（见 common.js 的 nsFitLayerHeight）。 */
.layui-layer .ns-form-row {
  padding: 4px 30px 22px;
  text-align: right;
}
/* 收货地址弹窗里的省市区三个下拉（2026-10-17 用户截图：第三个掉到下一行、还跑到标签底下）——
   三个 select 是 auto 宽（实测各 193px），200 的标签 + 3×193 + 2×8 间距 = 795 > 弹窗内容 760，
   于是「区/县」换行、贴到表单最左边。这里给它们一个从输入列（200）起步的 flex 行，三个平分剩余宽度，
   任何弹窗宽度下都一行排满、不会再掉到标签下面。结算页 / 采购车共用这份弹窗，所以放这儿。 */
.layui-layer .ns-area-row {
  display: flex;
  margin-left: 200px; }
  .layui-layer .ns-area-row .area-select {
    flex: 1 1 0;
    float: none;
    display: block;
    width: auto;
    min-width: 0;
    margin-right: 8px; }
  .layui-layer .ns-area-row .area-select:last-child {
    margin-right: 0; }
/* 表单类弹窗（收货地址那 4 个）：高度跟着内容走。
   layer 是 open 那一刻量高度的，之后 form.render() 把 <select> 换成 layui 自定义组件，
   内容会再长十几 px —— 盒子不跟着长，加上皮肤里的 overflow:hidden，底部「保存」就被裁掉
   （实测结算页差 14px、收货地址页差 4px）。height:auto 让浏览器自己量，比事后用脚本重算稳。 */
.layui-layer.ns-layer-form {
  height: auto !important;
}
/* 内容区也被 layui 按「打开那一刻」的高度写死在行内样式上，一起放开，否则内容仍会被裁十几 px。
   底边留白交给下面 .ns-form-row 那条统一给，这里归零 —— 不然两个页面的表单各自带的内边距叠加，
   一个 42px 一个 4px，同一套弹窗两种呼吸感。 */
.layui-layer.ns-layer-form .layui-layer-content {
  height: auto !important;
  padding-bottom: 0 !important;
  overflow: visible;
}
/* 轻提示（layer.msg）：从「半透明黑条 + 灰边」换成白卡片 + 柔和投影 */
.layui-layer-msg,
.layui-layer-hui {
  border: 0 !important;
  border-radius: 10px !important;
  background-color: #FFFFFF !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14) !important;
  color: #232b26 !important; }
  .layui-layer-hui .layui-layer-content,
  .layui-layer-msg .layui-layer-content {
    color: #232b26 !important; }
