/* ============================================================
 * 视权益 · 买家下单系统 — TDesign 视觉风格
 * 主题：品牌蓝 #0958d9 / 页面底 #eeeeee / 白色卡片
 * ============================================================ */

/* ---------------- 1. 主题变量（覆盖 ElementUI + 自定义） ---------------- */
:root {
  /* ElementUI 主题色：品牌蓝（TDesign 蓝阶） */
  --el-color-primary: #0958d9;
  --el-color-primary-light-1: #1e6de0;
  --el-color-primary-light-2: #3580e6;
  --el-color-primary-light-3: #4c93ec;
  --el-color-primary-light-4: #63a5f0;
  --el-color-primary-light-5: #7ab8f5;
  --el-color-primary-light-6: #91caf9;
  --el-color-primary-light-7: #a8dbfc;
  --el-color-primary-light-8: #bfe9fe;
  --el-color-primary-light-9: #d6f4ff;
  --el-color-primary-dark-2: #003eb3;

  --el-color-success: #52c41a;
  --el-color-success-light-3: #95de64;
  --el-color-success-light-5: #b7eb8f;
  --el-color-success-light-7: #d9f7be;
  --el-color-success-light-8: #e9fbd8;
  --el-color-success-light-9: #f6ffed;
  --el-color-success-dark-2: #389e0d;

  --el-color-warning: #faad14;
  --el-color-warning-light-3: #ffd666;
  --el-color-warning-light-5: #ffe58f;
  --el-color-warning-light-7: #fff1b8;
  --el-color-warning-light-8: #fff7d6;
  --el-color-warning-light-9: #fffbe6;
  --el-color-warning-dark-2: #d48806;

  --el-color-danger: #cf1322;
  --el-color-danger-light-3: #ff7875;
  --el-color-danger-light-5: #ffa39e;
  --el-color-danger-light-7: #ffccc7;
  --el-color-danger-light-8: #ffdcd8;
  --el-color-danger-light-9: #fff2f0;
  --el-color-danger-dark-2: #a8071a;

  --el-color-info: #8b8b8b;
  --el-color-info-light-3: #c6c6c6;
  --el-color-info-light-5: #dddddd;
  --el-color-info-light-7: #eeeeee;
  --el-color-info-light-8: #f3f3f3;
  --el-color-info-light-9: #f8f8f8;
  --el-color-info-dark-2: #777777;

  /* 文字 / 边框 / 背景 */
  --el-text-color-primary: rgba(0, 0, 0, .9);
  --el-text-color-regular: rgba(0, 0, 0, .9);
  --el-text-color-secondary: rgba(0, 0, 0, .6);
  --el-text-color-placeholder: rgba(0, 0, 0, .4);
  --el-text-color-disabled: rgba(0, 0, 0, .26);
  --el-border-color: #dddddd;
  --el-border-color-light: #e8e8e8;
  --el-border-color-lighter: #e8e8e8;
  --el-border-color-extra-light: #f0f0f0;
  --el-border-radius-base: 6px;
  --el-background-color-base: #f3f3f3;

  /* 表格 */
  --el-table-border-color: #e8e8e8;
  --el-table-header-background-color: #f5f7fa;
  --el-table-row-hover-background-color: #f3f3f3;

  /* TDesign 自定义变量 */
  --td-brand: #0958d9;
  --td-brand-hover: #1677ff;
  --td-brand-active: #003eb3;
  --td-brand-light: #e6f4ff;
  --td-page-bg: #eeeeee;
  --td-container: #ffffff;
  --td-border: #e8e8e8;
  --td-text-1: rgba(0, 0, 0, .9);
  --td-text-2: rgba(0, 0, 0, .6);
  --td-text-3: rgba(0, 0, 0, .4);
  --td-success: #52c41a;
  --td-warning: #faad14;
  --td-danger: #cf1322;
  --td-radius: 6px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Helvetica Neue', Helvetica, 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  color: var(--td-text-1);
  -webkit-font-smoothing: antialiased;
  background: var(--td-page-bg);
}

/* ---------------- 2. 全局布局：左侧导航 + 主区 ---------------- */
.layout { display: flex; min-height: 100vh; background: var(--td-page-bg); }

.sidebar {
  width: 232px; background: var(--td-container); flex-shrink: 0;
  display: flex; flex-direction: column;
  border-right: 1px solid var(--td-border);
  position: sticky; top: 0; height: 100vh;
}
.sidebar .brand { padding: 16px 16px 14px; border-bottom: 1px solid var(--td-border); }
.brand-head { display: flex; align-items: center; gap: 10px; }
.brand-badge img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; }
.brand-badge {
  width: 38px; height: 38px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; color: #fff;
  background: var(--td-brand); box-shadow: 0 6px 14px rgba(9, 88, 217, .22);
}
.brand-name { font-size: 16px; font-weight: 700; line-height: 1.25; }
.brand-sub { font-size: 12px; color: var(--td-text-3); margin-top: 1px; }

.nav { flex: 1; padding: 10px 8px; overflow-y: auto; }
.nav a {
  display: flex; align-items: center; gap: 9px;
  height: 40px; padding: 0 12px; margin: 2px 0;
  color: var(--td-text-1); font-size: 14px; cursor: pointer;
  border-radius: 6px; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.nav a svg { width: 17px; height: 17px; flex: none; }
.nav a:hover { background: var(--td-container-hover, #f3f3f3); color: var(--td-text-1); }
.nav a.active { background: var(--td-brand-light); color: var(--td-brand); font-weight: 500; }

.sidebar-foot { padding: 12px 16px; border-top: 1px solid var(--td-border); font-size: 12px; color: var(--td-text-2); }
.sidebar-foot .foot-user { display: flex; align-items: center; justify-content: space-between; }
.sidebar-foot .foot-name { font-weight: 600; color: var(--td-text-1); }
.sidebar-foot .foot-logout { color: var(--td-text-2); cursor: pointer; }
.sidebar-foot .foot-logout:hover { color: var(--td-danger); }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
  background: var(--td-container); border-bottom: 1px solid var(--td-border);
  min-height: 56px; padding: 8px 20px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 10;
}
.topbar h1 { font-size: 16px; font-weight: 600; margin: 0; color: var(--td-text-1); }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.balance-pill {
  display: inline-flex; align-items: center; gap: 6px;
  height: 32px; padding: 0 14px; border-radius: 16px;
  background: var(--td-brand-light); color: var(--td-brand);
  font-size: 13px; font-weight: 500;
}
.balance-pill svg { width: 15px; height: 15px; }
.balance-pill b { font-weight: 700; }
.user-name { font-size: 14px; color: var(--td-text-1); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }

.content { padding: 16px 20px 24px; flex: 1; }

/* ---------------- 3. 卡片 ---------------- */
.card {
  background: var(--td-container); border: 1px solid var(--td-border);
  border-radius: var(--td-radius); padding: 16px 20px; margin-bottom: 16px;
}
.card h2 { font-size: 14px; margin: 0 0 12px; font-weight: 600; color: var(--td-text-1); }
.flex { display: flex; }
.toolbar-card { padding: 12px 16px; }
.toolbar-tip { font-size: 12px; color: var(--td-text-3); }

/* ---------------- 4. 统计卡 ---------------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 16px; }
.stat {
  background: var(--td-container); border: 1px solid var(--td-border);
  border-radius: var(--td-radius); padding: 16px 20px; position: relative; overflow: hidden;
  transition: box-shadow .2s;
}
.stat:hover { box-shadow: 0 4px 16px rgba(0, 0, 0, .08); }
.stat .label { color: var(--td-text-2); font-size: 12px; }
.stat .num { font-size: 26px; font-weight: 700; margin-top: 6px; line-height: 1.2; }
.stat.green .num { color: var(--td-success); }
.stat.blue .num { color: var(--td-brand); }
.stat.red .num { color: var(--td-danger); }
.stat.teal .num { color: var(--td-brand); }
.stat.orange .num { color: var(--td-warning); }

/* ---------------- 5. Tag（TDesign 小号圆角） ---------------- */
.tag {
  display: inline-flex; align-items: center; height: 20px; padding: 0 8px;
  border-radius: 3px; font-size: 12px; line-height: 1; color: #fff;
}
.td-success { background: var(--td-success); }
.td-warning { background: var(--td-warning); }
.td-danger  { background: var(--td-danger); }
.td-primary { background: var(--td-brand); }
.td-info    { background: var(--td-brand); }
.td-default { background: #eeeeee; color: var(--td-text-1); }

/* ---------------- 6. 商品商城 ---------------- */
.grid-products {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px;
}
.product-card {
  background: var(--td-container); border: 1px solid var(--td-border);
  border-radius: var(--td-radius); overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.product-card:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .1); border-color: #dddddd; }
.product-body { padding: 14px 14px 8px; cursor: pointer; }
.product-logo { width: 100%; height: 120px; display: block; border-radius: 4px; background: #fafafa; }
.product-logo-fallback, .order-product-logo-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #c0c4cc; background: #fafafa;
}
.product-name {
  font-size: 14px; font-weight: 500; color: var(--td-text-1);
  margin: 10px 0 6px; line-height: 1.4; height: 40px;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.product-meta { display: flex; align-items: baseline; justify-content: space-between; }
.product-meta .price { font-size: 18px; font-weight: 700; color: var(--td-brand); }
.product-meta .avg {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--td-text-3);
}
.product-meta .avg svg { width: 13px; height: 13px; }
.product-stock { display: flex; justify-content: space-between; font-size: 12px; color: var(--td-text-3); margin-top: 4px; }
.product-stock .warn { color: var(--td-warning); }
.product-footer { padding: 10px 14px 14px; }

/* ---------------- 7. 表格（TDesign：灰表头 / 行 hover / 无竖线） ---------------- */
.table-card { padding: 4px 0; }
.el-table { border-radius: var(--td-radius); }
.el-table th.el-table__cell {
  background: var(--el-table-header-background-color) !important;
  color: var(--td-text-2); font-weight: 500;
}
.el-table .el-table__row:hover > td.el-table__cell { background: var(--td-container-hover, #f3f3f3) !important; }
.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell { background: var(--td-container-hover, #f3f3f3) !important; }
.order-product { display: flex; align-items: center; gap: 8px; }
.order-product-logo { width: 30px; height: 30px; border-radius: 4px; flex: none; }

/* ---------------- 8. 订单抽屉 ---------------- */
.drawer-title { font-size: 16px; font-weight: 600; padding: 18px 16px; border-bottom: 1px solid var(--td-border); margin-bottom: 12px; }
.drawer-section { padding: 14px 16px; }
.drawer-section-title { font-size: 13px; font-weight: 600; color: var(--td-text-2); margin-bottom: 8px; }
.evidence-img { width: 100%; border-radius: 6px; border: 1px solid var(--td-border); }
.evidence-video { width: 100%; border-radius: 6px; }
.drawer-actions { padding: 14px 16px; }

/* ---------------- 9. 管理后台 Tabs ---------------- */
.admin-tabs .el-tabs__header { margin-bottom: 16px; }
.admin-tabs .el-tabs__nav-wrap::after { background-color: var(--td-border); }
.admin-tabs .el-tabs__item { font-size: 14px; color: var(--td-text-2); }
.admin-tabs .el-tabs__item.is-active { color: var(--td-brand); }
.admin-tabs .el-tabs__active-bar { background-color: var(--td-brand); }
.cache-line { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--td-text-2); }
/* ---------------- 9.1 系统设置 ---------------- */
.cfg-card { padding: 20px 24px; }
.cfg-tip {
  display: flex; align-items: center; gap: 8px;
  background: #e6f4ff; border: 1px solid #91caff; border-radius: 6px;
  color: #0958d9; font-size: 13px; line-height: 1.5; padding: 9px 12px; margin-bottom: 16px;
}
.cfg-tip::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: #0958d9; flex: none; }
.cfg-form .cfg-sec {
  font-size: 14px; font-weight: 600; color: var(--td-text-1);
  margin: 18px 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--td-border);
}
.cfg-form .cfg-sec:first-of-type { margin-top: 4px; }
.cfg-form .el-form-item { margin-bottom: 14px; }
.cfg-form .cfg-opt { font-size: 12px; color: var(--td-text-3); line-height: 1.5; margin-top: 4px; }
.cfg-form .el-input { max-width: 480px; }
.cfg-form .el-input-number { width: 180px; }
.cfg-card .el-form-item__label { color: var(--td-text-2); }

/* ---------------- 10. ElementUI 全局微调 ---------------- */
.el-button { border-radius: 6px; }
.el-button--text { border-radius: 4px; }
.el-input__inner, .el-textarea__inner, .el-select .el-input__inner { border-radius: 6px; }
.el-dialog { border-radius: 10px; }
.el-drawer { border-radius: 0; }
.el-message-box { border-radius: 10px; }
.el-alert { border-radius: 6px; }
.el-pagination.is-background .el-pager li { border-radius: 6px; }
.el-pagination.is-background .btn-prev, .el-pagination.is-background .btn-next { border-radius: 6px; }
.el-table .cell { line-height: 1.5; }
.el-descriptions__body .el-descriptions-item__label { background: #fafafa; }

/* ---------------- 11. 登录页（TDesign：渐变 + 左品牌区 + 右表单卡） ---------------- */
.login-page {
  display: block; min-height: 100vh;
  font-family: inherit; color: var(--td-text-1);
  background: linear-gradient(160deg, #f5f9ff 0%, #e6efff 100%);
}
.login-page::before, .login-page::after {
  content: ''; position: fixed; border-radius: 50%; pointer-events: none; z-index: 0;
}
.login-page::before { right: -160px; bottom: -200px; width: 560px; height: 560px; background: rgba(9, 88, 217, .07); }
.login-page::after { left: -140px; top: -160px; width: 440px; height: 440px; background: rgba(9, 88, 217, .05); }
.login-shell { display: flex; width: 100%; min-height: 100vh; position: relative; z-index: 1; }

/* 左：品牌区 */
.login-brand {
  flex: 0 0 55%; max-width: 55%;
  padding: 32px 16px 24px 54px;
  display: flex; flex-direction: column; position: relative;
  overflow-y: auto;
}
.brand-main { flex: 1; min-height: 0; display: flex; align-items: center; padding: 20px 0; }
.brand-copy { flex: 1 1 100%; min-width: 0; }
.brand-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(9, 88, 217, .08); color: var(--td-brand);
  font-size: 13px; font-weight: 500; margin-bottom: 18px;
}
.brand-tag svg { width: 14px; height: 14px; }
.brand-slogan { font-size: 34px; font-weight: 800; line-height: 1.35; margin: 0 0 14px; letter-spacing: 1px; }
.brand-slogan .hl { color: var(--td-brand); }
.brand-desc { font-size: 14px; color: var(--td-text-2); line-height: 1.8; margin: 0 0 26px; }
.brand-feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; max-width: 520px; }
.feat { display: flex; gap: 12px; align-items: flex-start; }
.feat-ico {
  width: 38px; height: 38px; border-radius: 8px; flex: none;
  display: flex; align-items: center; justify-content: center;
}
.feat-ico svg { width: 20px; height: 20px; }
.feat b { font-size: 14px; font-weight: 600; display: block; margin-bottom: 2px; }
.feat p { font-size: 12px; color: var(--td-text-3); margin: 0; line-height: 1.5; }
.feat--b .feat-ico { background: #e6f4ff; color: var(--td-brand); }
.feat--g .feat-ico { background: #f6ffed; color: var(--td-success); }
.feat--p .feat-ico { background: #f2e9fa; color: #834ec2; }
.feat--o .feat-ico { background: #fff7e6; color: var(--td-warning); }
.brand-foot { font-size: 12px; color: var(--td-text-3); }

/* 右：表单区 */
.login-form-side {
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 32px 24px;
}
.login-card {
  width: 100%; max-width: 420px;
  background: #fff; border: 1px solid var(--td-border);
  border-radius: 10px; padding: 36px 36px 32px;
  box-shadow: 0 8px 30px rgba(9, 88, 217, .08);
}
.login-welcome { font-size: 22px; font-weight: 700; margin: 0 0 6px; }
.login-welcome-sub { font-size: 13px; color: var(--td-text-3); margin: 0 0 18px; line-height: 1.6; }
.login-err-banner {
  display: flex; align-items: center; gap: 6px;
  background: #fff2f0; border: 1px solid #ffccc7; border-radius: 6px;
  color: #cf1322; font-size: 13px; line-height: 1.5;
  padding: 9px 12px; margin-bottom: 16px;
}
.login-err-banner::before {
  content: ''; width: 4px; height: 14px; border-radius: 2px; background: #cf1322; flex: none;
}
.login-field { margin-bottom: 18px; }
.login-label { display: block; font-size: 13px; color: var(--td-text-2); margin-bottom: 6px; }
.login-ipt {
  position: relative; display: flex; align-items: center;
  height: 42px; border: 1px solid #dddddd; border-radius: 6px;
  background: #fff; transition: border-color .2s, box-shadow .2s;
}
.login-ipt:focus-within { border-color: var(--td-brand); box-shadow: 0 0 0 2px rgba(9, 88, 217, .1); }
.login-ipt .ico { position: absolute; left: 13px; color: var(--td-text-3); z-index: 2; }
.login-ipt .ico svg { width: 17px; height: 17px; }
.login-ipt .el-input { flex: 1; }
.login-ipt .el-input__inner {
  border: none !important; box-shadow: none !important; background: transparent !important;
  height: 40px; padding-left: 36px; border-radius: 6px; font-size: 14px;
}
.login-btn { width: 100%; height: 42px; font-size: 15px; margin-top: 6px; border-radius: 6px; }

/* 登录页 Tabs / 验证码按钮 / 底部链接 */
.login-tabs .el-tabs__nav-wrap::after { height: 1px; background-color: var(--td-border); }
.login-tabs .el-tabs__item { font-size: 14px; color: var(--td-text-2); }
.login-tabs .el-tabs__item.is-active { color: var(--td-brand); font-weight: 600; }
.login-tabs .el-tabs__active-bar { background-color: var(--td-brand); }
.login-tabs .el-tabs__content { overflow: visible; }
.login-tabs .el-form { margin-top: 8px; }
.code-btn { flex: none; height: 32px; margin-left: 8px; padding: 0 14px; font-size: 12px; }
.login-links { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 14px; font-size: 13px; }
.login-links a { color: var(--td-brand); cursor: pointer; text-decoration: none; }
.login-links a:hover { color: var(--td-brand-hover); text-decoration: underline; }
.login-regline { color: var(--td-text-secondary); }
.login-view__link { font-weight: 600; }
.login-forget { color: var(--td-text-secondary); }
.login-forget:hover { color: var(--td-brand); }
/* \u767b\u5f55\u5361\u7247\u5185\u89c6\u56fe\u5207\u6362 */
.login-view { animation: loginFadeIn .25s ease; }
.login-view__head { margin-bottom: 6px; }
.login-view__back { display: inline-block; font-size: 13px; color: var(--td-brand); cursor: pointer; margin-bottom: 8px; text-decoration: none; }
.login-view__back:hover { color: var(--td-brand-hover); }
@keyframes loginFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* 财务卡（财务管理页） */
.stat.purple { background: #f2e9fa; }
.stat.purple .label { color: #834ec2; }
.stat.purple .num { color: #834ec2; }

/* ---------------- 12. 响应式 ---------------- */
@media (max-width: 860px) {
  .login-shell { flex-direction: column; }
  .login-brand { flex: none; max-width: 100%; padding: 26px 22px 10px; overflow: visible; }
  .brand-main, .brand-foot { display: none; }
  .login-form-side { padding: 16px 20px 36px; align-items: flex-start; }
  .login-card { padding: 28px 22px 24px; max-width: none; }
  .login-welcome { font-size: 20px; }
}
@media (max-width: 768px) {
  .layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: static; border-right: none; border-bottom: 1px solid var(--td-border); }
  .sidebar .brand { display: none; }
  .nav { display: flex; overflow-x: auto; padding: 8px; }
  .nav a { flex: none; }
  .sidebar-foot { display: none; }
  .content { padding: 12px; }
  .topbar { padding: 8px 12px; }
}

/* ============ 商城页（参考卡售风格 · 红橙暖色） ============ */
.shop-toolbar { border-left: 3px solid #ff6b35; }
.shop-title {
  font-size: 16px; font-weight: 700; color: #333;
  padding-left: 12px; position: relative; line-height: 1.2;
}
.shop-title::before {
  content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px;
  border-radius: 2px; background: linear-gradient(180deg, #ff9a3d, #e54d42);
}
.product-card {
  border: none; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(60, 40, 30, .06);
  transition: box-shadow .2s, transform .2s;
}
.product-card:hover { box-shadow: 0 8px 24px rgba(229, 77, 66, .12); transform: translateY(-3px); }
.product-top { position: relative; }
.product-logo {
  width: 100%; height: 116px; display: block; border-radius: 8px;
  background: linear-gradient(135deg, #fff7f2, #fff);
}
.product-tag {
  position: absolute; left: 8px; top: 8px; z-index: 2;
  font-size: 11px; line-height: 1; padding: 5px 9px; border-radius: 4px 0 10px 0;
  color: #fff; background: linear-gradient(135deg, #ff9a3d, #ff6b35);
  max-width: 60%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.product-name { margin-top: 8px; height: 38px; font-size: 13px; }
.product-price-row { display: flex; align-items: baseline; justify-content: space-between; margin: 4px 0 6px; }
.product-price-row .price { font-size: 20px; font-weight: 700; color: #e54d42; }
.product-price-row .price i { font-style: normal; font-size: 13px; margin-right: 1px; }
.product-price-row .avg {
  font-size: 12px; color: #999; display: inline-flex; align-items: center; gap: 3px;
}
.product-price-row .avg svg { width: 13px; height: 13px; }
.product-footer { padding: 0 14px 14px; }
.buy-btn {
  width: 100%; border: none; color: #fff; font-weight: 600;
  background: linear-gradient(135deg, #ff9a3d, #e54d42);
  border-radius: 6px;
}
.buy-btn:hover, .buy-btn:focus { color: #fff; background: linear-gradient(135deg, #ffab5e, #ef5b50); }
/* 温馨提示 / 法规条 */
.shop-tips { margin-top: 16px; border-radius: 12px; overflow: hidden; }
.tips-remind {
  background: #fff; border: 1px solid #ffe1d6; border-radius: 12px 12px 0 0;
  padding: 12px 16px; display: flex; align-items: center; gap: 10px;
}
.tips-title {
  flex-shrink: 0; font-size: 13px; font-weight: 700; color: #e54d42;
  padding: 4px 10px; border-radius: 4px; background: #fff1ec;
}
.tips-text { font-size: 12px; color: #8a6d66; line-height: 1.6; }
.tips-law {
  padding: 10px 16px; color: #fff; font-size: 12px; line-height: 1.6;
  background: linear-gradient(135deg, #8e5cf7, #6c5ce7);
}
/* ============================================================
 * 参考站主题（vip.999521.cn 卡速售 · 蓝色系）
 * ============================================================ */
:root {
  --k-blue: #2b6cf6;
  --k-blue-2: #4c8dff;
  --k-blue-deep: #1e4fd6;
  --k-dark: #12233f;
}
/* Element 主色覆盖（蓝色主题） */
.el-button--primary { background-color: var(--k-blue); border-color: var(--k-blue); }
.el-button--primary:hover, .el-button--primary:focus { background-color: var(--k-blue-2); border-color: var(--k-blue-2); }
.el-button--primary.is-plain { color: var(--k-blue); background: #fff; border-color: var(--k-blue); }
.el-input__inner:focus, .el-textarea__inner:focus { border-color: var(--k-blue); }
.el-input.is-active .el-input__inner { border-color: var(--k-blue); }
.el-select .el-input.is-focus .el-input__inner { border-color: var(--k-blue); }
.el-pagination.is-background .el-pager li.active { background-color: var(--k-blue); }
.el-checkbox__input.is-checked .el-checkbox__inner { background-color: var(--k-blue); border-color: var(--k-blue); }
.el-checkbox__input.is-indeterminate .el-checkbox__inner { background-color: var(--k-blue); border-color: var(--k-blue); }
.el-radio__input.is-checked .el-radio__inner { background-color: var(--k-blue); border-color: var(--k-blue); }
.el-tabs__item.is-active, .el-tabs__item:hover { color: var(--k-blue); }
.el-tabs__active-bar { background-color: var(--k-blue); }
.el-table th { background: #f5f8ff !important; color: #334155; }
.el-dialog__title { color: #1e293b; }
.el-message-box__title { color: #1e293b; }
.el-loading-mask { background-color: rgba(255, 255, 255, .55); }

/* ---------------- 布局壳 ---------------- */
.topbar-black {
  background: linear-gradient(90deg, #0e1d3a, #14294f);
  color: #dfe8ff; font-size: 13px; height: 36px; line-height: 36px;
}
.topbar-black .container {
  max-width: 1280px; margin: 0 auto; padding: 0 16px;
  display: flex; justify-content: space-between; align-items: center; height: 100%;
}
.tb-brand { color: #fff; font-weight: 600; letter-spacing: .5px; }
.tb-brand i { font-style: normal; margin: 0 6px; color: #4c8dff; }
.tb-links { display: flex; gap: 18px; }
.tb-links a {
  color: #c7d5f5; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  transition: color .2s;
}
.tb-links a:hover { color: #fff; }
.tb-links svg { width: 14px; height: 14px; }

.header-main {
  background: #fff; border-bottom: 1px solid #eef2f8;
  box-shadow: 0 1px 4px rgba(18, 35, 63, .04);
}
.header-main .container {
  max-width: 1280px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; gap: 24px; height: 62px;
}
.header-main .brand-head { display: flex; align-items: center; gap: 10px; cursor: pointer; flex-shrink: 0; }
.header-main .brand-head .brand-badge {
  width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--k-blue-2), var(--k-blue));
  color: #fff; font-size: 20px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.header-main .brand-head .brand-badge img { width: 100%; height: 100%; object-fit: cover; }
.header-main .brand-name { font-size: 20px; font-weight: 700; color: #12233f; }
.main-nav { display: flex; gap: 4px; flex: 1; }
.main-nav a {
  padding: 8px 14px; border-radius: 6px; color: #334155; font-size: 14px; cursor: pointer;
  transition: all .2s;
}
.main-nav a:hover { color: var(--k-blue); background: #f0f5ff; }
.main-nav a.active { color: var(--k-blue); background: #eaf1ff; font-weight: 600; }
.main-search { width: 260px; flex-shrink: 0; }
.main-search .el-input__inner { border-radius: 4px 0 0 4px; background: #f5f7fa; }
.main-search .el-input-group__append {
  border-radius: 0 4px 4px 0; background: linear-gradient(135deg, var(--k-blue-2), var(--k-blue));
  color: #fff; border-color: transparent;
}
.main-search .el-input-group__append .el-button { color: #fff; }
.main-search .el-input-group__append .el-button:hover { color: #fff; background: rgba(255,255,255,.12); }

.page-body {
  background:
    radial-gradient(circle at 15% 0%, rgba(76, 141, 255, .10), transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(43, 108, 246, .08), transparent 40%),
    #f2f5fb;
  min-height: calc(100vh - 170px); padding: 18px 0 34px;
}
.page-body .container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.body-flex { display: flex; gap: 18px; align-items: flex-start; }
.content-area { flex: 1; min-width: 0; }

/* ---------------- 左侧分类栏 ---------------- */
.side-cats {
  width: 230px; flex-shrink: 0; background: #fff; border-radius: 10px;
  border: 1px solid #e8eef8; box-shadow: 0 2px 10px rgba(18, 35, 63, .05);
  overflow: hidden; position: sticky; top: 10px;
}
.side-cats-head {
  background: linear-gradient(135deg, var(--k-blue-2), var(--k-blue));
  color: #fff; font-weight: 600; font-size: 15px; padding: 13px 16px;
}
.side-cat {
  display: flex; align-items: center; gap: 8px; padding: 11px 16px;
  color: #334155; font-size: 13px; cursor: pointer; transition: all .15s;
  border-left: 3px solid transparent;
}
.side-cat:hover { background: #f5f9ff; color: var(--k-blue); }
.side-cat.active { background: #eaf1ff; color: var(--k-blue); border-left-color: var(--k-blue); font-weight: 600; }
.side-cat .n { margin-left: auto; font-size: 12px; color: #94a3b8; }
.side-cat.active .n { color: var(--k-blue); }
.cat-dot { width: 8px; height: 8px; border-radius: 50%; }
.cat-dot--all { background: linear-gradient(135deg, var(--k-blue-2), var(--k-blue)); }
.cat-ico { font-style: normal; width: 22px; text-align: center; }
.cat-ico--0 { color: #e54d42; } .cat-ico--1 { color: #f39c12; }
.cat-ico--2 { color: #2ecc71; } .cat-ico--3 { color: #2b6cf6; }
.cat-ico--4 { color: #9b59b6; } .cat-ico--5 { color: #16a2b8; }
.side-cats-more {
  display: block; text-align: center; padding: 11px 0; color: var(--k-blue);
  font-size: 13px; cursor: pointer; border-top: 1px dashed #e8eef8;
}
.side-cats-more:hover { background: #f5f9ff; }

/* ---------------- 首页：轮播 / 公告 / 分类宫格 / 新品 ---------------- */
.home-banners { display: grid; grid-template-columns: 1.35fr 1fr; gap: 16px; margin-bottom: 16px; }
.home-banner {
  border-radius: 12px; padding: 26px 28px; color: #fff; min-height: 190px;
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center;
}
.home-banner::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px;
  border-radius: 50%; background: rgba(255, 255, 255, .10);
}
.home-banner--a { background: linear-gradient(135deg, #3a7bff, #1e4fd6 60%, #163a8f); }
.home-banner--b { background: linear-gradient(135deg, #4c8dff, #2b6cf6 55%, #1e4fd6); }
.hb-copy { position: relative; z-index: 2; }
.hb-title { font-size: 26px; font-weight: 700; letter-spacing: 1px; margin-bottom: 12px; }
.hb-s1 { font-size: 16px; opacity: .95; }
.hb-s2 { font-size: 14px; opacity: .8; margin-top: 5px; }
.hb-btn {
  display: inline-block; margin-top: 14px; padding: 7px 20px; border-radius: 20px;
  background: #fff; color: var(--k-blue); font-size: 13px; font-weight: 600; cursor: pointer;
}
.hb-brands { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; position: relative; z-index: 2; }
.hb-brands span {
  padding: 4px 12px; border-radius: 14px; background: rgba(255, 255, 255, .16);
  font-size: 12px; border: 1px solid rgba(255, 255, 255, .28);
}

.home-news {
  background: #fff; border: 1px solid #e8eef8; border-radius: 10px;
  padding: 12px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(18, 35, 63, .04);
}
.news-tag {
  flex-shrink: 0; color: #fff; background: linear-gradient(135deg, #ff8a5c, #e54d42);
  padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600;
}
.news-text { flex: 1; font-size: 13px; color: #334155; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.news-more { color: var(--k-blue); font-size: 13px; cursor: pointer; flex-shrink: 0; }

.home-sec { background: #fff; border-radius: 10px; border: 1px solid #e8eef8; padding: 16px; margin-bottom: 16px; box-shadow: 0 2px 8px rgba(18,35,63,.04); }
.home-sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.sec-title { font-size: 16px; font-weight: 700; color: #12233f; padding-left: 10px; position: relative; }
.sec-title::before { content: ''; position: absolute; left: 0; top: 3px; bottom: 3px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--k-blue-2), var(--k-blue)); }
.sec-title--hot { color: #e54d42; }
.sec-title--hot::before { background: linear-gradient(180deg, #ff9a3d, #e54d42); }
.sec-more { color: var(--k-blue); font-size: 13px; cursor: pointer; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.cat-cell {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px; border-radius: 10px; background: #f7faff; cursor: pointer;
  border: 1px solid transparent; transition: all .2s;
}
.cat-cell:hover { background: #eaf1ff; border-color: #cfe0ff; transform: translateY(-2px); }
.cat-cell-ico {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; font-weight: 700;
}
.cat-cell-ico--0 { background: linear-gradient(135deg, #ff9a6b, #e54d42); }
.cat-cell-ico--1 { background: linear-gradient(135deg, #ffc14d, #f39c12); }
.cat-cell-ico--2 { background: linear-gradient(135deg, #57d9a3, #2ecc71); }
.cat-cell-ico--3 { background: linear-gradient(135deg, #6ea0ff, #2b6cf6); }
.cat-cell-ico--4 { background: linear-gradient(135deg, #c07df5, #9b59b6); }
.cat-cell-ico--5 { background: linear-gradient(135deg, #4fd0e0, #16a2b8); }
.cat-cell-name { font-size: 13px; color: #334155; }

.home-help {
  background: #fff; border-radius: 10px; border: 1px solid #e8eef8;
  padding: 14px 16px; text-align: center; color: #64748b; font-size: 13px;
}
.home-help a { color: var(--k-blue); cursor: pointer; }

/* ---------------- 商城：排序条 + 行卡 ---------------- */
.shop-toolbar { border-left: 3px solid var(--k-blue); }
.shop-title { font-size: 16px; font-weight: 700; color: #12233f; padding-left: 10px; position: relative; }
.shop-title::before { content: ''; position: absolute; left: 0; top: 2px; bottom: 2px; width: 4px; border-radius: 2px; background: linear-gradient(180deg, var(--k-blue-2), var(--k-blue)); }
.shop-type-tip { font-size: 13px; color: var(--k-blue); }
.shop-sortbar {
  display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #e8eef8;
  border-radius: 10px; padding: 10px 16px; margin: 12px 0;
}
.shop-sortbar a { font-size: 13px; color: #64748b; padding: 4px 10px; border-radius: 5px; cursor: pointer; transition: all .15s; }
.shop-sortbar a:hover { color: var(--k-blue); }
.shop-sortbar a.active { color: var(--k-blue); background: #eaf1ff; font-weight: 600; }
.sort-total { margin-left: auto; font-size: 12px; color: #94a3b8; }

.shop-rows { display: flex; flex-direction: column; gap: 12px; }
.shop-row {
  background: #fff; border: 1px solid #e8eef8; border-radius: 10px;
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
  cursor: pointer; position: relative; transition: all .2s;
}
.shop-row:hover { border-color: #bcd4ff; box-shadow: 0 4px 14px rgba(43, 108, 246, .10); transform: translateY(-1px); }
.sr-tag {
  flex-shrink: 0; padding: 3px 8px; border-radius: 4px; font-size: 12px; color: #fff;
  background: linear-gradient(135deg, #ff9a3d, #ff6b35);
}
.sr-main { flex: 1; min-width: 0; }
.sr-name { font-size: 14px; color: #1e293b; font-weight: 500; line-height: 1.4; margin-bottom: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sr-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #94a3b8; }
.sr-meta .sr-warn { color: #e54d42; }
.sr-price { flex-shrink: 0; font-size: 14px; color: #e54d42; font-weight: 600; }
.sr-price b { font-size: 20px; }
.sr-buy {
  flex-shrink: 0; border: none; color: #fff; font-weight: 600;
  background: linear-gradient(135deg, var(--k-blue-2), var(--k-blue)); border-radius: 6px;
  padding: 8px 18px; height: auto;
}
.sr-buy:hover, .sr-buy:focus { color: #fff; background: linear-gradient(135deg, #6ea0ff, #1e4fd6); }
.sr-pause {
  position: absolute; right: 14px; top: 12px; transform: rotate(-12deg);
  color: #cbd5e1; border: 1px solid #cbd5e1; border-radius: 4px;
  padding: 2px 8px; font-size: 12px; letter-spacing: 2px;
}

/* ---------------- 商品详情 ---------------- */
.goods-card { padding: 20px; }
.goods-back { color: var(--k-blue); cursor: pointer; font-size: 13px; display: inline-block; margin-bottom: 14px; }
.goods-head { display: flex; gap: 20px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px dashed #e8eef8; }
.goods-logo {
  width: 150px; height: 150px; flex-shrink: 0; border-radius: 10px;
  background: linear-gradient(135deg, #f5f9ff, #fff); border: 1px solid #e8eef8;
}
.goods-logo-fallback {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #c0c4cc;
}
.goods-info { flex: 1; min-width: 0; }
.goods-tag {
  display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; color: #fff;
  background: linear-gradient(135deg, #ff9a3d, #ff6b35); margin-bottom: 8px;
}
.goods-name { font-size: 19px; color: #1e293b; font-weight: 700; margin: 0 0 8px; line-height: 1.4; }
.goods-remark { font-size: 13px; color: #64748b; margin: 0 0 10px; }
.goods-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 12px; color: #94a3b8; }
.goods-price { flex-shrink: 0; text-align: right; }
.goods-price .gp-label { display: block; font-size: 12px; color: #94a3b8; margin-bottom: 4px; }
.goods-price .gp-num { font-size: 26px; color: #e54d42; font-weight: 700; }
.goods-form { margin-top: 18px; max-width: 520px; }
.goods-total { margin-left: 12px; color: #e54d42; font-weight: 600; }
.goods-buybar { margin-top: 6px; }
.goods-buy { padding: 10px 42px; font-size: 15px; background: linear-gradient(135deg, var(--k-blue-2), var(--k-blue)); border: none; }
.goods-buy:hover, .goods-buy:focus { background: linear-gradient(135deg, #6ea0ff, #1e4fd6); }

/* ---------------- 用户中心 ---------------- */
.uc-card { background: linear-gradient(135deg, #3a7bff, #1e4fd6 65%, #163a8f); border-radius: 12px; color: #fff; padding: 20px 22px; }
.uc-user { display: flex; align-items: center; gap: 14px; }
.uc-avatar {
  width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .22);
  border: 2px solid rgba(255, 255, 255, .55); display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
}
.uc-name { font-size: 18px; font-weight: 700; }
.uc-role {
  display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 10px;
  background: rgba(255, 255, 255, .2); font-size: 12px; font-weight: 400;
}
.uc-uid { font-size: 12px; opacity: .75; margin-top: 3px; }
.uc-bal { display: flex; gap: 12px; margin-top: 18px; }
.uc-bal-item {
  flex: 1; background: rgba(255, 255, 255, .12); border-radius: 8px; padding: 12px 14px;
}
.uc-bal-item span { display: block; font-size: 12px; opacity: .85; margin-bottom: 4px; }
.uc-bal-item b { font-size: 20px; font-weight: 700; }

.uc-tabs {
  display: flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #e8eef8;
  border-radius: 10px; padding: 8px 12px; margin-top: 14px; flex-wrap: wrap;
}
.uc-tab { padding: 6px 12px; border-radius: 6px; font-size: 13px; color: #334155; cursor: pointer; transition: all .15s; }
.uc-tab:hover { color: var(--k-blue); }
.uc-tab--active { color: var(--k-blue); background: #eaf1ff; font-weight: 600; }
.uc-recharge {
  margin-left: auto; padding: 6px 16px; border-radius: 16px; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #ff9a3d, #ff6b35); font-size: 13px; font-weight: 600;
}

.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.uc-stat {
  background: #fff; border: 1px solid #e8eef8; border-radius: 10px; padding: 18px 16px;
  text-align: center; cursor: pointer; transition: all .2s;
}
.uc-stat:hover { transform: translateY(-2px); box-shadow: 0 4px 14px rgba(43, 108, 246, .10); }
.uc-stat b { display: block; font-size: 26px; font-weight: 700; }
.uc-stat span { font-size: 13px; color: #64748b; display: block; margin-top: 4px; }
.uc-stat i { font-style: normal; font-size: 12px; color: #94a3b8; display: block; margin-top: 6px; }
.uc-stat--warn b { color: #f39c12; } .uc-stat--blue b { color: var(--k-blue); }
.uc-stat--gray b { color: #94a3b8; } .uc-stat--green b { color: #2ecc71; }

.uc-quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.uc-quick a {
  background: #fff; border: 1px solid #e8eef8; border-radius: 10px; padding: 16px;
  display: flex; align-items: center; gap: 10px; color: #334155; cursor: pointer; transition: all .2s;
}
.uc-quick a:hover { border-color: #bcd4ff; color: var(--k-blue); }
.uc-quick .q-ico {
  width: 34px; height: 34px; border-radius: 9px; color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--k-blue-2), var(--k-blue));
}

/* ---------------- 页脚 ---------------- */
.page-footer { background: linear-gradient(180deg, #0e1d3a, #0a1630); color: #aab8d2; margin-top: 0; }
.page-footer .container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.foot-service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 28px 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.foot-service { display: flex; flex-direction: column; gap: 4px; }
.foot-service .f-ico {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 700; margin-bottom: 6px;
}
.f-ico--b { background: rgba(76, 141, 255, .18); color: #6ea0ff; }
.f-ico--g { background: rgba(46, 204, 113, .16); color: #57d9a3; }
.f-ico--o { background: rgba(243, 156, 18, .16); color: #ffc14d; }
.f-ico--p { background: rgba(155, 89, 182, .16); color: #c07df5; }
.foot-service b { color: #dfe8ff; font-size: 14px; }
.foot-service p { font-size: 12px; opacity: .8; margin: 0; }
.foot-bottom { padding: 16px 0 22px; font-size: 12px; opacity: .65; text-align: center; }
/* ---------------- 登录页（参考站：居中白卡 + 蓝色主题） ---------------- */
.login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 30px 16px;
  background:
    radial-gradient(circle at 15% 20%, rgba(76, 141, 255, .35), transparent 50%),
    radial-gradient(circle at 85% 75%, rgba(30, 79, 214, .3), transparent 50%),
    linear-gradient(160deg, #eef4ff, #dce8ff);
}
.login-shell {
  display: flex; justify-content: center; align-items: center;
  width: 100%; max-width: 470px;
}
.login-brand { display: none; }
.login-form-side { width: 100%; }
.login-card {
  background: #fff; border-radius: 14px;
  box-shadow: 0 14px 44px rgba(18, 35, 63, .16);
  padding: 30px 36px 26px;
}
.login-logo-row { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 16px; }
.login-logo {
  width: 46px; height: 46px; border-radius: 12px; overflow: hidden;
  background: linear-gradient(135deg, var(--k-blue-2), var(--k-blue));
  color: #fff; font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.login-logo img { width: 100%; height: 100%; object-fit: cover; }
.login-logo-name { font-size: 20px; font-weight: 700; color: #12233f; }
.login-welcome { font-size: 20px; color: #12233f; text-align: center; margin: 0 0 4px; }
.login-welcome-sub { text-align: center; font-size: 13px; color: #94a3b8; margin-bottom: 18px; }
.login-tabs .el-tabs__nav-wrap::after { background: #eef2f8; }
.login-tabs .el-tabs__item { font-size: 14px; }
.login-tabs .el-tabs__nav-wrap { justify-content: center; }
.login-tabs .el-tabs__nav { float: none; display: flex; justify-content: center; }
.login-form { margin-top: 6px; }
.login-field { margin-bottom: 16px; }
.login-label { display: block; font-size: 13px; color: #475569; margin-bottom: 6px; font-weight: 500; }
.login-ipt .el-input__inner {
  border-radius: 8px; height: 42px; background: #f7f9fc; border-color: #e8eef2;
}
.login-ipt .el-input__inner:focus { background: #fff; border-color: var(--k-blue); }
.login-btn {
  width: 100%; height: 42px; border-radius: 8px; font-size: 15px; letter-spacing: 4px;
  background: linear-gradient(135deg, var(--k-blue-2), var(--k-blue)); border: none;
}
.login-btn:hover, .login-btn:focus { background: linear-gradient(135deg, #6ea0ff, #1e4fd6); }
.code-btn {
  height: 42px; border-radius: 8px; color: var(--k-blue);
  border-color: #cfe0ff; background: #f0f5ff; width: 106px;
}
.code-btn:hover { color: var(--k-blue-2); border-color: #bcd4ff; }
.login-links { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.login-regline { font-size: 13px; color: #64748b; }
.login-view__link { color: var(--k-blue); cursor: pointer; font-weight: 600; }
.login-forget { color: var(--k-blue); cursor: pointer; font-size: 13px; }
.login-err-banner {
  background: #fff1f0; color: #cf1322; border: 1px solid #ffccc7; border-radius: 6px;
  padding: 8px 12px; font-size: 13px; margin-bottom: 14px; text-align: center;
}
.login-view__head { text-align: center; margin-bottom: 16px; }
.login-view__back { color: var(--k-blue); font-size: 13px; cursor: pointer; display: inline-block; margin-bottom: 10px; }
/* 分类 logo：图片覆盖文字首字，加载失败自动露出文字 */
.side-cat .cat-ico, .cat-cell .cat-cell-ico { position: relative; overflow: hidden; }
.cat-ico img.cat-logo-img, .cat-cell-ico img.cat-logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; z-index: 2; background: #fff; border-radius: 2px; }

/* 调价信息页 */
.plog-wrap { background: #fff; border-radius: 8px; padding: 18px 20px; }
.plog-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; border-bottom: 1px solid #f0f2f5; padding-bottom: 14px; }
.plog-title-row { display: flex; align-items: baseline; gap: 10px; }
.plog-title { font-size: 18px; font-weight: 700; color: #1a2333; }
.plog-count { font-size: 13px; color: #2b6cf6; }
.plog-search { display: flex; gap: 8px; }
.plog-search .el-input { width: 220px; }
.plog-table { width: 100%; }
.plog-goods { display: flex; align-items: center; gap: 10px; }
.pg-logo { width: 40px; height: 40px; border-radius: 6px; background: #f2f6ff; color: #2b6cf6; display: flex; align-items: center; justify-content: center; font-size: 16px; overflow: hidden; flex-shrink: 0; position: relative; }
.pg-logo img { width: 100%; height: 100%; object-fit: contain; }
.pg-name { font-size: 13px; color: #233; line-height: 1.4; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pg-id { font-size: 12px; color: #999; margin-top: 2px; }
.plog-old { color: #999; }
.plog-arrow { color: #bbb; margin: 0 6px; font-style: normal; }
.plog-new { color: #e54d42; font-weight: 700; }
.diff-up { color: #e54d42; font-weight: 600; }
.diff-down { color: #07c160; font-weight: 600; }
.diff-0 { color: #999; }
.status-sale { color: #07c160; }
.plog-pager { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-top: 16px; }
.plog-total { font-size: 13px; color: #666; }

/* 商品列表 logo */
.sr-name-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sr-logo { width: 44px; height: 44px; border-radius: 6px; background: #f2f6ff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.sr-logo img { width: 100%; height: 100%; object-fit: contain; }
