/* =========================================================
   中国工商银行VIP客户理财专区 —— 演示版样式（第一版）
   风格：银行理财 · 商务金融（工行红 + 黑金）
   ========================================================= */
:root {
  --icbc-red: #c7000b;
  --icbc-red-deep: #9d0009;
  --icbc-red-dark: #7a0007;
  --gold: #c8a45c;
  --gold-light: #e6cfa2;
  --ink: #1d1d1b;
  --ink-2: #333333;
  --gray-1: #f5f6f8;
  --gray-2: #eceef1;
  --line: #e2e5ea;
  --text: #3c4048;
  --text-mute: #8a9099;
  --green: #178a50;
  --blue: #1f5fae;
  --amber: #b8741a;
  --shadow: 0 2px 10px rgba(20, 24, 40, 0.06);
  --shadow-lg: 0 12px 34px rgba(20, 24, 40, 0.14);
  --radius: 6px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { height: 100%; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--gray-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.num { font-family: "DIN Alternate", "Bahnschrift", Consolas, "Courier New", monospace; font-variant-numeric: tabular-nums; }

/* ---------------- 顶部通栏 ---------------- */
.topbar {
  background: linear-gradient(90deg, var(--icbc-red-dark) 0%, var(--icbc-red) 55%, var(--icbc-red-deep) 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 32px; }
.topbar .hotline { letter-spacing: .5px; }
.topbar .hotline strong { font-size: 15px; letter-spacing: 1px; }

/* ---------------- 主导航 ---------------- */
.header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header .wrap { display: flex; align-items: center; height: 72px; gap: 28px; }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark {
  width: 44px; height: 44px;
  background: #fff;
  border: 1px solid rgba(199, 0, 11, 0.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.logo-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.logo-text .t1 { font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: .5px; line-height: 1.25; }
.logo-text .t2 { font-size: 12px; color: var(--icbc-red); letter-spacing: 3px; font-weight: 600; }

.nav { display: flex; gap: 6px; flex: 1; }
.nav a {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 15px;
  color: var(--ink-2);
  transition: .18s;
  position: relative;
}
.nav a:hover { color: var(--icbc-red); background: rgba(199, 0, 11, 0.06); }
.nav a.active { color: #fff; background: var(--icbc-red); font-weight: 600; }

.userbox { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #a97e35 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.userbox .uname { font-size: 14px; color: var(--ink); font-weight: 600; }
.userbox .urole { font-size: 12px; color: var(--text-mute); }

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: .18s;
  font-family: inherit;
  white-space: nowrap;
}
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(180deg, #d91521 0%, var(--icbc-red) 60%, var(--icbc-red-deep) 100%);
  color: #fff; font-weight: 600;
  box-shadow: 0 2px 6px rgba(199, 0, 11, 0.3);
}
.btn-primary:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.btn-outline { background: #fff; border-color: var(--line); color: var(--text); }
.btn-outline:hover:not(:disabled) { border-color: var(--icbc-red); color: var(--icbc-red); }
.btn-ghost { background: transparent; color: var(--text-mute); }
.btn-ghost:hover { color: var(--icbc-red); background: rgba(199, 0, 11, .06); }
.btn-gold {
  background: linear-gradient(180deg, #d9b878 0%, var(--gold) 100%);
  color: #4a3616; font-weight: 700;
}
.btn-gold:hover:not(:disabled) { filter: brightness(1.06); }
.btn-danger { background: #fff; border-color: #f0c2c5; color: var(--icbc-red); }
.btn-danger:hover:not(:disabled) { background: var(--icbc-red); color: #fff; border-color: var(--icbc-red); }
.btn-sm { padding: 5px 12px; font-size: 13px; }
.btn-lg { padding: 13px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------------- 布局 ---------------- */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.main { flex: 1; padding: 26px 0 44px; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
  overflow: hidden;
}
.card-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fdfdfe 0%, #f8f9fb 100%);
}
.card-title {
  font-size: 16px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 10px;
}
.card-title::before {
  content: ""; width: 4px; height: 16px;
  background: linear-gradient(180deg, var(--icbc-red), var(--icbc-red-deep));
  border-radius: 2px;
}
.card-body { padding: 20px 22px; }
.card-body.no-pad { padding: 0; }

.section-title { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.section-sub { font-size: 13px; color: var(--text-mute); margin-bottom: 18px; }

/* ---------------- Banner ---------------- */
.banner {
  position: relative;
  background:
    radial-gradient(1100px 420px at 85% -20%, rgba(200, 164, 92, .35) 0%, transparent 60%),
    linear-gradient(120deg, #4d0006 0%, var(--icbc-red-deep) 45%, #2b0507 100%);
  color: #fff;
  padding: 54px 0 46px;
  overflow: hidden;
}
.banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px);
  pointer-events: none;
}
.banner .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.banner-kicker {
  display: inline-block;
  font-size: 12px; letter-spacing: 4px;
  color: var(--gold-light);
  border: 1px solid rgba(200, 164, 92, .6);
  padding: 4px 14px; border-radius: 999px;
  margin-bottom: 16px;
}
.banner h1 { font-size: 36px; font-weight: 700; letter-spacing: 2px; line-height: 1.3; }
.banner h1 em { font-style: normal; color: var(--gold-light); }
.banner p { margin-top: 12px; font-size: 15px; color: rgba(255, 255, 255, .8); max-width: 620px; }
.banner-cta { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.banner-stats {
  display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 18px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(200, 164, 92, .45);
  border-radius: 8px;
  padding: 22px 26px;
  backdrop-filter: blur(2px);
}
.banner-stats .s-num { font-size: 26px; font-weight: 700; color: var(--gold-light); }
.banner-stats .s-label { font-size: 12px; color: rgba(255, 255, 255, .72); letter-spacing: 1px; }

/* ---------------- 数据统计条 ---------------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 22px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.stat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, var(--icbc-red), var(--icbc-red-deep));
}
.stat.gold::before { background: linear-gradient(180deg, var(--gold), #a97e35); }
.stat.blue::before { background: linear-gradient(180deg, #4a86d8, var(--blue)); }
.stat.green::before { background: linear-gradient(180deg, #3cb371, var(--green)); }
.stat .s-label { font-size: 13px; color: var(--text-mute); }
.stat .s-value { font-size: 27px; font-weight: 700; color: var(--ink); margin-top: 4px; letter-spacing: .5px; }
.stat .s-value .unit { font-size: 14px; font-weight: 600; color: var(--text-mute); margin-left: 3px; }
.stat .s-foot { font-size: 12px; color: var(--text-mute); margin-top: 4px; }
.stat .s-foot .up { color: var(--green); }

/* ---------------- 表格 ---------------- */
.table-scroll { width: 100%; overflow-x: auto; }
table.grid { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 860px; }
table.grid thead th {
  background: linear-gradient(180deg, #f7f8fa 0%, #eef0f4 100%);
  color: #565c66;
  font-weight: 600;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: .3px;
}
table.grid tbody td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--gray-2);
  vertical-align: middle;
  white-space: nowrap;
}
table.grid tbody tr:hover { background: #fffaf7; }
table.grid tbody tr:last-child td { border-bottom: none; }
table.grid .r { text-align: right; }
table.grid .c { text-align: center; }
td.seq, th.seq { width: 58px; text-align: center; }
.seq-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 24px; padding: 0 7px;
  background: linear-gradient(180deg, #fdf3f4, #fbe7e9);
  border: 1px solid #f3ccd0;
  color: var(--icbc-red);
  font-weight: 700; font-size: 13px;
  border-radius: 4px;
}
.cell-main { color: var(--ink); font-weight: 600; }
.cell-sub { color: var(--text-mute); font-size: 12px; }
.money { font-weight: 700; color: var(--ink-2); }
.money.in { color: var(--green); }
.rate { color: var(--icbc-red); font-weight: 700; }

/* ---------------- 徽章 ---------------- */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; padding: 2px 9px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 600;
}
.tag-red { background: #fdecee; color: var(--icbc-red); border-color: #f7ccd1; }
.tag-green { background: #e9f7f0; color: var(--green); border-color: #c7ead9; }
.tag-gold { background: #fbf4e6; color: #9a7422; border-color: #eeddbb; }
.tag-blue { background: #ecf3fc; color: var(--blue); border-color: #cfe0f5; }
.tag-gray { background: #f1f3f5; color: #6b7280; border-color: #e2e5e9; }
.tag-amber { background: #fdf3e3; color: var(--amber); border-color: #f3ddba; }

/* ---------------- 分栏 / 表单 ---------------- */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label {
  display: block; font-size: 13px; color: #565c66;
  margin-bottom: 6px; font-weight: 600;
}
.field label .req { color: var(--icbc-red); margin-left: 2px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d5d9e0;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  transition: .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--icbc-red);
  box-shadow: 0 0 0 3px rgba(199, 0, 11, .1);
}
.field input[readonly] { background: #f6f7f9; color: #565c66; }
.field .hint { font-size: 12px; color: var(--text-mute); margin-top: 5px; }
.field .err { font-size: 12px; color: var(--icbc-red); margin-top: 5px; min-height: 16px; }

.input-suffix { position: relative; }
.input-suffix input { padding-right: 46px; }
.input-suffix .suffix {
  position: absolute; right: 1px; top: 1px; bottom: 1px;
  width: 42px; display: flex; align-items: center; justify-content: center;
  background: var(--gray-2); color: #565c66; font-size: 13px;
  border-left: 1px solid #d5d9e0; border-radius: 0 3px 3px 0;
}

/* 自动计算结果展示 */
.calc-box {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fdf6ec 0%, #fbf1e0 100%);
  border: 1px solid #eeddbb;
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 14px 18px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.calc-box .c-label { font-size: 12px; color: #9a7422; letter-spacing: 1px; }
.calc-box .c-value { font-size: 19px; font-weight: 700; color: #4a3616; margin-top: 2px; }
.calc-box .c-value.hl { color: var(--icbc-red); }

/* ---------------- 提示条 / 弹窗 ---------------- */
.alert {
  padding: 11px 16px; border-radius: 4px; font-size: 14px;
  margin-bottom: 16px; display: none; border-left: 4px solid transparent;
}
.alert.show { display: block; }
.alert.info { background: #ecf3fc; border-color: var(--blue); color: #1b4f91; }
.alert.success { background: #e9f7f0; border-color: var(--green); color: #12663c; }
.alert.error { background: #fdecee; border-color: var(--icbc-red); color: var(--icbc-red-deep); }

.modal-mask {
  position: fixed; inset: 0;
  background: rgba(15, 18, 26, .55);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200; padding: 24px;
  backdrop-filter: blur(2px);
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: 8px; width: 100%; max-width: 660px;
  box-shadow: var(--shadow-lg); overflow: hidden;
  animation: pop .18s ease-out;
}
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head {
  padding: 16px 22px; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(180deg, #fdfdfe, #f7f8fa);
}
.modal-head h3 { font-size: 16px; color: var(--ink); }
.modal-close { border: none; background: none; font-size: 22px; color: var(--text-mute); cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--icbc-red); }
.modal-body { padding: 20px 22px; max-height: 70vh; overflow-y: auto; }
.modal-foot {
  padding: 14px 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: flex-end; gap: 10px; background: #fafbfc;
}

/* ---------------- 登录页 ---------------- */
.auth-page {
  flex: 1;
  background:
    radial-gradient(900px 500px at 15% 10%, rgba(200, 164, 92, .18) 0%, transparent 55%),
    linear-gradient(125deg, #3d0005 0%, var(--icbc-red-dark) 40%, #1c0204 100%);
  display: flex; align-items: center; justify-content: center;
  padding: 44px 20px;
}
.auth-card {
  width: 100%; max-width: 960px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .4);
}
.auth-aside {
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(200, 164, 92, .3) 0%, transparent 60%),
    linear-gradient(160deg, var(--icbc-red-deep) 0%, #4d0006 60%, #2a0205 100%);
  color: #fff; padding: 44px 38px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.auth-aside::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(125deg, rgba(255,255,255,.05) 0 1px, transparent 1px 24px);
}
.auth-aside > * { position: relative; z-index: 2; }
.auth-aside h2 { font-size: 26px; letter-spacing: 2px; line-height: 1.4; }
.auth-aside .sub { color: var(--gold-light); font-size: 13px; letter-spacing: 3px; margin-top: 6px; }
.auth-aside ul { list-style: none; margin-top: 30px; display: grid; gap: 14px; }
.auth-aside li { font-size: 14px; color: rgba(255, 255, 255, .85); display: flex; gap: 10px; align-items: flex-start; }
.auth-aside li::before { content: "◆"; color: var(--gold-light); font-size: 10px; margin-top: 5px; }
.auth-aside .tip { font-size: 12px; color: rgba(255, 255, 255, .55); border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; line-height: 1.8; }

.auth-main { padding: 40px 42px; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.auth-tabs button {
  flex: 1; padding: 12px 0; background: none; border: none;
  font-size: 16px; color: var(--text-mute); cursor: pointer;
  font-family: inherit; position: relative; font-weight: 600;
}
.auth-tabs button.active { color: var(--icbc-red); }
.auth-tabs button.active::after {
  content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 3px;
  background: var(--icbc-red); border-radius: 2px;
}
.auth-form { display: none; }
.auth-form.active { display: block; }
.demo-box {
  margin-top: 20px; padding: 13px 16px;
  background: var(--gray-1); border: 1px dashed #cfd4dc; border-radius: 4px;
  font-size: 13px; color: #565c66; line-height: 1.9;
}
.demo-box b { color: var(--icbc-red); }

/* ---------------- 页脚 ---------------- */
.footer {
  background: #1b1d21;
  color: #9aa0aa;
  padding: 34px 0 26px;
  font-size: 13px;
  margin-top: auto;
}
.footer .cols-f { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; margin-bottom: 22px; }
.footer h4 { color: #fff; font-size: 14px; margin-bottom: 12px; letter-spacing: 1px; }
.footer a { display: block; padding: 4px 0; color: #9aa0aa; transition: .15s; }
.footer a:hover { color: var(--gold-light); }
.footer .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #fff; font-size: 16px; font-weight: 700; }
.footer .brand .logo-mark { width: 34px; height: 34px; padding: 3px; }
.footer .disclaimer {
  border-top: 1px solid #2c2f35; padding-top: 16px;
  font-size: 12px; color: #767c86; line-height: 1.9;
}
.footer .disclaimer b { color: var(--gold-light); }

/* ---------------- 其他 ---------------- */
.empty {
  text-align: center; padding: 56px 20px; color: var(--text-mute);
}
.empty .icon { font-size: 42px; opacity: .4; margin-bottom: 10px; }
.pill-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-tabs button {
  padding: 8px 20px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: #565c66; cursor: pointer; font-family: inherit; font-size: 14px;
  transition: .16s;
}
.pill-tabs button.active {
  background: var(--icbc-red); border-color: var(--icbc-red); color: #fff; font-weight: 600;
  box-shadow: 0 2px 6px rgba(199, 0, 11, .28);
}
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.toolbar .left, .toolbar .right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search-input {
  padding: 9px 14px; border: 1px solid #d5d9e0; border-radius: 999px;
  font-size: 14px; min-width: 240px; font-family: inherit;
}
.search-input:focus { outline: none; border-color: var(--icbc-red); box-shadow: 0 0 0 3px rgba(199,0,11,.1); }

.crumb { font-size: 13px; color: var(--text-mute); margin-bottom: 14px; }
.crumb b { color: var(--ink); font-weight: 600; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product-card {
  border: 1px solid var(--line); border-radius: 6px; background: #fff;
  padding: 20px; transition: .2s; position: relative; overflow: hidden;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #f0d9c8; }
.product-card .p-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.product-card .p-name { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.45; }
.product-card .p-code { font-size: 12px; color: var(--text-mute); margin-top: 3px; letter-spacing: .5px; }
.product-card .p-rate { text-align: center; margin: 16px 0 6px; padding: 14px 0; background: linear-gradient(180deg, #fdf6ec, #fbf1e0); border-radius: 4px; }
.product-card .p-rate .v { font-size: 32px; font-weight: 700; color: var(--icbc-red); letter-spacing: .5px; }
.product-card .p-rate .v small { font-size: 15px; }
.product-card .p-rate .l { font-size: 12px; color: #9a7422; letter-spacing: 2px; }
.product-card .p-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 14px; font-size: 13px; }
.product-card .p-meta .k { color: var(--text-mute); }
.product-card .p-meta .v2 { color: var(--ink-2); font-weight: 600; text-align: right; }
.product-card .p-desc { font-size: 12px; color: var(--text-mute); margin-top: 12px; line-height: 1.7; min-height: 40px; }
.product-card .p-foot { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; }

/* Toast */
#toast {
  position: fixed; top: 84px; left: 50%; transform: translateX(-50%) translateY(-16px);
  background: rgba(28, 30, 36, .94); color: #fff;
  padding: 11px 24px; border-radius: 999px; font-size: 14px;
  z-index: 999; opacity: 0; pointer-events: none; transition: .25s;
  box-shadow: var(--shadow-lg); max-width: 90vw; text-align: center;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.success { background: linear-gradient(180deg, #1c9c5e, #12663c); }
#toast.error { background: linear-gradient(180deg, #d91521, var(--icbc-red-deep)); }

.footer-note { font-size: 12px; color: var(--text-mute); text-align: center; padding: 14px 0 0; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .header .wrap { height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 10px; gap: 12px; }
  .nav { order: 3; width: 100%; overflow-x: auto; }
  .cols, .cols-3, .form-grid, .calc-box { grid-template-columns: 1fr; }
  .auth-card { grid-template-columns: 1fr; max-width: 480px; }
  .auth-aside { padding: 30px 26px; }
  .auth-aside ul, .auth-aside .tip { display: none; }
  .banner h1 { font-size: 27px; }
  .banner .wrap { flex-direction: column; align-items: flex-start; }
  .product-grid { grid-template-columns: 1fr; }
  .footer .cols-f { grid-template-columns: 1fr; gap: 18px; }
  .topbar .hotline span.hide-sm { display: none; }
}
@media (max-width: 560px) {
  .stat-grid { grid-template-columns: 1fr; }
  .wrap { padding: 0 14px; }
  .auth-main { padding: 26px 22px; }
}
