/* ============================================================
   车型详情页样式 —— 与 style.css 共存，全部使用 ct- 前缀
   避免污染现有类名
   ============================================================ */

.ct-crumb {
  padding: 18px 0 0;
  font-size: 13px;
  color: #6b7280;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.ct-crumb a {
  color: #6b7280;
  text-decoration: none;
}
.ct-crumb a:hover {
  color: #121821;
  text-decoration: underline;
}
.ct-crumb em {
  font-style: normal;
  color: #121821;
  font-weight: 600;
}

/* ---------- 头部 ---------- */
.ct-main {
  padding-bottom: 60px;
}

.ct-head {
  padding: 22px 0 18px;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 26px;
}
.ct-head h1 {
  font-size: 28px;
  line-height: 1.3;
  margin: 0 0 6px;
  color: #121821;
  font-weight: 800;
}
.ct-sub {
  margin: 0 0 12px;
  font-size: 15px;
  color: #6b7280;
  letter-spacing: .3px;
}
.ct-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- 主栅格 ---------- */
.ct-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}

/* ---------- 图片区 ---------- */
.ct-gallery {
  min-width: 0;
}
.ct-main-media {
  background: #f3f4f6;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-main-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ct-noimg {
  color: #9ca3af;
  font-size: 13px;
  letter-spacing: 1px;
}
.ct-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.ct-thumb {
  flex: 0 0 auto;
  width: 92px;
  height: 64px;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  cursor: pointer;
  background: #f3f4f6;
  transition: border-color .15s;
}
.ct-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ct-thumb.active,
.ct-thumb:hover {
  border-color: #121821;
}

/* ---------- 右侧信息栏 ---------- */
.ct-side {
  position: sticky;
  top: 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}
.ct-price {
  font-size: 30px;
  font-weight: 800;
  color: #121821;
  line-height: 1.1;
  margin-bottom: 4px;
  letter-spacing: -.5px;
}
.ct-price small {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: #9ca3af;
  margin-top: 6px;
  letter-spacing: 0;
}
.ct-wa {
  display: block;
  text-align: center;
  margin: 18px 0 14px;
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 700;
}
.ct-side-note {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f1f3;
  margin-bottom: 16px;
}
.ct-side-note p {
  margin: 0 0 6px;
}
.ct-side-en {
  color: #9ca3af;
  font-size: 12px;
}

/* ---------- 参数表 ---------- */
.ct-spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.ct-spec th,
.ct-spec td {
  text-align: left;
  padding: 8px 0;
  border-bottom: 1px solid #f0f1f3;
  vertical-align: top;
}
.ct-spec th {
  color: #6b7280;
  font-weight: 500;
  width: 46%;
  padding-right: 10px;
}
.ct-spec td {
  color: #121821;
  font-weight: 600;
}
.ct-spec tr:last-child th,
.ct-spec tr:last-child td {
  border-bottom: none;
}

/* ---------- 描述 ---------- */
.ct-desc,
.ct-trade,
.ct-related {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid #e5e7eb;
}
.ct-desc h2,
.ct-trade h2,
.ct-related h2 {
  font-size: 20px;
  margin: 0 0 14px;
  color: #121821;
  font-weight: 800;
}
.ct-desc h3 {
  font-size: 15px;
  margin: 20px 0 8px;
  color: #374151;
  font-weight: 700;
}
.ct-desc p {
  font-size: 15px;
  line-height: 1.85;
  color: #374151;
  margin: 0 0 10px;
}
.ct-desc-en {
  color: #6b7280 !important;
  font-size: 14px !important;
}

/* ---------- 出口与交付 ---------- */
.ct-trade ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px 22px;
}
.ct-trade li {
  font-size: 14.5px;
  color: #374151;
  padding-left: 22px;
  position: relative;
  line-height: 1.6;
}
.ct-trade li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #121821;
}

/* ---------- 相关车型 ---------- */
.ct-rel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 18px;
}
.ct-rel-item {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .18s, transform .18s;
  background: #fff;
}
.ct-rel-item:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  transform: translateY(-2px);
}
.ct-rel-media {
  aspect-ratio: 16 / 10;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ct-rel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ct-rel-media span {
  color: #9ca3af;
  font-size: 11px;
  letter-spacing: 1px;
}
.ct-rel-title {
  padding: 10px 12px 2px;
  font-size: 13.5px;
  font-weight: 700;
  color: #121821;
  line-height: 1.4;
}
.ct-rel-price {
  padding: 2px 12px 12px;
  font-size: 13px;
  color: #6b7280;
  font-weight: 600;
}

/* ---------- 返回 ---------- */
.ct-back {
  margin-top: 40px;
  text-align: center;
}
.ct-back a {
  display: inline-block;
  font-size: 14px;
  color: #121821;
  text-decoration: none;
  border: 1px solid #d1d5db;
  padding: 11px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: background .15s, border-color .15s;
}
.ct-back a:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .ct-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ct-side {
    position: static;
  }
  .ct-head h1 {
    font-size: 22px;
  }
  .ct-price {
    font-size: 26px;
  }
  .ct-rel-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
  }
}
