/**
 * 文件职责：满减活动二级范围抽屉样式。
 */
.mfr-picker-drawer {
  .ant-drawer-header {
    min-height: 54px;
    padding: 0 18px;
    border-bottom: 1px solid #f0f0f0;
  }

  .ant-drawer-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
  }

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

  .ant-drawer-footer {
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
  }

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

  .mfr-picker-toolbar .ant-radio-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mfr-picker-toolbar .ant-radio-button-wrapper {
    height: 30px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 28px;
    color: #4b5563;
    border: 1px solid #d9d9d9;
    border-radius: 6px !important;
  }

  .mfr-picker-toolbar .ant-radio-button-wrapper::before {
    display: none !important;
  }

  .mfr-picker-toolbar
    .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
    color: #1677ff;
    background: #e8f3ff;
    border-color: #91caff;
    box-shadow: none;
  }

  .mfr-picker-search {
    flex: 1;
    min-width: 180px;
    max-width: 260px;
  }

  .mfr-picker-category {
    width: 150px;
  }

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

  .mfr-picker-all {
    padding: 24px 16px;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    background: #fafafa;
  }

  .mfr-picker-body {
    max-height: 60vh;
    overflow: auto;
  }

  .mfr-picker-empty {
    padding: 36px 0;
  }

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

  .mfr-picker-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-align: left;
    background: #f8f9fb;
  }

  .mfr-picker-table td {
    padding: 10px 14px;
    color: #1f2937;
    border-bottom: 1px solid #f3f4f6;
  }

  .mfr-picker-table tbody tr {
    cursor: pointer;
  }

  .mfr-picker-table tbody tr:hover td {
    background: #f6faff;
  }

  .mfr-picker-table tbody tr.checked td {
    background: #e8f3ff;
  }

  .mfr-picker-col-check {
    width: 44px;
  }

  .mfr-picker-col-count,
  .mfr-picker-col-price,
  .mfr-picker-col-status {
    white-space: nowrap;
  }

  .mfr-picker-product-name {
    font-weight: 500;
  }

  .mfr-picker-product-spu {
    margin-top: 2px;
    font-size: 12px;
    color: #9ca3af;
  }

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

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

  .mfr-prod-status-soldout {
    color: #92400e;
    background: #fef3c7;
  }

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

  .mfr-picker-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

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

  .mfr-picker-footer-actions {
    display: inline-flex;
    gap: 8px;
    align-items: center;
  }
}
