@charset "UTF-8";
/* ===== 买家功能悬浮栏（右侧固定）===== */
.ns-buyer-tool {
  position: fixed;
  right: max(14px, calc((100vw - 1680px) / 2 - 78px));
  top: 50%;
  z-index: 900;
  width: 64px;
  padding: 6px 0;
  transform: translateY(-50%);
  background-color: #fff;
  border: 1px solid #f0f1f0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-align: center; }
  .ns-buyer-tool .ns-tool-item {
    position: relative;
    display: block;
    padding: 10px 2px;
    color: #646566;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: color .18s, background-color .18s; }
    .ns-buyer-tool .ns-tool-item + .ns-tool-item {
      border-top: 1px solid #f6f7f6; }
    .ns-buyer-tool .ns-tool-item i,
    .ns-buyer-tool .ns-tool-svg {
      display: block;
      width: 22px;
      height: 22px;
      margin: 0 auto 4px;
      font-size: 22px;
      line-height: 22px; }
    .ns-buyer-tool .ns-tool-item:hover {
      color: var(--primary-color, #009c50);
      background-color: #f7fdf5; }
    /* 回顶部：没滚动过的时候整条收起来（display:none 而不是透明，键盘/读屏也不会点到它） */
    .ns-buyer-tool .ns-tool-item.is-hidden {
      display: none; }
  .ns-buyer-tool .ns-tool-badge {
    position: absolute;
    top: 6px;
    right: 8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 11px;
    font-style: normal;
    line-height: 16px;
    color: #fff;
    background-color: #ff4d4f;
    border-radius: 8px;
    box-sizing: border-box; }
