/* 用户中心布局（对齐 front/layouts/user.vue） */

.user-layout {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  display: flex;
  flex-direction: column;
  background: #f0f2f5;
  box-sizing: border-box;
  /* 覆盖 portal-extra 旧版 .user-layout 的 margin/gap，避免顶部空隙 */
  margin: 0;
  gap: 0;
  padding: 0;
}

/* 用户中心顶栏：utility（央企专区等）+ logo 栏一起吸顶 */
.user-top-chrome {
  flex: 0 0 auto;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
}

.user-top-chrome > .header-utility {
  width: 100%;
}

.page-user main {
  background: #f0f2f5;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.flat-navbar {
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  top: auto;
  z-index: 1;
  width: 100%;
}

.flat-navbar .nav-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 20px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.flat-navbar .logo {
  display: flex;
  align-items: center;
  gap: 0;
  color: inherit;
  text-decoration: none;
}

.flat-navbar .logo-img {
  display: block;
  height: 75px;
  width: auto;
  max-width: 450px;
  object-fit: contain;
  object-position: left center;
}

.flat-navbar .nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.flat-navbar .user-chip { color: #303133; }
.flat-navbar .user-home-link { color: var(--primary-color, #008f5a); }

.user-container {
  flex: 1;
  width: 100%;
  background: #f0f2f5;
  min-height: calc(100vh - 64px);
}

.user-layout-body,
.user-wrapper {
  display: flex;
  width: 100%;
  min-height: calc(100vh - 64px);
  align-items: stretch;
}

.user-sidebar {
  width: 240px;
  min-width: 220px;
  background: #fff;
  border-right: 1px solid #e8e8e8;
  flex-shrink: 0;
  overflow-y: auto;
}

/* 供应商：侧栏加宽以容纳二级菜单两列 */
.user-sidebar--factory {
  width: 268px;
  min-width: 248px;
  background: #fff;
}

.user-sidebar--factory .user-info {
  padding: 16px 14px 14px;
}

.user-sidebar--factory .user-avatar {
  width: 40px;
  height: 40px;
  font-size: 15px;
}

.user-sidebar--factory .user-detail h3 {
  font-size: 14px;
}

.user-sidebar--factory .user-detail p {
  font-size: 12px;
}

.menu-list--factory {
  padding: 0 0 12px;
}

/* ===== 供应商导航：分组标题 + 二级两列（对齐 1688 工作台） ===== */
.factory-nav {
  padding: 2px 8px 4px;
}

.factory-nav__group {
  padding: 12px 6px 10px;
  border-bottom: 1px solid #eef1f5;
}

.factory-nav__group:last-of-type {
  border-bottom: none;
}

.factory-nav__group--soft .factory-nav__group-title {
  color: #909399;
  font-weight: 600;
}

.factory-nav__group-title {
  margin: 0 2px 8px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  color: #1f2329;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.factory-nav__links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 4px;
  align-items: stretch;
}

.factory-nav__item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
  min-height: 28px;
  padding: 4px 6px;
  margin: 0;
  border-radius: 4px;
  color: #4e5969;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.factory-nav__item:hover {
  background: #f7f8fa;
  color: #e83500;
}

.factory-nav__item.is-active,
.factory-nav__item.is-active:hover {
  background: transparent;
  color: #e83500;
  font-weight: 600;
}

.factory-nav__badge {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f56c6c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* 供应商内容区：浅灰底，贴近设计图工作台 */
.user-sidebar--factory ~ .user-content {
  background: #f5f6f8;
}

.user-sidebar--factory ~ .user-content .content-header {
  padding: 14px 20px 10px;
  background: transparent;
  border-bottom: none;
}

.user-sidebar--factory ~ .user-content .content-main {
  padding: 0 20px 24px;
  background: transparent;
  min-height: auto;
}

@media (max-width: 768px) {
  .user-sidebar--factory {
    width: 100%;
    min-width: unset;
  }

  .factory-nav__links {
    grid-template-columns: 1fr 1fr;
  }

  .user-sidebar--factory ~ .user-content .content-main {
    padding: 0 12px 16px;
  }
}

.user-menu .user-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  border-bottom: 1px solid #ebeef5;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-light, #e8f8f1);
  color: var(--primary-color, #008f5a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.user-detail h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 600;
}

.user-detail p {
  margin: 0;
  font-size: 13px;
  color: var(--primary-color, #008f5a);
}

.menu-list {
  padding: 8px 0 16px;
}

.user-sidebar .menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px 12px 17px;
  margin: 2px 8px;
  color: #606266;
  text-decoration: none;
  border-left: 3px solid transparent;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.user-sidebar .menu-item__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #f56c6c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  flex-shrink: 0;
}

.user-sidebar .menu-item:hover {
  background: #f5f7fa;
  color: #303133;
}

.user-sidebar .menu-item.active,
.user-sidebar .menu-item.active:hover {
  background: #fff0eb;
  color: #e83500;
  border-left-color: #e83500;
  font-weight: 700;
  box-shadow: inset 0 0 0 1px rgba(232, 53, 0, 0.12);
}

.menu-divider {
  height: 1px;
  background: #ebeef5;
  margin: 8px 0;
}

.user-logout {
  padding: 12px 20px;
}

.user-logout button {
  width: 100%;
  height: 36px;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.user-content {
  flex: 1;
  min-width: 0;
  background: #fff;
  overflow-y: auto;
}

.content-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}

.content-header .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #909399;
  font-size: 13px;
}

.content-header .breadcrumb a { color: #606266; text-decoration: none; }

.content-main {
  padding: 24px;
  min-height: calc(100vh - 64px - 70px);
}

@media (max-width: 768px) {
  .user-layout-body,
  .user-wrapper {
    flex-direction: column;
  }

  .user-sidebar {
    width: 100%;
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
    overflow: visible;
  }

  .content-header { padding: 16px 16px 12px; }
  .content-main { padding: 16px; min-height: auto; }
  .flat-navbar .nav-container { padding: 0 16px; }
  .flat-navbar .logo-img {
    height: 48px;
    max-width: min(280px, 60vw);
  }

  /* 用户中心表格：横向滚动 + 操作区拉满 */
  .uc-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .uc-table {
    min-width: 560px;
  }
  .uc-page-head {
    flex-wrap: wrap;
    gap: 8px;
  }
  .uc-page-head .uc-btn,
  .uc-actions .uc-btn,
  .uc-ops .uc-btn {
    min-height: 40px;
  }
  .uc-actions,
  .uc-ops {
    flex-wrap: wrap;
  }
  .uc-form-grid {
    grid-template-columns: 1fr !important;
  }
  .pay-qr-card,
  .card.pay-qr-card {
    max-width: 100% !important;
    padding: 16px;
    box-sizing: border-box;
  }
  #pay-qr-box {
    width: min(220px, 72vw) !important;
    height: auto !important;
    aspect-ratio: 1;
  }
  #pay-qr-box canvas,
  #pay-qr-box img {
    max-width: 100%;
    height: auto !important;
  }
}

/* ===== 工作台组件（对齐 WorkbenchHeader / Panel / QuickLinks） ===== */
.workbench-page { min-height: 200px; }
.workbench-header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  margin-bottom: 20px;
  background: #fff;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  box-sizing: border-box;
}
.workbench-header__intro { flex: 1; min-width: 0; }
.workbench-header__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  color: #909399;
  letter-spacing: 0.06em;
}
.workbench-header__title {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 600;
  color: #303133;
  line-height: 1.35;
}
.workbench-header__subtitle {
  margin: 0;
  font-size: 14px;
  color: #606266;
  line-height: 1.65;
  max-width: 640px;
}
.workbench-header__stats {
  display: flex;
  flex-shrink: 0;
  border: 1px solid #ebeef5;
  border-radius: 4px;
  background: #fafbfc;
}
.workbench-header__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 14px 20px;
  border-right: 1px solid #ebeef5;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}
.workbench-header__stat:last-child { border-right: none; }
.workbench-header__stat--link:hover { background: var(--primary-light, #fff0eb); }
.workbench-header__stat--link:hover .workbench-header__stat-value {
  color: var(--primary-color, #e83500);
}
.workbench-header__stat-value {
  font-size: 24px;
  font-weight: 600;
  color: #303133;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}
.workbench-header__stat-label {
  margin-top: 6px;
  font-size: 12px;
  color: #909399;
  white-space: nowrap;
}
.workbench-panel {
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  background: #fff;
  margin-bottom: 20px;
  overflow: hidden;
}
.workbench-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #ebeef5;
  background: #fafbfc;
}
.workbench-panel__title {
  font-size: 15px;
  font-weight: 600;
  color: #303133;
}
.workbench-panel__extra {
  font-size: 13px;
  color: var(--primary-color, #e83500);
  text-decoration: none;
}
.workbench-panel__extra:hover { text-decoration: underline; }
.workbench-panel__body { padding: 20px; }
.workbench-quick {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.workbench-quick__item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.workbench-quick__item:hover {
  border-color: var(--primary-color, #e83500);
  background: var(--primary-light, #fff0eb);
}
.workbench-quick__icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f5f7fa;
  color: #606266;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.workbench-quick__item:hover .workbench-quick__icon {
  color: var(--primary-color, #e83500);
  background: #fff;
}
.workbench-quick__label {
  flex: 1;
  font-size: 14px;
  color: #303133;
}
.workbench-quick__badge {
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--primary-color, #e83500);
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  flex-shrink: 0;
}
.workbench-quick__arrow {
  font-size: 18px;
  color: #c0c4cc;
  line-height: 1;
}
.workbench-quick__item:hover .workbench-quick__arrow {
  color: var(--primary-color, #e83500);
}

/* 评价管理 */
.uc-review-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #ebeef5;
}
.uc-review-card:last-child { border-bottom: none; }
.uc-review-card__cover {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  object-fit: cover;
  background: #f5f7fa;
  border: 1px solid #ebeef5;
}
.uc-review-card__title {
  margin: 0 0 6px;
  font-size: 15px;
  color: #303133;
}
.uc-review-card__meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: #909399;
}
.uc-review-stars {
  display: inline-flex;
  gap: 2px;
  color: #dcdfe6;
  letter-spacing: 1px;
}
.uc-review-stars span.is-on { color: #f7ba2a; }
.uc-review-card__content {
  margin: 8px 0;
  font-size: 14px;
  color: #606266;
  line-height: 1.6;
  white-space: pre-wrap;
}
.uc-review-media {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.uc-review-media img,
.uc-review-media video {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #ebeef5;
  background: #000;
}
.uc-review-write {
  border: 1px solid #ebeef5;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 12px;
  background: #fafafa;
}
.uc-review-write__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.uc-star-pick {
  display: inline-flex;
  gap: 4px;
}
.uc-star-pick button {
  border: none;
  background: transparent;
  font-size: 22px;
  color: #dcdfe6;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.uc-star-pick button.is-on { color: #f7ba2a; }

/* ===== 用户信息 / 通用卡片表单 ===== */
.uc-card {
  background: #fff;
  border: 1px solid #e4e7ed;
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}
.uc-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid #ebeef5;
  background: #fafbfc;
}
.uc-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: #303133;
}
.uc-card__body { padding: 20px 24px 24px; }
.uc-avatar-section {
  text-align: center;
  margin-bottom: 28px;
}
.uc-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  background: #f5f7fa;
  border: 1px solid #ebeef5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color, #e83500);
  overflow: hidden;
}
.uc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.uc-avatar-section h3 {
  margin: 12px 0 6px;
  font-size: 18px;
  color: #303133;
}
.uc-role-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light, #fff0eb);
  color: var(--primary-color, #e83500);
  border-radius: 16px;
  font-size: 12px;
}
.uc-desc {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.uc-desc th,
.uc-desc td {
  border: 1px solid #ebeef5;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}
.uc-desc th {
  width: 120px;
  background: #fafbfc;
  color: #909399;
  font-weight: 500;
}
.uc-desc td { color: #303133; }
.uc-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  max-width: 760px;
}
.uc-form-item { display: flex; flex-direction: column; gap: 8px; }
.uc-form-item--full { grid-column: 1 / -1; }
.uc-form-item label {
  font-size: 14px;
  color: #606266;
}
.uc-input,
.uc-form-item input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
.uc-form-item textarea,
.uc-form-item select {
  width: 100%;
  height: 40px;
  border: 1px solid #dcdfe6;
  border-radius: 4px;
  padding: 0 12px;
  font-size: 14px;
  color: #303133;
  box-sizing: border-box;
  background: #fff;
}
.uc-form-item textarea {
  height: auto;
  min-height: 88px;
  padding: 10px 12px;
  resize: vertical;
}
.uc-form-item input[type="checkbox"],
.uc-form-item input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: none;
  flex-shrink: 0;
  accent-color: var(--primary-color, #e83500);
  cursor: pointer;
}
.uc-form-item input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):focus,
.uc-form-item textarea:focus,
.uc-form-item select:focus {
  outline: none;
  border-color: var(--primary-color, #e83500);
}

/* ===== 收货地址列表 / 下单地址选择 ===== */
.addr-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.addr-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 20px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid #ebeef5;
  border-radius: 10px;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.addr-card:hover {
  border-color: #dcdfe6;
}
.addr-card--default {
  border-color: #ffc9b8;
  background: #fff8f6;
}
.addr-card__main {
  min-width: 0;
}
.addr-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 8px;
}
.addr-card__head strong {
  font-size: 15px;
  font-weight: 600;
  color: #303133;
}
.addr-card__phone {
  color: #606266;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}
.addr-badge {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
  line-height: 1;
  color: var(--primary-color, #e83500);
  background: #fff1eb;
  border: 1px solid #ffd5c8;
  border-radius: 999px;
  box-sizing: border-box;
}
.addr-card__line {
  color: #606266;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-word;
}
.addr-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.addr-card__actions .uc-btn {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}
.addr-card__actions form {
  display: inline;
  margin: 0;
}
.addr-card__actions .uc-btn--danger {
  color: #f56c6c;
  border-color: #fbc4c4;
  background: #fff;
}
.addr-card__actions .uc-btn--danger:hover {
  color: #fff;
  background: #f56c6c;
  border-color: #f56c6c;
}

.addr-pick {
  width: 100%;
  max-width: 100%;
}
.addr-pick__hint {
  margin: 0 0 12px;
  color: #909399;
  font-size: 13px;
  line-height: 1.5;
}
.addr-pick__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.addr-pick__item {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid #ebeef5;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.addr-pick__item:hover {
  border-color: #ffc9b8;
}
.addr-pick__item:has(input:checked),
.addr-pick__item.is-checked {
  border-color: var(--primary-color, #e83500);
  background: #fff7f5;
  box-shadow: 0 0 0 1px rgba(232, 53, 0, 0.12);
}
.addr-pick__item input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  padding: 0;
  border: none;
  flex-shrink: 0;
  accent-color: var(--primary-color, #e83500);
  cursor: pointer;
}
.addr-pick__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.addr-pick__name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-weight: 600;
  font-size: 14px;
  color: #303133;
  line-height: 1.4;
}
.addr-pick__phone {
  font-weight: 400;
  color: #606266;
  font-variant-numeric: tabular-nums;
}
.addr-pick__addr {
  display: block;
  color: #606266;
  font-size: 13px;
  line-height: 1.55;
  word-break: break-word;
}
.addr-pick__tag {
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 1;
  color: var(--primary-color, #e83500);
  background: #fff1eb;
  border-radius: 999px;
}
.addr-pick__foot {
  margin-top: 12px;
}
.addr-pick__foot .uc-btn {
  height: 32px;
  padding: 0 12px;
  font-size: 13px;
}
/* 默认地址置顶 + 其余折叠（原生 details，无 JS 也可用） */
.addr-pick__hint--notice {
  margin: 0 0 10px;
  color: #b88230;
}
.addr-pick__more {
  margin-top: 10px;
}
.addr-pick__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 0;
  margin: 0;
  cursor: pointer;
  color: #606266;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
  user-select: none;
}
.addr-pick__toggle::-webkit-details-marker {
  display: none;
}
.addr-pick__toggle:hover,
.addr-pick__more.is-selected-other .addr-pick__toggle {
  color: var(--primary-color, #e83500);
}
.addr-pick__toggle-caret {
  display: inline-block;
  font-size: 12px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.addr-pick__more[open] .addr-pick__toggle-caret {
  transform: rotate(180deg);
}
.addr-pick__others {
  margin-top: 8px;
}
.addr-form-check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 10px 14px;
  cursor: pointer;
  color: #303133;
  font-size: 14px;
  font-weight: 500;
  user-select: none;
  background: #fafbfc;
  border: 1px solid #ebeef5;
  border-radius: 8px;
  transition: border-color .15s ease, background .15s ease;
}
.addr-form-check:hover {
  border-color: #f5c2b3;
  background: #fff8f6;
}
.addr-form-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.addr-form-switch {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: #dcdfe6;
  transition: background .2s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06);
}
.addr-form-switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .18);
  transition: transform .2s ease;
}
.addr-form-check input[type="checkbox"]:checked + .addr-form-switch {
  background: var(--primary-color, #e83500);
}
.addr-form-check input[type="checkbox"]:checked + .addr-form-switch::after {
  transform: translateX(20px);
}
.addr-form-check input[type="checkbox"]:focus-visible + .addr-form-switch {
  outline: 2px solid rgba(232, 53, 0, .35);
  outline-offset: 2px;
}
.addr-form-check__text {
  line-height: 1.4;
}
.uc-field-hint {
  display: none;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #f56c6c;
}
.uc-field-hint.is-visible {
  display: block;
}
.uc-input.is-invalid {
  border-color: #f56c6c !important;
  box-shadow: 0 0 0 2px rgba(245, 108, 108, .12);
}

@media (max-width: 768px) {
  .addr-card {
    grid-template-columns: 1fr;
  }
  .addr-card__actions {
    justify-content: flex-start;
    width: 100%;
    padding-top: 4px;
    border-top: 1px solid #f0f2f5;
  }
}
.uc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}
.uc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 4px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  box-sizing: border-box;
}
.uc-btn--primary {
  background: var(--primary-color, #e83500);
  color: #fff;
  border-color: var(--primary-color, #e83500);
}
.uc-btn--primary:hover { filter: brightness(0.95); }
.uc-btn--ghost {
  background: #fff;
  color: #606266;
  border-color: #dcdfe6;
}
.uc-btn--ghost:hover {
  color: var(--primary-color, #e83500);
  border-color: var(--primary-color, #e83500);
}
.uc-btn--text {
  background: transparent;
  border: none;
  color: var(--primary-color, #e83500);
  height: auto;
  padding: 0;
}
.uc-alert {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 4px;
  font-size: 13px;
}
.uc-alert--success {
  background: #f0f9eb;
  color: #67c23a;
  border: 1px solid #e1f3d8;
}
.uc-alert--error {
  background: #fef0f0;
  color: #f56c6c;
  border: 1px solid #fde2e2;
}
.uc-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.uc-page-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #303133;
}
.uc-table-wrap { width: 100%; overflow-x: auto; }
.uc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.uc-table th,
.uc-table td {
  border-bottom: 1px solid #ebeef5;
  padding: 12px 10px;
  text-align: left;
  color: #303133;
  vertical-align: middle;
}
.uc-table th {
  background: #fafbfc;
  color: #909399;
  font-weight: 500;
  white-space: nowrap;
}
.uc-table a { color: var(--primary-color, #e83500); text-decoration: none; }
.uc-table a:hover { text-decoration: underline; }
.uc-empty {
  padding: 28px 12px;
  text-align: center;
  color: #909399;
  font-size: 14px;
}
.uc-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.6;
}
.uc-tag--warning { background: #fdf6ec; color: #e6a23c; }
.uc-tag--success { background: #f0f9eb; color: #67c23a; }
.uc-tag--danger { background: #fef0f0; color: #f56c6c; }
.uc-tag--info { background: #f4f4f5; color: #909399; }
.uc-tag--primary { background: #ecf5ff; color: #409eff; }
.uc-ops {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  white-space: nowrap;
}
.uc-ops a { color: var(--primary-color, #e83500); text-decoration: none; font-size: 13px; }
.uc-ops a:hover { text-decoration: underline; }
.uc-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
}
.uc-filter-form .uc-form-item {
  min-width: 160px;
  max-width: 220px;
}
.uc-filter-form .uc-filter-actions {
  min-width: auto;
  max-width: none;
}
.uc-timeline { list-style: none; margin: 0; padding: 0; }
.uc-timeline li {
  position: relative;
  padding: 0 0 20px 20px;
  border-left: 2px solid #e4e7ed;
}
.uc-timeline li:last-child { padding-bottom: 0; }
.uc-timeline li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color, #e83500);
}
.uc-timeline h4 { margin: 0 0 6px; font-size: 14px; color: #303133; }
.uc-timeline p { margin: 0 0 4px; font-size: 13px; color: #606266; }
.uc-timeline time { font-size: 12px; color: #909399; }
.user-avatar--img {
  padding: 0;
  overflow: hidden;
  background: #f5f7fa;
}
.user-avatar--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cart-item-product {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit !important;
  text-decoration: none !important;
  min-width: 0;
}
.cart-item-product:hover .cart-item-name {
  color: var(--primary-color, #e83500);
  text-decoration: underline;
}
.cart-item-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  background: #f5f7fa;
  border: 1px solid #ebeef5;
  display: block;
}
.cart-item-thumb--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c0c4cc;
  font-size: 12px;
}
.cart-item-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.cart-item-name {
  font-weight: 500;
  color: #303133;
  line-height: 1.4;
  word-break: break-word;
}
.cart-item-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}
.cart-stock-warn {
  margin: 0 0 12px;
  padding: 8px 12px;
  border-radius: 4px;
  background: #fef0f0;
  color: #f56c6c;
  font-size: 13px;
}
.cart-stock-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 1px 8px;
  border-radius: 3px;
  background: #f56c6c;
  color: #fff;
  font-size: 12px;
  line-height: 1.6;
  font-weight: 600;
}
.cart-stock-meta {
  color: #909399;
  font-size: 12px;
}
.cart-row--insufficient td {
  background: #fff7f7;
}
.uc-input.is-invalid {
  border-color: #f56c6c !important;
  color: #f56c6c;
}
.cart-pay-factory:disabled,
#cart-checkout:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.cart-select-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  background: #fafbfc;
  border: 1px solid #ebeef5;
  border-radius: 8px;
}
.cart-select-bar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 14px;
  color: #303133;
}
.cart-select-bar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #606266;
}
.cart-select-bar__amount {
  color: #E83500;
  font-weight: 700;
  font-size: 16px;
}
.cart-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  cursor: pointer;
  user-select: none;
  font-weight: 500;
}
.cart-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary-color, #e83500);
  cursor: pointer;
}
.cart-factory-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.cart-factory-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary-color, #e83500);
  cursor: pointer;
}
.cart-factory-block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: #f5f7fa;
}
.cart-factory-block__meta {
  font-weight: 400;
  color: #909399;
  font-size: 12px;
}
.cart-row--unchecked td {
  opacity: 0.72;
}
.cart-col-check {
  width: 44px;
  text-align: center;
  vertical-align: middle;
}

/* —— 京东式购物车页 —— */
.jd-cart-page {
  background: #f5f5f5;
  min-height: 60vh;
  padding-bottom: 24px;
}
.jd-cart-wrap {
  padding-top: 20px;
  padding-bottom: 24px;
}
.jd-cart-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.jd-cart-head__left {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
}
.jd-cart-head__title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
}
.jd-cart-head__count {
  font-size: 13px;
  color: #999;
}
.jd-cart-head__continue {
  font-size: 13px;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
}
.jd-cart-head__continue:hover {
  color: var(--primary-color, #e83500);
}
.jd-cart-cols {
  display: none;
}
@media (min-width: 961px) {
  .jd-cart-cols {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 120px 140px 110px 100px;
    gap: 12px;
    align-items: center;
    padding: 10px 16px;
    margin-bottom: 8px;
    background: #fff;
    border: 1px solid #eee;
    color: #999;
    font-size: 12px;
  }
}
.jd-cart-empty {
  padding: 64px 20px;
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  color: #909399;
  font-size: 15px;
}
.jd-cart-empty a {
  color: var(--primary-color, #e83500);
}
.jd-cart-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 8px;
  background: #fff;
  border: 1px solid #eee;
}
.jd-cart-list-head__tip {
  font-size: 12px;
  color: #999;
}
.jd-cart-shop {
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #eee;
}
.jd-cart-shop__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
  background: #fafafa;
}
.jd-cart-shop__name {
  font-weight: 600;
  color: #303133;
}
.jd-cart-shop__meta {
  font-size: 12px;
  color: #909399;
}
.jd-cart-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  padding: 16px;
  border-bottom: 1px solid #f5f5f5;
}
.jd-cart-item:last-child {
  border-bottom: none;
}
.jd-cart-item.is-unchecked {
  opacity: 0.7;
}
.jd-cart-item.is-insufficient {
  background: #fff7f7;
}
.jd-cart-item__check {
  padding-top: 28px;
}
.jd-cart-item__check input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color, #e83500);
  cursor: pointer;
}
.jd-cart-item__goods {
  min-width: 0;
}
.jd-cart-item__spec {
  font-size: 12px;
  color: #909399;
}
.jd-cart-item__price,
.jd-cart-item__qty,
.jd-cart-item__sum,
.jd-cart-item__ops {
  font-size: 14px;
  color: #303133;
}
.jd-cart-item__sum {
  color: var(--primary-color, #e83500);
  font-weight: 600;
}
.jd-cart-item__ops {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.jd-cart-item__link {
  border: 0;
  background: none;
  padding: 0;
  color: #666;
  font-size: 13px;
  cursor: pointer;
}
.jd-cart-item__link:hover {
  color: var(--primary-color, #e83500);
}
.jd-cart-qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid #ddd;
  border-radius: 2px;
  overflow: hidden;
  height: 32px;
}
.jd-cart-qty__btn {
  width: 28px;
  border: 0;
  background: #f7f7f7;
  color: #666;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}
.jd-cart-qty__btn:hover {
  background: #eee;
}
.jd-cart-qty__input {
  width: 48px;
  border: 0;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
  text-align: center;
  font-size: 13px;
  outline: none;
  -moz-appearance: textfield;
}
.jd-cart-qty__input::-webkit-outer-spin-button,
.jd-cart-qty__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.jd-cart-qty__input.is-invalid {
  color: #f56c6c;
}
@media (min-width: 961px) {
  .jd-cart-item {
    grid-template-columns: 48px minmax(0, 1fr) 120px 140px 110px 100px;
    align-items: center;
  }
  .jd-cart-item__check {
    padding-top: 0;
  }
  .jd-cart-item__price,
  .jd-cart-item__qty,
  .jd-cart-item__sum {
    text-align: center;
  }
  .jd-cart-item__ops {
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
}
.jd-cart-msg {
  margin: 12px 0 0;
  font-size: 13px;
  color: #909399;
}
.jd-cart-address {
  margin-top: 20px;
  padding: 18px 20px 20px;
  background: #fff;
  border: 1px solid #eee;
}
.jd-cart-address__title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #303133;
}
.jd-cart-toolbar-spacer {
  height: 72px;
}
.jd-cart-toolbar {
  position: sticky;
  bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #e8e8e8;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}
.jd-cart-toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.jd-cart-toolbar__left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  font-size: 14px;
  color: #333;
}
.jd-cart-toolbar__link,
.jd-cart-toolbar__selected-toggle {
  border: 0;
  background: none;
  padding: 0;
  color: #666;
  font-size: 13px;
  cursor: pointer;
}
.jd-cart-toolbar__link:disabled,
.jd-cart-toolbar__selected-toggle:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.jd-cart-toolbar__link:not(:disabled):hover,
.jd-cart-toolbar__selected-toggle:not(:disabled):hover {
  color: var(--primary-color, #e83500);
}
.jd-cart-toolbar__selected-toggle em {
  font-style: normal;
  color: var(--primary-color, #e83500);
  font-weight: 700;
  margin: 0 2px;
}
.jd-cart-toolbar__caret {
  display: inline-block;
  margin-left: 2px;
  font-size: 10px;
  transition: transform 0.15s ease;
}
.jd-cart-toolbar__selected-toggle.is-open .jd-cart-toolbar__caret {
  transform: rotate(180deg);
}
.jd-cart-toolbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-left: auto;
}
.jd-cart-toolbar__sums {
  text-align: right;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
.jd-cart-toolbar__sum-row strong {
  color: #333;
  font-weight: 600;
  margin-left: 4px;
}
.jd-cart-toolbar__sum-row--total {
  font-size: 14px;
}
.jd-cart-toolbar__sum-row--total strong {
  color: var(--primary-color, #e83500);
  font-size: 20px;
  font-weight: 700;
}
.jd-cart-toolbar__checkout {
  min-width: 120px;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  background: var(--primary-color, #e83500);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.jd-cart-toolbar__checkout:hover:not(:disabled) {
  filter: brightness(0.96);
}
.jd-cart-toolbar__checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.jd-cart-selected-panel {
  border-top: 1px solid #eee;
  background: #fffaf7;
  max-height: 280px;
  overflow: auto;
}
.jd-cart-selected-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0 6px;
  font-size: 13px;
  color: #666;
}
.jd-cart-selected-panel__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
}
.jd-cart-selected-panel__empty {
  padding: 12px 0 16px;
  color: #999;
  font-size: 13px;
}
.jd-cart-selected-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #f0e6e0;
}
.jd-cart-selected-item:last-child {
  border-bottom: none;
}
.jd-cart-selected-item__img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  background: #f5f7fa;
  border: 1px solid #eee;
}
.jd-cart-selected-item__img--empty {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #c0c4cc;
}
.jd-cart-selected-item__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jd-cart-selected-item__name {
  font-size: 13px;
  color: #303133;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jd-cart-selected-item__name:hover {
  color: var(--primary-color, #e83500);
}
.jd-cart-selected-item__spec {
  font-size: 12px;
  color: #909399;
}
.jd-cart-selected-item__price {
  font-size: 13px;
  color: var(--primary-color, #e83500);
  font-weight: 600;
  white-space: nowrap;
}
.jd-cart-selected-item__cancel {
  border: 1px solid #ddd;
  background: #fff;
  color: #666;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
}
.jd-cart-selected-item__cancel:hover {
  border-color: var(--primary-color, #e83500);
  color: var(--primary-color, #e83500);
}
@media (max-width: 960px) {
  .jd-cart-item__price::before { content: '单价 '; color: #999; font-size: 12px; }
  .jd-cart-item__sum::before { content: '小计 '; color: #999; font-size: 12px; font-weight: 400; }
  .jd-cart-toolbar__checkout {
    min-width: 96px;
    height: 44px;
    padding: 0 16px;
    font-size: 15px;
  }
  .jd-cart-toolbar__sum-row--total strong { font-size: 18px; }
}

.checkout-product {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.checkout-product__thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 88px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #ebeef5;
  background: #f5f7fa;
  display: block;
}
.checkout-product__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.checkout-product__thumb-empty {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #c0c4cc;
  font-size: 12px;
}
.checkout-product__meta { flex: 1; min-width: 0; }
.checkout-product__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
}
.checkout-product__name {
  color: inherit !important;
  text-decoration: none !important;
}
.checkout-product__name:hover strong {
  color: var(--primary-color, #e83500);
  text-decoration: underline;
}
.checkout-product__detail-link {
  height: 30px;
  padding: 0 12px;
  font-size: 12px;
}

/* 待付款倒计时 */
.pay-countdown-banner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #fff7ed 0%, #fff1f0 100%);
  border: 1px solid #ffd8bf;
  color: #9a3412;
}
.pay-countdown-banner__icon {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ffd8bf;
  font-size: 18px;
}
.pay-countdown-banner__body strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.pay-countdown-banner__body p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #c2410c;
}
.pay-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  font-size: 12px;
  color: #c2410c;
}
.pay-countdown__label { color: #9a3412; }
.pay-countdown__time {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.pay-countdown.is-urgent,
.pay-countdown-panel.is-urgent .pay-countdown-panel__time {
  color: #dc2626;
}
.pay-countdown.is-expired .pay-countdown__time,
.pay-countdown-panel.is-expired .pay-countdown-panel__time {
  color: #94a3b8;
}
.pay-countdown-panel {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}
.pay-countdown-panel__clock {
  text-align: center;
  min-width: 240px;
  padding: 18px 28px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
  border: 1px solid #fed7aa;
}
.pay-countdown-panel__label {
  display: block;
  font-size: 13px;
  color: #9a3412;
  margin-bottom: 8px;
}
.pay-countdown-panel__time {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
  color: #ea580c;
}
.pay-countdown-panel__hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: #78716c;
  line-height: 1.5;
}

/* 用户中心分页 */
.uc-pagination {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px 20px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}
.uc-pagination--single {
  justify-content: center;
}
.uc-pagination__meta {
  color: #909399;
  font-size: 13px;
}
.uc-pagination__meta strong {
  color: #303133;
  font-weight: 600;
}
.uc-pagination__controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.uc-pagination__pages {
  display: flex;
  align-items: center;
  gap: 6px;
}
.uc-pagination__btn,
.uc-pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #e4e7ed;
  border-radius: 8px;
  background: #fff;
  color: #606266;
  text-decoration: none;
  line-height: 1;
  transition: color 0.15s, border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.uc-pagination__btn:hover,
.uc-pagination__page:hover {
  color: var(--primary-color, #e83500);
  border-color: var(--primary-color, #e83500);
  background: #fff7f4;
}
.uc-pagination__page.is-active {
  background: var(--primary-color, #e83500);
  border-color: var(--primary-color, #e83500);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(232, 53, 0, 0.25);
  pointer-events: none;
}
.uc-pagination__btn--disabled {
  color: #c0c4cc;
  background: #f5f7fa;
  border-color: #ebeef5;
  cursor: not-allowed;
}
.uc-pagination__ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  color: #c0c4cc;
  letter-spacing: 1px;
}

/* —— 集采/采购订单筛选 —— */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.order-items-table th,
.order-items-table td { font-size: 13px; }

/* 京东/淘宝风格订单卡片：商品始终展开，不折叠 */
.jd-order-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.jd-order-list__empty {
  padding: 48px 16px;
  text-align: center;
  color: #909399;
  font-size: 14px;
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 10px;
}
.jd-order-list__empty a {
  color: var(--primary-color, #e83500);
}
.jd-order-card {
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.jd-order-card.is-pending-pay {
  border-color: #ffd591;
  box-shadow: 0 1px 4px rgba(212, 107, 8, 0.08);
}
.jd-order-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  flex-wrap: wrap;
}
.jd-order-card__shop {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  min-width: 0;
  font-size: 13px;
  color: #606266;
}
.jd-order-card__shop-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f04a1a, var(--primary-color, #e83500));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}
.jd-order-card__shop-name {
  font-weight: 600;
  color: #303133;
}
.jd-order-card__order-no,
.jd-order-card__shop time {
  color: #909399;
  font-size: 12px;
}
.jd-order-card__meta-sep {
  color: #dcdfe6;
  margin: 0 2px;
}
.jd-order-card__status {
  font-size: 14px;
  font-weight: 600;
  color: #303133;
  white-space: nowrap;
}
.jd-order-card__status.is-warn {
  color: #d46b08;
}
.jd-order-card__body {
  padding: 4px 16px;
}
.jd-order-card__empty {
  padding: 20px 0;
  text-align: center;
  color: #c0c4cc;
  font-size: 13px;
}
.jd-order-card__goods {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 100px 110px;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
}
.jd-order-card__goods:last-child {
  border-bottom: 0;
}
.jd-order-card__thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  border: 1px solid #eee;
  background: #f7f8fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  text-decoration: none;
}
.jd-order-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jd-order-card__thumb span {
  font-size: 12px;
  color: #c0c4cc;
}
.jd-order-card__goods-main {
  min-width: 0;
}
.jd-order-card__goods-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #1a1a1a;
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
}
.jd-order-card__goods-name:hover {
  color: var(--primary-color, #e83500);
}
.jd-order-card__goods-spec {
  margin-top: 6px;
  font-size: 12px;
  color: #999;
  line-height: 1.4;
}
.jd-order-card__goods-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--primary-color, #e83500);
  text-decoration: none;
}
.jd-order-card__goods-link:hover {
  text-decoration: underline;
}
.jd-order-card--detail {
  box-shadow: none;
  border-radius: 8px;
}
.jd-order-card__goods-price {
  text-align: right;
  font-size: 13px;
  color: #606266;
}
.jd-order-card__unit {
  color: #303133;
}
.jd-order-card__qty {
  margin-top: 4px;
  color: #909399;
  font-size: 12px;
}
.jd-order-card__goods-sum {
  text-align: right;
  font-size: 14px;
  font-weight: 600;
  color: #303133;
}
.jd-order-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px 14px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
}
.jd-order-card__foot-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 12px;
  color: #909399;
  min-width: 0;
}
.jd-order-card__foot-meta .pay-countdown {
  margin-left: 4px;
}
.jd-order-card__foot-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.jd-order-card__amount {
  font-size: 13px;
  color: #606266;
  margin-right: 4px;
}
.jd-order-card__amount strong {
  margin-left: 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color, #e83500);
}
.jd-order-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #606266;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.jd-order-card__btn:hover {
  border-color: var(--primary-color, #e83500);
  color: var(--primary-color, #e83500);
}
.jd-order-card__btn--primary {
  border-color: var(--primary-color, #e83500);
  background: var(--primary-color, #e83500);
  color: #fff;
}
.jd-order-card__btn--primary:hover {
  background: #d12f00;
  border-color: #d12f00;
  color: #fff;
}
@media (max-width: 760px) {
  .jd-order-card__goods {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "thumb main price"
      "thumb main sum";
  }
  .jd-order-card__thumb { grid-area: thumb; width: 64px; height: 64px; }
  .jd-order-card__goods-main { grid-area: main; }
  .jd-order-card__goods-price { grid-area: price; }
  .jd-order-card__goods-sum { grid-area: sum; }
  .jd-order-card__foot { align-items: stretch; }
  .jd-order-card__foot-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* 订单页：下单流程说明默认折叠，让订单列表更靠上 */
.order-flow-note {
  margin: -6px 0 12px;
}
.order-flow-note__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  margin: 0;
  cursor: pointer;
  color: #909399;
  font-size: 13px;
  line-height: 1.4;
  list-style: none;
  user-select: none;
}
.order-flow-note__toggle::-webkit-details-marker {
  display: none;
}
.order-flow-note__toggle::after {
  content: "▾";
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.order-flow-note[open] .order-flow-note__toggle::after {
  transform: rotate(180deg);
}
.order-flow-note__toggle:hover {
  color: var(--primary-color, #e83500);
}
.order-flow-note__body {
  margin: 6px 0 0;
  padding: 10px 12px;
  background: #fafbfc;
  border: 1px dashed #ebeef5;
  border-radius: 8px;
  color: #909399;
  font-size: 13px;
  line-height: 1.6;
}

.order-filter-panel {
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.order-status-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}
.order-status-tabs__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f5f7fa;
  color: #606266;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.order-status-tabs__item:hover {
  color: var(--primary-color, #e83500);
  background: #fff7f5;
  border-color: #ffd8cc;
}
.order-status-tabs__item.is-active {
  color: #fff;
  background: linear-gradient(135deg, #f04a1a 0%, var(--primary-color, #e83500) 100%);
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(232, 53, 0, 0.22);
  font-weight: 600;
}
.order-status-tabs__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(232, 53, 0, 0.12);
  color: var(--primary-color, #e83500);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.order-status-tabs__item.is-active .order-status-tabs__badge {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.order-search-bar {
  margin: 0;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #ebeef5;
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  min-width: 0;
  box-sizing: border-box;
}
.order-search-bar__main {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  min-width: 0;
}
.order-search-bar__keyword {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.order-search-bar__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #a8abb2;
  display: inline-flex;
  pointer-events: none;
  z-index: 1;
}
.order-search-bar__control {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #dcdfe6;
  border-radius: 8px;
  background: #fafbfc;
  color: #303133;
  font-size: 14px;
  line-height: 40px;
  box-sizing: border-box;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.order-search-bar__keyword .order-search-bar__control {
  padding-left: 38px;
}
select.order-search-bar__control {
  padding-right: 28px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23909399' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-color: #fafbfc;
  cursor: pointer;
}
.order-search-bar__control:hover {
  border-color: #c0c4cc;
  background-color: #fff;
}
.order-search-bar__control:focus {
  border-color: var(--primary-color, #e83500);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(232, 53, 0, 0.1);
}
.order-search-bar__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}
.order-search-bar__btn {
  height: 40px !important;
  min-width: 76px;
  padding: 0 16px !important;
  border-radius: 8px !important;
  font-weight: 500;
  flex: 0 0 auto;
  white-space: nowrap;
}
.order-search-bar__toggle {
  gap: 6px;
}
.order-search-bar__toggle-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--primary-color, #e83500);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}
.order-search-bar__toggle-badge[hidden] {
  display: none !important;
}
.order-search-bar__toggle-caret {
  display: inline-block;
  font-size: 11px;
  line-height: 1;
  transition: transform 0.15s ease;
}
.order-search-bar__toggle.is-open .order-search-bar__toggle-caret {
  transform: rotate(180deg);
}
.order-search-bar__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #f0f2f5;
}
.order-search-bar__filters[hidden] {
  display: none !important;
}
.order-search-bar__field {
  flex: 1 1 160px;
  min-width: 140px;
  max-width: 240px;
}
.order-search-bar__field label,
.order-search-bar__label-spacer,
.order-search-bar__dates-label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  color: #909399;
  line-height: 1.2;
  height: 16px;
}
.order-search-bar__field--action {
  flex: 0 0 auto;
  min-width: 0;
  max-width: none;
}
.order-search-bar__dates {
  display: flex;
  flex: 1 1 100%;
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  margin-top: 12px;
  padding: 12px;
  background: #fafbfc;
  border: 1px dashed #e4e7ed;
  border-radius: 8px;
  box-sizing: border-box;
}
.order-search-bar__dates.is-hidden { display: none !important; }
.order-search-bar__date-range {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 420px;
}
.order-search-bar__date-range .order-search-bar__control {
  flex: 1 1 0;
  min-width: 0;
}
.order-search-bar__date-range span {
  color: #909399;
  font-size: 13px;
  flex: 0 0 auto;
}
.order-search-bar__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #ebeef5;
}
.order-search-bar__chips-label {
  font-size: 12px;
  color: #909399;
}
.order-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff7f5;
  border: 1px solid #ffd8cc;
  color: #c43a12;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-all;
}
.order-chip--clear {
  background: #fff;
  border-color: #dcdfe6;
  color: #606266;
  text-decoration: none;
}
.order-chip--clear:hover {
  color: var(--primary-color, #e83500);
  border-color: #ffd8cc;
}

@media (max-width: 900px) {
  .workbench-header { flex-direction: column; }
  .workbench-header__stats { width: 100%; justify-content: space-around; }
  .workbench-header__stat { flex: 1; min-width: 0; }
  .uc-form-grid { grid-template-columns: 1fr; }
  .uc-desc th { width: 96px; }
  .cart-item-actions { flex-direction: column; align-items: stretch; }
  .uc-pagination {
    justify-content: center;
    padding: 14px 12px;
  }
  .pay-countdown-panel__time { font-size: 32px; }

  .order-search-bar { padding: 14px; }
  .order-search-bar__main {
    flex-wrap: wrap;
  }
  .order-search-bar__keyword {
    flex: 1 1 100%;
  }
  .order-search-bar__actions {
    width: 100%;
  }
  .order-search-bar__actions .order-search-bar__btn {
    flex: 1 1 0;
  }
  .order-search-bar__field {
    flex: 1 1 calc(50% - 6px);
    max-width: none;
  }
  .order-search-bar__field--action {
    flex: 1 1 100%;
  }
  .order-search-bar__field--action .order-search-bar__btn {
    width: 100%;
  }
  .order-search-bar__date-range .order-search-bar__control {
    max-width: none;
  }
}
@media (max-width: 560px) {
  .order-search-bar__field {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   供应商工作台经营概况（fdash）——避免与门户 .factory-card 冲突
   ========================================================================== */
.fdash {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.fdash__todo {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  background: linear-gradient(90deg, #2f7bff 0%, #3b8cff 45%, #4e9bff 100%);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(47, 123, 255, 0.22);
}

.fdash__todo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px 6px;
  color: #fff;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  transition: background-color 0.15s ease;
  position: relative;
}

.fdash__todo-item:last-child {
  border-right: none;
}

.fdash__todo-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.fdash__todo-item.has-todo {
  background: rgba(255, 255, 255, 0.14);
}

.fdash__todo-item.has-todo .fdash__todo-num {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.fdash__todo-item.has-todo::after {
  content: '';
  position: absolute;
  top: 8px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffd666;
  box-shadow: 0 0 0 2px rgba(255, 214, 102, 0.35);
}

.fdash__todo-num {
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
}

.fdash__todo-label {
  font-size: 12px;
  opacity: 0.95;
  white-space: nowrap;
}

.fdash__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  align-items: start;
}

.fdash__main,
.fdash__aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.fdash-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e8ebf0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.fdash-card--profile {
  padding: 0;
}

.fdash-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 0;
}

.fdash-card__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1f2329;
}

.fdash-card__more {
  font-size: 12px;
  color: #86909c;
  text-decoration: none;
  white-space: nowrap;
}

.fdash-card__more:hover {
  color: #e83500;
}

.fdash-card__body {
  padding: 14px 16px 16px;
}

.fdash-empty {
  margin: 0;
  padding: 28px 8px;
  text-align: center;
  color: #86909c;
  font-size: 13px;
  background: #fafbfc;
  border-radius: 6px;
  border: 1px dashed #e5e6eb;
}

.fdash-todo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fdash-todo-list a {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  background: #f7f8fa;
  color: #1f2329;
  text-decoration: none;
  font-size: 13px;
}

.fdash-todo-list a:hover {
  background: #fff0eb;
  color: #e83500;
}

.fdash-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fdash-metrics__item {
  padding: 12px 12px 14px;
  border-radius: 8px;
  background: #f7f8fa;
  border: 1px solid #eef0f3;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.fdash-metrics__item--score {
  background: linear-gradient(160deg, #fff7f3, #fff);
  border-color: #f3d9cf;
}

.fdash-metrics__label {
  font-size: 12px;
  color: #86909c;
}

.fdash-metrics__value {
  font-size: 22px;
  font-weight: 700;
  color: #1f2329;
  line-height: 1.1;
}

.fdash-metrics__value--up { color: #00a870; }
.fdash-metrics__value--down { color: #e83500; }

.fdash-metrics__sub {
  font-size: 12px;
  color: #e83500;
  font-weight: 600;
}

.fdash-alert {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.fdash-alert--danger {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.fdash-alert--warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.fdash-alert--info {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
}

.fdash-tips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.fdash-tips__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 14px;
  border-radius: 8px;
  border: 1px solid #eef0f3;
  background: linear-gradient(180deg, #fff, #fafbfc);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fdash-tips__item:hover {
  border-color: #fdba74;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.fdash-tips__item strong {
  font-size: 14px;
  color: #1f2329;
}

.fdash-tips__item span {
  font-size: 12px;
  color: #86909c;
  line-height: 1.45;
}

.fdash-apps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.fdash-apps__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 8px;
  border: 1px solid #eef0f3;
  background: #fff;
  color: #4e5969;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.fdash-apps__item:hover {
  color: #e83500;
  border-color: #fdba74;
  background: #fff8f5;
}

.fdash-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px 12px;
}

.fdash-profile__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff7a45, #e83500);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.fdash-profile__meta {
  min-width: 0;
}

.fdash-profile__name {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2329;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fdash-profile__role {
  margin: 0;
  font-size: 12px;
  color: #86909c;
}

.fdash-profile__scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 0 16px 12px;
}

.fdash-profile__score {
  padding: 10px 10px;
  border-radius: 8px;
  background: #f7f8fa;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fdash-profile__score span {
  font-size: 12px;
  color: #86909c;
}

.fdash-profile__score strong {
  font-size: 16px;
  color: #1f2329;
}

.fdash-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}

.fdash-profile__actions a {
  flex: 1 1 calc(50% - 4px);
  min-width: 0;
  text-align: center;
  padding: 8px 6px;
  border-radius: 6px;
  border: 1px solid #e5e6eb;
  color: #4e5969;
  text-decoration: none;
  font-size: 12px;
  background: #fff;
}

.fdash-profile__actions a:hover {
  color: #e83500;
  border-color: #fdba74;
}

.fdash-faq {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fdash-faq li {
  color: #c9cdd4;
  font-size: 12px;
}

.fdash-faq a {
  color: #4e5969;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}

.fdash-faq a:hover {
  color: #e83500;
}

.fdash-faq-empty {
  margin: 0;
  color: #86909c;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1200px) {
  .fdash__grid {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .fdash-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fdash-apps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .fdash__todo {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fdash__todo-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .fdash__grid {
    grid-template-columns: 1fr;
  }
  .fdash-tips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fdash__todo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fdash__todo-num {
    font-size: 22px;
  }
  .fdash-apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ��Ӧ�̷��� / Ʒ������ѡ���� */
.cate-open-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cate-open-list li {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: baseline;
  padding: 8px 12px;
  background: #f7f8fa;
  border-radius: 8px;
}
.cate-open-list__label {
  color: #1d2129;
  font-size: 13px;
  line-height: 1.5;
}
.cate-open-list__meta {
  color: #86909c;
  font-size: 12px;
}
.cate-apply-record {
  padding: 12px 0;
  border-bottom: 1px solid #e5e6eb;
}
.cate-apply-record:last-child { border-bottom: 0; }
.cate-apply-record__time {
  color: #86909c;
  margin-left: 8px;
  font-size: 12px;
}
.cate-apply-record__items {
  margin-top: 6px;
  color: #4e5969;
  line-height: 1.6;
  font-size: 13px;
}
.cate-cascader__search { margin-bottom: 10px; }
.cate-cascader__search input,
.brand-filter {
  width: 100%;
  height: 38px;
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  padding: 0 12px;
  box-sizing: border-box;
}
.cate-cascader__panels {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(160px, 1.1fr) minmax(220px, 1.4fr);
  border: 1px solid #e5e6eb;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  min-height: 320px;
}
.cate-cascader__col {
  border-right: 1px solid #e5e6eb;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cate-cascader__col:last-child { border-right: 0; }
.cate-cascader__col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: #f7f8fa;
  border-bottom: 1px solid #e5e6eb;
  color: #4e5969;
  font-size: 13px;
  font-weight: 600;
}
.cate-cascader__mini {
  border: 0;
  background: transparent;
  color: #e83500;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}
.cate-cascader__col-body {
  overflow: auto;
  max-height: 360px;
  padding: 6px;
}
.cate-cascader__item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 10px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: #1d2129;
  font-size: 13px;
}
.cate-cascader__item:hover { background: #f7f8fa; }
.cate-cascader__item.is-active {
  background: #fff7ed;
  color: #c2410c;
  font-weight: 600;
}
.cate-cascader__item span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cate-cascader__item em,
.cate-cascader__check em,
.cate-cascader__hit em {
  font-style: normal;
  color: #86909c;
  font-size: 12px;
  flex-shrink: 0;
}
.cate-cascader__check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.cate-cascader__check:hover { background: #f7f8fa; }
.cate-cascader__check.is-checked { background: #fff7ed; }
.cate-cascader__check.is-locked { opacity: 0.72; cursor: default; }
.cate-cascader__check.is-locked em { color: #e83500; }
.cate-cascader__check-main strong {
  font-size: 13px;
  font-weight: 600;
  color: #1d2129;
}
.cate-cascader__empty {
  margin: 24px 12px;
  text-align: center;
  color: #86909c;
  font-size: 13px;
}
.cate-cascader__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}
.cate-cascader__count {
  margin-left: auto;
  color: #86909c;
  font-size: 13px;
}
.cate-cascader__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.cate-cascader__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  border: 1px solid #ffd4bf;
  background: #fff7ed;
  color: #c2410c;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  cursor: pointer;
}
.cate-cascader__chip span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 420px;
}
.cate-cascader__chip i { font-style: normal; font-weight: 700; }
.cate-cascader__hits {
  margin-top: 10px;
  border: 1px solid #e5e6eb;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}
.cate-cascader__hits-head {
  padding: 6px 10px;
  color: #86909c;
  font-size: 12px;
}
.cate-cascader__hit {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  color: #1d2129;
}
.cate-cascader__hit:hover { background: #f7f8fa; }
.brand-apply-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.9fr);
  gap: 14px;
  align-items: start;
}
.brand-apply-side {
  border: 1px solid #e5e6eb;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  min-height: 320px;
}
.brand-apply-side .uc-form-item { margin-bottom: 12px; }
.brand-apply-side .uc-form-item:last-of-type { margin-bottom: 14px; }
.brand-picker-toolbar { margin-bottom: 12px; }
.brand-picker-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
}
.brand-picker-row {
  border: 1px solid #e5e6eb;
  border-radius: 12px;
  padding: 14px;
  background: #fafbfc;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.brand-picker-row__brands {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) 88px;
  gap: 12px;
  align-items: start;
}
.brand-check-list {
  margin-top: 8px;
  max-height: 180px;
  overflow: auto;
  border: 1px solid #e5e6eb;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}
.brand-check {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  color: #1d2129;
}
.brand-check:hover { background: #f7f8fa; }
.brand-filter { margin-top: 6px; }
@media (max-width: 960px) {
  .cate-cascader__panels {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .cate-cascader__col {
    border-right: 0;
    border-bottom: 1px solid #e5e6eb;
  }
  .cate-cascader__col:last-child { border-bottom: 0; }
  .cate-cascader__col-body { max-height: 220px; }
  .brand-picker-row__brands { grid-template-columns: 1fr; }
  .brand-apply-grid { grid-template-columns: 1fr; }
  .cate-cascader__count { margin-left: 0; width: 100%; }
}

/* —— 独立支付页（非用户中心） —— */
.jd-pay-page {
  background: #f5f5f5;
  min-height: 60vh;
  padding-bottom: 40px;
}
.jd-pay-page__wrap {
  padding-top: 16px;
}
.jd-pay-page__crumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 16px;
}
.jd-pay-page__crumb a {
  color: #666;
  text-decoration: none;
}
.jd-pay-page__crumb a:hover {
  color: var(--primary-color, #e83500);
}
.jd-pay-page__crumb span {
  margin: 0 6px;
  color: #ccc;
}
.jd-pay-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 28px 24px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}
.jd-pay-card__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}
.jd-pay-card__channel {
  margin: 0 0 16px;
  font-size: 13px;
  color: #909399;
}
.jd-pay-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 13px;
  color: #909399;
}
.jd-pay-card__meta div {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.jd-pay-card__meta em {
  font-style: normal;
  color: #606266;
  word-break: break-all;
}
.jd-pay-card__amount {
  margin: 8px 0 20px;
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color, #e83500);
  line-height: 1.2;
}
.jd-pay-card__tip {
  margin: 0 0 16px;
  font-size: 14px;
  color: #606266;
  line-height: 1.6;
}
.jd-pay-card__wait {
  margin: 14px 0 0;
  padding: 8px 12px;
  border-radius: 4px;
  background: #f4f4f5;
  color: #606266;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}
.jd-pay-card__error {
  margin: 0 0 16px;
  font-size: 14px;
  color: #f56c6c;
}
.jd-pay-card__qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 6px;
}
.jd-pay-card__qr canvas,
.jd-pay-card__qr img {
  max-width: 100%;
  height: auto;
}
.jd-pay-card__code {
  margin: 0 0 16px;
  font-size: 12px;
  color: #c0c4cc;
  word-break: break-all;
  line-height: 1.4;
}
.jd-pay-card__primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 44px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--primary-color, #e83500);
  color: #fff !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.jd-pay-card__primary:hover {
  filter: brightness(0.96);
}
.jd-pay-card__primary--ghost {
  background: #fff;
  color: var(--primary-color, #e83500) !important;
  border: 1px solid var(--primary-color, #e83500);
}
.jd-pay-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}
.jd-pay-card__link {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 12px;
  font-size: 13px;
  color: #909399;
  text-decoration: none;
}
.jd-pay-card__link:hover {
  color: var(--primary-color, #e83500);
}
.jd-pay-card__status {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 700;
  color: #303133;
}
.jd-pay-card__status--ok {
  color: #67c23a;
}
.jd-pay-card__status--wait {
  color: #e6a23c;
}
.jd-pay-card__status--warn {
  color: #e6a23c;
}
@media (max-width: 640px) {
  .jd-pay-card {
    padding: 22px 16px 18px;
  }
  .jd-pay-card__amount {
    font-size: 28px;
  }
  .jd-pay-card__primary {
    width: 100%;
  }
}

/* —— 确认订单页（购物车去结算） —— */
.jd-order-confirm {
  background: #f5f5f5;
  min-height: 60vh;
  padding-bottom: 24px;
}
.jd-order-confirm__wrap {
  padding-top: 16px;
  padding-bottom: 24px;
}
.jd-order-confirm__crumb {
  font-size: 13px;
  color: #999;
  margin-bottom: 10px;
}
.jd-order-confirm__crumb a {
  color: #666;
  text-decoration: none;
}
.jd-order-confirm__crumb a:hover {
  color: var(--primary-color, #e83500);
}
.jd-order-confirm__crumb span {
  margin: 0 6px;
  color: #ccc;
}
.jd-order-confirm__title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
}
.jd-order-confirm__notice {
  margin-bottom: 12px;
  padding: 12px 14px;
  background: #fff7e6;
  border: 1px solid #ffe7ba;
  border-radius: 4px;
  color: #ad6800;
  font-size: 13px;
  line-height: 1.6;
}
.jd-order-confirm__card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.jd-order-confirm__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.jd-order-confirm__card-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}
.jd-order-confirm__card-head a {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}
.jd-order-confirm__card-head a:hover {
  color: var(--primary-color, #e83500);
}
.jd-order-confirm__hint {
  margin: 0 0 12px;
  font-size: 12px;
  color: #999;
}
.jd-order-confirm__addr-fixed {
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 4px;
}
.jd-order-confirm__addr-name {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: baseline;
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 6px;
}
.jd-order-confirm__addr-name span {
  color: #666;
  font-size: 14px;
}
.jd-order-confirm__addr-line {
  font-size: 13px;
  color: #606266;
  line-height: 1.5;
}
.jd-order-confirm__pay-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  font-size: 14px;
  color: #303133;
  cursor: pointer;
}
.jd-order-confirm__remark {
  width: 100%;
  max-width: 720px;
}
.jd-order-confirm__loading,
.jd-order-confirm__empty {
  padding: 28px 12px;
  text-align: center;
  color: #909399;
  font-size: 14px;
}
.jd-order-confirm__empty a {
  color: var(--primary-color, #e83500);
}
.jd-order-confirm__shop {
  border: 1px solid #f0f0f0;
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
}
.jd-order-confirm__shop:last-child {
  margin-bottom: 0;
}
.jd-order-confirm__shop-name {
  padding: 10px 14px;
  background: #fafafa;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.jd-order-confirm__row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 100px 118px 110px;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid #f5f5f5;
}
.jd-order-confirm__qty .jd-cart-qty {
  vertical-align: middle;
}
.jd-order-confirm__row:last-child {
  border-bottom: 0;
}
.jd-order-confirm__row.is-stock-bad {
  background: #fff7f7;
}
.jd-order-confirm__thumb {
  width: 72px;
  height: 72px;
  border: 1px solid #eee;
  border-radius: 4px;
  background: #fafafa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.jd-order-confirm__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.jd-order-confirm__thumb span {
  font-size: 12px;
  color: #c0c4cc;
}
.jd-order-confirm__meta {
  min-width: 0;
}
.jd-order-confirm__name {
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.4;
}
.jd-order-confirm__spec,
.jd-order-confirm__stock-bad {
  margin-top: 4px;
  font-size: 12px;
  color: #999;
}
.jd-order-confirm__stock-bad {
  color: #f56c6c;
}
.jd-order-confirm__price,
.jd-order-confirm__qty,
.jd-order-confirm__sum {
  font-size: 14px;
  color: #333;
  text-align: right;
}
.jd-order-confirm__sum {
  color: var(--primary-color, #e83500);
  font-weight: 600;
}
.jd-order-confirm__msg {
  min-height: 20px;
  margin: 8px 0 0;
  font-size: 13px;
}
.jd-order-confirm__amount-card {
  margin-bottom: 16px;
}
.jd-order-confirm__amount-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.jd-order-confirm__amount-table th,
.jd-order-confirm__amount-table td {
  padding: 10px 4px;
  border-bottom: 1px solid #f0f2f5;
  text-align: left;
}
.jd-order-confirm__amount-table th {
  width: 120px;
  color: #606266;
  font-weight: 500;
}
.jd-order-confirm__amount-table td {
  text-align: right;
  color: #303133;
  font-weight: 600;
}
.jd-order-confirm__amount-table tr.is-pay td {
  color: var(--primary-color, #e83500);
  font-size: 18px;
}
.jd-order-confirm__amount-tip {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 400;
  color: #909399;
}
.jd-order-confirm__bar-spacer {
  height: 72px;
}
.jd-fulfill-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.jd-fulfill-steps__item {
  flex: 1;
  min-width: 110px;
  position: relative;
  padding: 0 8px 0 0;
  text-align: center;
  font-size: 13px;
  color: #909399;
}
.jd-fulfill-steps__item::after {
  content: '';
  position: absolute;
  top: 11px;
  left: calc(50% + 18px);
  right: -8px;
  height: 2px;
  background: #e4e7ed;
}
.jd-fulfill-steps__item:last-child::after { display: none; }
.jd-fulfill-steps__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: #e4e7ed;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.jd-fulfill-steps__item.is-done { color: #303133; }
.jd-fulfill-steps__item.is-done .jd-fulfill-steps__dot,
.jd-fulfill-steps__item.is-active .jd-fulfill-steps__dot {
  background: var(--primary-color, #e83500);
}
.jd-fulfill-steps__item.is-active {
  color: var(--primary-color, #e83500);
  font-weight: 600;
}
.jd-fulfill-steps__item.is-done::after,
.jd-fulfill-steps__item.is-active::after {
  background: var(--primary-color, #e83500);
}
.jd-express-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin: 0 0 12px;
  font-size: 14px;
}
.jd-express-head__no {
  letter-spacing: 0.4px;
  font-weight: 600;
}
.jd-express-head__state {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 2px;
  background: #fdf6ec;
  color: #e6a23c;
  font-size: 12px;
}
.jd-express-head__state.is-ok {
  background: #f0f9eb;
  color: #67c23a;
}
.jd-express-track {
  margin: 0;
  padding: 0;
  list-style: none;
}
.jd-express-track__item {
  position: relative;
  padding: 0 0 16px 18px;
  border-left: 2px solid #e4e7ed;
  margin-left: 7px;
}
.jd-express-track__item:last-child { padding-bottom: 0; }
.jd-express-track__item::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #c0c4cc;
}
.jd-express-track__item.is-first {
  color: #303133;
}
.jd-express-track__item.is-first::before {
  background: var(--primary-color, #e83500);
}
.jd-express-track__time {
  font-size: 12px;
  color: #909399;
}
.jd-express-track__ctx {
  margin-top: 2px;
  font-size: 13px;
  line-height: 1.5;
}
.jd-express-empty {
  margin: 0;
  padding: 12px 14px;
  background: #f5f7fa;
  border-radius: 4px;
  color: #606266;
  font-size: 13px;
  line-height: 1.6;
}
.jd-order-confirm__bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
}
.jd-order-confirm__bar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  min-height: 64px;
  padding: 8px 0;
}
.jd-order-confirm__bar-sums {
  text-align: right;
  font-size: 13px;
  color: #666;
  line-height: 1.55;
}
.jd-order-confirm__bar-sums em {
  font-style: normal;
  color: var(--primary-color, #e83500);
  font-weight: 600;
}
.jd-order-confirm__bar-split {
  margin: 0 8px;
  color: #ddd;
}
.jd-order-confirm__bar-pay strong {
  color: var(--primary-color, #e83500);
  font-size: 22px;
  font-weight: 700;
  margin-left: 4px;
}
.jd-order-confirm__submit {
  min-width: 140px;
  height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 2px;
  background: var(--primary-color, #e83500);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.jd-order-confirm__submit:hover:not(:disabled) {
  filter: brightness(0.96);
}
.jd-order-confirm__submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (max-width: 960px) {
  .jd-order-confirm__row {
    grid-template-columns: 64px minmax(0, 1fr);
  }
  .jd-order-confirm__thumb { width: 64px; height: 64px; }
  .jd-order-confirm__price,
  .jd-order-confirm__qty,
  .jd-order-confirm__sum {
    text-align: left;
  }
  .jd-order-confirm__bar-inner {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
  }
  .jd-order-confirm__submit {
    width: 100%;
  }
}
