/* ==================== 全局样式 ==================== */
:root {
    --primary-color: #1E88E5;
    --primary-dark: #1565C0;
    --secondary-color: #546E7A;
    --accent-color: #42A5F5;
    --text-primary: #212121;
    --text-secondary: #757575;
    --background: #FFFFFF;
    --background-light: #F5F7FA;
    --background-gray: #ECEFF1;
    --border-color: #E0E0E0;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 16px rgba(0,0,0,0.2);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 
                 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-primary);
    background: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
    padding: 12px 0;
}

.navbar.navbar-solid {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-light);
}

.navbar .container {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: flex-start;
}

.nav-brand {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.nav-brand a {
    display: flex;
    flex-direction: column;
}

.brand-cn {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.brand-en {
    font-size: 10px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-top: -2px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 透明导航栏时的品牌样式 */
.navbar:not(.scrolled):not(.navbar-solid) .brand-cn {
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5),
                 0 0 20px rgba(0,0,0,0.3);
}

.navbar:not(.scrolled):not(.navbar-solid) .brand-en {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 6px rgba(0,0,0,0.5),
                 0 0 15px rgba(0,0,0,0.3);
}

.navbar.scrolled .brand-cn,
.navbar.navbar-solid .brand-cn {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s ease;
    position: relative;
}

.navbar:not(.scrolled):not(.navbar-solid) .nav-menu a {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.navbar:not(.scrolled):not(.navbar-solid) .nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-lang {
    position: relative;
    margin-left: auto;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    font-size: 14px;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.navbar:not(.scrolled):not(.navbar-solid) .lang-btn {
    color: white;
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
}

.lang-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.lang-btn .arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.lang-btn.active .arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: var(--shadow-medium);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.lang-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: var(--text-primary);
    transition: background 0.3s ease;
}

.lang-menu a:hover {
    background: var(--background-light);
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.navbar:not(.scrolled):not(.navbar-solid) .mobile-menu-btn span {
    background: white;
}

/* ==================== Banner区域 ==================== */
.hero-banner {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

.banner-slide img,
.banner-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #000;
}

/* 视频加载遮罩 */
.video-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.video-loading-overlay.loaded {
    opacity: 0;
}

/* 加载动画 */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.banner-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.4) 15%, 
        rgba(0,0,0,0.1) 30%, 
        rgba(0,0,0,0.05) 50%, 
        rgba(0,0,0,0.1) 100%);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    width: 90%;
    max-width: 800px;
}

.banner-content h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.banner-content p {
    font-size: 24px;
    font-weight: 300;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.banner-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    position: relative;
    width: 80px;
    height: 2px;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.indicator:hover {
    background: rgba(255,255,255,0.5);
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: white;
    transition: none; /* 移除过渡，通过JS直接控制 */
}

/* ==================== 章节标题 ==================== */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* ==================== 在售车源 ==================== */
.vehicles-section {
    padding: 80px 0;
    background: var(--background-light);
    min-height: 900px; /* 桌面端保持两行高度（8个车源 = 4列 x 2行）*/
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 桌面端4列 */
    grid-auto-rows: max-content;
    gap: 25px;
    margin-bottom: 40px;
}

.vehicle-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.vehicle-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.vehicle-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.05);
}

.vehicle-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    color: white;
    border-radius: 3px;
    z-index: 2;
}

.vehicle-badge.new {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.vehicle-badge.used {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.vehicle-card-content {
    padding: 15px;
}

.vehicle-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.vehicle-brand-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    padding: 6px;
    box-sizing: border-box;
}

.vehicle-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.vehicle-card-summary {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ==================== 分页 ==================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.pagination button {
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text-primary);
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination button:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== 关于我们 ==================== */
.about-section {
    padding: 80px 0;
    background: var(--background-light);
}

.about-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.about-intro {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-light);
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: var(--shadow-light);
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-text h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    white-space: pre-line;
}

.about-news {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-light);
}

.subsection-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--background-light);
}

/* ==================== 企业动态 ==================== */
.news-section {
    padding: 80px 0;
    background: var(--background-light);
}

.news-list {
    margin-bottom: 20px;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 15px;
    background: var(--background-light);
    border-radius: 6px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.news-item:hover {
    background: white;
    border-left-color: var(--primary-color);
    box-shadow: var(--shadow-light);
    transform: translateX(3px);
}

.news-date {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.news-content {
    overflow: hidden;
}

.news-title {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
    word-break: break-all;
}

.news-item:hover .news-title {
    color: var(--primary-color);
}

/* ==================== 页底 ==================== */
/* ==================== 联系我们 ==================== */
.contact-section {
    padding: 80px 0;
    background: var(--background-light);
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-wrapper .section-title {
    text-align: center;
    margin-bottom: 50px;
}

.contact-map-container {
    position: relative;
    width: 100%;
    min-height: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

/* 地图背景 */
.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Leaflet地图自定义标记 */
.office-map-marker {
    background: none;
    border: none;
    position: relative;
}

.marker-circle {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.marker-circle i {
    font-size: 24px;
    color: var(--primary-color);
}

.marker-circle .flag-emoji {
    font-size: 28px;
    line-height: 1;
    display: block;
}

.marker-label {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    padding: 4px 8px;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    z-index: 2;
}

.marker-label strong {
    display: block;
    font-size: 11px;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1px;
}

.marker-label span {
    display: block;
    font-size: 10px;
    color: var(--text-secondary);
}

/* 地图弹出窗口样式 */
.map-popup {
    text-align: center;
    padding: 5px;
}

.map-popup strong {
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.map-popup span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* 浮动联系卡片 */
.contact-floating-card {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    width: 450px;
    max-width: calc(100% - 100px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* 办公地址区域 - 单列 */
.contact-offices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

/* 其他联系方式 - 双列 */
.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--background-light);
    transition: all 0.3s ease;
    position: relative;
}

.contact-method:hover {
    background: white;
    box-shadow: var(--shadow-light);
    transform: translateX(5px);
}

.contact-method.copyable {
    cursor: pointer;
    user-select: none;
}

.contact-method .copy-icon {
    font-size: 14px;
    color: var(--text-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    margin-left: auto;
    flex-shrink: 0;
}

.contact-method.copyable:hover .copy-icon {
    opacity: 1;
}

.contact-method.copied {
    background: var(--primary-color);
    color: white;
}

.contact-method.copied .icon,
.contact-method.copied .method-label,
.contact-method.copied .method-value,
.contact-method.copied .copy-icon {
    color: white;
}

.contact-method .copy-tip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: white;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.85);
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.contact-method .copy-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.85);
}

.contact-method.copied .copy-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.contact-method .icon {
    font-size: 20px;
    flex-shrink: 0;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-method .flag-icon {
    font-size: 24px;
    line-height: 1;
}

.method-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.method-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
}

.method-value {
    font-size: 12px;
    color: var(--text-primary);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 办公地址的值可以换行 */
.contact-office .method-value {
    white-space: normal;
    font-size: 13px;
}

.inquiry-btn-large {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.inquiry-btn-large i {
    font-size: 16px;
}

.inquiry-btn-large:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.3);
}

/* 浮动咨询按钮 */
.inquiry-btn-floating {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.4);
    transition: all 0.3s ease;
    z-index: 3;
}

.inquiry-btn-floating:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(33, 150, 243, 0.5);
}

.inquiry-btn-floating i {
    font-size: 18px;
}

/* ==================== Footer ==================== */
.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0D47A1 100%);
    color: white;
    padding: 50px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 1;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

/* 左侧：公司信息与品牌 */
.footer-company-section {
    align-items: flex-start;
}

.footer-brand {
    text-align: left;
    margin-bottom: 20px;
}

.footer-brand .brand-cn {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
}

.footer-brand .brand-en {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.5px;
}

.footer-brands-flow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-brand-capsule {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

.footer-brand-capsule img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-brand-capsule span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

/* 右侧：网站地图和联系我们 */
.footer-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.footer-info-column {
    display: flex;
    flex-direction: column;
}

/* 网站地图 */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

/* 联系我们 */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.contact-icon {
    font-size: 18px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
    width: 20px;
    text-align: center;
}

.contact-text {
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin-bottom: 5px;
}

/* ==================== Lightbox ==================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overscroll-behavior: contain;
}

.lightbox.show {
    display: flex;
}

/* 弹窗包装器 - 用于定位关闭按钮 */
.lightbox-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
}

/* 当弹窗打开时，锁定body滚动防止滚动穿透 */
body.lightbox-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

.lightbox-content {
    position: relative;
    width: 100%;
    max-height: 90vh;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
}

/* 弹窗头部 - 固定 */
.lightbox-header {
    padding: 30px 40px 20px;
    border-bottom: 1px solid var(--border-color);
    background: white;
    flex-shrink: 0;
}

.lightbox-header-info {
    width: 100%;
}

.news-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    line-height: 1.4;
    padding-right: 20px; /* 为右侧按钮留出空间 */
}

.news-detail-date {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* 关闭按钮 - 弹窗外部，按钮中心对齐弹窗内容区域右上角 */
.lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(50%, -50%);
    width: 36px;
    height: 36px;
    font-size: 24px;
    font-weight: 300;
    color: white;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--shadow-heavy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-close:hover {
    background: var(--primary-dark);
    color: white;
    transform: translate(50%, -50%) scale(1.1) rotate(90deg);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

/* 弹窗身体 - 可滚动 */
.lightbox-body {
    flex: 1;
    padding: 30px 40px 40px;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch; /* iOS平滑滚动 */
}

/* 自定义滚动条 - overlay模式，不占用内容空间 */
.lightbox-body::-webkit-scrollbar {
    width: 8px;
}

.lightbox-body::-webkit-scrollbar-track {
    background: transparent;
}

.lightbox-body::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 4px;
    transition: background 0.2s ease;
}

/* hover或滚动时显示滚动条 */
.lightbox-body:hover::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
}

.lightbox-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

/* Firefox - 细滚动条，不会造成布局变化 */
.lightbox-body {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* 新闻详情内容样式 */
.news-detail-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-light);
}

.news-detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
}

.news-detail-content p {
    margin-bottom: 15px;
}

.news-detail-content p:last-child {
    margin-bottom: 0;
}

/* 新闻内容中的图片 */
.news-detail-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    display: block;
}

/* ==================== 模态框 ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overscroll-behavior: contain;
}

.modal.show {
    display: flex;
}

/* 当模态框打开时，锁定body滚动防止滚动穿透 */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 500px;
    background: white;
    border-radius: 8px;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    font-size: 24px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 25px;
}

/* 联系卡片样式 */
.contact-modal-content {
    max-width: 600px;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--background-gray);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.contact-card:hover {
    background: #e8f4f8;
    transform: translateX(5px);
}

.contact-card.copied {
    background: #e8f8f5;
}

.contact-card .contact-icon {
    font-size: 24px;
    color: var(--primary-color);
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.contact-card .contact-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
}

.contact-card .copy-icon {
    font-size: 16px;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .copy-icon {
    opacity: 1;
}

.contact-card.copied .copy-icon {
    color: #27ae60;
    opacity: 1;
}

.contact-card .copy-tip {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    color: white;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.85);
    padding: 6px 12px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
}

.contact-card .copy-tip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.85);
}

.contact-card.copied .copy-tip {
    opacity: 1;
    transform: translateX(-50%) translateY(-5px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* 必填字段标识 */
.required {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 2px;
}

/* 企业/个人单选按钮 */
.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--background);
    flex: 1;
}

.radio-option:hover,
.radio-option.selected {
    border-color: var(--primary-color);
    background: rgba(30, 136, 229, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.15);
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option i {
    font-size: 18px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.radio-option input[type="radio"]:checked ~ i,
.radio-option.selected i {
    color: var(--primary-color);
}

.radio-option span {
    font-size: 15px;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    font-weight: 500;
}

.radio-option input[type="radio"]:checked ~ span,
.radio-option.selected span {
    color: var(--primary-color);
    font-weight: 600;
}

/* 表单标签图标 */
.form-group label i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 14px;
}

/* 电话输入组 */
.phone-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.phone-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.country-code-display {
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--background-light);
    border-right: 1px solid var(--border-color);
    min-width: 90px;
    text-align: center;
}

.phone-input-group input {
    border: none;
    border-radius: 0;
    flex: 1;
    padding: 12px;
}

.phone-input-group input:focus {
    outline: none;
    box-shadow: none;
}

/* 下拉选择框样式增强 */
.form-group select {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background-color: var(--background);
    color: var(--text-primary);
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

/* 表单行内布局 */
.form-row-inline {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

/* 表单列比例 */
.form-col-1 {
    flex: 1;
}

.form-col-3 {
    flex: 3;
}

.form-col-4 {
    flex: 4;
}

/* 表单列：各占一半 */
.form-col-half {
    flex: 1;
}

.form-col-half label {
    margin-bottom: 8px;
}

/* 字数统计 */
.char-count {
    float: right;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: normal;
    margin-left: 8px;
}

.char-count-warning {
    color: #e74c3c;
    font-weight: 600;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        gap: 12px;
    }

    .radio-option {
        padding: 14px 16px;
    }

    .form-row-inline {
        flex-direction: column;
        gap: 16px;
    }

    .form-col-1,
    .form-col-3,
    .form-col-4,
    .form-col-half {
        flex: 1;
        width: 100%;
    }
}

.captcha-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.captcha-wrapper input {
    flex: 1;
}

#captchaCanvas {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--background-light);
}

#refreshCaptcha {
    padding: 8px 12px;
    font-size: 12px;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

#refreshCaptcha:hover {
    background: var(--primary-color);
    color: white;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.4);
}

/* ==================== 车源详情页 ==================== */
.vehicle-detail {
    padding-top: 100px;
    padding-bottom: 60px;
    background: var(--background-light);
}

/* 面包屑导航 */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb .separator {
    color: var(--border-color);
    margin: 0 5px;
}

/* 产品主区域 - 左图右信息布局 */
.product-main {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

/* 产品画廊 */
.product-gallery {
    position: sticky;
    top: 100px;
    align-self: start;
}

.gallery-main {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 比例 */
    background: var(--background-gray);
    border-radius: 8px;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
}

.gallery-main > img,
.gallery-main > iframe,
.gallery-main > video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.gallery-main.swiping > img {
    transition: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    cursor: pointer;
}

.play-btn {
    width: 80px;
    height: 80px;
    font-size: 32px;
    color: white;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding-left: 5px;
}

.play-btn:hover {
    background: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

/* 图片计数器（移动端） */
.gallery-counter {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 15;
    display: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-thumbs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 10px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
    z-index: 15;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.gallery-thumbs::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.thumb-item {
    position: relative;
    flex: 0 0 80px;
    height: 60px;
    background: var(--background-gray);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumb-item.active {
    border-color: var(--primary-color);
}

.thumb-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 图片切换按钮 */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    text-shadow: none;
}

.gallery-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.gallery-nav-prev {
    left: 15px;
}

.gallery-nav-next {
    right: 15px;
}

/* 视频关闭按钮 */
.video-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.video-close-btn:hover {
    background: white;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.video-close-btn:active {
    transform: scale(0.95) rotate(90deg);
}

/* 全屏图片查看器 */
.fullscreen-viewer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fullscreen-viewer.show {
    display: block;
    opacity: 1;
}

.fullscreen-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 20px;
    overflow: hidden;
}

.fullscreen-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.fullscreen-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.fullscreen-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.fullscreen-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10000;
}

.fullscreen-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.fullscreen-nav-prev {
    left: 20px;
}

.fullscreen-nav-next {
    right: 20px;
}

.fullscreen-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 500;
    z-index: 10000;
}

/* 移动端全屏查看器优化 */
@media (max-width: 768px) {
    .fullscreen-nav {
        display: none;
    }
    
    .fullscreen-content {
        padding: 80px 0 60px;
    }
    
    .fullscreen-content img {
        width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
    }
    
    .fullscreen-counter {
        bottom: 20px;
        padding: 6px 16px;
        font-size: 14px;
    }
    
    .fullscreen-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* 产品信息区 */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
    height: 100%;
}

.product-header {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    flex: 1 1 auto;
}

.vehicle-badge-wrapper {
    margin-bottom: 12px;
}

.vehicle-badge {
    display: inline-block;
    padding: 3px 8px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 3px;
    background: var(--primary-color);
    color: white;
}

.vehicle-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.brand-logo-large {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 50%;
    padding: 6px;
    box-sizing: border-box;
}

.product-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
}

.vehicle-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 关键参数快速浏览 */
.quick-specs {
    background: var(--background-light);
    padding: 20px;
    border-radius: 8px;
}

.quick-specs h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.quick-specs-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.specs-group {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.specs-group-title {
    font-size: 15px;
    font-weight: 600;
    color: #b0bec5;
    padding: 0 0 10px 0;
    margin: 0;
    border-bottom: 1px solid #b0bec5;
}

.specs-group-items {
    padding: 0;
}

.quick-spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.quick-spec-item:last-child {
    border-bottom: none;
}

.quick-spec-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.quick-spec-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* 销售说明 */
.sales-description {
    margin-top: 20px;
    padding: 15px 20px;
    background: #fafafa;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* 价格信息 */
.price-info {
    margin-top: 15px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.price-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

/* 产品操作按钮 */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.btn-large {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

.btn-large i {
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* 服务承诺 */
.service-promise {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: linear-gradient(135deg, #E3F2FD 0%, #E8F5E9 100%);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-primary);
}

.promise-icon {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
}

/* 详细信息标签页 */
.product-details {
    margin-top: 40px;
}

/* 详细信息区域 */
.detail-section {
    padding: 40px;
    background: white;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: visible;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section .section-title {
    font-size: 20px;
    font-weight: 600;
    color: #546e7a;
    margin-bottom: 25px;
    text-align: left;
}

.detail-section .section-title::after {
    display: none;
}

/* 配置参数和车辆图片容器 */
.specs-gallery-container {
    display: flex;
    gap: 40px;
    width: 100%;
}

.specs-gallery-container .detail-section {
    margin-bottom: 0;
}

.specs-gallery-container .specs-section {
    flex: 1 1 40%;
    min-width: 0;
}

.specs-gallery-container .gallery-section {
    flex: 1 1 60%;
    min-width: 0;
}

/* 尺寸信息容器 */
.dimensions-container {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.dimensions-group {
    min-width: 0;
}

.dimensions-group:first-child {
    flex: 7 1 0;
    max-width: 500px;
}

.dimensions-group:last-child {
    flex: 5 1 0;
    max-width: 400px;
}

.dimensions-visual {
    display: grid;
    gap: 0;
    width: 100%;
    max-width: 100%;
}

/* A组使用7列grid (5:2比例) */
.dimensions-group:first-child .dimensions-visual {
    grid-template-columns: repeat(7, 1fr);
}

/* B组使用5列grid (3:2比例) */
.dimensions-group:last-child .dimensions-visual {
    grid-template-columns: repeat(5, 1fr);
}

/* 第一行：侧视图 + 高度 + 正视图 + 离地 */
/* A组和B组内部布局 */
.dim-img-side,
.dim-img-front {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-bottom: 1px dotted #d0d0d0;
    overflow: hidden;
    min-height: 200px;
}

.dim-img-side {
    grid-column: span 5;
}

.dim-img-front {
    position: relative;
}

.dimensions-group:last-child .dim-img-front {
    grid-column: span 3;
}

.dim-img-front::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 33.33%;
    border-right: 1px dotted #d0d0d0;
}

.dim-label-height,
.dim-label-clearance {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 10px 20px 20px;
    min-height: 200px;
}

.dim-label-height {
    border-left: 1px dotted #d0d0d0;
}

.dim-label-clearance {
    justify-content: flex-end;
}

.dim-label-length,
.dim-label-width {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 80px;
}

.dim-label-length {
    grid-column: span 5;
}

.dimensions-group:last-child .dim-label-width {
    grid-column: span 3;
}

.dim-spacer-1,
.dim-spacer-2 {
    grid-column: span 2;
    min-height: 80px;
}

/* 图片样式 */
.vehicle-view-img {
    max-height: 140px;
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

/* 标注文字样式 */
.dim-label-title {
    font-size: 12px;
    color: #90a4ae;
    margin-bottom: 2px;
    font-weight: 500;
}

.dim-label-value {
    font-size: 16px;
    color: #37474f;
    font-weight: 600;
}

/* 长度和宽度标注居中 */
.dim-label-length .dim-label-title,
.dim-label-length .dim-label-value,
.dim-label-width .dim-label-title,
.dim-label-width .dim-label-value {
    text-align: center;
    width: 100%;
}

/* 详细参数表格 */
.specs-table {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.spec-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s ease;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item:hover {
    background: var(--background-light);
}

.spec-label {
    padding: 16px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--background-light);
    border-right: 1px solid var(--border-color);
}

.spec-value {
    padding: 16px 24px;
    font-size: 15px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.color-swatch {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    vertical-align: middle;
    margin-right: 5px;
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.image-item {
    position: relative;
    padding-top: 66.67%; /* 3:2 比例 */
    background: var(--background-gray);
    border-radius: 8px;
    overflow: hidden;
}

.image-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* cover方式填充，保证多种图片尺寸兼容 */
    transition: transform 0.3s ease;
}

.image-item:hover img {
    transform: scale(1.05);
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1200px) {
    .about-container {
        grid-template-columns: 1.5fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .vehicles-section {
        min-height: 1800px; /* 平板端2列，8个车源需要4行 */
    }
    
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr); /* 平板端2列 */
        gap: 20px;
    }
    
    /* 平板端车源卡片样式 */
    .vehicle-card-content {
        padding: 15px;
    }
    
    .vehicle-card-title {
        font-size: 15px;
    }
    
    .vehicle-card-summary {
        font-size: 12px;
    }
    
    .vehicle-brand-logo {
        width: 30px;
        height: 30px;
    }
    
    .about-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-map-container {
        min-height: 550px;
    }
    
    .contact-floating-card {
        width: 400px;
        padding: 30px;
    }
    
    .contact-offices {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .contact-methods {
        gap: 8px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-info-section {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    /* 车源详情页平板适配 */
    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
    
    .spec-item {
        grid-template-columns: 160px 1fr;
    }
    
    .spec-label,
    .spec-value {
        padding: 14px 20px;
    }
    
    .dimensions-container {
        width: 100%;
        max-width: 100%;
    }
    
    .dimensions-group:first-child {
        max-width: 400px;
    }
    
    .dimensions-group:last-child {
        max-width: 300px;
    }
    
    /* A组和B组grid列数 */
    .dimensions-group:first-child .dimensions-visual {
        grid-template-columns: repeat(7, 1fr);
    }
    
    .dimensions-group:last-child .dimensions-visual {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .dim-img-side {
        min-height: 170px;
    }
    
    .dimensions-group:first-child .dim-img-side {
        grid-column: span 5;
    }
    
    .dim-img-front {
        min-height: 170px;
    }
    
    .dimensions-group:last-child .dim-img-front {
        grid-column: span 3;
    }
    
    .dim-label-height,
    .dim-label-clearance {
        min-height: 170px;
        grid-column: span 2;
    }
    
    .dim-label-length {
        min-height: 70px;
    }
    
    .dimensions-group:first-child .dim-label-length {
        grid-column: span 5;
    }
    
    .dim-label-width {
        min-height: 70px;
    }
    
    .dimensions-group:last-child .dim-label-width {
        grid-column: span 3;
    }
    
    .dim-spacer-1,
    .dim-spacer-2 {
        min-height: 70px;
        grid-column: span 2;
    }
    
    .vehicle-view-img {
        max-height: 110px;
    }
    
    .dim-label-title {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .dim-label-value {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    /* 移动端菜单遮罩 */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 998;
    }
    
    .menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        flex-direction: column;
        background: white;
        padding: 80px 30px 30px;
        box-shadow: -2px 0 8px rgba(0,0,0,0.15);
        transform: translateX(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        overflow-y: auto;
        z-index: 999;
    }
    
    .nav-menu.show {
        transform: translateX(0);
    }
    
    .nav-menu a {
        font-size: 16px;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        color: var(--text-primary) !important;
        text-shadow: none !important;
        position: relative;
    }
    
    .nav-menu a.active {
        color: var(--primary-color) !important;
        font-weight: 600;
        background: var(--background-light);
        padding-left: 15px;
        margin-left: -15px;
        padding-right: 15px;
        margin-right: -15px;
        border-left: 3px solid var(--primary-color);
        border-radius: 4px;
    }
    
    .nav-menu a:last-child {
        border-bottom: none;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1000;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* 阻止body滚动 */
    body.menu-open {
        overflow: hidden;
    }
    
    .banner-content h1 {
        font-size: 36px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    .vehicles-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 联系我们移动端 */
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-wrapper .section-title {
        margin-bottom: 35px;
    }
    
    .contact-map-container {
        min-height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .map-background {
        position: relative;
        min-height: 350px;
        border-radius: 16px 16px 0 0;
    }
    
    .contact-floating-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin: 0;
        border-radius: 0 0 16px 16px;
        padding: 25px 20px;
    }
    
    .contact-offices {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-bottom: 18px;
    }
    
    .contact-method {
        padding: 6px 10px;
    }
    
    /* 地图标记移动端样式 */
    .marker-circle {
        width: 40px;
        height: 40px;
    }
    
    .marker-circle i {
        font-size: 20px;
    }
    
    .marker-circle .flag-emoji {
        font-size: 24px;
    }
    
    .marker-label {
        left: 50px;
        padding: 3px 6px;
    }
    
    .marker-label strong {
        font-size: 10px;
    }
    
    .marker-label span {
        font-size: 9px;
    }
    
    .contact-method .icon {
        font-size: 18px;
        width: 18px;
    }
    
    .contact-method .flag-icon {
        font-size: 20px;
    }
    
    .contact-method .copy-icon {
        font-size: 12px;
    }
    
    .method-label {
        font-size: 10px;
    }
    
    .method-value {
        font-size: 12px;
    }
    
    .inquiry-btn-large {
        padding: 12px;
        font-size: 15px;
    }
    
    .inquiry-btn-large i {
        font-size: 14px;
    }
    
    /* Footer移动端 */
    .footer {
        padding: 40px 0 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-brand .brand-cn {
        font-size: 16px;
    }
    
    .footer-brand .brand-en {
        font-size: 10px;
    }
    
    .footer-brands-flow {
        gap: 8px;
    }
    
    .footer-brand-capsule {
        padding: 5px 10px 5px 5px;
        gap: 6px;
    }
    
    .footer-brand-capsule img {
        width: 18px;
        height: 18px;
    }
    
    .footer-brand-capsule span {
        font-size: 11px;
    }
    
    .footer-info-section {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-title {
        font-size: 15px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .contact-icon {
        font-size: 16px;
        width: 18px;
    }
    
    .contact-text {
        font-size: 13px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }
    
    .indicator {
        width: 60px;
    }
    
    /* 车源详情页移动端适配 */
    .breadcrumb {
        font-size: 12px;
        padding: 15px 0;
    }
    
    .product-main {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 100%;
    }
    
    .gallery-main {
        width: 100%;
        max-width: 100%;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .vehicle-summary {
        font-size: 13px;
    }
    
    .sales-description {
        font-size: 12px;
    }
    
    .price-value {
        font-size: 20px;
    }
    
    .brand-logo-large {
        width: 36px;
        height: 36px;
    }
    
    .gallery-nav {
        width: 35px;
        height: 35px;
        font-size: 14px;
        z-index: 20;
    }
    
    .gallery-nav-prev {
        left: 10px;
    }
    
    .gallery-nav-next {
        right: 10px;
    }
    
    .gallery-counter {
        z-index: 20;
        bottom: 10px;
        font-size: 12px;
        padding: 5px 14px;
    }
    
    .gallery-thumbs {
        display: none !important;
    }
    
    .gallery-counter {
        display: block;
    }
    
    .thumb-item {
        flex: 0 0 70px;
        height: 52px;
    }
    
    .video-close-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
        top: 10px;
        right: 10px;
    }
    
    .btn-large {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .btn-large i {
        font-size: 15px;
    }
    
    .service-promise {
        flex-direction: column;
        gap: 10px;
        padding: 12px 15px;
    }
    
    .detail-section {
        padding: 25px 20px;
        margin-bottom: 25px;
    }

    .detail-section .section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .specs-gallery-container {
        flex-direction: column;
        gap: 25px;
    }
    
    .specs-gallery-container .detail-section {
        margin-bottom: 25px;
    }
    
    .specs-gallery-container .detail-section:last-child {
        margin-bottom: 0;
    }
    
    .specs-gallery-container .specs-section,
    .specs-gallery-container .gallery-section {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .dimensions-container {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        max-width: 100%;
    }
    
    .dimensions-group,
    .dimensions-group:first-child,
    .dimensions-group:last-child {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }
    
    /* A组7列，B组5列 */
    .dimensions-group:first-child .dimensions-visual {
        grid-template-columns: repeat(7, 1fr);
        max-width: 100%;
    }
    
    .dimensions-group:last-child .dimensions-visual {
        grid-template-columns: repeat(5, 1fr);
        max-width: 100%;
    }
    
    .dim-img-side {
        grid-column: span 5;
        padding: 15px 20px;
        min-height: 180px;
    }
    
    .dimensions-group:first-child .dim-img-side {
        grid-column: span 5;
    }
    
    .dim-img-front {
        padding: 15px 20px;
        min-height: 180px;
    }
    
    .dimensions-group:last-child .dim-img-front {
        grid-column: span 3;
    }
    
    .dim-label-height,
    .dim-label-clearance {
        grid-column: span 2;
        padding: 15px 10px 15px 20px;
        min-height: 180px;
    }
    
    .dim-label-height {
        border-left: 1px dotted #d0d0d0;
    }
    
    .dim-label-clearance {
        justify-content: flex-end;
    }
    
    .dim-label-length {
        padding: 15px 20px;
        min-height: 70px;
    }
    
    .dimensions-group:first-child .dim-label-length {
        grid-column: span 5;
    }
    
    .dim-label-width {
        padding: 15px 20px;
        min-height: 70px;
    }
    
    .dimensions-group:last-child .dim-label-width {
        grid-column: span 3;
    }
    
    .dim-spacer-1,
    .dim-spacer-2 {
        grid-column: span 2;
        min-height: 70px;
    }
    
    .vehicle-view-img {
        max-height: 120px;
    }
    
    .dim-label-title {
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .dim-label-value {
        font-size: 14px;
    }
    
    .dim-label-height {
        align-items: flex-start;
        justify-content: center;
    }
    
    .dim-label-length,
    .dim-label-width {
        align-items: center;
        justify-content: center;
    }
    
    .spec-item {
        grid-template-columns: 1fr;
    }
    
    .spec-label {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 12px 16px;
    }
    
    .spec-value {
        padding: 12px 16px;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* 新闻弹窗移动端优化 */
    .lightbox-wrapper {
        margin: 40px 15px;
    }
    
    .lightbox-content {
        max-height: 85vh;
    }
    
    .lightbox-header {
        padding: 20px 20px 15px;
        gap: 15px;
    }
    
    .news-detail-title {
        font-size: 20px;
    }
    
    .news-detail-date {
        font-size: 13px;
    }
    
    .lightbox-close {
        width: 34px;
        height: 34px;
        font-size: 22px;
    }
    
    .lightbox-body {
        padding: 20px;
    }
    
    /* 移动端滚动条更细 */
    .lightbox-body::-webkit-scrollbar {
        width: 5px;
    }
    
    .news-detail-image {
        max-height: 300px;
        margin-bottom: 20px;
    }
    
    .news-detail-content {
        font-size: 15px;
        line-height: 1.7;
    }
    
    /* 移动端新闻内容中的图片 */
    .news-detail-content img {
        margin: 15px 0;
    }
    
    .modal-content {
        padding: 25px;
    }
    
    .spec-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .images-grid {
        grid-template-columns: 1fr;
    }
    
    .captcha-wrapper {
        flex-wrap: wrap;
    }
    
    .captcha-wrapper input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .brand-cn {
        font-size: 20px;
    }
    
    .brand-en {
        font-size: 10px;
    }
    
    .banner-content h1 {
        font-size: 28px;
    }
    
    .banner-content p {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .indicator {
        width: 50px;
    }
    
    .news-date {
        font-size: 11px;
    }
    
    .news-title {
        font-size: 12px;
    }
    
    .subsection-title {
        font-size: 20px;
    }
    
    .about-intro,
    .about-news {
        padding: 20px;
    }
    
    .about-container {
        gap: 20px;
    }
}




/* ==================== 车源列表页样式 ==================== */

/* 查看更多按钮 */
.view-more-container {
    margin-top: 40px;
    text-align: center;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--primary-color);
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 136, 229, 0.2);
}

.view-more-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.3);
}

.view-more-btn i {
    transition: transform 0.3s ease;
}

.view-more-btn:hover i {
    transform: translateX(4px);
}

/* 车源列表页主体 */
.vehicles-list-page {
    min-height: calc(100vh - 80px);
    background: var(--background-light);
    padding-top: 80px;
}

.vehicles-list-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}

/* 左侧筛选栏 */
.filter-sidebar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-color);
}

.filter-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.reset-filter-btn {
    padding: 6px 12px;
    background: var(--background-gray);
    border: none;
    border-radius: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-filter-btn:hover {
    background: var(--primary-color);
    color: white;
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.filter-option:hover {
    background: var(--background-light);
}

.filter-option input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-option span {
    font-size: 14px;
    color: var(--text-primary);
}

.filter-option input[type="radio"]:checked + span {
    color: var(--primary-color);
    font-weight: 500;
}

/* 右侧主内容区 */
.vehicles-list-main {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: var(--shadow-light);
}

/* 工具栏 */
.vehicles-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.results-count {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-controls label {
    font-size: 14px;
    color: var(--text-secondary);
}

.sort-select {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-primary);
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* 车源列表网格 */
.vehicles-list-grid {
    display: grid;
    gap: 20px;
}

/* 车源列表项 */
.vehicle-list-item {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.vehicle-list-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
    transform: translateY(-2px);
}

.vehicle-list-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 200px;
}

.vehicle-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vehicle-list-item:hover .vehicle-list-image img {
    transform: scale(1.05);
}

.vehicle-list-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vehicle-list-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.vehicle-brand-logo-small {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.vehicle-list-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.vehicle-list-summary {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 auto;
}

.vehicle-list-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.vehicle-list-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

.vehicle-list-mileage {
    font-size: 14px;
    color: var(--text-secondary);
    padding: 6px 12px;
    background: var(--background-light);
    border-radius: 6px;
}

/* 无结果提示 */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-results i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.no-results p {
    font-size: 18px;
    margin: 0;
}

/* 移动端筛选按钮 */
.mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 12px rgba(30, 136, 229, 0.4);
    cursor: pointer;
    z-index: 100;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
}

.mobile-filter-btn i {
    font-size: 20px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .vehicles-list-container {
        grid-template-columns: 240px 1fr;
        gap: 20px;
    }
    
    .filter-sidebar {
        padding: 20px;
    }
    
    .vehicle-list-item {
        grid-template-columns: 250px 1fr;
    }
}

@media (max-width: 768px) {
    .vehicles-list-page {
        padding-top: 70px;
    }
    
    .vehicles-list-container {
        grid-template-columns: 1fr;
        padding: 20px 15px;
    }
    
    /* 移动端筛选栏变为侧边栏 */
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        max-height: 100vh;
        z-index: 1001;
        border-radius: 0;
        transition: left 0.3s ease;
        padding-top: 80px;
    }
    
    .filter-sidebar.show {
        left: 0;
    }
    
    body.filter-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .mobile-filter-btn {
        display: flex;
    }
    
    .vehicles-list-main {
        padding: 20px;
    }
    
    .vehicles-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .sort-controls {
        justify-content: space-between;
    }
    
    .sort-select {
        flex: 1;
    }
    
    .vehicle-list-item {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    
    .vehicle-list-image {
        height: 180px;
    }
    
    .vehicle-list-title {
        font-size: 18px;
    }
    
    .vehicle-list-price {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .view-more-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
    
    .vehicles-list-container {
        padding: 15px 10px;
    }
    
    .vehicles-list-main {
        padding: 16px;
    }
    
    .vehicle-list-image {
        height: 160px;
    }
    
    .vehicle-list-title {
        font-size: 16px;
    }
    
    .vehicle-list-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
