/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

/* 语言初始化期间隐藏页面，避免先闪中文再替换成越南语 */
html.lang-loading body {
    visibility: hidden;
}

/* 侧边浮动联系框 */
.fc-widget {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    align-items: stretch;
    gap: 10px;
    font-family: inherit;
}
.fc-widget.fc-right { right: 14px; }
.fc-widget.fc-left { left: 14px; flex-direction: row-reverse; }

.fc-toggle {
    width: 44px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #1e3c72, #4a90e2);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(30, 60, 114, 0.25);
    padding: 10px 6px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 2px;
}
.fc-toggle span { display: block; text-align: center; font-size: 12px; }

.fc-panel {
    width: 185px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(20, 40, 80, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}
.fc-items { display: flex; flex-direction: column; }
.fc-item {
    display: block;
    text-decoration: none;
    color: #223;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: background 0.2s;
}
.fc-item:last-child { border-bottom: none; }
.fc-item:hover { background: rgba(74, 144, 226, 0.08); }
.fc-item-title { font-weight: 800; font-size: 13px; color: #1e3c72; }
.fc-item-sub { font-size: 12px; color: #556; margin-top: 2px; }
.fc-item-btn { background: transparent; border: none; text-align: left; width: 100%; cursor: pointer; }

.fc-widget.fc-collapsed .fc-panel { display: none; }

/* 在线留言弹窗 */
.fc-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}
.fc-modal-card {
    width: min(560px, 100%);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 55px rgba(0,0,0,0.25);
}
.fc-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: linear-gradient(135deg, #0b1f3a, #1e3c72);
    color: #fff;
}
.fc-modal-title { font-weight: 800; }
.fc-modal-close {
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}
.fc-modal-body { padding: 16px; }
.fc-field { margin-bottom: 12px; }
.fc-field label { display: block; font-size: 12px; color: #334; margin-bottom: 6px; font-weight: 700; }
.fc-field input, .fc-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d7dde6;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
}
.fc-field input:focus, .fc-field textarea:focus { border-color: #4a90e2; box-shadow: 0 0 0 3px rgba(74,144,226,0.15); }
.fc-req { color: #c0392b; }
.fc-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; }
.fc-btn {
    border: 1px solid #d7dde6;
    background: #fff;
    color: #223;
    padding: 10px 14px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
}
.fc-btn-primary {
    border: none;
    background: linear-gradient(135deg, #1e3c72, #4a90e2);
    color: #fff;
}
.fc-hint { margin-top: 10px; font-size: 12px; }

@media (max-width: 520px) {
    .fc-panel { width: 165px; }
    .fc-widget.fc-right { right: 10px; }
    .fc-widget.fc-left { left: 10px; }
}

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

/* 导航栏样式 */
.navbar {
    background: rgba(10, 20, 40, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.nav-toggle {
    display: none;
}

.logo h1 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: bold;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.flag-de-hollow {
    display: inline-block;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    /* 金属边框效果 */
    border: 3px solid;
    border-color: 
        rgba(255, 255, 255, 0.9) 
        rgba(200, 200, 200, 0.6) 
        rgba(150, 150, 150, 0.8) 
        rgba(200, 200, 200, 0.6);
    /* 德国国旗三色条纹 */
    background: 
        linear-gradient(to bottom, 
            #000 0%, #000 33.33%,
            #DD0000 33.33%, #DD0000 66.66%,
            #FFCE00 66.66%, #FFCE00 100%);
    /* 光泽和阴影效果 */
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.4),
        inset -2px -2px 4px rgba(0, 0, 0, 0.2),
        inset 2px 2px 4px rgba(255, 255, 255, 0.3);
}

.flag-de-hollow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    /* 镂空效果 - 透明中心 */
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        inset 0 0 8px rgba(0, 0, 0, 0.4),
        0 0 4px rgba(255, 255, 255, 0.5);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.4rem 0.2rem;
}

.nav-menu a:hover {
    color: #fff;
}

.nav-btn {
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 0.45rem 1.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: #fff;
    color: #0b1f3a;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.lang-switcher button {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: rgba(255,255,255,0.95);
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}
.lang-switcher button:hover,
.lang-switcher button.active {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
}

/* 主页快速查询（导航栏右侧短输入框） */
.nav-quick-search {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-quick-search-input {
    width: 170px;
    height: 34px;
    padding: 0 12px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.06);
    color: #fff;
    outline: none;
}
.nav-quick-search-input::placeholder {
    color: rgba(255,255,255,0.65);
}
.nav-quick-search-btn {
    height: 34px;
    padding: 0 14px;
    border-radius: 20px;
    border: 1px solid rgba(135,206,235,0.55);
    background: rgba(135,206,235,0.18);
    color: #e0f5ff;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}
.nav-quick-search-btn:hover {
    background: rgba(135,206,235,0.28);
}

/* 手机端隐藏语言切换按钮（默认始终使用越南语） */
@media (max-width: 768px) {
    .lang-switcher {
        display: none;
    }

    /* 手机端隐藏首页新闻板块 */
    .news-section {
        display: none;
    }
}

/* 专业滤清器生产 Hero 区域 - 重新设计 */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%);
    color: #fff;
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    display: flex;
    align-items: center;
}

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

.hero-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* 简化版首页幻灯片布局（单张汽车图片 + 文案） */
.hero-simple {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.hero-simple-text {
    flex: 1;
    max-width: 480px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-simple-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-car-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-text {
    z-index: 2;
}

.hero-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    color: #9ec9ff;
    margin-bottom: 0.8rem;
}

.hero-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    margin: 0.4rem 0 0.8rem;
    line-height: 1.3;
    color: #fff;
}

.hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.hero-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    background: #fff;
    color: #1e3c72;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-primary:hover {
    background: #f0f4f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-filter-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.3));
}

.hero-features-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    width: 100%;
}

.feature-box-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature-box-item .feature-icon {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    padding: 0.3rem;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
}

/* 幻灯片控制按钮 */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 100;
}

.prev-btn, .next-btn {
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    font-size: 2rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.prev-btn:hover, .next-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: #fff;
    transform: scale(1.1);
}

/* 幻灯片指示点 */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 100;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot.active {
    background-color: #fff;
    transform: scale(1.3);
}

/* 品牌信任条 */
.brand-trust {
    background: #0b1f3a;
    color: #fff;
    padding: 1.8rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.trust-grid h3 {
    margin: 0.4rem 0 0;
    font-size: 1.3rem;
}

.trust-grid p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
}

/* 统一版块标题 */
.section-head {
    text-align: left;
    margin-bottom: 2.5rem;
}

.section-head h2 {
    font-size: 2.4rem;
    margin: 0 0 0.6rem;
    color: #1e3c72;
}

.section-head p {
    color: #666;
    max-width: 720px;
    line-height: 1.7;
}

/* 解决方案 */
.solutions-section {
    padding: 4rem 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.solution-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.solution-card h3 {
    margin-top: 0;
    color: #1e3c72;
}

.solution-card ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0 0;
    color: #555;
}

.solution-card ul li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 0.4rem;
}

.solution-card ul li::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2a5298;
    left: 0;
    top: 10px;
}

/* 核心业务第二板块：带图+按钮 */
.solution-card-with-image {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.solution-card-with-image .solution-card-sub {
    margin: 0.25rem 0 1rem;
    color: #2a5298;
    font-weight: 600;
    font-size: 1rem;
}
.solution-card-image-wrap {
    flex: 1;
    min-height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background: #f0f4f8;
    margin-bottom: 1rem;
}
.solution-card-with-image .solution-card-img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: contain;
    display: block;
}
.solution-card-btn {
    display: inline-block;
    text-align: center;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(180deg, #4a90e2 0%, #2a5298 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.solution-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.4);
    color: #fff;
}

/* 创新版块 */
.innovation-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08), rgba(30, 60, 114, 0.08));
}

.innovation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.innovation-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #dce3ed;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.innovation-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: rgba(30, 60, 114, 0.15);
    font-weight: 700;
}

.innovation-card h3 {
    margin-top: 0;
    color: #1e3c72;
}

.innovation-card ul {
    list-style: none;
    padding-left: 0;
    color: #555;
    line-height: 1.7;
}

/* 全球网络 */
.global-section {
    padding: 4rem 0;
}

.global-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.global-map {
    border-radius: 20px;
    min-height: 320px;
    background: linear-gradient(135deg, #0b1f3a, #1e3c72);
    position: relative;
    overflow: hidden;
}

.global-map img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.map-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.global-list {
    list-style: none;
    padding-left: 0;
    color: #444;
    line-height: 1.8;
}

/* CTA */
.cta-section {
    padding: 3rem 0;
}

.cta-card {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 25px 60px rgba(30, 60, 114, 0.35);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-card .ghost-btn {
    border-color: rgba(255, 255, 255, 0.7);
}
/* 功能按钮区域 */
.action-buttons {
    padding: 4rem 0;
    background-color: #fff;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.action-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border: 3px solid #2a5298;
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.1);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(42, 82, 152, 0.1), transparent);
    transition: left 0.5s;
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 82, 152, 0.2);
    border-color: #4a90e2;
}

.btn-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.action-btn h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e3c72;
    font-weight: bold;
}

.action-btn p {
    color: #666;
    font-size: 1rem;
}

.btn-query {
    border-color: #2a5298;
}

.btn-query:hover {
    background: linear-gradient(135deg, #e8f4f8 0%, #d0e8f0 100%);
}

.btn-agent {
    border-color: #2a5298;
}

.btn-agent:hover {
    background: linear-gradient(135deg, #e8f4f8 0%, #d0e8f0 100%);
}

.btn-category {
    border-color: #2a5298;
}

.btn-category:hover {
    background: linear-gradient(135deg, #e8f4f8 0%, #d0e8f0 100%);
}

/* 配件分类展示区域 */
.parts-category {
    padding: 4rem 0;
    background: linear-gradient(180deg, #f5f7fa 0%, #e8ecf1 100%);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 3rem;
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #4a90e2);
    border-radius: 2px;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.part-card {
    background: #fff;
    border: 2px solid #d0d8e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.part-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #4a90e2);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.part-card:hover::before {
    transform: scaleX(1);
}

.part-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(42, 82, 152, 0.15);
    border-color: #4a90e2;
}

.part-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.part-card h3 {
    font-size: 1.3rem;
    color: #1e3c72;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.part-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* 工厂介绍和产品优点区域 */
/* 工厂介绍区域 */
.factory-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fff 0%, #f5f7fa 100%);
}

.factory-content {
    margin-top: 2rem;
}

.factory-main {
    margin-bottom: 3rem;
}

.factory-image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.factory-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 400px;
}

.factory-image-overlay {
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.image-badge {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: rgba(30, 60, 114, 0.9);
    color: #fff;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.factory-info {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e8ecf1;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.factory-info h3 {
    color: #1e3c72;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.factory-description {
    color: #666;
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* 工厂统计数据 */
.factory-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.factory-stat-card {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 2rem;
    border-radius: 12px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 15px rgba(30, 60, 114, 0.2);
    transition: transform 0.3s;
}

.factory-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 60, 114, 0.3);
}

.stat-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-left: 0.3rem;
}

.stat-desc {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* 工厂详情 */
.factory-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.factory-facilities h4,
.factory-certifications h4 {
    color: #1e3c72;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.facility-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e8ecf1;
    transition: all 0.3s;
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 82, 152, 0.15);
    border-color: #4a90e2;
}

.facility-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.facility-item h5 {
    color: #1e3c72;
    font-size: 1.1rem;
    margin: 1rem 1rem 0.5rem;
    font-weight: 600;
}

.facility-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 1rem 1rem;
}

.certifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-item {
    background: #fff;
    padding: 1.2rem;
    border-radius: 10px;
    border: 2px solid #e8ecf1;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s;
}

.cert-item:hover {
    border-color: #4a90e2;
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.1);
}

.cert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.cert-item strong {
    display: block;
    color: #1e3c72;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.cert-item p {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.intro-list {
    list-style: none;
    padding: 0;
}

.intro-list li {
    color: #333;
    padding: 0.8rem 0;
    font-size: 1rem;
    border-bottom: 1px solid #e8ecf1;
}

.intro-list li:last-child {
    border-bottom: none;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.advantage-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 100%);
    border-radius: 10px;
    border: 2px solid #d0d8e0;
    transition: all 0.3s;
}

.advantage-item:hover {
    transform: translateY(-5px);
    border-color: #4a90e2;
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.1);
}

.advantage-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.advantage-item h4 {
    color: #1e3c72;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: bold;
}

.advantage-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* 查询页面标题 */
.page-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    letter-spacing: 2px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
    }

    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .hero-slider {
        height: auto;
        min-height: 450px;
    }

    .hero-wrapper {
        padding: 2rem 1rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-filter-img {
        max-width: 200px;
    }

    .hero-features-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .feature-box-item {
        padding: 0.8rem;
        font-size: 0.8rem;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem 0;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .trust-grid,
    .solutions-grid,
    .innovation-grid,
    .parts-grid {
        grid-template-columns: 1fr;
        display: grid;
        gap: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .intro-content,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .primary-btn,
    .ghost-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        gap: 1rem;
    }

    .part-card,
    .factory-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .factory-details {
        grid-template-columns: 1fr;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
    }

    .factory-main-image {
        min-height: 250px;
    }
}

/* 汽车配件查询区域样式 */
.query-section {
    padding: 4rem 0;
    background-color: #fff;
}

.query-container {
    max-width: 900px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #2a5298;
}

.search-input {
    flex: 1;
    padding: 1.2rem 1.5rem;
    font-size: 1.1rem;
    border: none;
    outline: none;
    background-color: #f8f9fa;
    color: #333;
}

.search-input:focus {
    background-color: #fff;
}

.search-btn {
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.search-btn:hover {
    background: linear-gradient(135deg, #2a5298 0%, #4a90e2 100%);
    transform: scale(1.05);
}

.filter-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 100%);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 2px solid #d0d8e0;
}

.filter-section h3 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group label {
    font-weight: bold;
    color: #333;
    min-width: 100px;
}

.filter-select {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 2px solid #2a5298;
    border-radius: 6px;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.filter-select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.filter-btn {
    margin-top: 1rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: linear-gradient(135deg, #2a5298 0%, #4a90e2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(42, 82, 152, 0.3);
}

.search-results {
    min-height: 200px;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #d0d8e0;
}

.search-hint {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    padding: 2rem;
}

.result-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.result-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.15);
}

.result-item h4 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.result-item p {
    color: #666;
    margin: 0.3rem 0;
}

.result-item .result-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: #2a5298;
    color: #fff;
    border-radius: 4px;
    font-size: 0.85rem;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

.no-results {
    text-align: center;
    padding: 3rem;
    color: #999;
    font-size: 1.2rem;
}

.no-results-tip {
    text-align: center;
    padding: 0 2rem 2rem;
    color: #888;
    font-size: 0.95rem;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}

/* 代理商区域样式 */
.agent-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #e8ecf1 0%, #f5f7fa 100%);
}

.agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.agent-card {
    background: #fff;
    border: 2px solid #d0d8e0;
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.agent-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e3c72, #4a90e2);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.agent-card:hover::before {
    transform: scaleX(1);
}

.agent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(42, 82, 152, 0.15);
    border-color: #4a90e2;
}

.agent-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e8ecf1;
}

.agent-icon {
    font-size: 2.5rem;
}

.agent-header h3 {
    color: #1e3c72;
    font-size: 1.4rem;
    margin: 0;
}

.agent-info {
    margin-bottom: 1.5rem;
}

.agent-info p {
    color: #666;
    margin: 0.8rem 0;
    line-height: 1.8;
}

.agent-info strong {
    color: #333;
    font-weight: bold;
}

.contact-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #2a5298 0%, #4a90e2 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.3);
}

/* 响应式设计 - 查询和代理商区域 */
@media (max-width: 768px) {
    .search-box {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-group label {
        min-width: auto;
    }

    .filter-select {
        width: 100%;
    }

    .agent-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* 新闻区域样式 */
.news-section {
    padding: 4rem 0;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #4a90e2;
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-card h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #333;
    line-height: 1.4;
}

.news-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

.news-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #999;
}

@media (max-width: 480px) {
    .query-container {
        padding: 0 1rem;
    }

    .filter-section {
        padding: 1.5rem;
    }

    .agent-card {
        padding: 1.5rem;
    }
}

/* 强大的搜索框样式 */
.advanced-search-box {
    margin-bottom: 3rem;
}

.search-input-wrapper {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(42, 82, 152, 0.15);
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #2a5298;
}

.advanced-search-input {
    flex: 1;
    padding: 1.5rem 2rem;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background-color: #fff;
    color: #333;
}

.advanced-search-input:focus {
    background-color: #f8f9fa;
}

.advanced-search-input::placeholder {
    color: #999;
}

.advanced-search-btn {
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.advanced-search-btn:hover {
    background: linear-gradient(135deg, #2a5298 0%, #4a90e2 100%);
    transform: scale(1.05);
}

.search-tips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    padding: 0 0.5rem;
}

.tip-label {
    color: #666;
    font-weight: bold;
    font-size: 0.9rem;
}

.tip-item {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, #e8f4f8 0%, #d0e8f0 100%);
    color: #2a5298;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #2a5298;
}

/* 汽车分类筛选区域 */
.car-filter-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf1 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid #d0d8e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.filter-title {
    color: #1e3c72;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: bold;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item label {
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

/* 四级联动筛选样式 */
.filter-levels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.filter-level {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.75rem;
    background: #fff;
    border: 1px solid #d0d8e0;
    border-radius: 8px;
    transition: all 0.3s;
}

.filter-level:hover {
    border-color: #4a90e2;
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.1);
}

.level-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.level-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.level-text {
    font-weight: 600;
    color: #1e3c72;
    font-size: 0.85rem;
}

.level-select {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #2a5298;
    border-radius: 6px;
    font-size: 0.85rem;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
}

.level-select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.level-select:disabled {
    background-color: #f5f7fa;
    border-color: #d0d8e0;
    color: #999;
    cursor: not-allowed;
}

.search-by-car-btn {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(42, 82, 152, 0.2);
}

.search-by-car-btn:hover {
    background: linear-gradient(135deg, #2a5298 0%, #4a90e2 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(42, 82, 152, 0.3);
}

/* 搜索结果区域 */
.search-results-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #f5f7fa 0%, #e8ecf1 100%);
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #2a5298;
}

.results-header h2 {
    color: #1e3c72;
    font-size: 1.6rem; /* 原 2rem，略微缩小 */
    margin: 0;
}

.results-count {
    color: #666;
    font-size: 0.95rem; /* 原 1.1rem，缩小 */
    font-weight: bold;
}

.results-count span {
    color: #2a5298;
    font-size: 1.2rem; /* 原 1.5rem，缩小 */
}

/* 展示所有年份按钮 */
.show-all-years-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.show-all-years-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.show-all-years-btn:active {
    transform: translateY(0);
}

.show-all-years-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}

/* 配件分类筛选标签 */
.parts-category-filter {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #d0d8e0;
}

.parts-category-filter h3 {
    color: #1e3c72;
    margin-bottom: 0.4rem;
    font-size: 0.9rem; /* 略微缩小 */
    font-weight: 600;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-tag {
    padding: 0.4rem 0.9rem;
    background: #f0f4f8;
    color: #333;
    border: 1px solid #d0d8e0;
    border-radius: 16px;
    font-size: 0.78rem; /* 略微缩小 */
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.category-tag:hover {
    background: #e8f4f8;
    border-color: #2a5298;
    transform: translateY(-1px);
}

.category-tag.active {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border-color: #2a5298;
}

/* 搜索结果卡片 */
.search-results-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .search-results-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .search-results-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .search-results-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-card {
    background: #fff;
    border: 2px solid #d0d8e0;
    border-radius: 10px;
    padding: 0.6rem; /* 稍微减小内边距，让整体更紧凑 */
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

/* 汽车图片卡片（第一行第一个位置） */
.car-image-card {
    background: #fff;
    border: 2px solid #d0d8e0;
    border-radius: 10px;
    padding: 0.75rem;
    transition: all 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: default;
}

.car-image-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 82, 152, 0.15);
    border-color: #4a90e2;
}

.car-image-display {
    width: 100%;
    height: auto;              /* 按原始比例显示整张图 */
    object-fit: contain;       /* 不裁剪、不拉伸 */
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #e8ecf1;
}

.car-image-label {
    margin-top: 0.6rem;
    font-weight: 700;
    color: #1e3c72;
    font-size: 1rem;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 产品目录页中的车型卡片：完整显示竖图，底部一行文字 */
.catalog-products .car-only-card {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.catalog-products .car-only-image-wrap {
    width: 100%;
    padding: 0;
}
.catalog-products .car-only-image {
    width: 100%;
    height: auto;
    object-fit: contain;       /* 不裁剪图像，完整显示 */
}
.catalog-products .car-only-label {
    padding: 6px 10px 10px;
    color: #1e3c72;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(42, 82, 152, 0.15);
    border-color: #4a90e2;
}

.result-card-image {
    width: 100%;
    height: 170px; /* 尽量占满卡片高度约 90% */
    object-fit: cover;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    border: 1px solid #e8ecf1;
}

.result-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.result-card-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.result-card-header > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.result-card-header h4 {
    color: #1e3c72;
    font-size: 1rem; /* 产品名称字体调大 */
    margin: 0;
    font-weight: bold;
    flex: 1;
    line-height: 1.3;
}

.result-price {
    color: #e74c3c;
    font-size: 0.9rem; /* 价格字体稍微缩小 */
    font-weight: bold;
    white-space: nowrap;
}

.result-card-body {
    margin-bottom: 0.5rem;
    flex: 1;
}

.result-card-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.result-info-row {
    display: flex;
    align-items: center;
    font-size: 0.78rem; /* 信息行整体缩小一点 */
    flex-wrap: wrap;
    gap: 0.25rem;
}

.result-info-row .info-label {
    font-weight: 600;
    color: #666;
    font-size: 0.72rem;
}

.result-info-row .info-value {
    color: #333;
    font-size: 0.78rem;
}

.result-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.78rem; /* 分类/品牌小圆角标签缩小 */
    font-weight: 500;
}

.category-badge {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
}

.brand-badge {
    background: linear-gradient(135deg, #4a90e2 0%, #6ba3d6 100%);
    color: #fff;
}

.oem-code, .product-code {
    font-family: 'Courier New', monospace;
    background: #f0f4f8;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    color: #2a5298;
    font-weight: bold;
    font-size: 0.7rem;
}

.stock-status {
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
}

.stock-status.in-stock {
    color: #27ae60;
    background: #d5f4e6;
}

.stock-status.out-of-stock {
    color: #e74c3c;
    background: #fadbd8;
}

.result-card-footer {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e8ecf1;
    margin-top: auto;
}

.detail-btn {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    border: 1px solid #2a5298;
}

.detail-btn:hover {
    background: linear-gradient(135deg, #2a5298 0%, #4a90e2 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(42, 82, 152, 0.25);
}

.back-to-search {
    text-align: center;
    margin-top: 3rem;
}

.back-btn {
    padding: 1rem 2.5rem;
    background: #f0f4f8;
    color: #2a5298;
    border: 2px solid #2a5298;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.back-btn:hover {
    background: #2a5298;
    color: #fff;
    transform: translateY(-2px);
}

/* 产品详情页 */
.product-page {
    background: #f5f7fa;
}

/* ---------- 电商风格产品详情（蓝色主调） ---------- */
.product-page-ec {
    background: #e8eef5;
    padding-bottom: 3rem;
    min-height: 60vh;
}

.container-breadcrumb {
    padding-top: 14px;
    padding-bottom: 8px;
}

.breadcrumb-ec-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.breadcrumb-back-btn {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 999px;
    border: 1px solid #cfd8dc;
    background: #ffffff;
    color: #455a64;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.breadcrumb-back-btn:hover {
    border-color: #90caf9;
    color: #1565c0;
    box-shadow: 0 1px 4px rgba(21, 101, 192, 0.15);
}

.breadcrumb-ec {
    margin: 0;
    font-size: 13px;
    color: #5c6b7a;
}

.breadcrumb-ec a {
    color: #1565c0;
    text-decoration: none;
}

.breadcrumb-ec a:hover {
    text-decoration: underline;
}

.breadcrumb-sep {
    margin: 0 6px;
    color: #90a4ae;
}

.breadcrumb-current {
    color: #263238;
    font-weight: 500;
}

.product-detail-section.product-detail-ec {
    padding: 0 0 28px;
}

.product-detail-ec .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(21, 101, 192, 0.08);
    border: 1px solid #e3f2fd;
}

.product-detail-grid-ec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

/* 左侧：主图区 */
.product-gallery-ec {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}

.product-code-badge-ec {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 8px;
    align-self: flex-start;
    letter-spacing: 0.02em;
}

.product-main-image-ec {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 480px;
    background: #fafbfd;
    border: 1px solid #e3f2fd;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-main-image-ec.no-pic .no-pic-tip,
.product-main-image-ec .no-pic-tip {
    color: #90a4ae;
    font-size: 14px;
}

.product-main-image-ec img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbs-ec {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumb-item-ec {
    width: 60px;
    height: 60px;
    border: 2px solid #e3f2fd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #fafbfd;
    transition: border-color .2s, box-shadow .2s;
}

.thumb-item-ec:hover {
    border-color: #90caf9;
}

.thumb-item-ec.active {
    border-color: #1565c0;
    box-shadow: 0 0 0 1px #1565c0;
}

.thumb-item-ec img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-oem-block-ec {
    padding: 16px 18px;
    background: #f5f9fd;
    border: 1px solid #e3f2fd;
    border-radius: 10px;
    border-left: 4px solid #1565c0;
}

.oem-head-ec {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
}

.oem-content-ec {
    font-size: 14px;
    color: #37474f;
    line-height: 1.7;
    word-break: break-all;
}

/* OEM 表格展示 */
.oem-content-ec .oem-table-ec {
    width: 100%;
    border-collapse: collapse;
    margin-top: 4px;
}
.oem-content-ec .oem-table-ec td {
    border: 1px solid #cfd8dc;
    padding: 4px 6px;
    font-size: 13px;
    white-space: nowrap;
}

/* 右侧：信息区 */
.product-info-ec {
    min-width: 0;
}

.product-title-ec {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    color: #1a237e;
    line-height: 1.35;
}

.product-tags-ec {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tag-ec {
    padding: 6px 14px;
    font-size: 12px;
    color: #1565c0;
    background: #e3f2fd;
    border-radius: 20px;
    font-weight: 500;
}

.product-price-block-ec {
    margin-bottom: 16px;
    padding: 15px 18px;
    background: linear-gradient(145deg, #e3f2fd 0%, #bbdefb 60%);
    border: 1px solid #90caf9;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-label-ec {
    font-size: 14px;
    color: #0d47a1;
    font-weight: 500;
}

.price-value-ec {
    font-size: 20px;
    font-weight: 700;
    color: #0d47a1;
    letter-spacing: 0.02em;
}

.price-tip-ec {
    margin: 0;
    font-size: 11.5px;
    color: #1565c0;
    opacity: 0.9;
}

.btn-inquiry-ec {
    margin-top: 2px;
    padding: 8px 20px;
    font-size: 13.5px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(180deg, #1976d2 0%, #0d47a1 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.35);
}

.btn-inquiry-ec:hover {
    background: linear-gradient(180deg, #1565c0 0%, #0a3d91 100%);
    box-shadow: 0 6px 16px rgba(13, 71, 161, 0.4);
    transform: translateY(-2px);
}

.product-params-block-ec {
    padding: 20px 22px;
    background: #fafbfd;
    border: 1px solid #e3f2fd;
    border-radius: 12px;
}

.params-head-ec {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1565c0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3f2fd;
}

.product-params-ec {
    font-size: 14px;
}

.param-row-ec {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px solid #e8eaf6;
    align-items: flex-start;
    gap: 16px;
}

.param-row-ec:last-child {
    border-bottom: none;
}

.param-label-ec {
    min-width: 90px;
    flex-shrink: 0;
    color: #5c6b7a;
}

.param-value-ec {
    color: #1a237e;
    font-weight: 500;
}

/* 产品详情区域 */
.product-desc-ec {
    margin-top: 24px;
}

.product-desc-ec .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px 28px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(21, 101, 192, 0.08);
    border: 1px solid #e3f2fd;
}

/* 产品详情页：分类展示 */
.product-category-summary {
    padding: 18px 20px 12px;
    margin-bottom: 4px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f9ff 60%);
    border: 1px solid #bbdefb;
}

.category-summary-title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1565c0;
}

.category-summary-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
}

.category-summary-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #1565c0;
    color: #fff;
    font-size: 12px;
    white-space: nowrap;
}

.category-summary-empty {
    font-size: 12px;
    color: #607d8b;
}

.desc-tabs-ec {
    border-bottom: 2px solid #e3f2fd;
    margin-bottom: 0;
}

.desc-tab-ec {
    display: inline-block;
    padding: 16px 24px;
    font-size: 15px;
    font-weight: 600;
    color: #5c6b7a;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.desc-tab-ec.active {
    color: #1565c0;
    border-bottom-color: #1565c0;
}

.desc-content-ec {
    padding: 20px 0 0;
}

.desc-inner-ec {
    font-size: 14px;
    color: #37474f;
    line-height: 1.9;
    padding: 20px 24px;
    background: #f5f9fd;
    border-radius: 10px;
    border: 1px solid #e3f2fd;
}

.desc-inner-ec p {
    margin: 0;
}

/* 产品详情：文档式展示（标题、段落、表格、图片等） */
.product-detail-section .container {
    max-width: 900px;
}
.product-detail-document {
    word-wrap: break-word;
    padding: 28px 32px 36px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    min-height: 120px;
    font-size: 15px;
    line-height: 1.75;
    color: #1a1a1a;
}
.product-detail-document #metaRemark {
    margin: 0;
}
.product-detail-document table {
    border-collapse: collapse;
    width: 100%;
    max-width: 100%;
    margin: 16px 0;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    border-radius: 8px;
    overflow: hidden;
}
.product-detail-document th,
.product-detail-document td {
    border: 1px solid #e0e4e8;
    padding: 10px 14px;
    text-align: left;
}
.product-detail-document th {
    background: #f5f7fa;
    font-weight: 600;
    color: #37474f;
}
.product-detail-document tr:nth-child(even) {
    background: #fafbfc;
}
.product-detail-document img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 12px 0;
    display: block;
}
.product-detail-document ul,
.product-detail-document ol {
    margin: 12px 0;
    padding-left: 28px;
}
.product-detail-document li {
    margin: 6px 0;
}
.product-detail-document h1 {
    margin: 24px 0 12px;
    font-size: 1.5em;
    font-weight: 700;
    color: #1a1a1a;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8eaed;
}
.product-detail-document h2 {
    margin: 20px 0 10px;
    font-size: 1.25em;
    font-weight: 600;
    color: #252525;
}
.product-detail-document h3 {
    margin: 16px 0 8px;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}
.product-detail-document p {
    margin: 10px 0;
}
.product-detail-document a {
    color: var(--primary, #1976d2);
    text-decoration: none;
}
.product-detail-document a:hover {
    text-decoration: underline;
}
.product-detail-document blockquote {
    margin: 12px 0;
    padding: 12px 16px;
    border-left: 4px solid #1976d2;
    background: #f5f9fd;
    color: #455a64;
    border-radius: 0 8px 8px 0;
}

/* 产品详情页响应式 */
@media (max-width: 960px) {
    .product-detail-grid-ec {
        grid-template-columns: 1fr;
    }

    .product-gallery-ec {
        position: static;
    }

    .product-main-image-ec {
        max-width: 100%;
    }
}

/* 产品详情页 - 旧版保留兼容 */
.product-detail-section {
    padding: 3rem 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 2rem;
    align-items: flex-start;
}

.product-meta {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #d0d8e0;
    padding: 1.5rem;
}

.meta-row {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px dashed #e2e8f0;
    font-size: 0.95rem;
}

.meta-row:last-child {
    border-bottom: none;
}

.meta-label {
    color: #64748b;
}

.meta-value {
    font-weight: 600;
    color: #1e293b;
}

.product-spec-section {
    padding: 2rem 0 4rem;
}

.breadcrumb {
    margin: 0 0 0.5rem;
    color: #e5e7eb;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #bfdbfe;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.product-size {
    font-family: 'Courier New', monospace;
}

@media (max-width: 960px) {
    .product-detail-grid-tb {
        grid-template-columns: 1fr;
    }

    .product-main-image-tb {
        max-width: 100%;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* 响应式设计 - 查询页面 */
@media (max-width: 768px) {
    .search-input-wrapper {
        flex-direction: column;
    }

    .advanced-search-btn {
        width: 100%;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .results-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .result-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .search-results-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .result-card-footer {
        flex-direction: column;
    }

    .category-tags {
        justify-content: center;
        gap: 0.4rem;
    }
    
    .category-tag {
        padding: 0.35rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .parts-category-filter {
        padding: 0.6rem 0.8rem;
    }
    
    .parts-category-filter h3 {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .filter-levels {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .filter-level {
        padding: 0.6rem;
    }
}

@media (max-width: 480px) {
    .advanced-search-input {
        font-size: 1rem;
        padding: 1.2rem 1.5rem;
    }

    .car-filter-section {
        padding: 1rem;
    }

    .filter-levels {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .filter-level {
        padding: 0.6rem;
    }

    .level-text {
        font-size: 0.8rem;
    }

    .level-select {
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .search-by-car-btn {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .result-card {
        padding: 0.5rem;
    }
    .result-card-image { height: 85px; }
    .result-card-header h4 { font-size: 0.78rem; -webkit-line-clamp: 2; }
    .detail-btn { font-size: 0.72rem; padding: 0.35rem 0.5rem; }

    .result-info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .info-label {
        min-width: auto;
    }
}

/* ========== 手机阅览器版本（智能响应式，保留全部功能） ========== */
@media (max-width: 768px) {
    .container,
    .navbar .container { padding-left: 16px; padding-right: 16px; }
    .nav-container { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; }
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        padding: 10px;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 8px;
        cursor: pointer;
        color: #fff;
    }
    .nav-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: currentColor;
        margin: 2.5px 0;
        border-radius: 1px;
        transition: transform 0.25s, opacity 0.25s;
    }
    .navbar.nav-open .nav-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
    .navbar.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
    .navbar.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
    .nav-actions {
        position: fixed;
        top: 56px;
        left: 0;
        right: 0;
        background: rgba(11, 31, 58, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, box-shadow 0.3s;
        z-index: 999;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    /* 手机端隐藏语言切换按钮，默认越南语 */
    .lang-switcher {
        display: none;
    }
    /* 手机端隐藏主页快速查询，避免导航拥挤 */
    .nav-quick-search {
        display: none !important;
    }
    .navbar.nav-open .nav-actions { max-height: 85vh; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .nav-menu li { width: 100%; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .nav-menu a {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        min-height: 44px;
        line-height: 1.4;
    }
    .nav-btn {
        display: block;
        text-align: center;
        margin-top: 12px;
        padding: 14px;
        min-height: 44px;
    }
    .nav-btn-admin { display: none !important; }
    .hero-slider { height: auto; min-height: 380px; padding: 2rem 0; }
    .hero-simple {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    .hero-simple-text { max-width: 100%; }
    /* 手机端按需求：文字在上、图片在下 */
    .hero-simple-text { order: 1; text-align: left; width: 100%; }
    .hero-simple-image { order: 2; justify-content: center; width: 100%; }
    /* 用 aspect-ratio 保持比例，不拉伸；object-fit 保证裁切但不变形 */
    .hero-car-img { max-width: 100%; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
    .hero-title { font-size: 1.75rem; }
    .hero-subtitle { font-size: 0.95rem; }
    .hero-actions { justify-content: center; }
    .btn-primary, .btn-secondary {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 1rem;
        width: 100%;
        max-width: none;
        justify-content: center;
    }
    .brand-trust { padding: 1.25rem 0; }
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .trust-grid h3 { font-size: 1.1rem; }
    .trust-grid p { font-size: 0.85rem; }
    .section-head { margin-bottom: 1.5rem; }
    .section-head h2 { font-size: 1.6rem; }
    .section-head p { font-size: 0.95rem; }
    .solutions-section { padding: 2.5rem 0; }
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .solution-card { padding: 1.25rem; }
    .solution-card-image-wrap { min-height: 140px; }
    .solution-card-btn {
        display: block;
        width: 100%;
        margin-top: 0.75rem;
    }
    .news-section { padding: 2rem 0; }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .news-card { min-height: auto; }
    .agent-section { padding: 2rem 0; }
    .agent-grid { grid-template-columns: 1fr; gap: 1rem; }
    .agent-card { padding: 1.25rem; }
    .footer { padding: 1.25rem 0; font-size: 0.9rem; }
    .fc-widget {
      top: auto;
      bottom: 72px;
      transform: none;
    }
    .fc-widget.fc-right { right: 10px; }
    .fc-widget.fc-left { left: 10px; }
    .fc-toggle {
      width: 36px;
      min-width: 36px;
      padding: 6px 2px;
      font-size: 10px;
      line-height: 1.2;
      border-radius: 10px;
    }
    .fc-toggle span { font-size: 10px; }
    .fc-panel {
      width: 140px;
      border-radius: 12px;
      font-size: 12px;
    }
    .fc-item { padding: 10px 12px; min-height: 44px; }
    .fc-item-title { font-size: 12px; }
    .fc-item-sub { font-size: 11px; }
    .fc-modal-card { margin: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
    .page-header { padding: 1.5rem 0; }
    .page-header h1 { font-size: 1.5rem; }
    .page-header p { font-size: 0.95rem; }
    .query-section { padding: 1.5rem 0; }
    .advanced-search-box { padding: 1rem; }
    .search-input-wrapper { flex-direction: column; gap: 10px; }
    .advanced-search-input { font-size: 16px; min-height: 44px; }
    .advanced-search-btn { min-height: 44px; width: 100%; }
    .search-tips { flex-wrap: wrap; gap: 6px; }
    .search-results-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .result-card {
        padding: 0.5rem;
    }
    .result-card-image {
        height: 90px;
        margin-bottom: 0.35rem;
    }
    .result-card-header h4 {
        font-size: 0.8rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .result-card-body,
    .result-card-info { gap: 0.2rem; }
    .result-info-row { font-size: 0.7rem; }
    .result-info-row .info-label,
    .result-info-row .info-value { font-size: 0.7rem; }
    .result-badge { padding: 0.25rem 0.5rem; font-size: 0.65rem; }
    .oem-code, .product-code { font-size: 0.65rem; }
    .result-card-footer { padding-top: 0.35rem; }
    .detail-btn { padding: 0.4rem 0.6rem; font-size: 0.75rem; }
    .result-price { font-size: 0.8rem; }
    .car-filter-section { padding: 1rem; }
    .filter-levels { grid-template-columns: 1fr; }
    .search-by-car-btn { min-height: 44px; }
    .catalog-header { padding: 1.5rem 0; margin-bottom: 1rem; }
    .catalog-header h1 { font-size: 1.5rem; }
    .catalog-filters { padding: 0.75rem 1rem; margin-bottom: 1rem; }
    .filter-row { margin-bottom: 0.5rem; gap: 0.5rem; }
    .filter-row:not(.filter-row-combined) { flex-direction: column; align-items: stretch; }
    .filter-group { min-width: 0; }
    .filter-group input { min-width: 0; }
    .filter-group select { flex: 1; min-height: 40px; min-width: 0; font-size: 0.85rem; padding: 0.4rem 0.5rem; }
    .filter-group label { font-size: 0.85rem; }
    .filter-row-combined { flex-direction: row; align-items: center; gap: 0.5rem; }
    .filter-row-combined .filter-group { flex: 1 1 45%; max-width: none; }
    .filter-row-combined .filter-group:first-of-type { flex: 1 1 45%; }
    .filter-row-combined .filter-group:nth-child(3) { flex: 0 0 auto; }
    .filter-row-combined .filter-group select { min-height: 40px; }
    .filter-row-combined .catalog-stats { margin-left: 0; flex: 0 1 auto; justify-content: flex-start; gap: 0.5rem; margin-top: 0; }
    .filter-row-combined .stat-item { padding: 0.3rem 0.5rem; font-size: 0.8rem; }
    .catalog-categories { gap: 0.3rem; }
    .category-btn { padding: 0.35rem 0.6rem; font-size: 0.75rem; }
    .catalog-products .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    .catalog-products .product-card {
        border-radius: 8px;
    }
    .catalog-products .product-card-image {
        height: 150px;       /* 与查询页结果卡片图片一致 */
        object-fit: contain; /* 不裁剪、不拉伸，按比例缩小 */
    }
    .catalog-products .product-card-body {
        padding: 0.5rem;
    }
    .catalog-products .product-card-code-wrap {
        padding: 0.35rem 0.5rem;
        margin-bottom: 0.35rem;
    }
    .catalog-products .product-card-code-label { font-size: 0.65rem; }
    .catalog-products .product-card-code { font-size: 0.8rem; }
    .catalog-products .product-card-title {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .catalog-products .product-card-info {
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
    }
    .catalog-products .product-card-footer {
        padding-top: 0.35rem;
    }
    .catalog-products .product-card-price { font-size: 0.85rem; }
    .catalog-products .product-card-btn {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
    }
    .catalog-products .category-title { font-size: 1rem; margin-bottom: 0.5rem; }
    .product-detail-grid-ec { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-gallery-ec { order: 0; }
    .product-info-ec { order: 1; }
    .product-thumbs-ec { flex-wrap: wrap; }
    .breadcrumb-ec-wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
    .breadcrumb-back-btn { min-height: 44px; }
}

@media (max-width: 480px) {
    .container, .navbar .container { padding-left: 12px; padding-right: 12px; }
    .trust-grid { grid-template-columns: 1fr; }
    .hero-slider { min-height: 320px; }
    .hero-title { font-size: 1.5rem; }
    .section-head h2 { font-size: 1.4rem; }
    .advanced-search-input { padding: 12px 14px; }
    .result-card { padding: 1rem; }
    .product-detail-ec .container { padding-left: 12px; padding-right: 12px; }
    .catalog-header { padding: 1rem 0; }
    .catalog-filters { padding: 0.6rem 0.75rem; }
    .filter-row-combined .filter-group { flex: 1 1 42%; }
    .filter-row-combined .catalog-stats { flex: 1 1 100%; margin-top: 0.2rem; }
    .category-btn { padding: 0.3rem 0.5rem; font-size: 0.7rem; }
    .catalog-categories { gap: 0.25rem; }
}

/* 仅允许特定产品详情页显示后台入口（其它页面默认隐藏） */
.nav-btn-admin { display: none !important; }
.show-admin-btn .nav-btn-admin { display: inline-flex !important; }

/* VIN 分解系统（查询页） */
.vin-section {
    margin: 0 auto 2rem;
    max-width: 900px;
    padding: 1.25rem 1.25rem;
    background: #f8f9fa;
    border: 2px solid #e3f2fd;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(42, 82, 152, 0.06);
}
.vin-head h3 {
    color: #1e3c72;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}
.vin-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}
.vin-input {
    flex: 1;
    height: 44px;
    border-radius: 10px;
    border: 2px solid rgba(42, 82, 152, 0.35);
    padding: 0 14px;
    font-size: 1rem;
    outline: none;
}
.vin-input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.12);
}
.vin-parse-btn {
    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(180deg, #1976d2 0%, #0d47a1 100%);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.vin-parse-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(13, 71, 161, 0.18);
}
.vin-result {
    margin-top: 1rem;
    background: #ffffff;
    border: 1px solid #e3f2fd;
    border-radius: 10px;
    padding: 0.9rem 1rem;
    color: #0f172a;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .vin-section {
        margin-bottom: 1.5rem;
    }
    .vin-input-row {
        flex-direction: column;
        align-items: stretch;
    }
    .vin-parse-btn {
        width: 100%;
    }
}