/**
 * 文件职责：秒杀活动商品选择二级抽屉样式。
 */
.sk-product-picker-drawer {
  .ant-drawer-body {
    padding: 0;
  }

  .ant-drawer-footer {
    padding: 0;
  }

  .pp-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .pp-search {
    flex: 1;
    min-width: 220px;
    max-width: 360px;
  }

  .pp-cat-select {
    width: 150px;
  }

  .pp-selected-count {
    margin-left: auto;
    font-size: 12px;
    font-weight: 600;
    color: #1677ff;
  }

  .pp-body {
    max-height: 56vh;
    overflow: auto;
  }

  .pp-empty {
    padding: 32px 0;
  }

  .pp-table {
    width: 100%;
    font-size: 13px;
    border-collapse: collapse;
  }

  .pp-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 9px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-align: left;
    background: #f8f9fb;
    border-bottom: 1px solid #e5e7eb;
  }

  .pp-table td {
    padding: 9px 14px;
    color: #1a1a2e;
    border-bottom: 1px solid #f3f4f6;
  }

  .pp-table tbody tr {
    cursor: pointer;
  }

  .pp-table tbody tr:hover td {
    background: color-mix(in srgb, #1677ff 3%, #fff);
  }

  .pp-table tbody tr.pp-checked td {
    background: color-mix(in srgb, #1677ff 8%, #fff);
  }

  .pp-col-check {
    width: 44px;
  }

  .pp-prod-name {
    font-weight: 500;
  }

  .pp-prod-spu {
    margin-top: 2px;
    font-size: 11px;
    color: #9ca3af;
  }

  .pp-prod-status {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    font-size: 11px;
    border-radius: 999px;
  }

  .pp-prod-status.on {
    color: #166534;
    background: #dcfce7;
  }

  .pp-prod-status.sold {
    color: #92400e;
    background: #fef3c7;
  }

  .pp-prod-status.off {
    color: #475569;
    background: #e2e8f0;
  }

  .pp-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-top: 1px solid #f0f0f0;
  }

  .pp-footer-info {
    font-size: 12px;
    color: #6b7280;
  }

  .pp-footer-info strong {
    color: #1677ff;
  }

  .pp-footer-btns {
    display: inline-flex;
    gap: 8px;
    align-items: center;
  }
}
