/* 广告落地页样式（静态详情页 / 政策页专用）
 * 与主站共用 styles.css 的变量，这里只补静态页需要的部分。
 * 移动优先：海外买家用手机点广告进来的占多数。
 */

.ld-page {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 88px; /* 给底部固定 CTA 留位置 */
  background: var(--bg, #f5f6f8);
  min-height: 100vh;
}

/* ---------- 顶部 ---------- */
.ld-top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid var(--line, #e8eaf0);
  position: sticky;
  top: 0;
  z-index: 20;
}

.ld-brand {
  text-decoration: none;
  color: var(--ink, #111827);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.2px;
}

.ld-brand small {
  display: block;
  font-weight: 500;
  font-size: 11px;
  color: var(--ink3, #8b92a3);
  letter-spacing: 0;
}

.ld-top-spacer { flex: 1; }

.ld-lang {
  border: 1px solid var(--line, #e8eaf0);
  background: #fff;
  color: var(--ink2, #4b5563);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
}

/* ---------- 画廊 ---------- */
.ld-gallery {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  background: #0f1115;
  scrollbar-width: none;
}
.ld-gallery::-webkit-scrollbar { display: none; }

.ld-gallery img {
  flex: 0 0 100%;
  width: 100%;
  height: 250px;
  object-fit: cover;
  scroll-snap-align: center;
  display: block;
}

@media (min-width: 640px) {
  .ld-gallery img { height: 400px; }
}

.ld-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

/* ---------- 主信息 ---------- */
.ld-head {
  background: #fff;
  padding: 15px 14px 14px;
}

.ld-price {
  font-size: 27px;
  font-weight: 800;
  color: #0e7a42;
  letter-spacing: -0.6px;
  font-variant-numeric: tabular-nums;
  line-height: 1.15;
}

.ld-price small {
  font-size: 13px;
  font-weight: 600;
  color: #8b92a3;
  margin-left: 6px;
}

.ld-title {
  margin: 7px 0 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink, #111827);
}

.ld-sub {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--ink2, #6b7280);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ld-badge {
  display: inline-block;
  margin-top: 9px;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  background: #e8f5ee;
  color: #0e7a42;
}

/* ---------- 参数 ---------- */
.ld-block {
  background: #fff;
  margin-top: 9px;
  padding: 15px 14px;
}

.ld-h2 {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink, #111827);
  margin: 0 0 11px;
}

.ld-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line, #eef0f5);
  border-radius: 8px;
  overflow: hidden;
}

@media (min-width: 560px) {
  .ld-specs { grid-template-columns: repeat(3, 1fr); }
}

.ld-spec {
  background: #fff;
  padding: 9px 10px;
}

.ld-spec .k {
  font-size: 11px;
  color: var(--ink3, #8b92a3);
  margin-bottom: 3px;
}

.ld-spec .v {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink, #111827);
}

.ld-desc {
  font-size: 14px;
  line-height: 1.72;
  color: var(--ink2, #374151);
  margin: 0;
}

.ld-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ld-tag {
  font-size: 11.5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: #f1f3f7;
  color: #4b5563;
  font-weight: 600;
}

/* ---------- 卖家/联系 ---------- */
.ld-shop {
  background: #fff;
  margin-top: 9px;
  padding: 15px 14px;
}

.ld-shop-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink, #111827);
}

.ld-shop-line {
  font-size: 13px;
  color: var(--ink2, #4b5563);
  margin-top: 6px;
  line-height: 1.6;
}

.ld-shop-line a {
  color: #0e7a42;
  font-weight: 600;
  text-decoration: none;
}

.ld-steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

.ld-steps li {
  position: relative;
  padding-left: 26px;
  font-size: 13px;
  color: #4b5563;
  margin-bottom: 7px;
  line-height: 1.55;
  counter-increment: s;
}

.ld-steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- 底部固定 CTA ---------- */
.ld-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 9px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line, #e8eaf0);
  max-width: 720px;
  margin: 0 auto;
}

.ld-cta a {
  flex: 1;
  height: 50px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15.5px;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.2px;
}

.ld-cta .wa {
  background: #25d366;
  color: #06301c;
}

.ld-cta .call {
  background: #111827;
  color: #fff;
  flex: 0 0 118px;
}

.ld-cta a:active { transform: scale(0.98); }

/* ---------- 相关车辆 ---------- */
.ld-more {
  background: #fff;
  margin-top: 9px;
  padding: 15px 14px 17px;
}

.ld-more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.ld-more-item {
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line, #eef0f5);
  border-radius: 9px;
  overflow: hidden;
  display: block;
}

.ld-more-item img {
  width: 100%;
  height: 92px;
  object-fit: cover;
  display: block;
  background: #eceef3;
}

.ld-more-item .t {
  font-size: 12px;
  font-weight: 650;
  padding: 7px 8px 2px;
  line-height: 1.35;
  height: 34px;
  overflow: hidden;
  color: #111827;
}

.ld-more-item .p {
  font-size: 12.5px;
  font-weight: 800;
  color: #0e7a42;
  padding: 0 8px 8px;
}

/* ---------- 页脚 ---------- */
.ld-foot {
  padding: 20px 14px 26px;
  font-size: 12px;
  color: #8b92a3;
  line-height: 1.8;
  text-align: center;
}

.ld-foot a {
  color: #6b7280;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- 政策页 ---------- */
.ld-doc {
  background: #fff;
  padding: 22px 17px 30px;
  max-width: 720px;
  margin: 0 auto;
  min-height: 100vh;
}

.ld-doc h1 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #111827;
}

.ld-doc .upd {
  font-size: 12px;
  color: #8b92a3;
  margin-bottom: 18px;
}

.ld-doc h2 {
  font-size: 15px;
  font-weight: 800;
  margin: 22px 0 7px;
  color: #111827;
}

.ld-doc p,
.ld-doc li {
  font-size: 13.8px;
  line-height: 1.78;
  color: #374151;
}

.ld-doc ul { padding-left: 19px; margin: 7px 0; }

.ld-doc a { color: #0e7a42; }
