/* ===== 小草车辆上门快修 H5 ===== */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #eef1f7; color: #1f2430; font-size: 14px; line-height: 1.5;
}
.app { max-width: 440px; margin: 0 auto; min-height: 100vh; background: #eef1f7; position: relative; }
.page { padding-bottom: 78px; min-height: calc(100vh - 150px); }
a { color: inherit; }

/* 顶部栏 */
.topbar { height: 50px; display: flex; align-items: center; gap: 10px; padding: 0 14px; background: #fff; position: sticky; top: 0; z-index: 20; border-bottom: 1px solid #f0f0f0; }
.topbar.home { background: linear-gradient(135deg, #2B5CFF, #5C8BFF); color: #fff; border: 0; }
.topbar .loc { font-weight: 700; font-size: 15px; display: flex; align-items: center; }
.topbar .arr { font-size: 10px; margin-left: 2px; opacity: .85; }
.topbar .search { flex: 1; background: rgba(255,255,255,.25); color: #fff; border-radius: 20px; padding: 7px 14px; font-size: 13px; }
.topbar.home .search { background: rgba(255,255,255,.22); }
.topbar .bell { font-size: 18px; }
.topbar .back { font-size: 26px; line-height: 1; width: 30px; }
.topbar .ttl { font-size: 17px; font-weight: 700; flex: 1; text-align: center; margin-right: 30px; }
.topbar .right { width: 30px; }

/* 底部 Tab */
.tabbar { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 440px; height: 64px; background: #fff; display: flex; border-top: 1px solid #eee; z-index: 30; padding-bottom: env(safe-area-inset-bottom); }
.tabbar .tb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #9aa0ac; font-size: 11px; }
.tabbar .tb .ic { font-size: 22px; }
.tabbar .tb.on { color: #2B5CFF; }
.tabbar .tb.on .ic { transform: translateY(-1px); }

/* Banner */
.banner { margin: 12px; border-radius: 16px; padding: 20px 18px; background: linear-gradient(135deg, #2B5CFF, #00C2A8); color: #fff; position: relative; overflow: hidden; }
.banner h3 { margin: 0 0 6px; font-size: 19px; }
.banner p { margin: 0; font-size: 12.5px; opacity: .92; }
.banner .tag { display: inline-block; margin-top: 12px; background: rgba(255,255,255,.22); padding: 5px 12px; border-radius: 14px; font-size: 12px; }

/* 九宫格 */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px; }
.grid .it { background: #fff; border-radius: 14px; padding: 12px 4px; text-align: center; }
.grid .it .ic { font-size: 26px; }
.grid .it .lb { font-size: 11.5px; margin-top: 5px; color: #444; }

/* 区块标题 */
.sec-h { display: flex; align-items: center; justify-content: space-between; margin: 16px 14px 8px; }
.sec-h .t { font-size: 16px; font-weight: 800; }
.sec-h .more { font-size: 12px; color: #8a8f9c; }

/* 服务卡片（首页快捷 / 列表） */
.svcards { margin: 0 12px; }
.svcard { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 14px; margin-bottom: 10px; }
.svcard .ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; flex: 0 0 auto; }
.svcard .mid { flex: 1; }
.svcard .mid .nm { font-weight: 700; font-size: 15px; }
.svcard .mid .ds { font-size: 12px; color: #9aa0ac; margin-top: 3px; }
.svcard .rt { text-align: right; }
.svcard .rt .pr { color: #FF6A00; font-weight: 800; font-size: 15px; }
.svcard .rt .pr i { font-size: 11px; font-style: normal; }
.svcard .rt .go { margin-top: 6px; font-size: 12px; color: #2B5CFF; }

/* 通用卡片 */
.card { background: #fff; border-radius: 14px; padding: 14px; margin: 12px; }
.card .h { font-weight: 800; font-size: 15px; margin-bottom: 8px; }

/* 标签 */
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags span { font-size: 11px; color: #2B5CFF; background: #EEF3FF; padding: 3px 9px; border-radius: 9px; }

/* 详情大图 */
.detail-img { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 64px; position: relative; color: #fff; }
.detail-img .price-tag { position: absolute; left: 14px; bottom: 14px; background: rgba(0,0,0,.45); color: #fff; border-radius: 12px; padding: 8px 12px; }
.detail-img .price-tag b { font-size: 20px; }
.detail-img .price-tag i { font-style: normal; font-size: 12px; }
.detail-img .dot { position: absolute; right: 14px; top: 14px; background: rgba(0,0,0,.4); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 10px; }

/* 规格小格 */
.detail-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 14px; }
.detail-specs .s { background: #fff; border-radius: 12px; padding: 12px 6px; text-align: center; }
.detail-specs .s b { display: block; font-size: 16px; color: #2B5CFF; }
.detail-specs .s span { font-size: 11px; color: #9aa0ac; }

/* 步骤 */
.steps { display: flex; }
.steps .s { flex: 1; text-align: center; position: relative; }
.steps .s .dot { width: 26px; height: 26px; border-radius: 50%; background: #eef1f7; color: #9aa0ac; display: flex; align-items: center; justify-content: center; margin: 0 auto 5px; font-size: 13px; }
.steps .s.on .dot { background: #2B5CFF; color: #fff; }
.steps .s .lb { font-size: 11.5px; color: #666; }
.steps .s:not(:last-child):after { content: ""; position: absolute; top: 13px; left: 60%; width: 80%; height: 2px; background: #e5e9f2; }

/* 描述 / 关于 */
.detail-desc, .about { font-size: 13.5px; color: #555; line-height: 1.8; }
.detail-desc b, .about b { color: #2B5CFF; }

/* 商家/技师 */
.seller { display: flex; align-items: center; gap: 12px; }
.seller .av { width: 44px; height: 44px; border-radius: 50%; background: #EEF3FF; color: #2B5CFF; display: flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 auto; }
.seller .nm { font-weight: 700; }
.seller .meta { font-size: 12px; color: #9aa0ac; margin-top: 2px; }
.seller .go { margin-left: auto; background: #2B5CFF; color: #fff; font-size: 12.5px; padding: 7px 14px; border-radius: 16px; }

/* 按钮 */
.btn { position: sticky; bottom: 74px; margin: 14px 14px 0; background: #2B5CFF; color: #fff; text-align: center; padding: 14px; border-radius: 14px; font-weight: 700; font-size: 15px; }
.btn.orange { background: #FF7A00; }
.btn.fixed { position: fixed; bottom: 74px; left: 50%; transform: translateX(-50%); width: calc(100% - 28px); max-width: 412px; }

/* 表单 */
.frm { margin: 12px 0; }
.fld { display: flex; align-items: center; gap: 10px; background: #fff; padding: 12px 14px; border-bottom: 1px solid #f3f4f8; }
.fld label { width: 76px; font-size: 13.5px; color: #555; flex: 0 0 auto; }
.fld input, .fld select { flex: 1; border: 0; outline: 0; font-size: 14px; background: transparent; }
.fld select { appearance: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 10px 14px; background: #fff; }
.chip { font-size: 12.5px; color: #555; background: #f3f5fa; padding: 7px 14px; border-radius: 16px; }
.chip.on { background: #2B5CFF; color: #fff; }

/* 结果 */
.result { background: linear-gradient(135deg, #2B5CFF, #5C8BFF); color: #fff; border-radius: 14px; padding: 18px; margin: 12px 14px; text-align: center; }
.result .lab { font-size: 13px; opacity: .9; }
.result .rng { font-size: 26px; font-weight: 800; margin: 6px 0; }
.result .rng i { font-size: 14px; font-style: normal; }
.result .note { font-size: 12px; opacity: .92; line-height: 1.7; }

/* 筛选 Tabs */
.tabs { display: flex; background: #fff; border-radius: 12px; margin: 12px; overflow: hidden; }
.tabs .tb { flex: 1; text-align: center; padding: 11px 0; font-size: 13px; color: #666; }
.tabs .tb.on { background: #2B5CFF; color: #fff; font-weight: 700; }

/* 订单 */
.ord { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 14px; margin: 10px 12px; }
.ord .oic { font-size: 28px; width: 44px; text-align: center; }
.ord .mid { flex: 1; }
.ord .mid .ti { font-weight: 700; font-size: 14.5px; }
.ord .mid .ln { font-size: 12px; color: #9aa0ac; margin-top: 3px; }
.ord .mid .tm { font-size: 11px; color: #bbb; margin-top: 2px; }
.ord .rt { text-align: right; }
.ord .rt .st { font-size: 12.5px; color: #2B5CFF; font-weight: 700; }
.ord .rt .amt { font-size: 12px; color: #FF6A00; margin-top: 3px; }
.empty { text-align: center; color: #9aa0ac; padding: 40px 0; font-size: 13px; }

/* 个人中心 */
.me-h { background: linear-gradient(135deg, #2B5CFF, #5C8BFF); color: #fff; padding: 26px 18px 22px; display: flex; align-items: center; gap: 14px; }
.me-h .av { width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.25); display: flex; align-items: center; justify-content: center; font-size: 30px; }
.me-h .nm { font-size: 18px; font-weight: 800; }
.me-h .vip { font-size: 12px; margin-top: 4px; background: rgba(255,255,255,.2); display: inline-block; padding: 2px 10px; border-radius: 12px; }
.me-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 12px; }
.me-grid .it { background: #fff; border-radius: 12px; padding: 14px 4px; text-align: center; }
.me-grid .it .ic { font-size: 24px; }
.me-grid .it .lb { font-size: 11.5px; margin-top: 5px; color: #444; }
.invite { display: flex; align-items: center; gap: 12px; margin: 12px; background: linear-gradient(135deg, #FF8A3D, #FF6A00); color: #fff; border-radius: 14px; padding: 14px; }
.invite .em { font-size: 28px; }
.invite .tx { flex: 1; }
.invite .tx b { font-size: 14px; }
.invite .tx span { display: block; font-size: 11.5px; opacity: .92; margin-top: 2px; }
.invite .btn2 { background: #fff; color: #FF6A00; font-size: 12.5px; font-weight: 700; padding: 7px 14px; border-radius: 16px; }

/* 钱包 */
.wallet-top { margin: 12px; border-radius: 16px; padding: 22px 18px; background: linear-gradient(135deg, #2B5CFF, #00C2A8); color: #fff; }
.wallet-top .bal { font-size: 13px; opacity: .9; }
.wallet-top .num { font-size: 30px; font-weight: 800; margin: 4px 0 14px; }
.wallet-top .acts { display: flex; gap: 20px; }
.wallet-top .acts div { font-size: 12.5px; }
.wallet-top .acts b { display: block; font-size: 16px; margin-top: 2px; }

/* 优惠券 */
.coupon { display: flex; align-items: center; gap: 14px; margin: 10px 12px; background: #fff; border-radius: 14px; padding: 14px; }
.coupon .vr { width: 64px; height: 64px; border-radius: 12px; color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; flex: 0 0 auto; }
.coupon .vr b { font-size: 18px; }
.coupon .vr span { font-size: 10px; }
.coupon .mid { flex: 1; }
.coupon .mid .ti { font-weight: 700; }
.coupon .mid .ln { font-size: 12px; color: #9aa0ac; margin-top: 3px; }
.coupon .use { background: #FFF1E8; color: #FF6A00; font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 16px; }

/* 消息 */
.msg { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 13px 14px; margin: 10px 12px; }
.msg .mic { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex: 0 0 auto; }
.msg .mic.a { background: #EEF3FF; color: #2B5CFF; }
.msg .mic.b { background: #FFF1E8; color: #FF6A00; }
.msg .mic.c { background: #E9FBF3; color: #00B074; }
.msg .mid { flex: 1; }
.msg .mid .ti { font-weight: 700; font-size: 14px; }
.msg .mid .ti .tm { float: right; font-size: 11px; color: #bbb; font-weight: 400; }
.msg .mid .sn { font-size: 12px; color: #9aa0ac; margin-top: 3px; }

/* 门店 */
.store { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 14px; padding: 14px; margin: 10px 12px; }
.store .lo { font-size: 26px; }
.store .mid { flex: 1; }
.store .mid .nm { font-weight: 700; }
.store .mid .ln { font-size: 12px; color: #9aa0ac; margin-top: 3px; }
.store .op { background: #2B5CFF; color: #fff; font-size: 12px; padding: 6px 12px; border-radius: 14px; }

/* 预约小信息 */
.bookinfo { display: flex; gap: 12px; background: #fff; border-radius: 14px; padding: 14px; margin: 12px; }
.bookinfo .ico { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: #fff; flex: 0 0 auto; }
.bookinfo .mid .nm { font-weight: 700; font-size: 15px; }
.bookinfo .mid .pr { color: #FF6A00; font-weight: 700; margin-top: 3px; }
