/* ===== 移动端 5-tab 框架 ===== */
* { box-sizing: border-box; }
.m-body { margin: 0; background: var(--bg); color: var(--text); font-size: 15px;
  font-family: -apple-system, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  padding-bottom: 56px; -webkit-text-size-adjust: 100%; }
.m-body img { max-width: 100%; display: block; }

/* 顶部栏 */
.m-header { position: sticky; top: 0; z-index: 50; background: var(--primary); color: #fff;
  display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 12px; }
.m-menu-btn { background: none; border: 1px solid rgba(255,255,255,.5); color: #fff; border-radius: 6px;
  font-size: 18px; padding: 2px 9px; cursor: pointer; }
.m-logo { display:flex;align-items:center;gap:6px; color: #fff; font-weight: 700; font-size: 15px; white-space: nowrap; flex: 1; }
.m-logo img{height:28px;width:auto;object-fit:contain}
.m-lang { display: flex; align-items: center; gap: 8px; }
.m-wa-ico { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 50%; color: #fff; transition: .15s; }
.m-wa-ico svg { width: 18px; height: 18px; }
.m-wa-ico:hover, .m-wa-ico:active { background: #25d366; border-color: #25d366; color: #fff; }
.m-lang .lang-switcher { position: relative; }
.m-lang .lang-trigger { display: inline-flex; align-items: center; gap: 4px; background: transparent;
  border: 1px solid rgba(255,255,255,.5); border-radius: 12px; color: #fff; font-size: 12px;
  padding: 3px 8px; cursor: pointer; line-height: 1; }
.m-lang .lang-globe { display: block; color: #fff; }
.m-lang .lang-trigger-label { white-space: nowrap; }
.m-lang .lang-caret { display: block; color: #fff; transition: transform .15s; }
.m-lang .lang-switcher.open .lang-caret { transform: rotate(180deg); }
.m-lang .lang-menu { position: absolute; top: calc(100% + 6px); right: 0; min-width: 110px;
  list-style: none; margin: 0; padding: 5px; background: var(--primary);
  border: 1px solid rgba(255,255,255,.25); border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.25);
  display: none; z-index: 60; }
.m-lang .lang-switcher.open .lang-menu { display: block; }
.m-lang .lang-menu .lang-option { display: block; padding: 8px 12px; border-radius: 7px;
  color: #fff; font-size: 13px; text-decoration: none; white-space: nowrap; }
.m-lang .lang-menu .lang-option:hover { background: rgba(255,255,255,.15); }
.m-lang .lang-menu .lang-option.active { background: #fff; color: var(--primary); font-weight: 700; }

/* 抽屉菜单 */
.m-drawer { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100; display: none; }
.m-drawer.open { display: block; }
.m-drawer-inner { position: absolute; left: 0; top: 0; bottom: 0; width: 72%; max-width: 300px;
  background: #fff; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; overflow-y: auto; }
.m-drawer-inner a { padding: 12px 10px; border-radius: 8px; color: var(--text); font-size: 16px; }
.m-drawer-inner a:hover { background: var(--bg); }
.m-drawer-inner hr { border: 0; border-top: 1px solid var(--border); margin: 8px 0; }

/* 主区域 */
.m-main { padding: 12px; min-height: 70vh; }

/* 搜索区 */
.m-search { display: flex; gap: 8px; margin-bottom: 14px; }
.m-search input { flex: 1; padding: 11px 14px; border: 1px solid var(--border); border-radius: 22px; font-size: 15px; }
.m-search button { background: var(--primary); color: #fff; border: 0; border-radius: 22px; padding: 0 18px; font-weight: 600; }

/* 顶部 2 栏切换（二手车 自营/寄售） */
.m-seg { display: flex; background: var(--bg); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.m-seg a { flex: 1; text-align: center; padding: 9px 0; color: var(--muted); font-weight: 600; font-size: 14px; }
.m-seg a.active { background: var(--primary); color: #fff; }

/* 筛选条 */
.m-filter-toggle { display: flex; align-items: center; justify-content: space-between; padding: 9px 12px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; cursor: pointer; font-weight: 600; }
.m-filter-panel { display: none; background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 12px; margin-bottom: 12px; }
.m-filter-panel.open { display: block; }
.m-filter-panel .row { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; margin-bottom: 8px; }
.m-filter-panel label { font-size: 12px; color: var(--muted); display: block; margin-bottom: 3px; }
.m-filter-panel input, .m-filter-panel select { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; }
.m-filter-panel .actions { display: flex; gap: 8px; margin-top: 6px; }

/* 2 列网格卡片 */
.m-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.m-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.m-card .thumb { position: relative; aspect-ratio: 4/3; background: #e9edf2; }
.m-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-card .badge { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; padding: 2px 7px; border-radius: 8px; }
.m-card .vip { position: absolute; top: 6px; right: 6px; background: var(--accent); color: #1f2933; font-size: 11px; padding: 2px 7px; border-radius: 8px; font-weight: 700; }
.m-card .body { padding: 8px 10px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.m-card .title { font-weight: 700; font-size: 14px; line-height: 1.3; }
.m-card .meta { color: var(--muted); font-size: 12px; }
.m-card .price { color: var(--primary); font-weight: 700; font-size: 15px; margin-top: auto; }

/* 单列列表（出海/要闻） */
.m-list { display: flex; flex-direction: column; gap: 10px; }
.m-list-item { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; display: flex; gap: 12px; padding: 10px; }
.m-list-item .thumb { width: 110px; min-width: 110px; aspect-ratio: 16/10; background: #e9edf2; border-radius: 8px; overflow: hidden; }
.m-list-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-list-item .thumb video { width: 100%; height: 100%; object-fit: cover; }
.m-list-item .info { flex: 1; min-width: 0; }
.m-list-item .title { font-weight: 700; font-size: 15px; line-height: 1.35; }
.m-list-item .summary { color: var(--muted); font-size: 13px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Banner 区 */
.m-banner-wrap { margin: 12px 14px 4px; }
.m-banner { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.m-banner::-webkit-scrollbar { display: none; }
.m-banner .b-item { flex: 0 0 100%; scroll-snap-align: start; border-radius: 14px; overflow: hidden; position: relative; background: #000; aspect-ratio: 16/9; display: block; }
.m-banner .b-item img, .m-banner .b-item video { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-banner .b-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px 10px; color: #fff;
  font-weight: 700; font-size: 16px; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.m-banner-dots { display: flex; justify-content: center; gap: 6px; padding: 8px 0 2px; }
.m-banner-dots .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: .2s; cursor: pointer; }
.m-banner-dots .dot.on { background: var(--primary); width: 18px; border-radius: 4px; }

/* 加载哨兵 */
.m-sentinel { text-align: center; color: var(--muted); font-size: 13px; padding: 16px 0; }
.m-sentinel .spinner { display: inline-block; width: 18px; height: 18px; border: 2px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: mspin .8s linear infinite; vertical-align: -3px; margin-right: 6px; }
@keyframes mspin { to { transform: rotate(360deg); } }

/* 分段标题 */
.m-section-title { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 12px; }
.m-section-title h2 { font-size: 18px; margin: 0; }
.m-section-title .more { color: var(--primary); font-size: 13px; }

/* 详情页 */
.m-detail { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.m-detail .hero-img { width: 100%; aspect-ratio: 16/10; background: #e9edf2; }
.m-detail .hero-img img, .m-detail .hero-img video { width: 100%; height: 100%; object-fit: cover; }
.m-detail .d-body { padding: 14px; }
.m-detail .d-title { font-size: 20px; font-weight: 700; margin: 0 0 6px; }
.m-detail .d-price { color: var(--primary); font-weight: 700; font-size: 22px; margin: 6px 0 12px; }
.m-detail .d-spec { border-top: 1px solid var(--border); }
.m-detail .d-spec .r { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.m-detail .d-spec .r .k { color: var(--muted); }
.m-back { display: inline-flex; align-items: center; gap: 4px; margin: 4px 0 12px; color: var(--primary); font-weight: 600; cursor: pointer; }

/* 底部 tabbar */
.m-tabbar { position: fixed; left: 0; right: 0; bottom: 0; height: 56px; background: #fff; border-top: 1px solid var(--border);
  display: flex; z-index: 60; box-shadow: 0 -2px 10px rgba(0,0,0,.06); }
.m-tab { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--muted); text-decoration: none; font-size: 11px; }
.m-tab .m-tab-icon { font-size: 20px; line-height: 1; }
.m-tab.active { color: var(--primary); font-weight: 700; }
.m-tab.active .m-tab-icon { transform: translateY(-1px); }

/* ===== 移动端公司介绍页 ===== */
.m-company { padding: 8px 0 18px; }
.m-company-hero { text-align: center; padding: 14px 8px 10px; background: linear-gradient(180deg,#f3f8fd 0%,#fff 100%); margin: 0 -8px 4px; }
.m-company-hero .brand-eyebrow { display: inline-block; letter-spacing: 1px; font-weight: 700; color: var(--primary); font-size: 12px; margin: 0 0 6px; }
.m-company-hero h1 { font-size: 21px; margin: 0 0 6px; }
.m-company-hero .slogan { color: var(--muted); font-size: 13px; margin: 0 0 8px; }
.m-company-hero .hero-tagline { margin: 0; font-weight: 700; color: #1f3a52; font-size: 12px; letter-spacing: .3px; }
.m-company-block { margin-top: 20px; }
.m-company-block .m-section-title { margin-bottom: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; border-left: 4px solid var(--primary); padding-left: 8px; }
.m-company-block .m-section-title h2 { font-size: 18px; margin: 0; }
.m-company-block .m-section-title .en-sub { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.m-lead { color: #2a3340; line-height: 1.85; font-size: 14px; margin: 0 0 12px; }
.m-lead.muted { color: var(--muted); }
.m-lead.center { text-align: center; }

.m-showroom-list { display: flex; flex-direction: column; gap: 10px; margin: 4px 0 12px; }
.m-showroom-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.m-showroom-card h3 { margin: 0 0 6px; font-size: 15px; color: var(--primary); }
.m-showroom-card p { margin: 0; color: #44505c; line-height: 1.7; font-size: 13px; }

.m-principle-row { display: flex; flex-direction: column; gap: 8px; margin: 2px 0 12px; }
.m-principle-badge { background: linear-gradient(135deg,#0f4c81,#1d6fb8); color: #fff; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.m-principle-badge strong { font-size: 15px; }
.m-principle-badge span { font-size: 12px; opacity: .92; line-height: 1.5; }

.m-video-list { display: flex; flex-direction: column; gap: 12px; }
.m-video-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.m-video-card video { width: 100%; aspect-ratio: 16/9; background: #000; display: block; }
.m-video-card .video-title { padding: 10px 12px; margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }

.m-adv-list { display: flex; flex-direction: column; gap: 12px; }
.m-adv-card { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.m-adv-icon { width: 42px; height: 42px; border-radius: 11px; background: rgba(15,76,129,.08); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 19px; margin-bottom: 10px; }
.m-adv-card h3 { margin: 0 0 6px; font-size: 17px; }
.m-adv-summary { color: #44505c; line-height: 1.7; font-size: 13.5px; margin: 0 0 10px; }
.m-adv-points { margin: 0; padding-left: 18px; color: #3a4651; line-height: 1.7; font-size: 13px; }
.m-adv-points li { margin-bottom: 5px; }

.m-process-flow { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.m-process-step { display: flex; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 13px; align-items: flex-start; }
.m-step-no { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.m-step-body h4 { margin: 0 0 4px; font-size: 14.5px; }
.m-step-body p { margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.55; }

.m-vision-cols { display: flex; flex-direction: column; gap: 12px; margin: 8px 0 12px; }
.m-vision-col { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.m-vision-col h3 { margin: 0 0 10px; font-size: 15px; color: var(--primary); }
.m-vision-col ul { margin: 0; padding-left: 18px; line-height: 1.9; color: #3a4651; font-size: 13px; }
.m-vision-note { text-align: center; font-weight: 700; color: #1f3a52; font-size: 14px; margin: 4px 0 0; }

.m-photo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.m-photo-item { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); background: #eef2f6; }
.m-photo-item img { width: 100%; height: 130px; object-fit: cover; display: block; }

.m-contact-block .m-contact-list { list-style: none; padding: 0; margin: 0 0 14px; }
.m-contact-block .m-contact-list li { padding: 6px 0; font-size: 14px; color: #334; }
.m-contact-block .m-contact-list li i { color: var(--primary); width: 20px; text-align: center; margin-right: 6px; }
.m-contact-block .m-contact-list li a { color: var(--primary); text-decoration: none; }
.m-contact-block .btn { display: inline-block; padding: 10px 16px; }
