/**
 * Sale Detail Page Styles
 * 依赖: global-components.css（提供 CSS 变量）
 */

/* 通用容器类 */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 96px 0;
}

@media (max-width: 767px) {
  .container {
    padding: 32px 0;
  }
}

/* ==================== Go Back Link (Mobile Only) ==================== */
.sale-go-back {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--color-black);
  font-size: 13px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: opacity 0.3s;
}

.sale-go-back:hover {
  opacity: 0.7;
}

.sale-go-back svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 767px) {
  .sale-go-back {
    display: flex;
  }
}

/* ==================== Sale Hero Section ==================== */
.sale-hero-container {
  display: flex;
  gap: 64px;
  color: var(--color-gray);
}

.sale-hero-left {
  width: 615px;
  flex: 1;
}

.sale-hero-right {
  width: 561px;
  flex: 1;
}

/* 图片轮播容器 */
.sale-gallery-swiper-container {
  width: 100%;
}

.sale-gallery-swiper {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-gray);
}

.sale-gallery-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sale-gallery-swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Swiper 导航箭头样式 */
.sale-gallery-swiper .swiper-button-next,
.sale-gallery-swiper .swiper-button-prev {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--color-black);
  transition: all 0.3s;
}

.sale-gallery-swiper .swiper-button-next:hover,
.sale-gallery-swiper .swiper-button-prev:hover {
  background: #fff;
  transform: scale(1.1);
}

.sale-gallery-swiper .swiper-button-next::after,
.sale-gallery-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

/* 移动端箭头尺寸调整 */
@media (max-width: 767px) {
  .sale-gallery-swiper .swiper-button-next,
  .sale-gallery-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .sale-gallery-swiper .swiper-button-next::after,
  .sale-gallery-swiper .swiper-button-prev::after {
    font-size: 16px;
  }
}

/* 缩略图轮播 */
.sale-gallery-thumbs-container {
  margin-top: 24px;
}

.sale-gallery-thumbs .swiper-slide {
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.3s;
  border: 1px solid transparent;
  background: var(--bg-gray);
}

.sale-gallery-thumbs .swiper-slide:hover {
  opacity: 0.75;
}

.sale-gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--color-gray);
}

.sale-gallery-thumbs .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* 移动端缩略图适配 */
@media (max-width: 767px) {
  .sale-gallery-thumbs-container {
    margin-top: 16px;
  }

  .sale-gallery-thumbs .swiper-slide {
    border-radius: 12px;
  }
}

/* 标题 */
.sale-title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 24px 0;
  color: var(--color-black);
}

/* 评分 */
.sale-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.sale-stars {
  display: flex;
  gap: 4px;
}

.star {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 0;
}

.star svg {
  display: block;
  width: 100%;
  height: 100%;
}

.star-half {
  position: relative;
  overflow: hidden;
}

.star-half svg {
  clip-path: inset(0 50% 0 0);
}

.sale-reviews-count {
  font-size: 16px;
  color: var(--color-black);
}

/* 价格 */
.sale-price {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 20px;
}

.sale-price-current {
  font-size: 36px;
  font-weight: 500;
  color: var(--color-primary);
}

.sale-price-original {
  color: var(--color-gray);
  text-decoration: line-through;
}

/* 车辆规格 */
.sale-specs {
  margin-bottom: 36px;
}

/* 描述 */
.sale-descriptions-title {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 12px 0;
  color: var(--color-black);
}

.sale-descriptions-content {
  color: var(--color-gray);
  margin-bottom: 32px;
}

/* 按钮 */
.sale-buttons {
  display: flex;
  gap: 16px;
}

.sale-btn {
  flex: 1;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.3s;
  white-space: nowrap;
  text-align: center;
}

.sale-btn:hover {
  transform: scale(0.95);
}

.sale-btn-secondary {
  background: var(--bg-gray);
  color: var(--color-black) !important;
}

.sale-btn-primary {
  background: var(--color-primary);
  color: white !important;
}

/* 移动端 */
@media (max-width: 767px) {
  .sale-hero-container {
    flex-direction: column;
    gap: 48px;
  }

  .sale-hero-left,
  .sale-hero-right {
    width: 100%;
  }

  .sale-title {
    font-size: 20px;
    margin: 0 0 20px 0;
  }

  .sale-price-current {
    font-size: 20px;
  }

  .sale-price-original {
    font-size: 12px;
  }
  .sale-specs {
    margin-bottom: 24px;
  }
  .sale-descriptions-title {
    font-size: 16px;
  }
  .sale-descriptions-content {
    margin-bottom: 24px;
  }
  .sale-btn {
    font-size: 12px;
    padding: 12px 24px;
  }
}

/* ==================== Vehicle Overview Section ==================== */

#vehicle-overview-section {
  background: var(--bg-gray);
}

/* 标题区域 */
.overview-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 96px;
}

.overview-label {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2px;
  color: var(--color-gray);
}

.overview-title {
  font-size: 48px;
  line-height: 1.5;
  color: var(--color-black);
  text-transform: capitalize;
  margin: 0;
  font-weight: 400;
}

.overview-subtitle {
  letter-spacing: 0.2px;
  color: var(--color-gray);
  text-align: center;
  max-width: 696px;
  margin: 0;
}

/* 卡片容器 */
.overview-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.overview-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

/* 卡片 */
.overview-card {
  width: calc((100% - 64px) / 3);
  flex-shrink: 0;
  background: white;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 高亮区域 */
.overview-card-highlight {
  background: var(--bg-gray);
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

.overview-card-highlight-title {
  display: flex;
  gap: 12px;
  align-items: center;
}

.overview-card-highlight-title img {
  width: 24px;
  height: 24px;
}

.overview-card-highlight-title span {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-primary);
}

.overview-card-highlight-value {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.16px;
  color: var(--color-gray);
}

/* 详情列表 */
.overview-card-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.overview-card-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

.overview-card-detail-label {
  color: var(--color-gray);
}

.overview-card-detail-value {
  	color: var(--color-black);
}

/* ==================== Vehicle Overview Tablet ==================== */
@media (max-width: 1024px) {
  .overview-card {
    width: calc((100% - 32px) / 2);
  }
}

/* ==================== Vehicle Overview Mobile ==================== */
@media (max-width: 767px) {
  .overview-header {
    gap: 12px;
    margin-bottom: 48px;
  }

  .overview-label {
    letter-spacing: 0.14px;
  }

  .overview-title {
    font-size: 24px;
  }

  .overview-subtitle {
    letter-spacing: 0.14px;
  }

  .overview-cards {
    gap: 24px;
  }

  .overview-row {
    gap: 24px;
  }

  .overview-card {
    width: 100%;
    border-radius: 20px;
    padding: 24px;
    gap: 24px;
  }

  .overview-card-highlight {
    padding: 12px 20px;
  }

  .overview-card-highlight-title {
    gap: 8px;
  }

  .overview-card-highlight-title img {
    width: 20px;
    height: 20px;
  }

  .overview-card-highlight-title span {
    font-size: 16px;
    letter-spacing: 0.16px;
  }

  .overview-card-highlight-value {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .overview-card-details {
    gap: 14px;
  }

  .overview-card-detail-item {
    font-size: 14px;
    letter-spacing: 0.14px;
  }
}

/* ==================== Vehicle Features Section ==================== */

#vehicle-features-section {
  background: var(--bg-gray);
}

/* 标题区域 */
.features-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 96px;
  text-align: center;
}

.features-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
}

.features-title {
  font-size: 48px;
  line-height: 1.5;
  color: var(--color-black);
  margin: 0;
  font-weight: 400;
  text-transform: capitalize;
}

.features-subtitle {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
  max-width: 696px;
  margin: 0;
}

/* Accordion 容器 */
.features-accordion {
  max-width: 980px;
  margin: 0 auto;
  background: white;
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Accordion 项 */
.accordion-item {
  background: white;
  border-radius: 16px;
  padding: 24px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.accordion-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.24px;
  color: var(--color-black);
  margin: 0;
}

.accordion-toggle {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  flex-shrink: 0;
}

.accordion-toggle svg {
  width: 24px;
  height: 24px;
  transform: rotate(0deg);
}

.accordion-item.active .accordion-toggle svg {
  transform: rotate(180deg);
}

/* Accordion 内容 */
.accordion-content {
  display: none;
  padding-top: 24px;
}

.accordion-item.active .accordion-content {
  display: block;
}

.accordion-content-inner {
  background: var(--bg-gray);
  border: 1px solid #e9e9e9;
  border-radius: 14px;
  padding: 24px;
}

/* WYSIWYG 列表样式 */
.accordion-content-inner ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.accordion-content-inner ul li {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
  padding-left: 30px;
  position: relative;
  margin-bottom: 0;
}

.accordion-content-inner ul li:before {
  content: "•";
  position: absolute;
  left: 10px;
  color: var(--color-gray);
}

/* 空内容样式 */
.feature-empty {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: var(--color-gray);
  margin: 0;
  text-align: center;
}

/* Accordion 分隔线 */
.accordion-divider {
  height: 1px;
  background: #e9e9e9;
  width: 100%;
}

/* ==================== Vehicle Features Mobile ==================== */
@media (max-width: 767px) {
  .features-header {
    gap: 12px;
    margin-bottom: 48px;
  }

  .features-label {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .features-title {
    font-size: 24px;
  }

  .features-subtitle {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .features-accordion {
    border-radius: 14.315px;
    padding: 16px;
    gap: 12px;
  }

  .accordion-item {
    border-radius: 7.157px;
    padding: 12px;
  }

  .accordion-header {
    padding: 0;
  }

  .accordion-title {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .accordion-toggle {
    padding: 4px;
  }

  .accordion-toggle svg {
    width: 12px;
    height: 12px;
  }

  .accordion-content {
    padding-top: 12px;
  }

  .accordion-content-inner {
    border-radius: 12px;
    padding: 16px;
    border-width: 0.8px;
  }

  .accordion-content-inner ul li {
    font-size: 12px;
    letter-spacing: 0.12px;
    padding-left: 20px;
  }

  .accordion-content-inner ul li:before {
    left: 5px;
  }

  .feature-empty {
    font-size: 12px;
    letter-spacing: 0.12px;
  }
}

/* ==================== Vehicle Specifications Section ==================== */

#vehicle-specifications-section {
  background: white;
}

/* 标题区域 */
.specifications-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 96px;
  gap: 32px;
}

.specifications-label-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.specifications-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
}

.specifications-title {
  font-size: 48px;
  line-height: 1.5;
  color: var(--color-black);
  margin: 0;
  font-weight: 400;
}

.specifications-subtitle {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
  max-width: 685px;
  margin: 0;
  align-self: flex-end;
}

/* 规格卡片网格 */
.specifications-grid {
  display: flex;
  gap: 32px;
  width: 100%;
}

.specifications-column {
  width: calc((100% - 64px) / 3);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 规格卡片 */
.spec-card {
  background: var(--bg-gray);
  border: 1px solid #ebebeb;
  border-radius: 12px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-card-title {
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.24px;
  color: var(--color-black);
  margin: 0;
}

.spec-card-value {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: 0.2px;
  color: var(--color-gray);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==================== Vehicle Specifications Tablet ==================== */
@media (max-width: 1024px) {
  .specifications-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .specifications-label-wrapper {
    align-items: center;
    text-align: center;
  }

  .specifications-label {
    justify-content: center;
  }

  .specifications-title {
    text-align: center;
  }

  .specifications-subtitle {
    text-align: center;
    align-self: center;
    max-width: 100%;
  }
}

/* ==================== Vehicle Specifications Mobile ==================== */
@media (max-width: 767px) {
  .specifications-header {
    margin-bottom: 48px;
  }

  .specifications-label {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .specifications-title {
    font-size: 24px;
  }

  .specifications-subtitle {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .specifications-grid {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .specifications-column {
    width: 100%;
    flex-shrink: 1;
    gap: 24px;
  }

  .spec-card {
    border-radius: 10px;
    padding: 12px 18px;
    gap: 8px;
  }

  .spec-card-title {
    font-size: 16px;
    letter-spacing: 0.16px;
  }

  .spec-card-value {
    font-size: 14px;
    letter-spacing: 0.14px;
  }
}

/* ==================== Smart Financing Solutions Section ==================== */

#financing-section {
  background: white;
}

/* 标题区域 */
.financing-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 96px;
  gap: 32px;
}

.financing-label-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.financing-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
}

.financing-title {
  font-size: 48px;
  line-height: 1.5;
  color: var(--color-black);
  margin: 0;
  font-weight: 400;
}

.financing-subtitle {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
  max-width: 685px;
  margin: 0;
  align-self: flex-end;
}

/* 计算器容器 */
.financing-calculator {
  display: flex;
  gap: 48px;
}

/* 输入区域 */
.financing-inputs {
  flex: 1;
  background: var(--bg-gray);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 字段样式 */
.financing-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.financing-field-label {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: rgba(36, 36, 36, 0.6);
  padding: 0 2px;
}

/* 输入框包装器 */
.financing-input-wrapper {
  position: relative;
  background: white;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  height: 62px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.financing-input-wrapper::before {
  content: "$";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
  pointer-events: none;
}

.financing-input {
  width: 100%;
  height: 100%;
  border: none !important;
  background: transparent;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
  font-family: inherit;
  padding: 16px 24px 16px 44px !important;
  outline: none;
  box-sizing: border-box;
  border-radius: 16px;
}

.financing-input:focus {
  color: var(--color-black);
}

/* 错误状态 */
.financing-input-wrapper.error {
  border-color: #dc3545;
}

.financing-input-wrapper.error::before {
  color: #dc3545;
}

.financing-field-error {
  display: none;
  font-size: 14px;
  line-height: 1.5;
  color: #dc3545;
  margin: 8px 0 0 0;
}

.financing-field-error.show {
  display: block;
}

/* 自定义下拉组件 */
.financing-dropdown {
  position: relative;
}

.financing-dropdown-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  height: 62px;
  padding: 16px 24px;
  box-sizing: border-box;
  cursor: pointer;
  transition: border-color 0.2s;
}

.financing-dropdown-text {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
}

.financing-dropdown-arrow {
  color: var(--color-gray);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.financing-dropdown.open .financing-dropdown-arrow {
  transform: rotate(180deg);
}

.financing-dropdown-options {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 100;
  display: none;
}

.financing-dropdown.open .financing-dropdown-options {
  display: block;
}

.financing-dropdown-option {
  padding: 16px 24px;
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  color: var(--color-gray);
  cursor: pointer;
  transition: background-color 0.2s;
}

.financing-dropdown-option:hover {
  background: var(--bg-gray);
}

.financing-dropdown-option.active {
  color: var(--color-primary);
  font-weight: 500;
}

/* 滑块包装器 */
.financing-slider-wrapper {
  background: white;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  padding: 24px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.financing-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.14px;
  color: var(--color-black);
}

.financing-slider-container {
  position: relative;
  /* padding-top: 30px; */
}

/* 滑块样式 */
.financing-slider {
  width: 100%;
  height: 8px;
  -webkit-appearance: none;
  appearance: none;
  background: #f2f2f2;
  border-radius: 20px;
  outline: none;
  cursor: pointer;
}

.financing-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
  margin-top: -6px;
  position: relative;
  z-index: 2;
}

.financing-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid var(--color-primary);
  border-radius: 50%;
  cursor: pointer;
}

.financing-slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 20px;
}

.financing-slider::-moz-range-track {
  height: 8px;
  background: #f2f2f2;
  border-radius: 20px;
}

/* 滑块浮动提示 */
.financing-slider-tooltip {
  position: absolute;
  /* top: 0; */
  top: -30px;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.12px;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
}

.financing-slider-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--color-primary);
}

/* 滑块刻度 */
.financing-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.14px;
  color: var(--color-gray);
  text-align: center;
}

.financing-slider-ticks span {
  flex: 1;
}

/* 结果显示区域 */
.financing-result {
  flex: 1;
  background: var(--color-primary);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: white;
}

.financing-result-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.financing-result-label {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.24px;
  margin: 0;
}

.financing-result-value {
  font-size: 48px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.48px;
  margin: 0;
}

.financing-result-disclaimer {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.2px;
  margin: 0;
}

/* ==================== Smart Financing Tablet ==================== */
@media (max-width: 1024px) {
  .financing-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .financing-label-wrapper {
    align-items: center;
    text-align: center;
  }

  .financing-label {
    justify-content: center;
  }

  .financing-title {
    text-align: center;
  }

  .financing-subtitle {
    text-align: center;
    align-self: center;
    max-width: 100%;
  }

  .financing-calculator {
    flex-direction: column;
    gap: 32px;
  }
}

/* ==================== Smart Financing Mobile ==================== */
@media (max-width: 767px) {
  .financing-header {
    margin-bottom: 48px;
  }

  .financing-label {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .financing-title {
    font-size: 24px;
  }

  .financing-subtitle {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .financing-calculator {
    flex-direction: column;
    gap: 32px;
  }

  .financing-inputs {
    border-radius: 14px;
    padding: 20px;
    gap: 16px;
    width: 100%;
  }

  .financing-field {
    gap: 4px;
  }

  .financing-field-label {
    font-size: 12px;
    letter-spacing: 0.12px;
    padding: 0 1px;
  }

  .financing-input-wrapper {
    border-radius: 8px;
    height: 34px;
    border-width: 0.8px;
  }

  .financing-input-wrapper::before {
    left: 12px;
    font-size: 12px;
    letter-spacing: 0.12px;
  }

  .financing-input {
    font-size: 12px;
    letter-spacing: 0.12px;
    padding: 8px 12px 8px 28px !important;
  }

  .financing-field-error {
    font-size: 12px;
    margin: 4px 0 0 0;
  }

  .financing-dropdown-selected {
    border-radius: 8px;
    height: 34px;
    padding: 8px 12px;
    border-width: 0.8px;
  }

  .financing-dropdown-text {
    font-size: 12px;
    letter-spacing: 0.12px;
  }

  .financing-dropdown-arrow {
    width: 14px;
    height: 14px;
  }

  .financing-dropdown-options {
    top: calc(100% + 4px);
    border-radius: 8px;
  }

  .financing-dropdown-option {
    padding: 10px 12px;
    font-size: 12px;
    letter-spacing: 0.12px;
  }

  .financing-slider-wrapper {
    border-radius: 8px;
    padding: 12px;
    gap: 10px;
    border-width: 0.8px;
  }

  .financing-slider-labels {
    font-size: 10px;
    letter-spacing: 0.1px;
  }

  .financing-slider-container {
    /* padding-top: 24px; */
  }

  .financing-slider {
    height: 6px;
  }

  .financing-slider::-webkit-slider-thumb {
    width: 16px;
    height: 16px;
    margin-top: -5px;
  }

  .financing-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
  }

  .financing-slider-tooltip {
    font-size: 10px;
    padding: 3px 6px;
    border-radius: 4px;
  }

  .financing-slider-tooltip::after {
    border-width: 4px;
  }

  .financing-slider-ticks {
    font-size: 10px;
    letter-spacing: 0.1px;
  }

  .financing-result {
    border-radius: 14px;
    padding: 20px;
    gap: 16px;
  }

  .financing-result-content {
    gap: 6px;
  }

  .financing-result-label {
    font-size: 14px;
    letter-spacing: 0.14px;
  }

  .financing-result-value {
    font-size: 28px;
    letter-spacing: 0.28px;
  }

  .financing-result-disclaimer {
    font-size: 12px;
    letter-spacing: 0.12px;
  }
}

/* ==================== Trade-in Modal ==================== */
.trade-in-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

.trade-in-modal.active {
  display: block;
}

.trade-in-modal-container {
  margin: 100px auto 100px;
  width: 90%;
  max-width: 640px;
}

.trade-in-modal-close {
  position: fixed;
  top: 28px;
  right: 42px;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  z-index: 10000;
  transition: opacity 0.2s;
}

.trade-in-modal-close:hover {
  opacity: 0.7;
}

/* 占位内容样式 - 后续删除 */
.trade-in-placeholder-content h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.trade-in-placeholder-content p {
  margin: 0 0 16px;
  line-height: 1.6;
  color: #666;
}

/* 弹窗打开时禁止 body 滚动 */
body.modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .trade-in-modal-close {
    top: 12px;
    right: 12px;
  }
}
