/* ============================================================
   姚姚租车 - 移动端设计系统 V4（懂车帝风：浅色清爽 · 红色主调）
   白底浅灰背景 + 红色点缀；布局：居中 480px 手机壳式；图标：SVG 线条图标
   ============================================================ */

:root {
  --primary: #ff2f2f;
  --primary-deep: #d92020;
  --primary-light: #ffecec;
  --red-grad: linear-gradient(135deg, #ff4d4d 0%, #e02020 100%);
  --bg: #f7f8fa;
  --card: #ffffff;
  --card-2: #f2f3f5;
  --text: #1a1a1a;
  --text-2: #64686e;
  --text-3: #9aa0a6;
  --line: #eceef1;
  --danger: #ff2f2f;
  --success: #00b96b;
  --warning: #ff8f1f;
  --gold: #ff6a3d;
  --radius: 14px;
  --shadow: 0 4px 14px rgba(20,30,60,.06);
  --tabbar-h: 56px;
  --header-h: 52px;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--text); border: none; outline: none; background: none; }

img { display: block; max-width: 100%; }

/* ---------- 手机壳布局 ---------- */
.app {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
  position: relative;
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
}
.app.no-tab { padding-bottom: 0; }

/* ---------- 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; gap: 8px;
  padding: 0 14px;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.header .htitle { font-size: 17px; font-weight: 700; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.header .hbtn {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  background: transparent;
}
.header .hbtn:active { background: var(--card-2); }
.header .icon { width: 22px; height: 22px; }

/* ---------- 图标 ---------- */
.icon {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-lg { width: 26px; height: 26px; }
.icon-xl { width: 34px; height: 34px; }

/* ---------- 底部 TabBar ---------- */
.tabbar {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: 0; z-index: 200;
  width: 100%; max-width: 480px;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--card);
  border-top: 1px solid var(--line);
  display: flex;
}
.tabbar .tab {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  color: var(--text-3);
  font-size: 11px;
}
.tabbar .tab .icon { width: 23px; height: 23px; }
.tabbar .tab.active { color: var(--primary); font-weight: 600; }

/* ---------- 卡片 ---------- */
.card {
  background: var(--card);
  border-radius: var(--radius);
  margin: 12px;
  padding: 14px;
  box-shadow: var(--shadow);
}
.card-title {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 16px; font-weight: 700; margin-bottom: 12px;
}
.card-title .more { font-size: 13px; color: var(--text-3); font-weight: 400; display: flex; align-items: center; }
.card-title .more .icon { width: 15px; height: 15px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 22px;
  border-radius: 22px;
  font-size: 15px; font-weight: 600;
  background: var(--red-grad); color: #fff;
  transition: opacity .15s;
  box-shadow: 0 4px 12px rgba(255,47,47,.25);
}
.btn:active { opacity: .85; }
.btn.block { width: 100%; }
.btn.lg { height: 48px; border-radius: 24px; font-size: 16px; }
.btn.ghost { background: var(--primary-light); color: var(--primary); box-shadow: none; }
.btn.gray { background: var(--card-2); color: var(--text-2); box-shadow: none; }
.btn.danger { background: var(--danger); }
.btn.warn { background: var(--warning); }
.btn.sm { height: 32px; padding: 0 14px; font-size: 13px; border-radius: 16px; box-shadow: none; }
.btn:disabled { opacity: .5; pointer-events: none; }

/* ---------- 徽标 ---------- */
.badge {
  display: inline-flex; align-items: center;
  padding: 2px 8px; border-radius: 6px;
  font-size: 11px; font-weight: 600;
}
.badge.blue { background: var(--primary-light); color: var(--primary); }
.badge.green { background: #e8f8f0; color: var(--success); }
.badge.orange { background: #fff3e4; color: var(--warning); }
.badge.red { background: var(--primary-light); color: var(--primary); }
.badge.gray { background: var(--card-2); color: var(--text-3); }

/* ---------- 表单 ---------- */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 8px; font-weight: 600; }
.form-input, .form-select, .form-textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  background: var(--card-2);
  border: 1px solid transparent;
  border-radius: 12px;
  transition: border-color .15s, background .15s;
}
.form-textarea { height: auto; padding: 12px 14px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: #fff;
}
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239aa0a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-textarea::-webkit-input-placeholder, .form-input::-webkit-input-placeholder { color: var(--text-3); }

/* 验证码行 */
.code-row { display: flex; gap: 10px; }
.code-row .form-input { flex: 1; }
.code-btn {
  width: 112px; height: 46px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.code-btn:disabled { color: var(--text-3); background: var(--card-2); }

/* ---------- 列表行 ---------- */
.cell {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cell:last-child { border-bottom: none; }
.cell .cell-ic {
  width: 38px; height: 38px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary-light); color: var(--primary);
  flex-shrink: 0;
}
.cell .cell-ic.green { background: #e8f8f0; color: var(--success); }
.cell .cell-ic.orange { background: #fff3e4; color: var(--warning); }
.cell .cell-ic.red { background: var(--primary-light); color: var(--primary); }
.cell .cell-ic.purple { background: #f3eefe; color: #7a5af8; }
.cell .cell-body { flex: 1; min-width: 0; }
.cell .cell-t { font-size: 15px; font-weight: 600; }
.cell .cell-d { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.cell .icon { color: var(--text-3); }

/* ---------- 搜索 ---------- */
.search-box {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  background: var(--card-2); border-radius: 20px;
  color: var(--text-3);
  flex: 1;
}
.search-box .icon { width: 18px; height: 18px; }
.search-box input { flex: 1; font-size: 14px; background: none; }
.search-box input::-webkit-input-placeholder { color: var(--text-3); }

/* ---------- 轮播 ---------- */
.swiper { position: relative; margin: 12px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 750/320; background: var(--card-2); }
.swiper .track { display: flex; height: 100%; transition: transform .35s ease; }
.swiper .slide { flex-shrink: 0; width: 100%; height: 100%; position: relative; }
.swiper .slide img { width: 100%; height: 100%; object-fit: cover; }
.swiper .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.swiper .dots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.6); transition: all .2s; }
.swiper .dots i.on { width: 16px; background: var(--primary); }
.swiper .slide .sc-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(180deg, rgba(10,16,30,0), rgba(10,16,30,.62)); color: #fff; display: flex; flex-direction: column; gap: 2px; pointer-events: none; }
.swiper .slide .sc-caption i { font-style: normal; font-size: 15px; font-weight: 700; }
.swiper .slide .sc-caption em { font-style: normal; font-size: 11px; opacity: .85; }

/* ---------- 车辆卡片 ---------- */
.car-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.car-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); display: block;
}
.car-card .thumb { aspect-ratio: 4/3; background: var(--card-2); position: relative; }
.car-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.car-card .tag {
  position: absolute; left: 8px; top: 8px;
  background: rgba(255,47,47,.92); color: #fff;
  font-size: 11px; padding: 2px 8px; border-radius: 6px;
}
.car-card .body { padding: 10px 12px 12px; }
.car-card .name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-card .meta { display: flex; align-items: center; gap: 10px; color: var(--text-3); font-size: 11px; margin: 6px 0 8px; }
.car-card .meta span { display: flex; align-items: center; gap: 3px; }
.car-card .meta .icon { width: 13px; height: 13px; }
.car-card .price { display: flex; align-items: baseline; justify-content: space-between; }
.car-card .price .num { color: var(--primary); font-size: 18px; font-weight: 800; }
.car-card .price .num small { font-size: 12px; font-weight: 600; }
.car-card .price .unit { color: var(--text-3); font-size: 11px; }

/* ---------- 快捷入口 ---------- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px 0; }
.quick-item { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 0; border-radius: 12px; }
.quick-item:active { background: var(--card-2); }
.quick-item .qic {
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--red-grad); color: #fff;
}
.quick-item .qic.orange { background: linear-gradient(135deg, #ffb15c, #ff8f1f); }
.quick-item .qic.green { background: linear-gradient(135deg, #3fd68f, #18a058); }
.quick-item .qic.purple { background: linear-gradient(135deg, #a38bff, #7a5af8); }
.quick-item .qic.red { background: linear-gradient(135deg, #ff8a8a, #f5424f); }
.quick-item .qic .icon { width: 22px; height: 22px; }
.quick-item span { font-size: 12px; color: var(--text); }

/* ---------- 保障条 ---------- */
.guarantee { display: flex; justify-content: space-between; padding: 6px 0; }
.guarantee .g-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.guarantee .g-item .icon { width: 17px; height: 17px; color: var(--primary); }

/* ---------- 车辆详情 ---------- */
.detail-gallery { position: relative; background: #eef0f4; }
.detail-gallery .track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.detail-gallery .track .slide { flex-shrink: 0; width: 100%; scroll-snap-align: center; aspect-ratio: 4/3; }
.detail-gallery .track img { width: 100%; height: 100%; object-fit: cover; }
.detail-gallery .g-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; padding: 2px 10px; border-radius: 12px; }
.detail-gallery .g-back { position: absolute; left: 12px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.4); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 5; }
.detail-gallery .g-back .icon { width: 20px; height: 20px; }

.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.spec-grid .spec { background: #fff; padding: 10px 12px; display: flex; align-items: center; gap: 8px; }
.spec-grid .spec .icon { width: 18px; height: 18px; color: var(--primary); }
.spec-grid .spec b { display: block; font-size: 13px; }
.spec-grid .spec span { font-size: 11px; color: var(--text-3); }

.price-seg { display: flex; background: var(--card-2); border-radius: 12px; padding: 3px; gap: 3px; }
.price-seg .seg { flex: 1; text-align: center; padding: 9px 0; border-radius: 10px; font-size: 13px; color: var(--text-2); }
.price-seg .seg b { display: block; font-size: 16px; }
.price-seg .seg.on { background: #fff; color: var(--primary); box-shadow: 0 2px 8px rgba(20,30,60,.08); font-weight: 700; }
.price-seg .seg.on b { color: var(--primary); }

/* ---------- 底部提交栏 ---------- */
.submit-bar {
  position: sticky; bottom: 0; z-index: 90;
  background: var(--card); border-top: 1px solid var(--line);
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 12px;
}
.submit-bar .sb-price { flex: 1; }
.submit-bar .sb-price .t { font-size: 11px; color: var(--text-3); }
.submit-bar .sb-price .n { color: var(--primary); font-size: 22px; font-weight: 800; }
.submit-bar .sb-price .n small { font-size: 13px; }

/* ---------- 个人中心 ---------- */
.user-hero {
  background: linear-gradient(135deg, #ff4d4d 0%, #d92020 70%);
  color: #fff;
  padding: 26px 18px 22px;
  border-radius: 0 0 22px 22px;
}
.user-hero .u-row { display: flex; align-items: center; gap: 14px; }
.user-avatar {
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(255,255,255,.2); border: 2px solid rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.user-avatar .icon { width: 30px; height: 30px; }
.user-hero .u-name { font-size: 18px; font-weight: 700; }
.user-hero .u-phone { font-size: 13px; opacity: .85; margin-top: 4px; }
.user-hero .u-edit { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 13px; opacity: .9; }
.user-hero .u-edit .icon { width: 16px; height: 16px; }

.order-entry { display: flex; background: var(--card); border-radius: var(--radius); margin: 12px; padding: 14px 6px; box-shadow: var(--shadow); }
.order-entry .oe { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); position: relative; }
.order-entry .oe .icon { width: 24px; height: 24px; color: var(--primary); }
.order-entry .oe .cnt {
  position: absolute; top: -8px; right: 24%;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--primary); color: #fff; border-radius: 8px;
  font-size: 10px; display: flex; align-items: center; justify-content: center;
}

/* ---------- 订单卡片 ---------- */
.order-card { background: var(--card); border-radius: var(--radius); margin: 12px; overflow: hidden; box-shadow: var(--shadow); }
.order-card .oc-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 0; font-size: 12px; color: var(--text-3); }
.order-card .oc-body { display: flex; gap: 12px; padding: 12px 14px; align-items: center; }
.order-card .oc-thumb { width: 92px; height: 66px; border-radius: 10px; overflow: hidden; background: var(--card-2); flex-shrink: 0; }
.order-card .oc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.order-card .oc-info { flex: 1; min-width: 0; }
.order-card .oc-name { font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.order-card .oc-meta { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.order-card .oc-price { font-size: 15px; font-weight: 700; margin-top: 6px; }
.order-card .oc-price em { color: var(--primary); font-style: normal; }
.order-card .oc-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); }

/* ---------- Tabs ---------- */
.scroll-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 12px 0; scrollbar-width: none; }
.scroll-tabs::-webkit-scrollbar { display: none; }
.scroll-tabs .st {
  flex-shrink: 0; padding: 8px 18px; border-radius: 18px;
  background: var(--card); color: var(--text-2); font-size: 13px;
  border: 1px solid var(--line);
}
.scroll-tabs .st.on { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 600; }

/* ---------- Toast / 弹窗 ---------- */
#toast-wrap { position: fixed; left: 0; right: 0; top: 42%; z-index: 999; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  background: rgba(20,24,34,.88); color: #fff;
  padding: 10px 20px; border-radius: 12px;
  font-size: 14px; max-width: 72%;
  animation: toastIn .2s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.modal-mask {
  position: fixed; inset: 0; z-index: 800;
  background: rgba(10,14,24,.5);
  display: none; align-items: center; justify-content: center;
}
.modal-mask.show { display: flex; }
.modal {
  width: 82%; max-width: 360px;
  background: #fff; border-radius: 18px; padding: 22px;
  animation: toastIn .2s ease;
}
.modal .m-title { font-size: 17px; font-weight: 700; text-align: center; }
.modal .m-body { font-size: 14px; color: var(--text-2); text-align: center; margin: 14px 0 20px; line-height: 1.7; }
.modal .m-actions { display: flex; gap: 12px; }
.modal .m-actions .btn { flex: 1; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.empty .icon { width: 56px; height: 56px; stroke-width: 1.4; margin: 0 auto 14px; opacity: .5; display: block; }
.empty p { font-size: 14px; }

/* ---------- 登录页 ---------- */
.login-hero {
  background: linear-gradient(160deg, #ff4d4d 0%, #d92020 75%);
  color: #fff; padding: 48px 26px 90px; border-radius: 0 0 34px 34px;
}
.login-hero .lg-logo { display: flex; align-items: center; gap: 12px; }
.login-hero .lg-logo .lgo { width: 52px; height: 52px; background: #fff; border-radius: 15px; display: flex; align-items: center; justify-content: center; color: var(--primary); }
.login-hero .lg-logo .lgo .icon { width: 30px; height: 30px; }
.login-hero h1 { font-size: 24px; font-weight: 800; }
.login-hero p { font-size: 13px; opacity: .85; margin-top: 4px; }
.login-panel { margin: -52px 18px 20px; background: #fff; border-radius: 20px; padding: 24px 20px; box-shadow: var(--shadow); }
.login-tabs { display: flex; gap: 22px; margin-bottom: 22px; }
.login-tabs .lt { font-size: 15px; color: var(--text-3); padding-bottom: 8px; position: relative; }
.login-tabs .lt.on { color: var(--text); font-weight: 700; }
.login-tabs .lt.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 2px; background: var(--primary); }

/* ---------- 优惠/横幅卡片 ---------- */
.promo {
  margin: 12px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(120deg, #ff6a3d, #ff2f2f);
  color: #fff; display: flex; align-items: center; padding: 16px;
}
.promo .p-ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; margin-right: 12px; }
.promo h3 { font-size: 16px; }
.promo p { font-size: 12px; opacity: .92; margin-top: 2px; }
.promo .p-btn { margin-left: auto; background: #fff; color: #ff2f2f; border-radius: 18px; padding: 8px 16px; font-size: 13px; font-weight: 700; }

/* ---------- 步骤条 ---------- */
.steps { display: flex; }
.steps .step { flex: 1; text-align: center; position: relative; }
.steps .step .s-ic { width: 42px; height: 42px; margin: 0 auto 8px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; }
.steps .step .s-ic.orange { background: #fff3e4; color: var(--warning); }
.steps .step .s-ic.green { background: #e8f8f0; color: var(--success); }
.steps .step .s-ic.purple { background: #f3eefe; color: #7a5af8; }
.steps .step .s-ic .icon { width: 20px; height: 20px; }
.steps .step b { display: block; font-size: 13px; }
.steps .step span { font-size: 11px; color: var(--text-3); display: block; margin-top: 2px; padding: 0 6px; }
.steps .step:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 60%; width: 80%; height: 2px; background: var(--line); }

/* ---------- 计算器结果 ---------- */
.calc-result {
  background: linear-gradient(135deg, #ff4d4d, #d92020);
  color: #fff; border-radius: var(--radius); padding: 18px; margin-bottom: 16px;
  display: flex; justify-content: space-around; text-align: center;
}
.calc-result .cr-item b { display: block; font-size: 22px; font-weight: 800; margin-top: 4px; }
.calc-result .cr-item span { font-size: 12px; opacity: .85; }

/* ---------- 表格/信息行（订单详情） ---------- */
.info-list { background: var(--card); border-radius: var(--radius); margin: 12px; padding: 4px 14px; box-shadow: var(--shadow); }
.info-list .il { display: flex; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.info-list .il:last-child { border-bottom: none; }
.info-list .il .k { color: var(--text-3); width: 96px; flex-shrink: 0; }
.info-list .il .v { flex: 1; text-align: right; word-break: break-all; }

/* ---------- 分段说明 ---------- */
.tip { font-size: 12px; color: var(--text-3); line-height: 1.8; }
.tip .icon { width: 14px; height: 14px; vertical-align: -2px; }

/* ---------- 工具 ---------- */
.mt12 { margin-top: 12px; }
.mb12 { margin-bottom: 12px; }
.flex { display: flex; align-items: center; gap: 8px; }
.between { justify-content: space-between; }
.danger { color: var(--danger); }
.muted { color: var(--text-3); }
.section-title { font-size: 16px; font-weight: 700; padding: 14px 14px 4px; display: flex; align-items: center; gap: 8px; }
.section-title .icon { color: var(--primary); }

/* ============================================================
   首页 V4 增强样式（懂车帝风）
   ============================================================ */

/* ---------- 首页浅色品牌头 ---------- */
.header.home {
  background: linear-gradient(180deg, #fff 0%, #fbfbfc 100%);
  border-bottom: none;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  height: auto;
  padding: 14px 14px 12px;
}
.header.home .hh-top { display: flex; align-items: center; gap: 10px; }
.header.home .hh-logo {
  width: 44px; height: 44px; border-radius: 14px;
  background: #fff; display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(255,47,47,.22);
}
.header.home .hh-logo img { width: 44px; height: 44px; object-fit: cover; }
.header.home .hh-brand { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0; }
.header.home .hh-brand b { color: var(--text); font-size: 19px; font-weight: 800; letter-spacing: .5px; }
.header.home .hh-brand span { color: var(--text-3); font-size: 11px; }
.header.home .hh-tel {
  display: inline-flex; align-items: center; gap: 5px;
  height: 34px; padding: 0 13px; border-radius: 17px;
  background: var(--red-grad); color: #fff;
  font-size: 12px; font-weight: 600;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,47,47,.28);
}
.header.home .hh-tel .icon { width: 16px; height: 16px; }
.header.home .hh-tel:active { opacity: .9; }

/* 首页搜索栏 */
.header.home .hh-search {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 6px 0 14px; margin-top: 12px;
  background: var(--card-2); border-radius: 20px;
}
.header.home .hh-search .icon { width: 17px; height: 17px; color: var(--text-3); }
.header.home .hh-search input { flex: 1; font-size: 13px; color: var(--text); }
.header.home .hh-search input::-webkit-input-placeholder { color: var(--text-3); }
.header.home .hh-search button {
  height: 30px; padding: 0 16px; border-radius: 15px;
  background: var(--red-grad); color: #fff;
  font-size: 13px; font-weight: 700;
}

/* ---------- 快捷入口（5 格） ---------- */
.quick-card { padding: 10px 6px; }
.quick-grid { grid-template-columns: repeat(5, 1fr); gap: 2px; }
.quick-item { gap: 7px; padding: 10px 0; }
.quick-item .qic { width: 42px; height: 42px; border-radius: 13px; }
.quick-item .qic .icon { width: 21px; height: 21px; }
.quick-item .qic.red { background: linear-gradient(135deg, #ff8a8a, #f5424f); }
.quick-item span { font-size: 11px; }

/* ---------- 以租代购专区 ---------- */
.promo-v2 {
  margin: 12px; border-radius: 16px; overflow: hidden;
  background: linear-gradient(130deg, #ff6a3d 0%, #ff2f2f 60%, #e02020 100%);
  color: #fff; padding: 16px 16px 14px;
  position: relative;
}
.promo-v2::after {
  content: ""; position: absolute; right: -40px; top: -40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.promo-v2 .pv-head { display: flex; align-items: center; gap: 12px; position: relative; z-index: 1; }
.promo-v2 .pv-ic {
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: rgba(255,255,255,.22);
  display: flex; align-items: center; justify-content: center;
}
.promo-v2 .pv-head h3 { font-size: 16px; font-weight: 800; }
.promo-v2 .pv-head p { font-size: 11px; opacity: .9; margin-top: 2px; }
.promo-v2 .pv-data {
  display: flex; margin: 14px 0 12px; position: relative; z-index: 1;
  background: rgba(255,255,255,.14); border-radius: 12px; padding: 10px 4px;
}
.promo-v2 .pv-item { flex: 1; text-align: center; }
.promo-v2 .pv-item + .pv-item { border-left: 1px solid rgba(255,255,255,.2); }
.promo-v2 .pv-item b { display: block; font-size: 17px; font-weight: 800; }
.promo-v2 .pv-item span { font-size: 10px; opacity: .85; }
.promo-v2 .pv-btn {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  height: 38px; border-radius: 19px;
  background: #fff; color: #ff2f2f;
  font-size: 14px; font-weight: 700;
  position: relative; z-index: 1;
}
.promo-v2 .pv-btn:active { opacity: .9; }
.promo-v2 .pv-btn .icon { width: 16px; height: 16px; }

/* ---------- 区块标题（查看更多） ---------- */
.section-title .more {
  margin-left: auto; font-size: 12px; color: var(--text-3); font-weight: 400;
  display: flex; align-items: center; gap: 1px;
}
.section-title .more .icon { width: 14px; height: 14px; color: var(--text-3); }

/* ---------- 车辆卡片增强 ---------- */
.car-card .ribbon {
  position: absolute; right: 8px; top: 8px;
  background: var(--red-grad); color: #fff;
  font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 6px;
  box-shadow: 0 3px 8px rgba(255,47,47,.35);
}
.car-card .price .num { font-size: 20px; }
.car-card .price-sub {
  margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line);
  font-size: 11px; color: var(--text-2); display: flex; align-items: center; gap: 4px;
}
.car-card .price-sub::before { content: "月租"; color: var(--text-3); }

/* ---------- 服务优势 2x2 ---------- */
.adv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 12px; }
.adv-card {
  background: var(--card); border-radius: var(--radius);
  padding: 16px 14px; box-shadow: var(--shadow);
}
.adv-card .a-ic {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.adv-card .a-ic.green { background: #e8f8f0; color: var(--success); }
.adv-card .a-ic.orange { background: #fff3e4; color: var(--warning); }
.adv-card .a-ic.purple { background: #f3eefe; color: #7a5af8; }
.adv-card .a-ic .icon { width: 20px; height: 20px; }
.adv-card b { display: block; font-size: 14px; font-weight: 700; }
.adv-card p { font-size: 11px; color: var(--text-3); margin-top: 4px; line-height: 1.5; }

/* ---------- 悬浮电话 ---------- */
.float-tel {
  position: fixed; right: 16px; bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 150;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--red-grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(255,47,47,.4);
}
.float-tel .icon { width: 24px; height: 24px; }
.float-tel::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  background: rgba(255,47,47,.25);
  animation: ftPulse 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes ftPulse {
  0% { transform: scale(.85); opacity: .8; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(.85); opacity: 0; }
}