/* ===================== 志游网 设计系统 ===================== */
:root {
  --brand: #0EA5A4;
  --brand-2: #06B6D4;
  --brand-soft: #E3F6F5;
  --brand-deep: #0B7C7B;
  --brand-rgb: 14,165,164;
  --ink: #15242b;
  --ink-2: #41525a;
  --ink-3: #7e9098;
  --line: #e3eef0;
  --line-2: #d6e6e8;
  --bg: #eef6f6;
  --card: #ffffff;
  --ok: #1fbf75;
  --warn: #f5a623;
  --danger: #f0506e;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 6px 24px rgba(40, 30, 90, 0.07);
  --shadow-sm: 0 2px 10px rgba(40, 30, 90, 0.05);
  --maxw: 1200px;
  --header-h: 64px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.icon { display: inline-flex; vertical-align: middle; }
.muted { color: var(--ink-3); }
.center { text-align: center; }
.flex { display: flex; }
.between { justify-content: space-between; }
.items-center { align-items: center; }
.gap8 { gap: 8px; } .gap12 { gap: 12px; } .gap16 { gap: 16px; } .gap24 { gap: 24px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-size: 14px; font-weight: 600; transition: .15s; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 6px 16px rgba(var(--brand-rgb),.28); }
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink-2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-line { background: transparent; border-color: var(--brand); color: var(--brand); }
.btn-danger { background: #fff; border-color: #ffd0da; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ===== 卡片 ===== */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 20px; }
.grid { display: grid; gap: 20px; }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){ .cols-4{grid-template-columns:repeat(2,1fr);} .cols-3{grid-template-columns:repeat(2,1fr);} }
@media (max-width: 640px){ .cols-2,.cols-3,.cols-4{grid-template-columns:1fr;} }

/* ===== 标签/徽章 ===== */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--brand-soft); color: var(--brand-deep); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; }
.badge-ok { background: #e6f9f0; color: var(--ok); }
.badge-warn { background: #fff4e0; color: var(--warn); }
.badge-danger { background: #ffe9ee; color: var(--danger); }
.badge-mute { background: #f0f0f5; color: var(--ink-3); }
.badge-brand { background: var(--brand-soft); color: var(--brand-deep); }

/* ===== 表单 ===== */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field .req { color: var(--danger); margin-left: 2px; }
.input, .textarea, .select {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font-size: 14px; color: var(--ink); background: #fff; transition: .15s; font-family: inherit;
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.12); }
.textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width:640px){ .form-row { grid-template-columns: 1fr; } }
.agree { display: flex; align-items: flex-start; gap: 10px; padding: 12px; background: var(--brand-soft); border-radius: var(--radius-sm); font-size: 13px; }
.agree input { margin-top: 4px; }

/* ===== 顶部导航 ===== */
.topbar { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar .container { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--ink); }
.logo .mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); display: flex; align-items: center; justify-content: center; color: #fff; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.nav a:hover { background: var(--brand-soft); color: var(--brand); }
.nav a.active { background: var(--brand-soft); color: var(--brand-deep); }
.topbar .spacer { flex: 1; }
.avatar-sm { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; color: var(--brand-deep); font-weight: 700; overflow: hidden; }
.avatar-sm img { width: 100%; height: 100%; object-fit: cover; }
.menu-user { position: relative; }
.menu-user .pop { position: absolute; right: 0; top: 46px; width: 200px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; display: none; }
.menu-user:hover .pop { display: block; }
.menu-user .pop a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-2); }
.menu-user .pop a:hover { background: var(--bg); color: var(--brand); }

/* ===== Hero ===== */
.hero { background: linear-gradient(135deg, #06302f 0%, #0EA5A4 55%, #06B6D4 100%); color: #fff; border-radius: 0 0 28px 28px; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%); }
.hero-inner { padding: 56px 20px 64px; position: relative; z-index: 1; }
.hero h1 { font-size: 40px; margin: 0 0 14px; font-weight: 800; letter-spacing: -1px; }
.hero p { font-size: 17px; opacity: .92; max-width: 560px; margin: 0 0 26px; }
.hero .search { display: flex; background: #fff; border-radius: 12px; padding: 6px; max-width: 560px; box-shadow: var(--shadow); }

/* ===== 区块标题 ===== */
.section { padding: 44px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 22px; }
.section-head h2 { font-size: 24px; margin: 0; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.section-head h2 .bar { width: 5px; height: 24px; border-radius: 4px; background: linear-gradient(var(--brand), var(--brand-2)); }
.link-more { color: var(--brand); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }

/* ===== 商品卡 ===== */
.product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .18s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e0d6ff; }
.product-card .cover { aspect-ratio: 1/1; background: linear-gradient(135deg,#e3f6f5,#cdeef0); display: flex; align-items: center; justify-content: center; color: var(--brand); overflow: hidden; }
.product-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .title { font-weight: 700; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.product-card .price { color: var(--danger); font-weight: 800; font-size: 18px; }
.product-card .price small { color: var(--ink-3); font-weight: 500; text-decoration: line-through; font-size: 12px; margin-left: 6px; }
.product-card .meta { font-size: 12px; color: var(--ink-3); margin-top: auto; }

/* ===== 信息帖卡 ===== */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; transition: .15s; }
.info-card:hover { box-shadow: var(--shadow); border-color: #b9e7e3; }
.info-card .top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.info-card .ic { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; }
.info-card h3 { margin: 0; font-size: 15px; font-weight: 700; }

/* ===== 信息服务页：左侧分类树 + 右侧卡片流 ===== */
.info-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 22px; flex-wrap: wrap; }
.info-h1 { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 800; margin: 0; color: var(--ink); }
.info-h1 svg { color: var(--brand); }
.info-sub { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; max-width: 640px; }
.info-layout { display: grid; grid-template-columns: 246px 1fr; gap: 22px; align-items: start; }
.cat-nav { position: sticky; top: 84px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; max-height: calc(100vh - 110px); overflow: auto; }
.cat-all { display: flex; align-items: center; gap: 9px; padding: 11px 12px; border-radius: 10px; font-weight: 800; font-size: 14px; color: var(--ink); background: var(--brand-soft); margin-bottom: 8px; }
.cat-all .cnt { margin-left: auto; }
.cat-group { margin-bottom: 4px; }
.cat-top { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--ink-2); transition: .14s; }
.cat-top .ci { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; background: var(--brand-soft); color: var(--brand-deep); flex: none; }
.cat-top .cn { flex: 1; }
.cat-top:hover { background: var(--bg); color: var(--brand-deep); }
.cat-top.active { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.cat-top.active .ci { background: rgba(255,255,255,.2); color: #fff; }
.cat-top.active .cnt { background: rgba(255,255,255,.25); color: #fff; }
.cnt { font-size: 12px; font-weight: 700; color: var(--ink-3); background: var(--bg); padding: 1px 8px; border-radius: 99px; min-width: 22px; text-align: center; }
.cat-subs { display: flex; flex-direction: column; gap: 2px; padding: 4px 0 6px 40px; }
.cat-sub { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 8px; font-size: 13px; color: var(--ink-2); transition: .14s; }
.cat-sub:hover { background: var(--bg); color: var(--brand-deep); }
.cat-sub.active { color: var(--brand-deep); background: var(--brand-soft); font-weight: 700; }
.cat-sub .cnt { background: transparent; padding: 0; min-width: auto; }
.info-filter { margin-bottom: 16px; }
@media (max-width: 860px){
  .info-layout { grid-template-columns: 1fr; }
  .cat-nav { position: static; max-height: none; }
  .cat-subs { padding-left: 14px; }
}

/* ===== 统计块 ===== */
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; align-items: center; gap: 14px; }
.stat .ic { width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; }
.stat .num { font-size: 24px; font-weight: 800; }
.stat .label { font-size: 13px; color: var(--ink-3); }

/* ===== 面包屑 ===== */
.crumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); padding: 16px 0; }
.crumb a:hover { color: var(--brand); }

/* ===== 闪信 ===== */
.flash { padding: 11px 16px; border-radius: 10px; font-size: 14px; margin: 14px 0; display: flex; align-items: center; gap: 8px; }
.flash-ok { background: #e6f9f0; color: #0e8a52; }
.flash-err { background: #ffe9ee; color: #c5284a; }
.flash-info { background: var(--brand-soft); color: var(--brand-deep); }

/* ===== 详情页 ===== */
.detail-grid { display: grid; grid-template-columns: 440px 1fr; gap: 36px; padding: 28px 0; }
@media (max-width: 900px){ .detail-grid { grid-template-columns: 1fr; } }
.gallery .main { aspect-ratio: 1/1; border-radius: var(--radius); background: linear-gradient(135deg,#e3f6f5,#cdeef0); display: flex; align-items: center; justify-content: center; color: var(--brand); overflow: hidden; }
.gallery .main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs .t { width: 64px; height: 64px; border-radius: 10px; border: 2px solid transparent; background: #e3f6f5; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--brand); }
.thumbs .t.active, .thumbs .t:hover { border-color: var(--brand); }
.price-box { background: linear-gradient(135deg,#fff7f9,#fff); border: 1px solid #ffe1e8; border-radius: var(--radius); padding: 18px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 14px; }
.spec-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: 14px; }
.spec-table td:first-child { color: var(--ink-3); width: 110px; }

/* ===== 分步条 ===== */
.steps { display: flex; align-items: center; gap: 0; margin: 0 0 30px; }
.steps .step { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-weight: 600; }
.steps .step .dot { width: 30px; height: 30px; border-radius: 50%; background: #ececf3; color: var(--ink-3); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.steps .step.active { color: var(--brand-deep); }
.steps .step.active .dot { background: var(--brand); color: #fff; }
.steps .line { flex: 1; height: 2px; background: var(--line-2); margin: 0 14px; }
.steps .line.done { background: var(--brand); }

/* ===== 空状态 ===== */
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty .ic { width: 70px; height: 70px; margin: 0 auto 16px; border-radius: 20px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }

/* ===== 页脚 ===== */
.footer { background: #1a1730; color: #b9b6cf; padding: 44px 0 26px; margin-top: 40px; }
.footer a { color: #cfcdec; }
.footer h4 { color: #fff; font-size: 15px; margin: 0 0 14px; }
.footer .copy { border-top: 1px solid #2c2947; margin-top: 30px; padding-top: 18px; font-size: 13px; text-align: center; }

/* ===== 登录/注册 ===== */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#06302f,#0EA5A4); padding: 24px; }
.auth-card { width: 440px; max-width: 100%; background: #fff; border-radius: 20px; padding: 34px; box-shadow: 0 20px 60px rgba(20,10,60,.3); }
.auth-card .brand { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 6px; font-weight: 800; font-size: 22px; color: var(--ink); }
.auth-card .sub { text-align: center; color: var(--ink-3); font-size: 13px; margin-bottom: 22px; }
.auth-tabs { display: flex; gap: 8px; background: var(--bg); padding: 5px; border-radius: 12px; margin-bottom: 20px; }
.auth-tabs a { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.auth-tabs a.active { background: #fff; color: var(--brand); box-shadow: var(--shadow-sm); }
.protocol-box { max-height: 240px; overflow: auto; border: 1px solid var(--line-2); border-radius: 10px; padding: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.7; background: #fcfcff; }
.proto { white-space: pre-wrap; word-break: break-word; font-size: 15px; line-height: 1.95; color: var(--ink-2); }
.proto h3, .proto .sec { font-size: 16px; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.proto .lead { color: var(--ink-3); margin-bottom: 6px; }

/* ===== 我的中心布局 ===== */
.ucenter { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 28px 0; align-items: start; }
@media (max-width: 880px){ .ucenter { grid-template-columns: 1fr; } }
.uc-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: sticky; top: 84px; }
.uc-side .me { display: flex; align-items: center; gap: 12px; padding: 8px 4px 16px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.uc-side .menu a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }
.uc-side .menu a:hover { background: var(--bg); color: var(--brand); }
.uc-side .menu a.active { background: var(--brand-soft); color: var(--brand-deep); }

/* 工具类 */
.mt8{margin-top:8px}.mt16{margin-top:16px}.mt24{margin-top:24px}.mt32{margin-top:32px}
.mb8{margin-bottom:8px}.mb16{margin-bottom:16px}.mb24{margin-bottom:24px}
.p16{padding:16px}.p24{padding:24px}
.fz13{font-size:13px}.fz14{font-size:14px}.fz18{font-size:18px}.fz22{font-size:22px}.fz28{font-size:28px}
.fw7{font-weight:700}.fw8{font-weight:800}
.c-ok{color:var(--ok)}.c-warn{color:var(--warn)}.c-danger{color:var(--danger)}.c-brand{color:var(--brand)}.c-mute{color:var(--ink-3)}
.right{text-align:right}.left{text-align:left}
.nowrap{white-space:nowrap}
.divider{height:1px;background:var(--line);margin:18px 0}
.line-clamp2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* ===== 首页增强：Hero 统计 + 保障 + 分类 + 实时动态 ===== */
.hero-tag { display:inline-flex; align-items:center; gap:6px; background:rgba(255,255,255,.16); color:#fff; padding:6px 14px; border-radius:99px; font-size:13px; font-weight:600; margin-bottom:18px; }
.search-ic { display:flex; align-items:center; color:var(--ink-3); padding-left:12px; }
.hero-stats { display:flex; gap:14px; margin-top:34px; flex-wrap:wrap; }
.hero-stats .hs { background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); border-radius:14px; padding:12px 22px; backdrop-filter:blur(4px); }
.hero-stats .hs b { display:block; font-size:22px; font-weight:800; line-height:1.1; }
.hero-stats .hs span { font-size:12px; opacity:.85; }

.guarantee { background:#fff; border-bottom:1px solid var(--line); padding:26px 0; margin-top:-1px; }
.g-card { display:flex; align-items:center; gap:14px; background:var(--bg); border:1px solid var(--line); border-radius:var(--radius); padding:16px 18px; transition:.15s; }
.g-card:hover { border-color:#e0d6ff; box-shadow:var(--shadow-sm); }
.g-ic { width:48px; height:48px; border-radius:14px; flex:none; display:flex; align-items:center; justify-content:center; color:#fff; background:linear-gradient(135deg,var(--brand),var(--brand-2)); box-shadow:0 6px 14px rgba(var(--brand-rgb),.25); }
.g-t { font-weight:800; font-size:16px; color:var(--ink); }
.g-d { font-size:12.5px; color:var(--ink-3); margin-top:2px; }

.cat-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:20px; transition:.18s; }
.cat-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); border-color:#b9e7e3; }
.cat-ic { width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; color:var(--brand-deep); background:var(--brand-soft); margin-bottom:14px; }
.cat-name { font-weight:800; font-size:17px; color:var(--ink); }
.cat-sub { font-size:13px; color:var(--ink-3); margin-top:3px; }

.home-cols { display:grid; grid-template-columns:1fr 340px; gap:28px; align-items:start; }
@media (max-width: 980px){ .home-cols { grid-template-columns:1fr; } }
.info-price { color:var(--danger); font-weight:800; font-size:16px; white-space:nowrap; }

.feed-head { display:flex; align-items:center; gap:8px; font-weight:800; font-size:16px; color:var(--ink); padding:14px 16px; background:var(--brand-soft); border-radius:var(--radius) var(--radius) 0 0; color:var(--brand-deep); }
.feed { background:#fff; border:1px solid var(--line); border-top:0; border-radius:0 0 var(--radius) var(--radius); max-height:392px; overflow:auto; }
.feed-item { display:flex; align-items:center; gap:10px; padding:11px 16px; border-bottom:1px solid var(--line); text-decoration:none; transition:.12s; }
.feed-item:last-child { border-bottom:0; }
.feed-item:hover { background:var(--bg); }
.kind-tag { flex:none; font-size:11px; font-weight:700; padding:2px 8px; border-radius:6px; }
.kind-product { background:#e7f7ee; color:#1f9d57; }
.kind-info { background:#fff0e6; color:#e07b1a; }
.feed-title { flex:1; min-width:0; font-size:13.5px; color:var(--ink-2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.feed-meta { flex:none; font-size:11.5px; color:var(--ink-3); white-space:nowrap; }
.article-card { transition:.15s; }
.article-card:hover { transform:translateY(-3px); box-shadow:var(--shadow); border-color:#e0d6ff; }

/* ===== 公开表单组件（入驻页使用） ===== */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.panel-head h3 { margin: 0; font-size: 16px; font-weight: 800; }

.b-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:640px){ .b-row { grid-template-columns: 1fr; } }
.b-field { margin-bottom: 16px; }
.b-field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.b-field .req { color: var(--danger); margin-left: 2px; }
.b-input, .b-textarea {
  width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  font-size: 14px; line-height: 44px; color: var(--ink); background: #fff; transition: .15s; font-family: inherit; box-sizing: border-box;
}
.b-textarea { height: auto; min-height: 80px; padding: 11px 13px; line-height: 1.5; resize: vertical; }
.b-input:focus, .b-textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.12); }
.b-textarea { min-height: 80px; resize: vertical; }

.note { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 12px; font-size: 13px; line-height: 1.6; }
.note-info { background: var(--brand-soft); color: var(--brand-deep); }
.note-warn { background: #fff4e0; color: #9a6a12; }
.proto { max-height: 420px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fcfcff; font-size: 14px; line-height: 1.8; color: #4a4a5e; white-space: pre-wrap; }

.prog { display: flex; align-items: center; gap: 0; margin-bottom: 26px; }
.prog .s { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-weight: 600; font-size: 14px; }
.prog .s .d { width: 30px; height: 30px; border-radius: 50%; background: var(--line); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.prog .s.done { color: var(--brand); }
.prog .s.done .d, .prog .s.active .d { background: var(--brand); color: #fff; }
.prog .s.active { color: var(--ink); }
.prog .l { flex: 1; height: 2px; background: var(--line); margin: 0 12px; }
.prog .l.done { background: var(--brand); }

.uploader { display: flex; flex-wrap: wrap; gap: 14px; }
.up-box { width: 120px; height: 120px; border: 2px dashed var(--line-2); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--ink-3); cursor: pointer; transition: .15s; position: relative; overflow: hidden; }
.up-box:hover { border-color: var(--brand); color: var(--brand); }
.up-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.flash { padding: 11px 16px; border-radius: 10px; font-size: 14px; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; }
.flash-err { background: #ffe9ee; color: #c5284a; }
.flash-ok { background: #e6f9f0; color: #0e8a52; }

.hp-sec { padding: 50px 0 8px; }
.hp-sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; gap: 16px; }
.hp-sec-head h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; margin: 0; letter-spacing: -.5px; }
.hp-sec-head .sub { color: var(--ink-3); font-size: 14px; margin-top: 5px; }
.hp-more { display: inline-flex; align-items: center; gap: 4px; color: var(--brand); font-weight: 700; font-size: 14px; white-space: nowrap; }
.hp-more:hover { gap: 8px; }

.hp-cat-group { margin-bottom: 26px; }
.hp-cat-group .gt { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--ink); margin-bottom: 14px; }
.hp-cat-group .gt .dot { width: 9px; height: 9px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.hp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.hp-cat { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; transition: .18s; }
.hp-cat:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #e0d6ff; }
.hp-cat .ci { width: 50px; height: 50px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }
.hp-cat .cn { font-weight: 800; font-size: 15px; color: var(--ink); }
.hp-cat .cs { font-size: 12px; color: var(--ink-3); margin-top: 2px; }

.hp-prod { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: .2s; display: flex; flex-direction: column; }
.hp-prod:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e0d6ff; }
.hp-prod .cv { aspect-ratio: 4/3; overflow: hidden; background: var(--brand-soft); }
.hp-prod .cv img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.hp-prod:hover .cv img { transform: scale(1.06); }
.hp-prod .bd { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; }
.hp-prod .tt { font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.hp-prod .pr { color: var(--danger); font-weight: 900; font-size: 18px; }
.hp-prod .pr small { color: var(--ink-3); font-weight: 600; font-size: 12px; text-decoration: line-through; margin-left: 6px; }
.hp-prod .mt { font-size: 12px; color: var(--ink-3); display: flex; justify-content: space-between; }

.hp-info { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; transition: .15s; }
.hp-info:hover { box-shadow: var(--shadow-sm); border-color: #e0d6ff; transform: translateY(-2px); }
.hp-info .thumb { width: 88px; height: 88px; border-radius: 10px; overflow: hidden; flex: none; background: var(--brand-soft); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.hp-info .thumb img { width: 100%; height: 100%; object-fit: cover; }
.hp-info .tt { font-weight: 700; font-size: 14.5px; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-info .meta { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.hp-info .pr { color: var(--danger); font-weight: 800; font-size: 15px; margin-top: 6px; }

.hp-art { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: .2s; }
.hp-art:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.hp-art .cv { aspect-ratio: 16/9; overflow: hidden; background: var(--brand-soft); }
.hp-art .cv img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.hp-art:hover .cv img { transform: scale(1.05); }
.hp-art .bd { padding: 14px 16px 18px; }
.hp-art .tt { font-weight: 800; font-size: 16px; color: var(--ink); line-height: 1.45; }
.hp-art .sm { font-size: 13px; color: var(--ink-3); margin-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 信息列表卡片（带封面） */
.info-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: .18s; display: flex; flex-direction: column; }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e0d6ff; }
.info-card .cv { aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, var(--brand-soft), #fff); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.info-card .cv img { width: 100%; height: 100%; object-fit: cover; }
.info-card .body { padding: 14px 15px 16px; }
.info-card .top { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.info-card .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--brand-soft); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.info-card h3 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.info-card .meta2 { font-size: 12px; color: var(--ink-3); margin-top: 6px; }
.info-card .pr { color: var(--danger); font-weight: 800; font-size: 17px; margin-top: 8px; }

@media (max-width: 640px){ .hp-cats { grid-template-columns: repeat(2, 1fr); } .hp-cat { padding: 12px; } .hp-cat .ci { width: 42px; height: 42px; } }

/* ===================== 后台共用组件（与后台 admin.css 对齐，统一青系变量） ===================== */
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-3); font-weight: 700; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table td { padding: 13px 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: middle; }
.table tbody tr:hover { background: var(--bg); }
.cell-title { font-weight: 700; }
.cell-sub { font-size: 12px; color: var(--ink-3); }
.acts { display: flex; gap: 6px; flex-wrap: wrap; }
.act { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 8px; font-size: 13px; font-weight: 600; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.act:hover { border-color: var(--brand); color: var(--brand); }
.act.ok { color: var(--ok); border-color: #c7ecd8; }
.act.ok:hover { background: #e6f9f0; }
.act.danger, .danger { color: var(--danger); border-color: #f3c6d1; }
.act.danger:hover, .danger:hover { background: #ffe9ee; }
.kv { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.kv .k { width: 120px; color: var(--ink-3); flex-shrink: 0; }
.kv .v { font-weight: 600; }
.b-select {
  width: 100%; height: 44px; padding: 0 36px 0 13px; border: 1px solid var(--line-2); border-radius: var(--radius, var(--radius-sm));
  font-size: 14px; color: var(--ink); background: #fff; transition: .15s; font-family: inherit; box-sizing: border-box;
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
.b-select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.12); }
.nm { color: var(--ink); font-weight: 700; font-size: 14px; }
.rl { font-size: 12px; color: var(--ink-3); }
.tag-brand { background: var(--brand-soft); color: var(--brand-deep); }
.mb12{margin-bottom:12px}.mb32{margin-bottom:32px}.mt12{margin-top:12px}
.info-main { min-width: 0; }

/* 筛选条（信息列表 / 商城筛选） */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 18px; }
.filterbar .b-input, .filterbar .b-select { width: auto; min-width: 150px; }
.filterbar .spacer { flex: 1; }

/* ===================== 首页 Hero（轻量双栏 · 左文案右大图） ===================== */
.hp2-hero {
  background: #F8FAFB;
  border-bottom: 1px solid #E2E8F0;
}
.hp2-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: calc(var(--header-h) + 42px) 20px 56px;
  display: flex; flex-wrap: nowrap; gap: 48px; align-items: center;
}
@supports (display: grid) {
  .hp2-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    gap: 48px;
  }
}
.hp2-copy, .hp2-feature { min-width: 0; }

.hp2-copy { display: flex; flex-direction: column; gap: 22px; }
.hp2-badge {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-size: 12.5px; font-weight: 700; letter-spacing: .04em;
  color: #0B7C7B; background: #E8F8F8;
  padding: 7px 16px; border-radius: 99px;
}
.hp2-dot { width: 7px; height: 7px; border-radius: 50%; background: #0EA5A4; }
.hp2-title {
  font-weight: 800; font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.15; margin: 0; letter-spacing: -.5px;
  color: #0F172A;
}
.hp2-sub { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.75; color: #475569; }

.hp2-search {
  display: flex; align-items: center; gap: 8px;
  max-width: 480px; background: #fff;
  border: 1px solid #E2E8F0;
  padding: 5px 5px 5px 14px; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(15,23,42,.04);
}
.hp2-search .hp2-search-ic { color: #94A3B8; }
.hp2-search input { flex: 1; border: 0; background: transparent; padding: 12px 6px; font-size: 15px; color: #0F172A; outline: none; min-width: 0; }
.hp2-search input::placeholder { color: #94A3B8; }
.hp2-search .btn { padding: 11px 22px; border-radius: 10px; }

.hp2-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hp2-stat {
  display: inline-flex; align-items: baseline; gap: 7px;
  font-size: 14px; color: #475569;
}
.hp2-stat b { font-size: 26px; font-weight: 800; color: #0EA5A4; }

.hp2-entries { display: flex; flex-wrap: wrap; gap: 10px; }
.hp2-entry {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px; border-radius: 10px;
  background: #fff; border: 1px solid #E2E8F0;
  color: #334155; font-size: 13px; font-weight: 600; transition: .15s;
}
.hp2-entry:hover { border-color: #0EA5A4; color: #0B7C7B; transform: translateY(-2px); }
.hp2-entry svg { color: #0EA5A4; }

/* 右侧本周上新 */
.hp2-feature { display: flex; flex-direction: column; gap: 12px; }
.hp2-feat-label { font-size: 14px; font-weight: 800; color: #0B7C7B; }
.hp2-feat-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}
.hp2-feat-img {
  aspect-ratio: 4/3; overflow: hidden;
  background: #F1F5F9;
  display: flex; align-items: center; justify-content: center;
  color: #94A3B8;
}
.hp2-feat-img img { width: 100%; height: 100%; object-fit: cover; transition: .35s; }
.hp2-feat-card:hover .hp2-feat-img img { transform: scale(1.04); }
.hp2-feat-meta { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.hp2-feat-cat { font-size: 12px; font-weight: 700; color: #0EA5A4; }
.hp2-feat-name { font-size: 15px; font-weight: 700; color: #1E293B; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px; }
.hp2-feat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.hp2-feat-price { font-size: 24px; font-weight: 800; color: #0F172A; }
.hp2-feat-go {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 700; color: #fff;
  background: #0EA5A4; padding: 8px 14px; border-radius: 10px; transition: .15s;
}
.hp2-feat-go:hover { background: #0B7C7B; }
.hp2-feat-tip {
  font-size: 12px; font-weight: 600; color: #64748B;
}
.hp2-feat-tip::before { content: "★"; color: #F59E0B; margin-right: 6px; }

@media (max-width: 900px){
  .hp2-inner {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 40px; align-items: start; text-align: center;
  }
  .hp2-copy { align-items: center; width: 100%; }
  .hp2-sub { max-width: 560px; }
  .hp2-search { max-width: 560px; width: 100%; }
  .hp2-feature { max-width: 480px; margin: 0 auto; width: 100%; }
  .hp2-feat-label { text-align: left; }
  .hp2-feat-tip { text-align: left; }
}
@media (max-width: 760px){
  .hp2-inner { padding: calc(var(--header-h) + 24px) 18px 40px; gap: 32px; }
  .hp2-title { font-size: 34px; }
  .hp2-stats { justify-content: center; }
  .hp2-feat-price { font-size: 22px; }
}
