:root {
  --green: #0a8f4d;
  --green-dark: #076b3a;
  --green-light: #e8f7ef;
  --ink: #1a1d1f;
  --ink-2: #4a4f56;
  --ink-3: #8a909a;
  --line: #ececf0;
  --bg: #f6f7f9;
  --card: #ffffff;
  --danger: #e5484d;
  --warn: #f5a623;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(20, 23, 28, 0.06);
  --shadow-lg: 0 12px 40px rgba(20, 23, 28, 0.10);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: table; clear: both; }
.text-muted { color: var(--ink-3); }
.text-green { color: var(--green); }
.price { color: var(--danger); font-weight: 700; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: 999px; border: 1px solid transparent; font-size: 14px; font-weight: 600; cursor: pointer; transition: .2s; text-align: center; }
.btn i { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-danger { background: #fff; border-color: #f3c2c4; color: var(--danger); }
.btn-danger:hover { background: #fff5f5; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-lg { padding: 14px 30px; font-size: 16px; }

/* ===== 顶部导航 ===== */
.topbar { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.topbar .container { display: flex; align-items: center; height: 64px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--ink); }
.brand .logo { width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(135deg, var(--green), #19b36a); display: flex; align-items: center; justify-content: center; color: #fff; }
.nav { display: flex; gap: 6px; flex: 1; }
.nav a { padding: 8px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--green); background: var(--green-light); }
.searchbox { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; gap: 8px; min-width: 220px; }
.searchbox input { border: none; background: transparent; outline: none; flex: 1; font-size: 14px; }
.searchbox i { color: var(--ink-3); width: 18px; height: 18px; }
.userbox { display: flex; align-items: center; gap: 10px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ===== 分类条 ===== */
.cat-strip { background: #fff; border-bottom: 1px solid var(--line); }
.cat-strip .container { display: flex; gap: 4px; overflow-x: auto; padding: 4px 20px; }
.cat-strip a { display: flex; align-items: center; gap: 6px; padding: 12px 16px; white-space: nowrap; color: var(--ink-2); font-weight: 500; }
.cat-strip a i { width: 18px; height: 18px; }
.cat-strip a:hover, .cat-strip a.active { color: var(--green); }

/* ===== Hero ===== */
.hero { background: linear-gradient(120deg, #062b1c 0%, #0a8f4d 60%, #19b36a 100%); color: #fff; border-radius: 24px; margin: 24px 0; padding: 48px 56px; position: relative; overflow: hidden; }
.hero h1 { font-size: 38px; margin: 0 0 12px; font-weight: 800; }
.hero p { font-size: 16px; opacity: .9; margin: 0 0 24px; max-width: 560px; }
.hero .hero-btns { display: flex; gap: 12px; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.hero-shapes { position: absolute; right: -40px; top: -40px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero-shapes2 { position: absolute; right: 120px; bottom: -80px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.06); }

/* ===== 区块 ===== */
.section { margin: 36px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 22px; margin: 0; font-weight: 800; }
.section-head .more { color: var(--ink-3); font-size: 13px; display: flex; align-items: center; gap: 4px; }
.section-head .more:hover { color: var(--green); }

/* ===== 卡片网格 ===== */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.grid-8 { grid-template-columns: repeat(8, 1fr); }
@media (max-width: 980px){ .grid-4,.grid-3 { grid-template-columns: repeat(2,1fr);} .grid-6,.grid-8{grid-template-columns:repeat(4,1fr);} }
@media (max-width: 640px){ .grid-2,.grid-3,.grid-4,.grid-6,.grid-8 { grid-template-columns: repeat(2,1fr);} }

.cat-card { background: #fff; border-radius: var(--radius); padding: 22px 12px; text-align: center; transition: .2s; border: 1px solid transparent; }
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--green-light); }
.cat-card .ic { width: 56px; height: 56px; margin: 0 auto 10px; border-radius: 16px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; }
.cat-card .ic i { width: 28px; height: 28px; }
.cat-card span { font-weight: 600; }

.product-card { background: #fff; border-radius: var(--radius); overflow: hidden; transition: .2s; border: 1px solid var(--line); }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card .thumb { aspect-ratio: 1/1; background: var(--bg); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .body { padding: 14px 16px 18px; }
.product-card .name { font-weight: 700; font-size: 15px; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.product-card .sub { color: var(--ink-3); font-size: 12px; margin: 0 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card .prow { display: flex; align-items: center; justify-content: space-between; }
.product-card .prow .price { font-size: 18px; }
.tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 6px; background: var(--green-light); color: var(--green); font-weight: 600; }

/* ===== 通用卡片/面板 ===== */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.card-title { font-size: 17px; font-weight: 700; margin: 0 0 18px; display: flex; align-items: center; gap: 8px; padding-left: 12px; position: relative; }
.card-title::before { content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:4px; height:16px; border-radius:2px; background: var(--green); }
.panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }

/* ===== 表单 ===== */
.form-wrap { max-width: 640px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 36px; }
.form-wrap h2 { margin-top: 0; }
@media (max-width: 640px){ .form-wrap { padding: 22px 18px; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 7px; }
.field .hint { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.input, .select, textarea.input { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; font-size: 14px; outline: none; font-family: var(--font); transition: .2s; background: #fff; }
.input:focus, .select:focus, textarea.input:focus { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-light); }
textarea.input { resize: vertical; min-height: 120px; }
/* 下拉框与文本输入框统一高度（44px），文字垂直居中 */
input.input, .select { height: 44px; padding-top: 0; padding-bottom: 0; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--bg); border-radius: 12px; cursor: pointer; }
.checkbox input { margin-top: 3px; }
.error-box { background: #fff0f0; color: var(--danger); padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 13px; }
.ok-box { background: var(--green-light); color: var(--green-dark); padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 13px; }
.agree-line { display: flex; align-items: center; gap: 8px; margin: 14px 0; font-size: 13px; color: var(--ink-2); }
.agree-line a { color: var(--green); font-weight: 600; }

/* 发布页：随类型变化的提示 */
.type-tip { display: flex; align-items: flex-start; gap: 6px; margin-top: 10px; padding: 10px 14px; background: var(--green-light); border: 1px solid #d8f0e3; color: var(--green-dark); border-radius: 12px; font-size: 13px; line-height: 1.6; }
.type-tip .icon-sm { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.type-tip span { flex: 1; }

/* 发布页：图片上传 */
.file-upload { padding: 14px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--bg); transition: .2s; }
.file-upload:hover { border-color: var(--green); background: var(--green-light); }
.file-upload input[type=file] { width: 100%; font-size: 13px; color: var(--ink-2); }
.file-upload input[type=file]::file-selector-button { margin-right: 12px; padding: 8px 16px; border: none; border-radius: 10px; background: var(--green); color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; }

/* ===== 表格 ===== */
.table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 13px; }
.table th { background: #fafbfc; color: var(--ink-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--green-light); }
.thumb-sm { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; background: var(--bg); }

/* ===== 徽章/状态 ===== */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-green { background: var(--green-light); color: var(--green-dark); }
.badge-gray { background: #eef0f2; color: var(--ink-3); }
.badge-warn { background: #fff4e0; color: #b9791a; }
.badge-red { background: #fde8e8; color: var(--danger); }
.badge-blue { background: #e6f0ff; color: #1d6fd6; }

/* ===== 后台布局 ===== */
.admin-layout { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.sidebar { background: #0f1419; color: #c7ccd1; padding: 22px 14px; }
.sidebar .s-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 18px; padding: 6px 10px 18px; }
.sidebar .s-brand .logo { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--green), #19b36a); display: flex; align-items: center; justify-content: center; color: #fff; }
.s-group { font-size: 11px; color: #6b7280; padding: 14px 12px 6px; text-transform: uppercase; letter-spacing: .5px; }
.s-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #c7ccd1; margin-bottom: 2px; font-size: 14px; }
.s-link i { width: 18px; height: 18px; }
.s-link:hover:not(.active) { background: rgba(255,255,255,.06); color: #fff; }
.s-link.active { background: var(--green); color: #fff; position: relative; }
.s-link.active::before { content:""; position:absolute; left:0; top:50%; transform:translateY(-50%); width:3px; height:22px; border-radius:0 3px 3px 0; background:#fff; }
.admin-main { background: var(--bg); padding: 28px 32px; overflow-x: auto; }
.admin-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.admin-top h1 { font-size: 24px; margin: 0; font-weight: 800; letter-spacing: -.5px; }
.admin-top .who { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }

/* 统计卡 */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 24px; }
@media (max-width: 1100px){ .stat-grid { grid-template-columns: repeat(3,1fr);} }
@media (max-width: 760px){ .stat-grid { grid-template-columns: repeat(2,1fr);} }
.stat { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px 22px 20px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.stat::before { content:""; position:absolute; left:0; top:0; bottom:0; width:4px; background: linear-gradient(180deg, var(--green), #19b36a); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat .ic { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--green), #19b36a); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; box-shadow: 0 8px 18px rgba(10,143,77,.25); }
.stat .ic i { width: 24px; height: 24px; }
.stat .num { font-size: 32px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; color: var(--ink); }
.stat .lbl { color: var(--ink-3); font-size: 13px; margin-top: 4px; }

/* ===== 商品详情 ===== */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px){ .pd { grid-template-columns: 1fr; } }
.pd-gallery .main-img { border-radius: var(--radius); background: var(--bg); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; border: 2px solid transparent; cursor: pointer; background: var(--bg); }
.pd-thumbs img.active, .pd-thumbs img:hover { border-color: var(--green); }
.pd-info h1 { font-size: 26px; margin: 0 0 8px; }
.pd-info .sub { color: var(--ink-3); margin: 0 0 16px; }
.pd-price { background: linear-gradient(120deg,#fff5f5,#fff); border: 1px solid #ffe2e2; border-radius: 14px; padding: 18px 20px; margin: 16px 0; }
.pd-price .now { color: var(--danger); font-size: 30px; font-weight: 800; }
.pd-price .old { color: var(--ink-3); text-decoration: line-through; margin-left: 10px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.spec-table td { padding: 10px 14px; border: 1px solid var(--line); font-size: 13px; }
.spec-table td:first-child { background: #fafbfc; color: var(--ink-3); width: 120px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: none; background: #fff; font-size: 18px; cursor: pointer; color: var(--ink-2); }
.qty input { width: 50px; height: 38px; border: none; text-align: center; outline: none; }
.pd-actions { display: flex; gap: 12px; margin-top: 22px; }
.pd-desc { margin-top: 40px; }
.pd-desc h3 { font-size: 18px; margin: 0 0 12px; }
.pd-desc p { white-space: pre-wrap; color: var(--ink-2); line-height: 1.9; }

/* ===== 订单预览 / 下单 ===== */
.order-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
@media (max-width: 860px){ .order-grid { grid-template-columns: 1fr; } }
.addr-list { display: flex; flex-direction: column; gap: 10px; }
.addr-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }
.addr-item.active { border-color: var(--green); background: var(--green-light); }
.addr-item .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); margin-top: 3px; }
.addr-item.active .radio { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.summary-box { position: sticky; top: 84px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; }

/* ===== 收银台 ===== */
.pay-wrap { max-width: 720px; margin: 30px auto; }
.pay-card { background: linear-gradient(135deg,#1677ff,#0a4fd6); color: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.pay-card .amt { font-size: 40px; font-weight: 800; margin: 8px 0 4px; }
.pay-card .row { display: flex; justify-content: space-between; opacity: .92; font-size: 13px; padding: 4px 0; }
.pay-methods { background: #fff; border-radius: 16px; padding: 18px 22px; margin-top: 16px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.pay-method .ic { width: 40px; height: 40px; border-radius: 10px; background: #1677ff; color: #fff; display: flex; align-items: center; justify-content: center; }

/* ===== 我的中心 ===== */
.my-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px){ .my-layout { grid-template-columns: 1fr; } }
.my-side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.my-side a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; color: var(--ink-2); font-weight: 500; }
.my-side a i { width: 18px; height: 18px; }
.my-side a:hover, .my-side a.active { background: var(--green-light); color: var(--green); }

/* ===== 文章 ===== */
.article-body { line-height: 1.9; color: var(--ink-2); }
.article-body p { margin: 0 0 14px; }

/* ===== 协议/规则展示 ===== */
.doc { background: #fff; border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow); line-height: 1.9; color: var(--ink-2); white-space: pre-wrap; max-height: 60vh; overflow-y: auto; }
.doc h1 { font-size: 20px; color: var(--ink); }

/* ===== 页脚 ===== */
.footer { background: #0f1419; color: #9aa1a9; margin-top: 50px; padding: 40px 0 28px; }
.footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer .copy-bar { grid-template-columns: 1fr; }
.footer h4 { color: #fff; font-size: 14px; margin: 0 0 14px; }
.footer a { display: block; color: #9aa1a9; padding: 4px 0; font-size: 13px; }
.footer a:hover { color: #fff; }
.footer .copy { border-top: 1px solid #232a31; margin-top: 28px; padding-top: 18px; font-size: 12px; text-align: center; color: #6b7280; }
.footer .copy:first-of-type { border-top: 1px solid #232a31; }
.footer .copy + .copy { border-top: none; margin-top: 6px; padding-top: 0; }
.footer-company { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.footer-company-row { display: flex; align-items: flex-start; gap: 6px; font-size: 12px; color: #9aa1a9; line-height: 1.6; }
.footer-company-row .icon-sm { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--green); }
.icp-link { display: inline-block !important; margin-left: 8px; color: #9aa1a9 !important; text-decoration: none; }
.icp-link:hover { color: var(--green) !important; text-decoration: underline; }

/* 协议页：运营主体信息卡 */
.agreement-entity { background: var(--green-light); border: 1px solid #d8f0e3; border-radius: 12px; padding: 14px 18px; margin-top: 14px; display: flex; flex-direction: column; gap: 7px; }
.agreement-entity-row { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; color: var(--green-dark); line-height: 1.7; }
.agreement-entity-row .icon-sm { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }

/* 工具类 */
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.flex{display:flex}.flex-between{display:flex;justify-content:space-between;align-items:center}.gap-1{gap:8px}.gap-2{gap:16px}.center{text-align:center}.right{text-align:right}
.row-flex{display:flex;flex-wrap:wrap;gap:12px}
.empty { text-align: center; padding: 60px 20px; color: var(--ink-3); }
.empty i { width: 48px; height: 48px; margin-bottom: 12px; opacity:.4; }
.notice { background: #fffbe9; border: 1px solid #ffe7a3; color: #8a6d1a; padding: 12px 16px; border-radius: 12px; font-size: 13px; }
.divider { height: 1px; background: var(--line); margin: 18px 0; }
.spec-row { display: flex; gap: 10px; margin-bottom: 10px; }
.spec-row input { flex: 1; }
.icon-sm { width: 18px; height: 18px; }

/* 线性图标：全局线条调细；菜单栏 icon 颜色调浅（不改动文字色） */
.lucide { stroke-width: 1.5; }
.cat-strip a .lucide { color: var(--ink-3); }
.svc-side .svc-cat .lucide { color: var(--ink-3); }
.svc-cat.active .lucide { color: #fff; }
.svc-cat:hover .lucide { color: var(--green); }
.status-pill { font-size: 12px; }

/* ===== 周边服务信息平台 ===== */
.breadcrumb { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 13px; margin: 18px 0 16px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb .icon-sm { width: 14px; height: 14px; }

.svc-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
@media (max-width: 860px){ .svc-layout { grid-template-columns: 1fr; } }
.svc-side { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; position: sticky; top: 84px; }
.svc-side-block + .svc-side-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.svc-side-title { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 10px; padding-left: 4px; }
.svc-cat { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: 14px; margin-bottom: 2px; }
.svc-cat i { width: 18px; height: 18px; }
.svc-cat:hover { background: var(--green-light); color: var(--green); }
.svc-cat.active { background: var(--green); color: #fff; }

.svc-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 16px; margin-bottom: 18px; box-shadow: var(--shadow); }
.svc-search i { color: var(--ink-3); width: 18px; height: 18px; }
.svc-search input { flex: 1; border: none; outline: none; background: transparent; font-size: 14px; }
.svc-search .btn { padding: 9px 22px; border-radius: 999px; }

.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .2s; display: block; }
.svc-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--green-light); }
.svc-card-ic { width: 56px; height: 56px; border-radius: 16px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.svc-card-ic i { width: 28px; height: 28px; }
.svc-card-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--green-dark); background: var(--green-light); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.svc-card-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.svc-card-desc { color: var(--ink-3); font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.svc-card-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); gap: 8px; }
.svc-card .price { font-size: 20px; }
.svc-card .price .unit { font-size: 13px; color: var(--ink-3); font-weight: 500; }
.svc-card-meta { font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; }
.svc-card-meta .icon-sm { width: 13px; height: 13px; }

/* 服务详情 */
.svc-detail { display: grid; grid-template-columns: 1fr 340px; gap: 22px; align-items: start; }
@media (max-width: 880px){ .svc-detail { grid-template-columns: 1fr; } }
.svc-detail-head { display: flex; gap: 16px; align-items: flex-start; }
.svc-detail-ic { width: 64px; height: 64px; border-radius: 18px; background: var(--green-light); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-detail-ic i { width: 32px; height: 32px; }
.svc-detail-title { font-size: 22px; margin: 8px 0 0; font-weight: 800; }
.svc-detail-side { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 84px; }
@media (max-width: 880px){ .svc-detail-side { position: static; } }
.svc-book { padding: 22px; }
.svc-book-price { margin-bottom: 14px; }
.svc-book-price .price { font-size: 30px; font-weight: 800; }
.svc-book-price .unit { font-size: 15px; color: var(--ink-3); font-weight: 500; margin-left: 2px; }
.svc-book-row { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--ink-2); padding: 10px 0; border-top: 1px solid var(--line); }
.svc-book-label { color: var(--ink-3); }
.svc-book-more { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 14px; color: var(--green); font-size: 13px; font-weight: 600; }
.svc-book-more:hover { text-decoration: underline; }
.svc-info-card { padding: 18px; }
.svc-info-card-title { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.svc-info-card-title .icon-sm { color: var(--green); }
.svc-info-card-body { font-size: 14px; color: var(--ink-2); line-height: 1.7; }

/* 键值网格（详情/审核展示） */
.kv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 14px 0; }
.kv { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.kv-k { display: block; font-size: 12px; color: var(--ink-3); margin-bottom: 4px; }
.kv-v { font-size: 14px; font-weight: 600; color: var(--ink); }

/* 标签 chips（服务列表/详情/审核） */
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags .chip, .chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ink-2); background: #f4f6f8; border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; }
.svc-tags .chip .icon-sm, .chip .icon-sm { width: 13px; height: 13px; opacity: .7; }
.svc-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* 详情页摘要 */
.svc-summary { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin: 14px 0 4px; }

/* 详情页内容块 */
.svc-block { margin-top: 22px; }
.svc-block-title { display: flex; align-items: center; gap: 7px; font-size: 15px; font-weight: 700; color: var(--green-dark); margin-bottom: 12px; }
.svc-block-title .icon-sm { width: 18px; height: 18px; }

/* 服务亮点 */
.svc-highlights { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.svc-highlights li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.svc-highlights li .icon-sm { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 680px){ .svc-highlights { grid-template-columns: 1fr; } }

/* 服务流程时间线 */
.svc-process { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.svc-process li { display: flex; align-items: flex-start; gap: 12px; padding-bottom: 18px; position: relative; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.svc-process li:last-child { padding-bottom: 0; }
.svc-process li:not(:last-child)::before { content: ''; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--green-light); }
.svc-step-no { width: 28px; height: 28px; border-radius: 50%; background: var(--green); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 6px rgba(10,143,77,.3); }

/* 多选框组 */
.check-group { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check-group .checkbox { margin: 0; }

/* ---------- 商品详情页：标签 / 亮点 / 图文 / 包装 / 售后 / 热销榜 ---------- */
.pd-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 14px; }
.pd-tag {
  display: inline-flex; align-items: center; padding: 4px 11px;
  background: var(--green-light); color: var(--green);
  border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.5;
}
.pd-highlights {
  background: linear-gradient(135deg, #f4fbf7, #eef7f1);
  border: 1px solid #dcefe4; border-radius: 12px;
  padding: 14px 16px; margin: 14px 0;
}
.pd-h-title {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 10px;
}
.pd-highlights ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
@supports not (display: grid) { .pd-highlights ul { display: block; } }
.pd-highlights li { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 1.6; color: var(--ink-2); }
.pd-highlights li i { color: var(--green); flex: 0 0 auto; margin-top: 2px; }
.pd-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@supports not (display: grid) { .pd-images { display: block; } .pd-images img { width: 32%; margin: 6px; } }
.pd-images img { width: 100%; border-radius: 12px; background: var(--bg); aspect-ratio: 1/1; object-fit: cover; }
@media (max-width: 768px){ .pd-images { grid-template-columns: 1fr; } }

.pkg-list { display: grid; gap: 8px; }
.pkg-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.pkg-item i { color: var(--green); flex: 0 0 auto; }
.warranty-box {
  display: flex; align-items: flex-start; gap: 8px;
  background: var(--green-light); border-radius: 12px;
  padding: 12px 14px; font-size: 13px; line-height: 1.6; color: var(--ink-2);
}
.warranty-box i { color: var(--green); flex: 0 0 auto; margin-top: 2px; }
.svc-promises { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
@supports not (display: grid) { .svc-promises { display: block; } }
.svc-promise {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--ink-3);
  background: #fafbfc; border-radius: 10px; padding: 9px 12px;
}
.svc-promise i { color: var(--green); }

.rank-row {
  display: flex; align-items: center; gap: 14px;
  padding: 11px 6px; border-bottom: 1px solid var(--line);
}
.rank-row:last-child { border-bottom: none; }
.rank-row:hover .rank-name { color: var(--green); }
.rank-no {
  flex: 0 0 26px; width: 26px; height: 26px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  background: #f0f2f4; color: var(--ink-3); font-size: 12px; font-weight: 700;
}
.rank-no.top { background: var(--green); color: #fff; }
.rank-name { flex: 1; font-size: 14px; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-row .price { font-size: 15px; font-weight: 800; color: #e02020; }
