:root {
  --navy: #0a2540;
  --navy-dark: #071a2e;
  --blue: #20a0c0;
  --blue-light: #e3f2f8;
  --gold: #c0a020;
  --gold-light: #f5ecc8;
  --bg: #f5f7fa;
  --card: #ffffff;
  --text: #1a2233;
  --muted: #667085;
  --border: #e3e8ef;
  --shadow: 0 14px 40px rgba(10, 37, 64, 0.10);
  --shadow-hover: 0 22px 56px rgba(10, 37, 64, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .logo-text, .nav-link {
  font-family: 'Montserrat', 'Inter', sans-serif;
  letter-spacing: -0.01em;
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }

/* ============ 顶部导航 ============ */
.topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo { display: flex; align-items: center; }
.logo img { height: 44px; width: auto; display: block; }
.topbar nav { display: flex; align-items: center; gap: 26px; }
.topbar nav a { color: var(--navy); font-size: 15px; font-weight: 600; }
.topbar nav a:hover { color: var(--blue); }
.cart-link { position: relative; }
.badge {
  background: var(--gold);
  color: #fff;
  border-radius: 12px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  margin-left: 5px;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
  padding: 100px 40px 96px;
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: -24px;
  background: url('/static/hero-scene.jpg') center/cover no-repeat;
  filter: blur(5px);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(7, 26, 46, .85) 0%, rgba(10, 37, 64, .66) 50%, rgba(7, 26, 46, .8) 100%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto; }
.hero .eyebrow {
  display: inline-block; background: rgba(32,160,192,.18);
  color: #7fd0e8; font-size: 13px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 20px;
}
.hero h1 {
  font-size: 50px; font-weight: 800; letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 18px; color: #ffffff;
}
.hero p { font-size: 18px; opacity: .82; max-width: 560px; margin: 0 auto 28px; }
.hero-cta {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 16px; font-weight: 700; padding: 14px 32px;
  border-radius: 30px; box-shadow: 0 8px 24px rgba(192,160,32,.35);
  transition: transform .2s, box-shadow .2s;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(192,160,32,.5); color: var(--navy); }

/* ============ 容器与筛选 ============ */
.container { max-width: 1200px; margin: 0 auto; padding: 44px 24px; }
.section-head { text-align: center; margin-bottom: 32px; }
.section-title { font-size: 30px; font-weight: 800; letter-spacing: -0.5px; color: var(--navy); }
.section-sub { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* 筛选栏（品牌 + 区域） */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.filter-group { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-label { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-right: 4px; }
.filter-chip {
  display: inline-block; padding: 7px 16px; border-radius: 20px;
  background: #fff; border: 1px solid var(--border);
  font-size: 14px; font-weight: 600; color: var(--text);
  cursor: pointer; transition: all .15s;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-chip.hidden { display: none; }
.filter-more {
  background: none; border: 1px dashed #b8c4d2; color: var(--blue);
  font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 20px;
  cursor: pointer; font-family: inherit; transition: border-color .15s, color .15s;
}
.filter-more:hover { border-color: var(--blue); }

/* 商品卡片操作按钮 */
.card-actions { display: flex; gap: 10px; }
.card-actions form { flex: 1; }
.card-actions .btn { white-space: nowrap; width: 100%; }
.buy-now { flex: 1; background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.buy-now:hover { background: #16223f; border-color: #16223f; color: #fff; }

/* ============ 商品网格 ============ */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.card-img {
  position: relative;
  height: 200px; background: #fff;
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.card-brand {
  font-size: 11px; color: var(--blue); font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.card-region {
  font-size: 11px; color: var(--gold); font-weight: 700; margin-bottom: 8px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.card h3 a { color: var(--text); }
.card h3 a:hover { color: var(--blue); }
.desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.price-row { display: flex; justify-content: space-between; align-items: center; }
.price { color: var(--navy); font-weight: 800; font-size: 20px; }
.price.big { font-size: 28px; }
.stock { font-size: 12px; color: var(--muted); }

/* ============ 按钮 ============ */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff; border: none; border-radius: 12px;
  padding: 11px 22px; font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: background .15s, transform .15s;
}
.btn:hover { background: var(--navy); color: #fff; transform: translateY(-1px); }
.btn.primary { font-size: 16px; padding: 14px 28px; }
.btn.small { padding: 6px 14px; font-size: 12px; }
.btn.gold { background: var(--gold); color: var(--navy); }
.btn.gold:hover { background: #a88a18; color: #fff; }
.btn.outline { background: #fff; color: var(--blue); border: 2px solid var(--blue); }
.btn.outline:hover { background: var(--blue-light); }

/* ============ 商品详情 ============ */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.detail-img { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.main-img {
  position: relative;
  height: 400px; background: #fff;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px; border: 1px solid var(--border); padding: 24px;
  overflow: hidden;
}
.main-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.thumb-row { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 2px; }
.thumb {
  width: 58px; height: 58px; flex: 0 0 58px; object-fit: contain;
  border-radius: 10px; border: 2px solid var(--border); cursor: pointer;
  background: #fff; padding: 4px; transition: border-color .15s;
}
.thumb.active, .thumb:hover { border-color: var(--blue); }
@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .main-img { height: 280px; }
}
.detail-info .card-brand { margin-bottom: 8px; }
.detail-info h1 { font-size: 26px; font-weight: 800; line-height: 1.3; margin-bottom: 10px; color: var(--navy); }
.detail-subtitle { font-size: 15px; color: var(--blue); font-weight: 600; margin-bottom: 14px; }
.detail-info .desc { font-size: 15px; margin-bottom: 18px; }
.add-form { margin: 22px 0; display: flex; gap: 12px; align-items: center; }
.add-form input[type=number] { width: 72px; padding: 11px; border: 1px solid var(--border); border-radius: 12px; font-size: 15px; }
.back { font-size: 14px; }

/* ============ 表格 / 购物车 ============ */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 18px; overflow: hidden; }
.cart-table th, .cart-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--border); }
.cart-table th { background: #f0f4f8; font-size: 13px; color: var(--muted); font-weight: 700; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.inline-form input[type=number] { width: 62px; padding: 7px; border: 1px solid var(--border); border-radius: 8px; }
.remove { color: #dc2626; }
.total-row { text-align: right; margin: 22px 0; font-size: 19px; font-weight: 700; }

/* ============ 结算 ============ */
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.panel { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 26px; }
.panel h3 { margin-bottom: 18px; color: var(--navy); }
.shipping-form label { display: block; margin-bottom: 15px; font-size: 14px; color: var(--muted); }
.shipping-form input, .shipping-form textarea {
  width: 100%; padding: 11px; border: 1px solid var(--border); border-radius: 12px; margin-top: 4px; font-size: 14px;
}
.line { display: flex; justify-content: space-between; padding: 6px 0; }
.hint { font-size: 12px; color: var(--muted); margin-top: 10px; }
.success-box { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 34px; max-width: 660px; margin: 0 auto; text-align: center; }
.success-box h1 { color: #16a34a; margin-bottom: 16px; }

/* ============ 页脚 ============ */
.footer {
  background: var(--navy-dark); color: #b8c7d6; text-align: center;
  padding: 48px 24px; font-size: 14px; margin-top: 56px;
}
.footer a { color: var(--gold); }

/* ============ 注册弹窗 ============ */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(7, 26, 46, .6);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.popup-overlay.show { opacity: 1; visibility: visible; }
.popup {
  background: #fff; border-radius: 22px; max-width: 460px; width: 92%;
  padding: 40px 36px; text-align: center; position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,.3);
  transform: translateY(20px); transition: transform .3s;
}
.popup-overlay.show .popup { transform: translateY(0); }
.popup-close {
  position: absolute; top: 14px; right: 18px; background: none; border: none;
  font-size: 26px; color: var(--muted); cursor: pointer; line-height: 1;
}
.popup-emoji { font-size: 46px; margin-bottom: 8px; }
.popup h2 { font-size: 23px; font-weight: 800; margin-bottom: 10px; color: var(--navy); line-height: 1.3; }
.popup .popup-offer { color: var(--gold); font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.popup p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.popup form { display: flex; flex-direction: column; gap: 12px; }
.popup input[type=email] {
  width: 100%; padding: 13px 16px; border: 2px solid var(--border);
  border-radius: 14px; font-size: 15px; text-align: center;
}
.popup input[type=email]:focus { outline: none; border-color: var(--blue); }
.popup .btn { border-radius: 14px; }
.popup-note { font-size: 11px; color: var(--muted); margin-top: 6px; }
.popup-form select, .popup-form input[type=text] {
  width: 100%; padding: 13px 16px; border: 2px solid var(--border);
  border-radius: 14px; font-size: 15px; text-align: left; background: #fff; color: var(--text);
}
.popup-form select:focus, .popup-form input[type=text]:focus { outline: none; border-color: var(--blue); }
.profile-lead { font-size: 13px; color: var(--muted); margin-bottom: 4px; line-height: 1.5; }
.profile-skip { background: none; border: none; color: var(--muted); font-size: 13px; text-decoration: underline; cursor: pointer; }
.popup-success { display: none; }
.popup.success .popup-form { display: none; }
.popup.success .popup-success { display: block; font-size: 15px; color: #16a34a; font-weight: 600; }

/* ============ 详情页丰富化 ============ */
.rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.stars { color: #f5a623; font-size: 17px; letter-spacing: 2px; }
.rating-num { font-size: 13px; color: var(--muted); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 18px 0; }
.trust-badges .tb-item {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--navy); font-weight: 700;
}
.trust-badges .ti-icon { width: 28px; height: 28px; font-size: 14px; }
.ti-blue { background: #e3f2f8; }
.ti-red { background: #fdeaea; }
.ti-orange { background: #fff0e0; }
.video-wrap { margin: 18px 0; border-radius: 14px; overflow: hidden; }
.video-wrap video { width: 100%; display: block; }

.bullets-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.bullet-list { list-style: none; padding: 0; margin: 16px 0 0; }
.bullet-list li { padding: 12px 16px; margin-bottom: 10px; background: var(--blue-light); border-radius: 12px; font-size: 14px; line-height: 1.6; color: var(--text); }
.bullet-list li strong { color: var(--navy); }

.reviews-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.review-list { margin: 16px 0; display: flex; flex-direction: column; gap: 14px; }
.review-item { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-head strong { font-size: 14px; color: var(--navy); }
.review-body { font-size: 14px; line-height: 1.6; color: var(--text); margin-bottom: 8px; }
.review-meta { font-size: 12px; color: var(--muted); }
.no-reviews { color: var(--muted); font-size: 14px; }

.review-form { margin-top: 24px; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 20px; }
.review-form h3 { font-size: 16px; margin-bottom: 14px; color: var(--navy); }
.review-form input, .review-form select, .review-form textarea {
  width: 100%; padding: 11px; margin-bottom: 12px; border: 1px solid var(--border);
  border-radius: 10px; font-size: 14px; font-family: inherit;
}
.review-form textarea { min-height: 80px; resize: vertical; }
.review-form input:focus, .review-form select:focus, .review-form textarea:focus { outline: none; border-color: var(--blue); }

.faq-section { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--border); }
.faq-item { border: 1px solid var(--border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 14px 16px; font-weight: 600; font-size: 14px; color: var(--navy); background: var(--bg); }
.faq-item summary:hover { background: var(--blue-light); }
.faq-item p { padding: 0 16px 14px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--text); }

/* ============ 语言切换 ============ */
.lang-switch { margin-left: auto; position: relative; }
.lang-current {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text);
  background: #fff; border: 1px solid var(--border);
  padding: 6px 12px; border-radius: 6px; cursor: pointer;
}
.lang-current .caret { font-size: 10px; color: var(--muted); }
.lang-dropdown {
  position: absolute; top: 100%; right: 0; margin-top: 4px;
  min-width: 130px; background: #fff;
  border: 1px solid var(--border); border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  padding: 4px; display: none; z-index: 1000;
}
.lang-dropdown.show { display: block; }
.lang-dropdown .lang-opt {
  display: block; padding: 8px 12px; border-radius: 6px;
  font-size: 13px; color: var(--text);
}
.lang-dropdown .lang-opt:hover { background: var(--blue-light); color: var(--blue); }
.lang-dropdown .lang-opt.active { color: var(--blue); font-weight: 700; background: var(--blue-light); }

/* ============ 悬浮购物车 ============ */
.floating-cart {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  display: flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 14px 22px; border-radius: 50px;
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,.22);
  transition: transform .15s, box-shadow .15s;
}
.floating-cart:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.28); color: #fff; }
.floating-cart .fc-icon { font-size: 18px; }
.floating-cart .fc-badge {
  background: #fff; color: var(--blue);
  min-width: 22px; height: 22px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; padding: 0 6px;
}

/* ============ 关于我们 / 论坛 ============ */
/* ============ 关于我们 / 论坛 ============ */
.page-hero {
  text-align: center; padding: 64px 20px 48px;
  background: var(--navy);
  color: #fff; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: -24px;
  background: url('/static/hero-scene.jpg') center/cover no-repeat;
  filter: blur(5px);
  pointer-events: none;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(7, 26, 46, .86) 0%, rgba(10, 37, 64, .66) 55%, rgba(32,160,192,.5) 100%);
  pointer-events: none;
}
.page-hero h1 { font-size: 34px; font-weight: 800; color: #fff; letter-spacing: -0.5px; position: relative; z-index: 1; }
.page-hero p { font-size: 16px; color: #dcebf5; margin-top: 10px; max-width: 640px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }
.page-hero .eyebrow {
  display: inline-block; background: rgba(192,160,32,.2); color: #f0d878;
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 18px; border-radius: 20px; margin-bottom: 16px; position: relative; z-index: 1;
}
.about-hero::before { background-image: url('/static/about-scene.jpg'); }
.forum-hero::before { background-image: url('/static/forum-scene.jpg'); }
.about-grid { display: flex; flex-direction: column; gap: 44px; padding-bottom: 60px; }
.about-section h2 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.about-section p { font-size: 15px; line-height: 1.8; color: var(--text); margin-bottom: 12px; }
.feature-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.feature-item { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; box-shadow: 0 2px 8px rgba(10,37,64,.04); }
.feature-item strong { font-size: 15px; color: var(--navy); }
.feature-item span { font-size: 13px; color: var(--muted); line-height: 1.6; }
.about-lead { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.team-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 26px 16px;
  box-shadow: 0 2px 10px rgba(10,37,64,.05); transition: transform .18s, box-shadow .18s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(10,37,64,.12); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%; color: #fff; font-size: 30px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-bottom: 6px;
}
.team-name { font-size: 15px; font-weight: 700; color: var(--text); }
.team-role { font-size: 12.5px; color: var(--muted); }
.team-photo-wrap { margin-bottom: 18px; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 28px rgba(10,37,64,.14); }
.team-photo { display: block; width: 100%; height: auto; object-fit: cover; }
.team-grid-text .team-card { padding: 18px 14px; gap: 2px; }
.contact-box {
  background: linear-gradient(135deg, var(--navy) 0%, #13406b 100%);
  border-radius: 20px; padding: 32px 28px; color: #fff;
}
.contact-box h2 { color: #fff; }
.contact-box p { color: #cfe0ee; }
.contact-email {
  display: inline-block; margin-top: 14px; background: var(--gold); color: var(--navy);
  font-weight: 700; padding: 12px 22px; border-radius: 30px; font-size: 15px;
  transition: transform .18s, box-shadow .18s;
}
.contact-email:hover { color: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(192,160,32,.4); }

/* ============ 论坛 ============ */
.forum-wrap { max-width: 880px; margin: 0 auto; padding: 40px 20px 60px; }
.forum-newpost {
  background: linear-gradient(135deg, var(--navy) 0%, #14446e 100%);
  border-radius: 20px; padding: 28px 28px 24px; color: #fff; margin-bottom: 36px;
  box-shadow: 0 14px 36px rgba(10,37,64,.22);
}
.fnp-head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.fnp-icon { font-size: 34px; line-height: 1; }
.fnp-head h2 { font-size: 20px; font-weight: 800; color: var(--gold); }
.fnp-head p { font-size: 13.5px; color: #cfe0ee; margin-top: 4px; }
.forum-newpost form { display: flex; flex-direction: column; gap: 10px; }
.forum-newpost input, .forum-newpost textarea {
  width: 100%; padding: 12px 14px; border: 1px solid rgba(255,255,255,.25);
  border-radius: 10px; font-size: 14px; font-family: inherit; background: rgba(255,255,255,.12); color: #fff;
}
.forum-newpost input::placeholder, .forum-newpost textarea::placeholder { color: #a9c3d8; }
.forum-newpost input:focus, .forum-newpost textarea:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.18); }
.fnp-row { display: flex; gap: 10px; }
.fnp-row input { flex: 1; }
.fnp-row .btn { flex-shrink: 0; }

.forum-cat { margin-bottom: 34px; }
.forum-cat > h2 {
  font-size: 20px; font-weight: 800; color: var(--navy);
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.forum-cat > h2::before {
  content: ""; width: 6px; height: 26px; border-radius: 3px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
}
.forum-post {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 20px 22px; margin-bottom: 14px; box-shadow: 0 2px 10px rgba(10,37,64,.05);
  transition: transform .18s, box-shadow .18s;
}
.forum-post:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(10,37,64,.12); }
.fp-title { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
.fp-excerpt { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.fp-meta-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.fp-meta { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 20px; }
.chip-comment { background: var(--blue-light); color: var(--blue); }
.chip-view { background: var(--gold-light); color: #8a6d10; }
.chip-author { background: #eef0f4; color: var(--muted); }

.fp-thread { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #d7dfe8; }
.fp-comment {
  background: #f7fafc; border: 1px solid #e7edf3; border-radius: 12px;
  padding: 12px 14px; margin-bottom: 10px;
}
.fp-comment-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fp-avatar {
  width: 32px; height: 32px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.fp-author { font-weight: 700; font-size: 14px; }
.fp-date { color: var(--muted); font-size: 12px; }
.fp-comment-body { font-size: 14px; color: var(--text); line-height: 1.7; margin: 8px 0 10px; }
.fp-reactions { display: flex; gap: 8px; }
.react-btn {
  border: 1px solid #dbe3ec; background: #fff; border-radius: 20px; padding: 4px 12px;
  font-size: 13px; font-weight: 600; color: var(--muted); cursor: pointer; transition: all .15s;
}
.react-btn:hover { transform: translateY(-1px); }
.react-btn.like.active { background: #e3f5e9; border-color: #2e9e6b; color: #1f7a4d; }
.react-btn.dislike.active { background: #fdeaea; border-color: #d9534f; color: #b02a27; }

.fp-comment-form { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.fp-form-row { display: flex; gap: 8px; }
.fp-form-row input { flex: 1; }
.fp-comment-form input, .fp-comment-form textarea {
  padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 13.5px; font-family: inherit; background: #fff; color: var(--text);
}
.fp-comment-form input:focus, .fp-comment-form textarea:focus { outline: none; border-color: var(--blue); }

/* ============ 车辆搜索 ============ */
.search-bar { margin: 14px 0 30px; text-align: center; }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search-form select, .search-form input {
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text);
}
.search-form select { min-width: 160px; }
.search-form input { flex: 1; min-width: 140px; }
.search-form input:focus, .search-form select:focus { outline: none; border-color: var(--blue); }
.search-status { margin-top: 10px; font-size: 14px; color: var(--muted); }
.search-status strong { color: var(--navy); }

/* 级联搜索弹窗 */
.cascade-trigger {
  position: relative;
  font-size: 17px;
  font-weight: 800;
  padding: 16px 44px;
  background: linear-gradient(135deg, var(--gold) 0%, #e6bc2a 55%, #c9a012 100%);
  color: var(--navy);
  border: none;
  border-radius: 44px;
  letter-spacing: .5px;
  box-shadow: 0 10px 28px rgba(192,160,32,.42);
  transition: transform .2s, box-shadow .2s;
  animation: searchPulse 2.6s ease-in-out infinite;
}
.cascade-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(192,160,32,.58);
  color: var(--navy);
}
@keyframes searchPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(192,160,32,.42); }
  50% { box-shadow: 0 10px 40px rgba(192,160,32,.72); }
}
.cascade-overlay {
  display: none; position: fixed; inset: 0; background: rgba(10,37,64,.55);
  z-index: 999; align-items: center; justify-content: center; padding: 20px;
}
.cascade-overlay.show { display: flex; }
.cascade-box {
  background: #fff; border-radius: 18px; padding: 28px 26px; width: 100%; max-width: 440px;
  position: relative; box-shadow: 0 24px 60px rgba(10,37,64,.3);
  animation: popIn .38s cubic-bezier(.175,.885,.32,1.28) both;
}
.cascade-close {
  position: absolute; top: 12px; right: 14px; background: none; border: none;
  font-size: 26px; color: var(--muted); cursor: pointer; line-height: 1;
}
.cascade-box h3 { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.cascade-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.cascade-selects { display: flex; flex-direction: column; gap: 10px; }
.cascade-selects select {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--text); width: 100%;
}
.cascade-selects select:disabled { background: #f3f5f8; color: #aab2bd; }
.cascade-selects select:focus { outline: none; border-color: var(--blue); }
.cascade-go { width: 100%; margin-top: 18px; }

/* 搜索按钮扩散光环（吸引点击） */
.cascade-trigger::after {
  content: ""; position: absolute; inset: -5px; border-radius: 48px;
  border: 3px solid rgba(192,160,32,.75);
  animation: ringPulse 1.9s ease-out infinite;
  pointer-events: none;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: .85; }
  100% { transform: scale(1.38); opacity: 0; }
}
@keyframes popIn {
  from { transform: scale(.72) translateY(24px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* ============ 搜索结果条件条（居中 + 中奖弹入） ============ */
.search-result-banner {
  max-width: 560px;
  margin: 16px auto 10px;
  text-align: center;
  padding: 20px 26px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fffdf5 0%, #fbf3d9 55%, #fff7e0 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 14px 38px rgba(192,160,32,.30);
  position: relative;
  overflow: hidden;
  animation: bannerPop .65s cubic-bezier(.175,.885,.32,1.3) both;
}
.search-result-banner::after {
  content: ""; position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent 0%, rgba(255,225,140,.6) 50%, transparent 100%);
  pointer-events: none;
  animation: shimmer 1.1s ease-out .25s forwards;
}
.search-vehicle {
  font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.search-vehicle-tags {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 12px;
}
.v-tag {
  display: inline-block; padding: 7px 16px; border-radius: 30px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 15px;
  box-shadow: 0 4px 12px rgba(10,37,64,.25);
  animation: tagPop .5s cubic-bezier(.175,.885,.32,1.3) backwards;
}
.v-tag:nth-child(1) { animation-delay: .18s; }
.v-tag:nth-child(2) { animation-delay: .30s; }
.v-tag:nth-child(3) { animation-delay: .42s; }
.v-tag:nth-child(4) { animation-delay: .54s; }
.search-pick { font-size: 15px; font-weight: 800; color: var(--navy); }
.search-pick .arrow { color: var(--gold); display: inline-block; animation: arrowBob 1s ease-in-out infinite; }

@keyframes bannerPop {
  0% { transform: scale(.4) rotate(-2deg); opacity: 0; }
  55% { transform: scale(1.06) rotate(.8deg); opacity: 1; }
  75% { transform: scale(.98) rotate(0); }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes tagPop {
  from { transform: scale(0) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
@keyframes shimmer {
  0% { left: -80%; }
  60% { left: 130%; }
  100% { left: 130%; }
}
@keyframes arrowBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

/* ============ 营销元素：信任卖点徽章条 ============ */
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 24px; padding: 16px 20px;
  background: #fff; border-bottom: 1px solid var(--border);
}
.trust-item {
  display: flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; color: var(--navy);
  transition: transform .2s;
  animation: trustFade .5s ease backwards;
}
.trust-item:hover { transform: translateY(-3px); }
.ti-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; font-size: 18px;
  flex: 0 0 auto;
}
.trust-item:nth-child(1) .ti-icon { background: #e3f2f8; }
.trust-item:nth-child(2) .ti-icon { background: #fdf3d0; }
.trust-item:nth-child(3) .ti-icon { background: #e6f6ec; }
.trust-item:nth-child(4) .ti-icon { background: #efe9fc; }
.trust-item:nth-child(5) .ti-icon { background: #fff0e0; }
.trust-item:nth-child(6) .ti-icon { background: #fdeaea; }
.trust-item:nth-child(1) { animation-delay: .05s; }
.trust-item:nth-child(2) { animation-delay: .15s; }
.trust-item:nth-child(3) { animation-delay: .25s; }
.trust-item:nth-child(4) { animation-delay: .35s; }
.trust-item:nth-child(5) { animation-delay: .45s; }
.trust-item:nth-child(6) { animation-delay: .55s; }
@keyframes trustFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ 商品卡营销角标 ============ */
.card-badge {
  position: absolute; z-index: 3;
  padding: 4px 11px; border-radius: 20px;
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
  line-height: 1.3; white-space: nowrap;
}
.badge-bestseller {
  top: 10px; left: 10px;
  background: linear-gradient(135deg, #ffd54d 0%, #f0a500 100%);
  color: #5b3a00;
  box-shadow: 0 3px 10px rgba(240,165,0,.45);
  transform: rotate(-4deg);
}
.badge-stock {
  top: 10px; right: 10px;
  background: #1fb26b; color: #fff;
  box-shadow: 0 3px 8px rgba(31,178,107,.35);
}
.badge-updates {
  bottom: 10px; right: 10px;
  background: linear-gradient(135deg, var(--gold), #e6bc2a);
  color: var(--navy);
  box-shadow: 0 3px 8px rgba(192,160,32,.4);
}

/* ============ 顶部滚动促销条 ============ */
.announce-bar {
  position: relative; height: 36px; overflow: hidden;
  background: linear-gradient(90deg, var(--navy) 0%, #1a4a7a 50%, var(--navy) 100%);
  color: #fff; text-align: center;
  font-size: 13.5px; font-weight: 700; letter-spacing: .3px;
}
.announce-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  white-space: nowrap;
  opacity: 0;
  animation: announceCycle 9s infinite;
}
.announce-slide:nth-child(1) { animation-delay: 0s; }
.announce-slide:nth-child(2) { animation-delay: 3s; }
.announce-slide:nth-child(3) { animation-delay: 6s; }
@keyframes announceCycle {
  0% { opacity: 0; transform: translateY(10px); }
  7% { opacity: 1; transform: translateY(0); }
  28% { opacity: 1; transform: translateY(0); }
  35% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 0; transform: translateY(-10px); }
}
