/* ============================================================
   天蓬 · PC 企业服务商城设计系统（brt 风格 v2）
   参考：天蓬数科 brt.sn.cn —— 深蓝黑 #0f172a + 亮蓝 #1d4ed8 + 橙 #f97316
   定位：代理记账 / 工商注册 / 税务筹划 / 资质办理 等 B 端服务
   ============================================================ */
:root {
  /* 品牌主色：亮蓝（blue-600/700） */
  --brand-50:  #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;

  /* 深蓝黑（slate 系，Hero/页脚大面积深底） */
  --navy-700: #1e293b;
  --navy-800: #0f172a;
  --navy-900: #0b1220;

  /* 强调色：橙（brt 的 HOT / CTA） */
  --hot-400: #fb923c;
  --hot-500: #f97316;
  --hot-600: #ea580c;

  /* 金色点缀（品牌 logo 辨识，微用） */
  --gold-400: #d9b95c;
  --gold-500: #c9a227;
  --gold-600: #a8841c;

  /* 中性色 */
  --gray-50:  #f8f9fc;
  --gray-100: #f1f4f9;
  --gray-200: #e3e8f0;
  --gray-300: #cbd4e1;
  --gray-400: #9aa5b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1f2937;
  --gray-900: #0f172a;

  /* 语义色 */
  --red-400:  #f87171;
  --red-500:  #ef4444;
  --red-600:  #dc2626;
  --red-700:  #b91c1c;
  --green-500: #10b981;
  --green-600: #059669;
  --green-700: #047857;
  --orange-500: #f97316;
  --orange-600: #ea580c;

  --bg: #f5f7fb;
  --card: #ffffff;
  --line: var(--gray-200);

  /* 圆角 / 阴影 */
  --r-sm: 6px; --r: 10px; --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.05);
  --shadow: 0 1px 3px rgba(15,23,42,.07), 0 6px 18px rgba(15,23,42,.05);
  --shadow-lg: 0 14px 40px rgba(15,23,42,.13);

  --font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--gray-800); font-size: 14px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 14px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 18px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; transition: .15s; white-space: nowrap; }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.18); }
.btn-primary:hover { background: var(--brand-700); }
.btn-gold { background: linear-gradient(135deg, var(--hot-400), var(--hot-600)); color: #fff; box-shadow: 0 2px 10px rgba(249,115,22,.3); }
.btn-gold:hover { filter: brightness(1.06); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); border: 1px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--gray-300); background: var(--gray-50); }
.btn-ghost { color: var(--brand-600); background: transparent; }
.btn-ghost:hover { background: var(--brand-50); }
.btn-danger { background: #fff; color: var(--red-600); border: 1px solid #f2c4c4; }
.btn-danger:hover { background: #fdf3f3; }
.btn-lg { height: 46px; padding: 0 30px; font-size: 15px; }
.btn-sm { height: 30px; padding: 0 12px; font-size: 13px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- 输入 ---------- */
.input { height: 38px; padding: 0 12px; border: 1px solid var(--gray-300); border-radius: var(--r-sm); outline: none; transition: .15s; background: #fff; color: var(--gray-800); }
.input:focus { border-color: var(--brand-500); box-shadow: 0 0 0 3px var(--brand-50); }
.input-sm { height: 32px; font-size: 13px; }
.input-lg { height: 44px; font-size: 15px; padding: 0 16px; }
textarea.input { height: auto; padding: 10px 12px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .inner { max-width: 1200px; margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 26px; padding: 0 20px; }
.logo { display: flex; align-items: center; gap: 11px; font-size: 20px; font-weight: 700; color: var(--gray-900); letter-spacing: .5px; }
.logo .mark { width: 36px; height: 36px; border-radius: 9px; background: linear-gradient(140deg, var(--brand-700), var(--brand-600)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.logo .mark::after { content: ""; position: absolute; right: -6px; bottom: -6px; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--hot-400), var(--hot-600)); transform: rotate(45deg); }
.logo small { font-size: 12px; font-weight: 400; color: var(--gray-400); letter-spacing: 1px; margin-top: 14px; }
.topbar nav { display: flex; gap: 2px; }
.topbar nav a { padding: 7px 14px; border-radius: 8px; font-size: 14px; color: var(--gray-600); transition: .15s; }
.topbar nav a:hover { color: var(--gray-900); background: var(--gray-100); }
.topbar nav a.on { color: var(--brand-600); background: var(--brand-50); font-weight: 600; }
.top-search { flex: 1; max-width: 380px; position: relative; }
.top-search .input { width: 100%; padding-right: 84px; border-radius: 999px; }
.top-search button { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); height: 30px; padding: 0 16px; border-radius: 999px; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--gray-500); position: relative; transition: .15s; }
.icon-btn:hover { background: var(--gray-100); color: var(--gray-900); }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--red-500); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }

/* ---------- 布局容器 ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 20px; }
.section-title { display: flex; align-items: baseline; gap: 10px; margin: 30px 0 18px; }
.section-title h2 { font-size: 20px; font-weight: 600; color: var(--gray-900); letter-spacing: .5px; }
.section-title h2::before { content: ""; display: inline-block; width: 4px; height: 18px; border-radius: 2px; background: linear-gradient(180deg, var(--hot-400), var(--hot-600)); margin-right: 10px; vertical-align: -3px; }
.section-title .more { margin-left: auto; font-size: 13px; color: var(--gray-500); }
.section-title .more:hover { color: var(--brand-600); }
.section-sub { font-size: 13px; color: var(--gray-400); margin-top: -12px; margin-bottom: 18px; }
.section-head-en { font-size: 12px; color: var(--brand-500); letter-spacing: 2px; font-weight: 600; text-transform: uppercase; }
.section-head-cn { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-top: 4px; letter-spacing: .5px; }
.section-head-desc { font-size: 13.5px; color: var(--gray-500); margin-top: 8px; }

/* ---------- Hero（brt 风格：深蓝黑 + 亮蓝渐变） ---------- */
.hero-biz { border-radius: var(--r-lg); overflow: hidden; position: relative; background:
  radial-gradient(1000px 420px at 88% -20%, rgba(59,130,246,.18), transparent 60%),
  radial-gradient(700px 360px at -10% 110%, rgba(249,115,22,.12), transparent 60%),
  linear-gradient(120deg, var(--navy-900) 0%, var(--navy-800) 52%, var(--brand-700) 100%);
  color: #fff; padding: 54px 60px 46px; min-height: 320px; display: flex; flex-direction: column; justify-content: center; }
.hero-biz::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image:
  linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 44px 44px; pointer-events: none; }
.hero-biz::after { content: ""; position: absolute; right: -90px; top: -110px; width: 330px; height: 330px; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); pointer-events: none; }
.hero-biz .ring2 { position: absolute; right: 60px; top: -40px; width: 200px; height: 200px; border-radius: 50%; border: 1px solid rgba(249,115,22,.35); pointer-events: none; }
.hero-biz .chip { display: inline-flex; align-items: center; gap: 8px; background: rgba(249,115,22,.16); border: 1px solid rgba(249,115,22,.5); color: var(--hot-400); font-size: 13px; padding: 5px 14px; border-radius: 999px; position: relative; z-index: 1; }
.hero-biz h1 { margin-top: 18px; font-size: 34px; font-weight: 700; letter-spacing: 1px; line-height: 1.35; position: relative; z-index: 1; }
.hero-biz h1 em { font-style: normal; color: var(--hot-400); }
.hero-biz .lead { margin-top: 12px; font-size: 15px; opacity: .85; max-width: 560px; position: relative; z-index: 1; line-height: 1.8; }
.hero-biz .cta { display: flex; gap: 14px; margin-top: 26px; position: relative; z-index: 1; }
.hero-biz .hero-trust { display: flex; gap: 26px; margin-top: 26px; position: relative; z-index: 1; }
.hero-biz .hero-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; opacity: .92; }
.hero-biz .hero-trust .ic { width: 22px; height: 22px; border-radius: 6px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.hero-biz .stats { display: flex; gap: 36px; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); position: relative; z-index: 1; max-width: 660px; }
.hero-biz .stats b { display: block; font-size: 26px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.hero-biz .stats b i { font-style: normal; color: var(--hot-400); font-size: 15px; margin-left: 2px; }
.hero-biz .stats span { font-size: 13px; opacity: .66; }

/* ---------- 数据条（brt 风格统计卡） ---------- */
.data-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-top: 18px; }
.data-cell { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 12px; text-align: center; transition: .18s; }
.data-cell:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand-300); }
.data-cell b { display: block; font-size: 24px; font-weight: 700; color: var(--brand-600); font-variant-numeric: tabular-nums; }
.data-cell b i { font-style: normal; color: var(--hot-500); font-size: 14px; }
.data-cell span { font-size: 12.5px; color: var(--gray-500); }

/* ---------- 服务保障条 ---------- */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.trust-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; display: flex; align-items: center; gap: 14px; transition: .18s; }
.trust-item:hover { box-shadow: var(--shadow); border-color: var(--brand-200); transform: translateY(-1px); }
.trust-item .ic { width: 44px; height: 44px; border-radius: 11px; background: linear-gradient(140deg, var(--brand-50), var(--brand-100)); color: var(--brand-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-item b { display: block; font-size: 14px; color: var(--gray-900); }
.trust-item span { font-size: 12px; color: var(--gray-500); }

/* ---------- 核心服务 01-09 大板块（brt 风格） ---------- */
.core-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0 4px; }
.core-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px 22px; position: relative; overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.core-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand-300); }
.core-card .no { position: absolute; top: 18px; right: 22px; font-size: 42px; font-weight: 800; color: var(--gray-100); line-height: 1; font-variant-numeric: tabular-nums; }
.core-card .ic { width: 50px; height: 50px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.core-card h3 { margin-top: 16px; font-size: 16.5px; font-weight: 600; color: var(--gray-900); display: flex; align-items: center; gap: 8px; }
.core-card .hot-tag { background: var(--hot-500); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 999px; font-weight: 500; }
.core-card ul { list-style: none; margin-top: 12px; flex: 1; }
.core-card ul li { font-size: 13px; color: var(--gray-500); line-height: 2.1; padding-left: 14px; position: relative; }
.core-card ul li::before { content: ""; position: absolute; left: 0; top: 12px; width: 5px; height: 5px; border-radius: 50%; background: var(--brand-300); }
.core-card .more { margin-top: 16px; font-size: 13px; font-weight: 500; color: var(--brand-600); display: inline-flex; align-items: center; gap: 4px; }
.core-card:hover .more { color: var(--hot-500); }

/* 多彩图标底色 */
.ic-blue { background: #eff6ff; color: #2563eb; }
.ic-cyan { background: #ecfeff; color: #0891b2; }
.ic-orange { background: #fff7ed; color: #ea580c; }
.ic-violet { background: #f5f3ff; color: #7c3aed; }
.ic-green { background: #ecfdf5; color: #059669; }

/* ---------- 分类瓷片（服务分类） ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 4px; }
.cat-tile { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 12px; text-align: center; transition: .18s; cursor: pointer; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-300); }
.cat-tile .ic { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 13px; background: linear-gradient(140deg, var(--brand-50), var(--brand-100)); color: var(--brand-600); display: flex; align-items: center; justify-content: center; }
.cat-tile:hover .ic { background: linear-gradient(140deg, var(--brand-600), var(--brand-700)); color: #fff; }
.cat-tile p { font-size: 13px; color: var(--gray-700); }
.cat-tile span { font-size: 12px; color: var(--gray-400); }

/* ---------- 办理流程 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 18px 0 4px; }
.flow-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; position: relative; }
.flow-step .no { position: absolute; top: 16px; right: 18px; font-size: 40px; font-weight: 700; color: var(--gray-100); line-height: 1; font-variant-numeric: tabular-nums; }
.flow-step .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--brand-700); color: #fff; display: flex; align-items: center; justify-content: center; }
.flow-step b { display: block; margin-top: 14px; font-size: 15px; color: var(--gray-900); }
.flow-step p { margin-top: 6px; font-size: 12.5px; color: var(--gray-500); line-height: 1.7; }

/* ---------- 免费诊断 CTA 条 ---------- */
.cta-strip { background: linear-gradient(120deg, var(--navy-900), var(--brand-700)); border-radius: var(--r-lg); padding: 42px 48px; display: flex; align-items: center; gap: 24px; color: #fff; margin-top: 30px; position: relative; overflow: hidden; }
.cta-strip::before { content: ""; position: absolute; right: -70px; top: -90px; width: 260px; height: 260px; border-radius: 50%; border: 1px solid rgba(249,115,22,.35); }
.cta-strip h3 { font-size: 24px; font-weight: 700; }
.cta-strip p { font-size: 14px; opacity: .8; margin-top: 8px; }
.cta-strip .btn { flex-shrink: 0; }
.cta-strip .phone { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 700; color: var(--hot-400); font-variant-numeric: tabular-nums; }

/* ---------- 服务卡片（商品网格） ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: .2s; cursor: pointer; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-200); }
.pcard .img { aspect-ratio: 4/3; background: var(--gray-100) center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: var(--gray-300); font-size: 13px; position: relative; }
.pcard .img .svc-ic { position: relative; z-index: 1; color: var(--gray-300); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.pcard .body { padding: 15px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 15px; font-weight: 600; color: var(--gray-900); line-height: 1.4; }
.pcard .meta { margin-top: 5px; font-size: 12px; color: var(--gray-500); line-height: 1.7; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard .foot { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--gray-200); display: flex; align-items: center; justify-content: space-between; }
.pcard .svc-tag { font-size: 11px; color: var(--hot-600); background: #fff7ed; border: 1px solid #fed7aa; padding: 1px 8px; border-radius: 999px; }
.price { color: var(--red-600); font-weight: 700; }
.price .cny { font-size: 12px; }
.price .num { font-size: 20px; }
.pcard .buy { color: var(--brand-600); font-size: 13px; font-weight: 500; opacity: 0; transition: .15s; }
.pcard:hover .buy { opacity: 1; }

/* ---------- 服务详情页 ---------- */
.detail-wrap { background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); padding: 34px; display: grid; grid-template-columns: 440px 1fr; gap: 40px; box-shadow: var(--shadow-sm); }
.detail-gallery { position: relative; }
.detail-gallery .main { aspect-ratio: 4/3; border-radius: var(--r); background: linear-gradient(140deg, var(--brand-700), var(--brand-600)) center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.5); overflow: hidden; }
.detail-gallery .main svg { opacity: .85; }
.detail-info h1 { font-size: 24px; font-weight: 600; color: var(--gray-900); line-height: 1.4; }
.detail-info .sub { margin-top: 8px; color: var(--gray-500); font-size: 14px; line-height: 1.8; }
.detail-info .svc-line { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.detail-info .svc-line .tag { font-size: 12px; }
.price-box { margin-top: 20px; background: linear-gradient(135deg, var(--gray-50), var(--gray-100)); border: 1px solid var(--gray-200); border-radius: var(--r); padding: 16px 20px; display: flex; align-items: baseline; gap: 14px; }
.price-box .price .num { font-size: 30px; }
.price-box .market { color: var(--gray-400); font-size: 13px; text-decoration: line-through; }
.price-box .stock { margin-left: auto; font-size: 13px; color: var(--gray-500); }
.spec-row { margin-top: 22px; }
.spec-row > b { display: block; font-size: 13px; color: var(--gray-500); margin-bottom: 10px; font-weight: 500; }
.spec-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.spec-opts span { padding: 8px 18px; border: 1px solid var(--gray-300); border-radius: 8px; font-size: 13px; color: var(--gray-600); cursor: pointer; transition: .15s; }
.spec-opts span:hover { border-color: var(--brand-500); color: var(--brand-600); }
.spec-opts span.on { border-color: var(--brand-600); color: var(--brand-600); background: var(--brand-50); font-weight: 500; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.qty-row b { font-size: 13px; color: var(--gray-500); font-weight: 500; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--gray-300); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.stepper button { width: 34px; height: 36px; background: var(--gray-50); color: var(--gray-600); font-size: 16px; }
.stepper button:hover { background: var(--gray-100); }
.stepper input { width: 52px; height: 36px; border: none; border-left: 1px solid var(--gray-200); border-right: 1px solid var(--gray-200); text-align: center; outline: none; }
.detail-actions { display: flex; gap: 12px; margin-top: 30px; }

/* ---------- 购物车 ---------- */
.cart-table { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow-sm); }
.cart-row { display: grid; grid-template-columns: 40px 72px 1fr 120px 140px 100px; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--gray-100); }
.cart-row.head { background: var(--gray-50); font-size: 13px; color: var(--gray-500); padding: 12px 20px; }
.cart-row .img { width: 72px; height: 60px; border-radius: 8px; background: var(--gray-100) center/cover no-repeat; }
.cart-row .name { font-size: 14px; font-weight: 500; }
.cart-row .spec { font-size: 12px; color: var(--gray-500); margin-top: 4px; }
.cart-row .del { color: var(--gray-500); font-size: 13px; }
.cart-row .del:hover { color: var(--red-500); }
.cart-bar { position: sticky; bottom: 0; background: var(--card); border-top: 1px solid var(--line); padding: 14px 20px; display: flex; align-items: center; gap: 20px; border-radius: 0 0 var(--r) var(--r); }
.cart-bar .total { margin-left: auto; font-size: 14px; color: var(--gray-600); }
.cart-bar .total .price .num { font-size: 24px; }

/* ---------- 结算 ---------- */
.steps { display: flex; justify-content: center; gap: 0; margin: 26px 0 30px; }
.step { display: flex; align-items: center; gap: 10px; color: var(--gray-500); font-size: 14px; }
.step .no { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--gray-300); display: flex; align-items: center; justify-content: center; font-size: 13px; }
.step.on { color: var(--gray-900); font-weight: 600; }
.step.on .no { border-color: var(--brand-600); color: var(--brand-600); }
.step.done .no { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }
.step-line { width: 80px; height: 2px; background: var(--gray-200); margin: 0 14px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.addr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.addr-card { border: 1px solid var(--gray-200); border-radius: var(--r); padding: 14px 16px; cursor: pointer; transition: .15s; position: relative; }
.addr-card:hover { border-color: var(--brand-300); }
.addr-card.on { border-color: var(--brand-600); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-50); }
.addr-card .name { font-weight: 600; margin-bottom: 4px; }
.addr-card .full { font-size: 13px; color: var(--gray-600); }
.addr-card .tag { position: absolute; top: 12px; right: 12px; font-size: 11px; color: var(--brand-600); background: var(--brand-50); padding: 1px 8px; border-radius: 8px; }
.summary .row { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; color: var(--gray-600); }
.summary .row.grand { border-top: 1px dashed var(--gray-200); margin-top: 8px; padding-top: 14px; font-size: 15px; color: var(--gray-900); font-weight: 600; }
.summary .row.grand .price .num { font-size: 22px; }

/* ---------- 订单 ---------- */
.tabs { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px; margin-bottom: 16px; }
.tabs button { flex: 1; padding: 10px 0; border-radius: 8px; font-size: 14px; color: var(--gray-600); }
.tabs button:hover { color: var(--gray-900); }
.tabs button.on { background: var(--brand-600); color: #fff; font-weight: 600; }
.ocard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 14px; overflow: hidden; transition: .15s; box-shadow: var(--shadow-sm); }
.ocard:hover { box-shadow: var(--shadow); }
.ocard .head { display: flex; align-items: center; gap: 18px; padding: 12px 20px; border-bottom: 1px solid var(--gray-100); font-size: 13px; color: var(--gray-500); }
.ocard .head .st { margin-left: auto; color: var(--brand-600); font-weight: 600; }
.ocard .body { display: flex; align-items: center; gap: 16px; padding: 16px 20px; }
.ocard .body .img { width: 64px; height: 52px; border-radius: 8px; background: var(--gray-100) center/cover no-repeat; }
.ocard .body .info { flex: 1; }
.ocard .body .name { font-weight: 500; }
.ocard .body .spec { font-size: 12px; color: var(--gray-500); margin-top: 3px; }
.ocard .foot { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 12px 20px; border-top: 1px solid var(--gray-100); background: var(--gray-50); }
.ocard .foot .amount { margin-right: auto; font-size: 13px; color: var(--gray-500); }
.ocard .foot .amount b { font-size: 16px; color: var(--red-600); }

/* 订单详情状态条 */
.ostatus { display: flex; align-items: center; padding: 30px 40px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.ostatus .node { text-align: center; width: 120px; }
.ostatus .node .ic { width: 40px; height: 40px; margin: 0 auto 8px; border-radius: 50%; background: var(--gray-100); color: var(--gray-400); display: flex; align-items: center; justify-content: center; }
.ostatus .node.on .ic { background: var(--brand-600); color: #fff; }
.ostatus .node p { font-size: 13px; color: var(--gray-500); }
.ostatus .node.on p { color: var(--gray-900); font-weight: 600; }
.ostatus .bar { flex: 1; height: 2px; background: var(--gray-200); margin: 0 8px 26px; }

/* ---------- 个人中心 ---------- */
.profile-grid { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.pnav { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; box-shadow: var(--shadow-sm); }
.pnav a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 8px; font-size: 14px; color: var(--gray-600); }
.pnav a:hover { background: var(--gray-50); }
.pnav a.on { background: var(--brand-50); color: var(--brand-600); font-weight: 600; }

/* ---------- 弹窗 ---------- */
.mask { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 60; display: none; align-items: center; justify-content: center; }
.mask.show { display: flex; }
.modal { background: #fff; border-radius: var(--r-lg); width: 480px; max-width: calc(100vw - 40px); max-height: 84vh; overflow: auto; padding: 26px; box-shadow: var(--shadow-lg); animation: pop .18s ease; }
.modal h3 { font-size: 17px; font-weight: 600; margin-bottom: 20px; }
.modal .close { float: right; color: var(--gray-400); font-size: 20px; line-height: 1; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-size: 13px; color: var(--gray-500); margin-bottom: 6px; }
.form-item .input { width: 100%; }

/* ---------- 表格（通用） ---------- */
.table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r); overflow: hidden; font-size: 13px; }
.table th { background: var(--gray-50); color: var(--gray-500); font-weight: 500; text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--gray-100); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.table tr:hover td { background: var(--gray-50); }

/* ---------- 标签 / 空状态 ---------- */
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; }
.tag-gray { background: var(--gray-100); color: var(--gray-600); }
.tag-blue { background: var(--brand-50); color: var(--brand-600); }
.tag-green { background: #ecfdf5; color: var(--green-600); }
.tag-red { background: #fdf0f0; color: var(--red-600); }
.tag-orange { background: #fff7ed; color: var(--orange-600); }
.empty { text-align: center; padding: 70px 0; color: var(--gray-500); }
.empty .ic { font-size: 40px; margin-bottom: 12px; opacity: .5; display: flex; justify-content: center; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,.55); margin-top: 60px; }
 .footer .inner { max-width: 1200px; margin: 0 auto; padding: 30px 20px 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; }
 .footer .f-main { width: 100%; display: flex; justify-content: space-between; align-items: center; }
 .footer .f-copy { font-size: 12px; color: rgba(255,255,255,.35); }
.footer .links { display: flex; gap: 22px; }
.footer .links a:hover { color: #fff; }
.footer .brand { color: rgba(255,255,255,.9); font-weight: 600; margin-right: 8px; }
.footer .gold { color: var(--hot-400); }

/* ---------- Toast ---------- */
.toast { position: fixed; top: 80px; left: 50%; transform: translateX(-50%) translateY(-10px); background: var(--navy-900); color: #fff; padding: 10px 22px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none; transition: .22s; z-index: 99; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translateX(-50%); }
.toast.err { background: var(--red-600); }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } .detail-wrap { grid-template-columns: 1fr; } .checkout-grid { grid-template-columns: 1fr; } .profile-grid { grid-template-columns: 1fr; } .cats { grid-template-columns: repeat(2, 1fr); } .trust-bar { grid-template-columns: repeat(2, 1fr); } .flow { grid-template-columns: repeat(2, 1fr); } .core-grid { grid-template-columns: repeat(2, 1fr); } .data-strip { grid-template-columns: repeat(4, 1fr); } .hero-biz .stats { gap: 24px; } }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } .trust-bar { grid-template-columns: 1fr; } .flow { grid-template-columns: 1fr; } .core-grid { grid-template-columns: 1fr; } .data-strip { grid-template-columns: repeat(2, 1fr); } .hero-biz { padding: 40px 28px; } .hero-biz h1 { font-size: 26px; } .hero-biz .hero-trust { flex-direction: column; gap: 10px; } }

/* ============ 首页轮播 + 公告栏（运营模块） ============ */
.banner-wrap{position:relative;border-radius:16px;overflow:hidden;margin-top:24px;background:var(--navy-800);box-shadow:0 12px 32px rgba(15,23,42,.12)}
.banner-track{display:flex;transition:transform .5s ease}
.banner-slide{min-width:100%;height:220px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:22px;font-weight:600;letter-spacing:1px;background:linear-gradient(120deg,var(--navy-900),var(--brand-700));background-size:cover;background-position:center;cursor:pointer}
.banner-slide span{background:rgba(15,23,42,.35);padding:6px 18px;border-radius:24px;backdrop-filter:blur(2px)}
.banner-dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:8px}
.banner-dots span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.4);cursor:pointer;transition:.2s}
.banner-dots span.on{background:#fff;width:20px;border-radius:4px}
.notice-bar{display:flex;align-items:center;gap:10px;margin-top:16px;padding:11px 16px;border:1px solid var(--gray-100);border-radius:10px;background:#fff;font-size:13px;color:var(--gray-600)}
.notice-bar b{color:var(--hot-500);font-weight:700;white-space:nowrap}
.notice-bar a{color:var(--gray-600);text-decoration:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.notice-bar a:hover{color:var(--brand-600)}
/* 企业中心钱包面板 */
.wallet-card{background:linear-gradient(120deg,var(--navy-900),var(--brand-700));border-radius:14px;padding:20px;color:#fff;display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}
.wallet-card .num{font-size:28px;font-weight:700;color:#fff}
.wallet-card .sub{font-size:12px;opacity:.75;margin-top:2px}
.wallet-card .btns{display:flex;gap:8px}
.wallet-card .btn{background:rgba(255,255,255,.14);color:#fff;border:1px solid rgba(255,255,255,.3)}
.wallet-card .btn:hover{background:rgba(255,255,255,.24)}
.meta-row{display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px dashed var(--gray-100);font-size:13px}
.meta-row:last-child{border-bottom:none}
.meta-row b{color:var(--navy-800)}

/* 首页最新资讯网格 */
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0 4px; }
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .news-grid { grid-template-columns: 1fr; } .wrap .tabs { max-width: 100%; } }
