    /* ===== 商品管理 - 多规格行绑定历史单规格商品 ===== */

    /* 操作列：绑定/解除绑定 + 拆分 + 删除 并排，列宽由 .pc-multi-grid 给到 140px。
       两种形态不会同时出现：未绑定 =「绑定(2字) + 拆分(2字) + 删除」，已绑定 =「解除绑定(4字) + 删除」，
       两种都在 140px 内；再加字前先量宽度 */
    .pc-multi-ops {
      flex-direction: row;
      align-items: center;
      justify-content: center;
      gap: 8px;
    }
    .pc-multi-ops .pc-multi-delete { margin-top: 0; text-align: center; }
    .pc-multi-bind {
      height: 26px;
      padding: 0 9px;
      border: 1px solid #55bd83;
      border-radius: 13px;
      background: #fff;
      color: #40a873;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
    }
    .pc-multi-bind:hover { background: #f0faf5; }
    /* 已绑定时同一个按钮变成「解绑」：中性色 + 悬停转红，
       刻意做成「可点的动作」而不是「已绑定」那种状态标签的观感 */
    .pc-multi-bind.is-bound {
      border-color: #dfe4ea;
      background: #fff;
      color: #5c6470;
    }
    .pc-multi-bind.is-bound:hover { border-color: #f0b6b3; background: #fdf3f3; color: #ef625c; }

    /* 解绑：把一条规格拆成独立单规格商品。仅编辑已有商品时出现 */
    .pc-multi-unbind {
      height: 26px;
      padding: 0 9px;
      border: 1px solid #dfe4ea;
      border-radius: 13px;
      background: #fff;
      color: #5c6470;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
    }
    .pc-multi-unbind:hover:not(:disabled) { border-color: #f0b6b3; color: #ef625c; }
    .pc-multi-unbind:disabled {
      border-color: #e7eaee;
      background: #f7f8fa;
      color: #c2c8d0;
      cursor: not-allowed;
    }
    .pc-multi-unbind[hidden] { display: none; }

    /* 绑定后继承的主图占位 */
    .pc-upload-box.is-bound { position: relative; }
    .pc-upload-box.is-bound .pc-upload-plus,
    .pc-upload-box.is-bound .pc-upload-text { visibility: hidden; }
    .pc-bind-thumb {
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      text-align: center;
      color: #fff;
      font-size: 11px;
      font-weight: 800;
      line-height: 1.15;
    }
    .pc-upload-box.is-bound > .pc-bind-thumb {
      position: absolute;
      inset: 0;
      z-index: 1;
      border-radius: inherit;
    }
    .pc-bind-thumb.ai { background: linear-gradient(135deg, #0f7cff, #2ed0a8); }
    .pc-bind-thumb.oil { background: linear-gradient(135deg, #fff7d8, #f6c623); color: #7b5a00; }
    .pc-bind-thumb.feed { background: linear-gradient(135deg, #f8e3a2, #3bb58d); color: #244234; }
    .pc-bind-thumb.cat { background: linear-gradient(135deg, #1e8eea, #f6f0dc); color: #0d4c7d; }
    .pc-bind-thumb.can { background: linear-gradient(135deg, #7427b8, #f4c23a); }
    .pc-bind-thumb.duck { background: linear-gradient(135deg, #e7f5de, #8eb36b); color: #2b4b25; }

    /* ===== 选择单规格商品弹窗 ===== */
    .pc-bind-mask {
      position: fixed;
      inset: 0;
      z-index: 1200;
      display: none;
      align-items: center;
      justify-content: center;
      background: rgba(15, 23, 42, .28);
    }
    .pc-bind-mask.show { display: flex; }
    .pc-bind-modal {
      width: 620px;
      max-height: 78vh;
      display: flex;
      flex-direction: column;
      border-radius: 6px;
      background: #fff;
      box-shadow: 0 18px 50px rgba(15, 23, 42, .2);
      overflow: hidden;
    }
    .pc-bind-head {
      padding: 16px 20px 14px;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
      border-bottom: 1px solid #eef1f5;
    }
    .pc-bind-head h3 {
      margin: 0;
      color: #111827;
      font-size: 16px;
      font-weight: 800;
    }
    .pc-bind-head p {
      margin: 5px 0 0;
      color: #8b939e;
      font-size: 12px;
      line-height: 1.5;
    }
    .pc-bind-close {
      width: 24px;
      height: 24px;
      flex-shrink: 0;
      border: 0;
      border-radius: 12px;
      background: #f3f5f7;
      color: #8b939e;
      font-size: 15px;
      line-height: 24px;
      text-align: center;
      cursor: pointer;
    }
    .pc-bind-close:hover { background: #eaedf1; color: #5c6470; }
    .pc-bind-toolbar {
      padding: 12px 20px 10px;
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .pc-bind-search {
      flex: 1;
      min-width: 0;
      height: 32px;
      padding: 0 13px;
      border: 1px solid #dce1e6;
      border-radius: 16px;
      outline: 0;
      background: #fff;
      color: #343b45;
      font-family: inherit;
      font-size: 13px;
    }
    .pc-bind-search:focus {
      border-color: #66bd8e;
      box-shadow: 0 0 0 2px rgba(82, 183, 136, .08);
    }
    .pc-bind-search::placeholder { color: #b5bbc3; }
    .pc-bind-count {
      flex-shrink: 0;
      color: #98a1ac;
      font-size: 12px;
      white-space: nowrap;
    }
    .pc-bind-count strong { color: #40a873; }

    /* 类目筛选：与搜索条件叠加生效；选项由候选商品动态归集
       门店二级类目可能几十个，故用下拉而非平铺 chip */
    .pc-bind-cat {
      position: relative;
      flex: 0 0 160px;
    }
    .pc-bind-select {
      width: 100%;
      height: 32px;
      padding: 0 26px 0 12px;
      border: 1px solid #dce1e6;
      border-radius: 16px;
      outline: 0;
      appearance: none;
      -webkit-appearance: none;
      background: #fff;
      color: #343b45;
      font-family: inherit;
      font-size: 13px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      cursor: pointer;
    }
    .pc-bind-select:focus {
      border-color: #66bd8e;
      box-shadow: 0 0 0 2px rgba(82, 183, 136, .08);
    }
    .pc-bind-cat-arrow {
      position: absolute;
      top: 50%;
      right: 12px;
      width: 0;
      height: 0;
      margin-top: -2px;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-top: 5px solid #98a1ac;
      pointer-events: none;
    }

    .pc-bind-list {
      flex: 1;
      min-height: 180px;
      padding: 0 12px;
      overflow-y: auto;
    }
    .pc-bind-item {
      margin-bottom: 8px;
      padding: 10px 12px;
      display: flex;
      align-items: center;
      gap: 12px;
      border: 1px solid #eef1f5;
      border-radius: 6px;
      background: #fff;
    }
    .pc-bind-item.is-current { border-color: #66bd8e; background: #f6fcf9; }
    .pc-bind-item .pc-bind-thumb {
      width: 42px;
      height: 42px;
      flex-shrink: 0;
      border-radius: 3px;
    }
    .pc-bind-info { flex: 1; min-width: 0; }
    .pc-bind-name {
      color: #343b45;
      font-size: 13px;
      font-weight: 700;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .pc-bind-meta {
      margin-top: 3px;
      color: #98a1ac;
      font-size: 12px;
      line-height: 1.4;
    }
    .pc-bind-pick {
      height: 28px;
      flex-shrink: 0;
      padding: 0 13px;
      border: 1px solid #55bd83;
      border-radius: 14px;
      background: #fff;
      color: #40a873;
      font-size: 12px;
      font-weight: 700;
      white-space: nowrap;
      cursor: pointer;
    }
    .pc-bind-pick:hover { background: #f0faf5; }
    .pc-bind-pick.is-used,
    .pc-bind-pick.is-current {
      border-color: #dfe4ea;
      background: #f5f6f8;
      color: #a8b0ba;
      cursor: not-allowed;
    }
    .pc-bind-pick.is-current {
      border-color: #a9dcc2;
      background: #eef8f3;
      color: #2f8a5c;
    }
    .pc-bind-empty {
      padding: 46px 0;
      color: #b0b7c0;
      font-size: 13px;
      text-align: center;
    }
    .pc-bind-actions {
      padding: 12px 20px 16px;
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      border-top: 1px solid #eef1f5;
    }
    .pc-bind-btn {
      height: 32px;
      padding: 0 18px;
      border: 1px solid #dfe4ea;
      border-radius: 16px;
      background: #fff;
      color: #4f5966;
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }
    .pc-bind-btn:hover { background: #f7f8fa; }
    .pc-bind-btn.danger { border-color: #f2c8c6; color: #ef625c; }
    .pc-bind-btn.danger:hover { background: #fdf3f3; }
