/* 城市经销商独立样式。公共导航、页脚、bottom_fixed_logo 直接沿用公共文件。 */
html[data-page="dealer"], html[data-page="dealer"] > body { background: #eeeff1; }
html[data-page="dealer"] { --dealer-browser-bg: #eeeff1; --dealer-accent: #e8380d; --dealer-nav-height: 56px; --dealer-nav-bottom: clamp(16px, calc(var(--site-svh, 100svh) * .03), 32px); }
@media (prefers-color-scheme: dark) { html[data-page="dealer"] { --dealer-browser-bg: #1c1c1e; } }
.dealer_browser_tint { display: none; }
@supports (-webkit-touch-callout: none) and (-webkit-background-clip: text) {
    @media (hover: none) and (pointer: coarse) {
        .dealer_browser_tint { display: block; position: fixed; inset: auto 0 0; z-index: 2147483647; height: 11px; background: var(--dealer-browser-bg); -webkit-background-clip: text; background-clip: text; pointer-events: none; }
    }
}
.dealer_page { --dealer-accent: #e8380d; color: #27282a; background: #eeeff1; overflow: hidden; }
.dealer_page *, .dealer_page *::before, .dealer_page *::after, .dealer_hero_nav, .dealer_hero_nav *, .dealer_hero_nav *::before, .dealer_hero_nav *::after { box-sizing: border-box; }
.dealer_page [hidden] { display: none !important; }
.dealer_page button, .dealer_page a, .dealer_hero_nav a, .dealer_hero_nav button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.dealer_page button { font: inherit; }
.dealer_page .swiper, .dealer_hero_nav .swiper { min-width: 0; min-height: 0; max-width: 100%; }
.dealer_page .swiper-slide, .dealer_hero_nav .swiper-slide { min-width: 0; }
.dealer_page .swiper-scrollbar { --swiper-scrollbar-bg-color: rgba(85,86,90,.08); --swiper-scrollbar-drag-bg-color: rgba(85,86,90,.3); --swiper-scrollbar-size: 3px; }
.dealer_page .swiper-scrollbar-lock, .dealer_page .swiper-button-lock { display: none; }
/* 依赖加载失败时仍可原生滚动查看内容。初始化后由 Swiper 负责位移。 */
.dealer_page .swiper:not(.swiper-initialized), .dealer_hero_nav .swiper:not(.swiper-initialized) { overflow: auto; }
.dealer_width { width: min(79.4%, 1520px); margin-inline: auto; }
.dealer_section { scroll-margin-top: 110px; }
.dealer_hero { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; width: 100%; height: 100vh; height: var(--site-svh, 100svh); min-height: 0; max-height: none; padding: 0 0 calc(var(--dealer-nav-height) + var(--dealer-nav-bottom) + env(safe-area-inset-bottom, 0px)); overflow: hidden; background: #000; }
.dealer_hero::after { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.04) 25%, rgba(0,0,0,.22) 60%, #000 100%); content: ""; pointer-events: none; }
.dealer_hero_image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; opacity: 1; pointer-events: none; }
.dealer_hero_picture, .dealer_hero_fallback, .dealer_hero_canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; pointer-events: none; }
.dealer_hero_picture { z-index: 1; }
.dealer_hero_fallback { z-index: 1; object-fit: cover; opacity: 1; transition: opacity 1.2s ease-out; }
.dealer_hero_canvas { z-index: 0; }
.dealer_hero_image.is_relight_active .dealer_hero_fallback { opacity: 0; }
.dealer_hero_copy { position: relative; flex-shrink: 0; width: 100%; margin-bottom: clamp(16px, calc(var(--site-svh, 100vh) * .06), 62px); text-align: center; }
.dealer_hero_copy p { color: rgba(255,255,255,.13); font-size: clamp(48px, min(11.7vw, calc(var(--site-svh, 100vh) * .21)), 224px); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; white-space: nowrap; }
.dealer_hero_copy h1 { position: relative; margin: -.5em 0 0; color: #fff; font-size: clamp(32px, min(5.25vw, calc(var(--site-svh, 100vh) * .11)), 100px); font-weight: 400; line-height: 1.2; }
.dealer_hero_nav { position: fixed; left: 50%; bottom: calc(var(--dealer-nav-bottom) + env(safe-area-inset-bottom, 0px)); z-index: 4; transform: translateX(-50%); box-shadow: 0 8px 32px rgba(0,0,0,.16); display: flex; flex-shrink: 0; align-items: center; gap: 0; width: min(900px, 79.4%); padding: 8px; border-radius: 999px; background: #fff; }
.dealer_anchor_swiper { --dealer-anchor-min-width: 100px; flex: var(--dealer-anchor-count, 4) 1 0; margin: 0; }
.dealer_anchor_swiper .swiper-wrapper { align-items: center; }
.dealer_anchor_swiper a.swiper-slide { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: max(calc(100% / var(--dealer-anchor-count, 4)), var(--dealer-anchor-min-width)); min-height: 40px; padding: 8px 12px; color: #a4a5a7; font-size: 14px; white-space: nowrap; }
.dealer_anchor_swiper a::before { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: #d2d3d5; content: ""; }
.dealer_anchor_swiper a.is_active { color: #333; }
.dealer_anchor_swiper a.is_active::before { background: var(--dealer-accent); }
.dealer_hero_nav .dealer_apply_btn { border: 0; font-family: inherit; line-height: 1.5; cursor: pointer; display: inline-flex; flex: 1 0 0; align-items: center; justify-content: center; min-width: 100px; min-height: 40px; padding: 8px 18px; border-radius: 999px; background: var(--dealer-accent); color: #fff; font-size: 14px; white-space: nowrap; }
.dealer_section_heading { margin-bottom: clamp(48px, 4vw, 76px); text-align: center; }
.dealer_section_label { display: inline-block; min-width: 152px; margin-bottom: clamp(54px, 3.7vw, 72px); padding: 10px 24px; border: 1px solid #bfc1c5; border-radius: 20px; font-size: 18px; font-weight: 400; line-height: 1.4; }
.dealer_section_heading h2 { margin: 0 0 16px; font-size: clamp(30px, 2.5vw, 48px); font-weight: 500; line-height: 1.4; }
.dealer_section_heading > p:last-child:not(.dealer_section_label) { padding-inline: 24px; font-size: clamp(14px, 1.2vw, 22px); line-height: 1.7; }
.dealer_messages { padding-top: clamp(100px, 9.2vw, 176px); }
.dealer_messages .dealer_section_heading { margin-bottom: 38px; }
.dealer_message_options { width: min(660px, calc(100% - 48px)); margin: 0 auto clamp(42px, 3vw, 58px); padding-bottom: 12px; }
.dealer_message_options .swiper-wrapper { align-items: center; }
.dealer_message_options.is_centered .swiper-wrapper { justify-content: center; }
.dealer_option { border: 0; background: none; color: #96979a; cursor: pointer; text-align: left; transition: color .24s ease, background-color .24s ease, box-shadow .24s ease; }
.dealer_message_options .dealer_option { width: auto; min-width: 150px; min-height: 44px; padding: 8px 18px; font-size: clamp(24px, 1.9vw, 36px); text-align: center; white-space: nowrap; }
.dealer_message_options .dealer_option[aria-selected="true"] { color: #27282a; text-decoration: underline; text-underline-offset: 6px; }
.dealer_message_gallery { width: 100%; overflow: visible; }
.dealer_message_card { position: relative; width: min(53.6vw, 1030px); aspect-ratio: 1.93; overflow: hidden; border-radius: clamp(24px, 2.5vw, 48px); background: #c6c7c7; }
.dealer_message_card img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.22,.61,.36,1), filter .4s ease; }
.dealer_message_gallery img, .dealer_store_gallery img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.dealer_message_gallery { touch-action: pan-y; }
.dealer_store_gallery { touch-action: pan-x; }
.dealer_store_gallery.is_dragging, .dealer_message_gallery.is_dragging { cursor: grabbing !important; }
.dealer_message_card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,.12) 40%, rgba(0,0,0,.28) 100%); content: ""; }
.dealer_message_copy { position: absolute; top: 50%; left: 10%; z-index: 1; width: 80%; color: #fff; text-align: center; transform: translateY(-40%); opacity: 0; transition: opacity .45s ease; }
.swiper-slide-active .dealer_message_copy, .dealer_message_gallery:not(.swiper-initialized) .dealer_message_copy { opacity: 1; }
.dealer_message_copy h3 { display: inline-block; max-width: 100%; margin-bottom: 36px; color: #1A1A1A; background: linear-gradient(-32deg, #FEFEFE 0%, #E8380D 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-size: clamp(48px, 4.6vw, 88px); font-weight: 500; line-height: 1.1; }
.dealer_message_number { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.dealer_number_digit { display: inline-block; flex: 0 0 .62em; width: .62em; height: 1em; overflow: hidden; line-height: 1; text-align: center; }
.dealer_number_track { display: flex; flex-direction: column; transition: transform 1.15s cubic-bezier(.16,1,.3,1) var(--dealer-digit-delay, 0ms); }
.dealer_number_track > span { display: block; flex: 0 0 1em; height: 1em; color: #1A1A1A; background: linear-gradient(-32deg, #FEFEFE 0%, #E8380D 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.dealer_number_separator { display: inline-block; }
.dealer_message_copy p { font-size: clamp(16px, 1.3vw, 24px); line-height: 1.65; }
.dealer_page .swiper-pagination-bullet { flex: 0 0 7px; width: 7px; height: 7px; margin: 0 !important; background: #999b9e; opacity: .3; }
.dealer_page .swiper-pagination-bullet-active { background: var(--dealer-accent); opacity: 1; }
.dealer_policies { padding-block: clamp(110px, 8vw, 154px) clamp(130px, 9.5vw, 182px); }
.dealer_policies .dealer_section_heading { margin-bottom: 56px; }
.dealer_policies .dealer_section_label { margin: 0; }
.dealer_policy_card { display: grid; grid-template-columns: minmax(0, .3fr) minmax(0, .7fr); gap: clamp(40px, 4.8vw, 92px); height: var(--dealer-policy-card-height, auto); min-width: 0; padding: clamp(48px, 4.8vw, 92px) clamp(40px, 3.5vw, 68px); border-radius: 32px; background: radial-gradient(ellipse at 0 0, #f5bcae 0, transparent 51%), radial-gradient(ellipse at 100% 100%, #f5c3b6 0, transparent 42%), linear-gradient(135deg, #f9f5f4 22%, #f9f9fa 60%, #e6e7e8); box-shadow: 0 8px 35px rgba(34,35,38,.11); }
/* 离屏副本立即切换测量状态，不参与视觉动画。 */
.dealer_policy_card.is_measuring, .dealer_policy_card.is_measuring * { transition: none !important; animation: none !important; }
.dealer_policy_sidebar { display: flex; flex-direction: column; min-height: 0; min-width: 0; padding-right: clamp(24px, 3vw, 58px); border-right: 1px solid rgba(90,90,95,.16); }
.dealer_policy_options { flex: 1; width: 100%; margin: 0; }
.dealer_policy_options > .swiper-wrapper { height: auto; }
.dealer_policy_options .dealer_option { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; height: auto; padding: 12px 16px; font-size: clamp(22px, 1.6vw, 30px); line-height: 1.45; overflow-wrap: anywhere; }
.dealer_policy_options .dealer_option[aria-selected="true"] { color: #252628; font-weight: 600; }
.dealer_policy_options small { display: block; margin-top: 5px; font-size: 14px; font-weight: 400; color: #a1a2a5; }
.dealer_policy_brand { display: block; flex: 0 0 auto; width: 100%; max-width: 100%; min-width: 0; margin-top: 42px; overflow: hidden; font-size: clamp(23px, 2vw, 38px); line-height: 1; color: #545558; }
.dealer_policy_brand .txiconfont { display: inline-block; font-size: var(--dealer-policy-logo-size, 1em); line-height: 1; white-space: nowrap; }
.dealer_policy_panels { height: 100%; min-width: 0; min-height: 0; overflow-x: hidden; overflow-y: auto; padding-right: 20px; touch-action: pan-y; -webkit-overflow-scrolling: touch; overflow-anchor: none; }
.dealer_policy_panel { min-width: 0; min-height: 0; }
.dealer_content_scroll { min-width: 0; }
.dealer_policy_points { margin: 0; padding: 0 0 12px 18px; list-style: none; }
.dealer_policy_points > li { position: relative; margin-bottom: 22px; }
.dealer_policy_points > li::before { position: absolute; top: 11px; left: -17px; width: 5px; height: 5px; background: var(--dealer-accent); content: ""; }
.dealer_policy_points h3 { margin-bottom: 8px; font-size: clamp(17px, 1.16vw, 22px); font-weight: 600; line-height: 1.5; }
.dealer_policy_toggle { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 0; border: 0; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: color .28s ease; }
.dealer_policy_toggle_mark { position: relative; display: block; flex: 0 0 30px; width: 30px; height: 30px; padding: 7px; border: 1px solid rgba(39,40,42,.22); border-radius: 50%; transition: transform .4s ease, background-color .28s ease, border-color .28s ease; }
.dealer_policy_toggle_mark::before, .dealer_policy_toggle_mark::after { position: absolute; top: 50%; left: 50%; width: 12px; height: 1px; background: currentColor; content: ""; transform: translate(-50%, -50%); }
.dealer_policy_toggle_mark::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s ease; }
.dealer_policy_toggle[aria-expanded="true"] { color: var(--dealer-accent); }
.dealer_policy_toggle[aria-expanded="true"] .dealer_policy_toggle_mark { border-color: var(--dealer-accent); background: rgba(232,56,13,.07); transform: rotate(180deg); }
.dealer_policy_toggle[aria-expanded="true"] .dealer_policy_toggle_mark::after { transform: translate(-50%, -50%) rotate(0); }
.dealer_policy_details { height: 0; opacity: 0; overflow: hidden; transition: height .42s cubic-bezier(.16,1,.3,1), opacity .3s ease; }
.dealer_policy_details_inner { display: flow-root; padding-bottom: 2px; }
.dealer_policy_points > li.is_expanded > .dealer_policy_point_inner > .dealer_policy_details { height: var(--dealer-policy-details-height, 0px); opacity: 1; }
.dealer_policy_points p, .dealer_policy_note { color: #66686b; font-size: clamp(14px, .85vw, 16px); line-height: 1.9; overflow-wrap: anywhere; }
.dealer_policy_note { margin-top: 28px; }
.dealer_table_scroll { width: 100%; min-width: 0; margin-top: 14px; }
.dealer_policy_table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 8px 0; color: #84868a; font-size: 14px; line-height: 1.7; text-align: left; }
.dealer_policy_table th, .dealer_policy_table td { padding: 8px 22px; border-radius: 24px; background: #E7E8E9; font-weight: 400; }
/* 列间距沿用圆角分块样式；仅标题与正文之间留 8px，正文各行纵向零间隔。 */
.dealer_policy_table thead th, .dealer_policy_table thead td { border-radius: 24px; background: #E4E5E7; background-clip: padding-box; color: #57595d; font-weight: 500; }
.dealer_policy_table thead tr:last-child > th, .dealer_policy_table thead tr:last-child > td { border-bottom: 8px solid transparent; }
.dealer_policy_table tr > :first-child { width: 30%; }
.dealer_policy_table th, .dealer_policy_table td { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.dealer_support { position: relative; isolation: isolate; padding-block: clamp(100px, 6.3vw, 120px) clamp(100px, 6.5vw, 125px); color: #27282a; background: none; overflow: hidden; }
/* 后续图片背景在此配置：background-image: url("../../static/image/dealer/support.jpg");
/* 支持模块使用项目图片 bg.jpg，保留 --dealer-support-image 自定义入口。 */
.dealer_support { background-image: var(--dealer-support-image, url("../../static/image/dealer/bg.jpg")); background-position: center; background-size: cover; background-repeat: no-repeat; }
.dealer_support.has_background { color: #fff; }
.dealer_support .dealer_section_label { margin: 0; border-color: rgba(39,40,42,.25); color: inherit; }
.dealer_support.has_background .dealer_section_label { border-color: rgba(255,255,255,.45); }
.dealer_support .dealer_section_heading { margin-bottom: clamp(80px, 5.6vw, 108px); }
.dealer_support_intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; align-items: start; margin-bottom: clamp(160px, 12.5vw, 240px); }
.dealer_support_intro h2 { font-size: clamp(30px, 2.5vw, 48px); font-weight: 500; line-height: 1.4; }
.dealer_support_intro p { font-size: clamp(15px, 1.05vw, 20px); line-height: 1.8; }
.dealer_support_cards { width: 100%; padding-bottom: 18px; }
.dealer_support_cards .swiper-slide { height: auto; padding: 24px; }
.dealer_support_cards .swiper-slide::after { position: absolute; top: 24px; right: 0; bottom: 24px; width: 1px; background: rgba(39,40,42,.18); content: ""; }
.dealer_support_cards .swiper-slide:last-child::after { display: none; }
.dealer_support.has_background .dealer_support_cards .swiper-slide::after { background: rgba(255,255,255,.3); }
.dealer_support_cards h3 { margin: 0 0 30px; font-size: clamp(17px, 1.18vw, 22px); font-weight: 600; line-height: 1.7; }
.dealer_support_cards p { color: #CCCCCC; font-size: clamp(14px, .9vw, 17px); line-height: 1.85; }
.dealer_support_cards .swiper-scrollbar { --swiper-scrollbar-bg-color: rgba(255,255,255,.12); --swiper-scrollbar-drag-bg-color: rgba(255,255,255,.55); }
.dealer_stores { padding-top: clamp(130px, 10vw, 192px); padding-bottom: clamp(140px, 10vw, 192px); }
.dealer_stores .dealer_section_heading { margin-bottom: 64px; }
.dealer_store_frame { position: relative; min-width: 0; height: clamp(510px, 37vw, 720px); border-radius: 22px; background: #a29786; overflow: hidden; }
.dealer_store_gallery { height: 100%; }
.dealer_store_gallery .swiper-slide { overflow: hidden; background: #a29786; transition-timing-function: cubic-bezier(.22,.61,.36,1); }
.dealer_store_gallery img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.045); transition: transform .85s cubic-bezier(.22,.61,.36,1); }
.dealer_store_gallery .swiper-slide-active img, .dealer_store_gallery:not(.swiper-initialized) img { transform: scale(1); }
.dealer_store_sidebar { position: absolute; inset: 0 0 0 auto; z-index: 2; display: flex; align-items: center; width: 25%; min-width: 260px; padding: 44px 28px; background: rgba(18,18,18,.56); color: #fff; }
.dealer_store_options { width: 100%; height: 100%; max-height: 420px; margin: 0; padding-right: 12px; }
.dealer_store_options > .swiper-wrapper { height: auto; }
.dealer_store_options .swiper-slide { height: auto; }
.dealer_store_option { position: relative; display: block; width: 100%; padding: 14px 16px 14px 30px; border: 0; color: rgba(255,255,255,.7); background: transparent; text-align: left; cursor: pointer; }
.dealer_store_option[aria-pressed="true"] { color: #fff; }
.dealer_store_option::before { position: absolute; top: 26px; left: 12px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; content: ""; }
.dealer_store_name { display: block; font-size: clamp(17px, 1.05vw, 20px); font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.dealer_store_option { transition: color .35s ease; }
/* 与首页新闻手风琴一致：高度和透明度共同过渡，展开高度按内容实测，不截断长文案。 */
.dealer_store_details { display: block; height: 0; opacity: 0; overflow: hidden; font-size: clamp(14px, .85vw, 16px); line-height: 1.8; overflow-wrap: anywhere; transition: height .45s cubic-bezier(.16,1,.3,1), opacity .35s ease; }
.dealer_store_details_inner { display: block; padding-top: 16px; }
.dealer_store_option[aria-pressed="true"] .dealer_store_details { height: var(--dealer-store-details-height, auto); opacity: 1; }
.dealer_store_pagination { position: absolute; top: 50% !important; right: auto !important; bottom: auto !important; left: 24px !important; z-index: 2; display: flex; flex-direction: column; flex-wrap: nowrap; gap: 12px; width: auto !important; transform: translateY(-50%) !important; }
.dealer_store_pagination .swiper-pagination-bullet { background: #fff; opacity: .45; }
.dealer_store_pagination .swiper-pagination-bullet-active { opacity: 1; }
.dealer_anchor_swiper a, .dealer_apply_btn { transition: color .24s ease, background-color .24s ease, box-shadow .24s ease; }
.dealer_anchor_swiper a::before { transition: background-color .24s ease, transform .24s ease; }
.dealer_policy_options .dealer_option > span:last-child { transition: transform .28s ease; }
.dealer_support_cards .swiper-slide { border-radius: 16px; transition: background-color .35s ease, box-shadow .35s ease; }
.dealer_support_cards h3 { transition: color .28s ease, transform .35s ease; }
.dealer_store_option { border-radius: 10px; transition: color .28s ease, background-color .28s ease, box-shadow .28s ease; }
.dealer_store_pagination .swiper-pagination-bullet { transition: opacity .24s ease, transform .24s ease; }
.dealer_policy_card { transition: box-shadow .4s ease; }
html[data-site-focus="keyboard"] .dealer_page a:focus-visible, html[data-site-focus="keyboard"] .dealer_page button:focus-visible, html[data-site-focus="keyboard"] .dealer_hero_nav a:focus-visible, html[data-site-focus="keyboard"] .dealer_hero_nav button:focus-visible { outline: 2px solid var(--dealer-accent) !important; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) {
    .dealer_anchor_swiper a:hover { color: var(--dealer-accent); background: #fce9e3; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(232,56,13,.12); }
    .dealer_anchor_swiper a:hover::before { background: var(--dealer-accent); transform: scale(1.35); }
    .dealer_option:hover { color: var(--dealer-accent); }
    .dealer_message_options .dealer_option:hover { background: rgba(232,56,13,.13); border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(232,56,13,.13); }
    .dealer_message_gallery:not(.is_dragging) .dealer_message_card:hover img { transform: scale(1.065); filter: contrast(1.08) saturate(1.08); }
    .dealer_policy_card:hover { box-shadow: 0 16px 46px rgba(130,68,53,.2); }
    .dealer_policy_options .dealer_option:hover { background: rgba(232,56,13,.08); border-radius: 10px; }
    .dealer_policy_options .dealer_option:hover > span:last-child { transform: translateX(7px); }
    .dealer_policy_toggle:hover { color: var(--dealer-accent); }
    .dealer_policy_toggle:hover .dealer_policy_toggle_mark { border-color: var(--dealer-accent); background: rgba(232,56,13,.12); }
    .dealer_support_cards .swiper-slide:hover { background: rgba(232,56,13,.07); box-shadow: inset 0 0 0 1px rgba(232,56,13,.16), 0 12px 32px rgba(35,38,45,.08); }
    .dealer_support.has_background .dealer_support_cards .swiper-slide:hover { background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), 0 12px 32px rgba(8,14,30,.15); }
    .dealer_support_cards .swiper-slide:hover h3 { color: var(--dealer-accent); transform: translateY(-5px); }
    .dealer_store_option:hover { color: #fff; background: rgba(255,255,255,.16); box-shadow: inset 3px 0 var(--dealer-accent); }
    .dealer_store_gallery:not(.is_dragging) .swiper-slide-active:hover img { transform: scale(1.065); }
    .dealer_store_pagination .swiper-pagination-bullet:hover { opacity: 1; transform: scale(1.55); }
    .dealer_hero_nav .dealer_apply_btn:hover { background: #c92e09; box-shadow: 0 5px 20px rgba(232,56,13,.4); }
}
@media (max-width: 1199px) {
    .dealer_width { width: 84%; }
    .dealer_hero_nav { width: min(900px, 84%); }
    .dealer_policy_card { gap: 30px; padding: 44px 32px; }
    .dealer_policy_sidebar { padding-right: 26px; }
    .dealer_policy_options .dealer_option { font-size: 21px; }
    .dealer_store_sidebar { width: 31%; min-width: 240px; padding: 32px 22px; }
    .dealer_support_cards .swiper-slide { padding: 22px 20px; }
}
@media (max-width: 996px) {
    .dealer_width { width: calc(100% - 48px); }
    html[data-page="dealer"] { --dealer-nav-height: 60px; --dealer-nav-bottom: 16px; }
    .dealer_hero_copy p { font-size: min(11.5vw, calc(var(--site-svh, 100vh) * .21)); }
    .dealer_hero_copy h1 { margin-top: -.25em; font-size: clamp(46px, 7vw, 68px); }
    .dealer_hero_nav { align-items: stretch; gap: 8px; width: min(620px, calc(100% - 48px)); padding: 10px; border-radius: 24px; }
    .dealer_hero_nav .dealer_anchor_swiper { flex: 1 1 0; width: auto; overflow: visible; }
    .dealer_anchor_swiper .swiper-wrapper { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .dealer_anchor_swiper a.swiper-slide { gap: 6px; width: 100%; min-height: 40px; padding: 6px 8px; border-radius: 14px; font-size: 13px; }
    .dealer_anchor_swiper a.is_active { background: #f2f3f4; }
    .dealer_hero_nav .dealer_apply_btn { flex: 0 0 100px; min-width: 0; min-height: 40px; padding-inline: 12px; }
    .dealer_section_label { min-width: 126px; margin-bottom: 42px; padding: 8px 20px; font-size: 16px; }
    .dealer_section_heading h2 { font-size: 32px; }
    .dealer_message_card { width: 70vw; aspect-ratio: 1.5; }
    .dealer_message_options .dealer_option { min-width: 130px; }
    /* 初始化时预计算所有配置状态的最大高度；交互时保持整卡高度不变。 */
    .dealer_policy_card { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 0; height: var(--dealer-policy-card-height, auto); padding: 32px; border-radius: 26px; overflow: hidden; overflow-anchor: none; }
    .dealer_policy_sidebar { height: auto; padding: 0 0 22px; border: 0; }
    .dealer_policy_options { flex: none; height: 216px; padding-right: 12px; }
    .dealer_policy_options > .swiper-wrapper { height: auto; align-items: stretch; }
    .dealer_policy_options .dealer_option { align-items: center; width: 100%; height: auto; padding: 12px 14px; font-size: 20px; white-space: normal; overflow-wrap: anywhere; }
    .dealer_policy_options .dealer_option > span:first-child { min-width: 0; }
    .dealer_policy_options .dealer_option > span:last-child { flex-shrink: 0; }
    .dealer_policy_options small { font-size: 12px; }
    .dealer_policy_brand { display: none; }
    .dealer_policy_panels { height: auto; padding-right: 0; border-top: 1px solid rgba(90,90,95,.14); }
    .dealer_policy_panel { padding-top: 24px; }
    /* 固定列宽和长文字折行；保留标题与正文间隔，正文内部连续。 */
    .dealer_policy_table th, .dealer_policy_table td { min-width: 0; padding: 9px 12px; }
    .dealer_policy_table tbody th { color: #57595d; font-weight: 500; }
    .dealer_page .dealer_store_gallery { touch-action: pan-y; cursor: auto !important; }
    .dealer_policy_points { padding-bottom: 0; }
    .dealer_policy_points > li { margin-bottom: 18px; }
    .dealer_policy_points > li:last-child { margin-bottom: 0; }
    .dealer_policy_points h3 { margin-bottom: 6px; }
    .dealer_policy_points p, .dealer_policy_note { line-height: 1.7; }
    .dealer_policy_points.is_accordion_ready > li { display: grid; grid-template-rows: 1fr; opacity: 1; transition: grid-template-rows .42s cubic-bezier(.16,1,.3,1), margin-bottom .42s cubic-bezier(.16,1,.3,1), opacity .24s ease; }
    .dealer_policy_point_inner { min-height: 0; overflow: hidden; }
    .dealer_policy_points.is_accordion_ready > li.is_suppressed { grid-template-rows: 0fr; margin-bottom: 0; opacity: 0; pointer-events: none; }
    .dealer_policy_points.is_focused > li.is_expanded { margin-bottom: 0; }
    .dealer_table_scroll { margin-top: 10px; }
    .dealer_policy_table { border-spacing: 6px 0; line-height: 1.6; }
    .dealer_support_intro { gap: 32px; margin-bottom: 90px; }
    .dealer_support_intro h2 { font-size: 32px; }
    .dealer_store_frame { height: 550px; }
    .dealer_store_sidebar { width: 34%; min-width: 220px; }
}
@media (max-width: 600px) {
    .dealer_width { width: calc(100% - 32px); }
    html[data-page="dealer"] { --dealer-nav-height: 92px; --dealer-nav-bottom: 12px; }
    .dealer_hero_copy { margin-bottom: clamp(16px, calc(var(--site-svh, 100vh) * .05), 40px); }
    .dealer_hero_copy p { font-size: min(11.25vw, calc(var(--site-svh, 100vh) * .21)); letter-spacing: -.04em; }
    .dealer_hero_copy h1 { margin-top: 0; font-size: 44px; }
    .dealer_hero_nav { gap: 6px; width: calc(100% - 32px); max-width: 420px; padding: 8px; border-radius: 22px; }
    .dealer_anchor_swiper .swiper-wrapper { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
    .dealer_anchor_swiper a.swiper-slide { gap: 6px; min-height: 36px; padding: 6px 4px; font-size: 12px; }
    .dealer_anchor_swiper a::before { flex-basis: 6px; width: 6px; height: 6px; }
    .dealer_hero_nav .dealer_apply_btn { flex-basis: 80px; min-height: 44px; padding: 8px; border-radius: 16px; font-size: 13px; }
    .dealer_messages { padding-top: 86px; }
    .dealer_section_heading h2 { font-size: 28px; }
    .dealer_section_heading > p:last-child:not(.dealer_section_label) { padding-inline: 20px; font-size: 14px; }
    .dealer_section_label { min-width: 112px; margin-bottom: 36px; font-size: 14px; }
    .dealer_message_options { width: calc(100% - 48px); margin-bottom: 28px; }
    .dealer_message_options .dealer_option { min-width: 100px; padding: 8px 14px; font-size: 24px; }
    .dealer_message_card { width: calc(100vw - 64px); aspect-ratio: 1.05; border-radius: 24px; }
    .dealer_message_copy { left: 8%; width: 84%; }
    .dealer_message_copy h3 { margin-bottom: 26px; font-size: clamp(52px, 14vw, 64px); }
    .dealer_message_copy p { font-size: clamp(15px, 4vw, 18px); }
    .dealer_policies { padding-block: 90px 96px; }
    .dealer_policies .dealer_section_heading { margin-bottom: 32px; }
    .dealer_policy_card { padding: 24px 20px; border-radius: 22px; }
    .dealer_policy_options .dealer_option { gap: 10px; font-size: 18px; }
    .dealer_policy_sidebar { padding-bottom: 18px; }
    .dealer_policy_options { height: 174px; }
    .dealer_policy_options .dealer_option { padding: 8px 12px; }
    .dealer_policy_panels { padding-right: 0; }
    .dealer_policy_panel { padding-top: 20px; }
    .dealer_policy_points { padding-left: 14px; }
    .dealer_policy_points > li::before { left: -13px; }
    .dealer_policy_points h3 { font-size: 17px; }
    .dealer_policy_points p { font-size: 14px; }
    .dealer_policy_table { font-size: 13px; }
    .dealer_policy_table th, .dealer_policy_table td { padding: 8px; }
    .dealer_policy_table tr > :first-child { width: 44%; }
    .dealer_support { padding-block: 75px 70px; }
    .dealer_support .dealer_section_heading { margin-bottom: 55px; }
    .dealer_support_intro { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-bottom: 68px; }
    .dealer_support_intro h2 { font-size: 30px; }
    .dealer_support_intro p { font-size: 14px; }
    .dealer_support_cards .swiper-slide { padding: 20px 18px; }
    .dealer_support_cards h3 { font-size: 18px; margin-bottom: 22px; }
    .dealer_support_cards p { font-size: 14px; }
    .dealer_stores { padding-top: 90px; padding-bottom: 100px; }
    .dealer_stores .dealer_section_heading { margin-bottom: 36px; }
    .dealer_store_frame { height: clamp(480px, calc(var(--site-svh, 100vh) * .72), 600px); border-radius: 20px; }
    .dealer_store_gallery { height: 100%; }
    .dealer_store_gallery img { object-position: center; }
    .dealer_store_sidebar { inset: auto 0 0; width: 100%; min-width: 0; height: 220px; padding: 22px 20px; background: rgba(18,18,18,.56); }
    .dealer_store_options { max-height: none; }
    .dealer_store_name { font-size: 17px; }
    .dealer_store_details { font-size: 14px; }
    .dealer_store_details_inner { padding-top: 10px; }
    .dealer_store_pagination { top: 20px !important; left: 18px !important; transform: none !important; }
}
@media (prefers-reduced-motion: reduce) { .dealer_page *, .dealer_page *::before, .dealer_page *::after, .dealer_hero_nav, .dealer_hero_nav *, .dealer_hero_nav *::before, .dealer_hero_nav *::after { transition-duration: 0s !important; } }
@media (prefers-reduced-motion: reduce) { .dealer_store_gallery img { transform: none !important; } }

/* 预约底部弹框独立于 smooth-content，通过 dialog 顶层显示。 */
.dealer_visit_dialog, .dealer_visit_dialog *, .dealer_visit_dialog *::before, .dealer_visit_dialog *::after { box-sizing: border-box; }
.dealer_visit_dialog { position: fixed; inset: auto 0 0; width: 100%; max-width: none; max-height: calc(var(--site-svh, 100svh) - 24px); margin: 0; padding: 0; border: 0; border-radius: 0; background: #eeeff1; color: #333538; box-shadow: 0 -20px 70px rgba(0,0,0,.05); overflow: hidden; opacity: 0; transform: translateY(100%); transition: transform .42s cubic-bezier(.16,1,.3,1), opacity .25s ease; }
.dealer_visit_dialog::backdrop { background: rgba(72,73,76,.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); opacity: 0; transition: opacity .35s ease; }
.dealer_visit_dialog.is_open { opacity: 1; transform: translateY(0); }
.dealer_visit_dialog.is_open::backdrop { opacity: 1; }
.dealer_visit_dialog [hidden] { display: none !important; }
.dealer_visit_scroll { max-height: calc(var(--site-svh, 100svh) - 24px); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.dealer_visit_inner { width: min(79.4%, 1520px); margin-inline: auto; padding: clamp(36px, 4.5vw, 84px) 0 calc(clamp(44px, 7.3vw, 140px) + env(safe-area-inset-bottom, 0px)); }
.dealer_visit_header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: clamp(30px, 3vw, 58px); background: #eeeff1; }
.dealer_visit_header h2 { margin: 0; font-size: clamp(22px, 1.6vw, 32px); font-weight: 400; line-height: 1.5; }
.dealer_visit_close { display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 12px; border: 0; border-radius: 50%; background: #e0e1e5; color: #303236; cursor: pointer; touch-action: manipulation; transition: background-color .24s ease, transform .36s ease; }
.dealer_visit_close .txiconfont { display: block; font-size: 13px; line-height: 1; pointer-events: none; }
.dealer_visit_form { display: grid; grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr); column-gap: clamp(24px, 3vw, 60px); row-gap: 0; }
.dealer_visit_fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dealer_visit_field { position: relative; display: block; min-width: 0; }
.dealer_visit_label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dealer_visit_field input, .dealer_visit_field textarea { display: block; width: 100%; min-width: 0; height: 64px; margin: 0; padding: 16px 28px; border: 1px solid transparent; border-radius: 999px; background: #e0e1e5; color: #303236; font: inherit; font-size: clamp(16px, 1vw, 20px); line-height: 1.5; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, background-color .2s ease; }
.dealer_visit_field textarea { height: 100%; min-height: 140px; padding: 18px 28px; border-radius: 30px; resize: none; overscroll-behavior: contain; }
.dealer_visit_field input::placeholder, .dealer_visit_field textarea::placeholder { color: #8f9298; opacity: 1; }
.dealer_visit_field input:focus, .dealer_visit_field textarea:focus { border-color: rgba(232,56,13,.4); background: #e5e6e9; }
.dealer_visit_city input { padding-right: 48px; }
.dealer_visit_city input::-webkit-calendar-picker-indicator { opacity: 0; }
.dealer_visit_arrow { position: absolute; top: 50%; right: 26px; width: 9px; height: 9px; border-right: 1px solid #878a90; border-bottom: 1px solid #878a90; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.dealer_visit_actions { grid-column: 2; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: clamp(30px, 3.2vw, 62px); }
.dealer_visit_consent { display: flex; align-items: center; flex-wrap: wrap; column-gap: 4px; row-gap: 8px; color: #96999e; font-size: 14px; line-height: 1.5; }
.dealer_visit_consent label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.dealer_visit_consent input { display: inline-grid; flex: 0 0 18px; place-items: center; width: 18px; height: 18px; margin: 0; border: 1px solid #b9bcc2; border-radius: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; }
.dealer_visit_consent input:checked { border-color: #e8380d; background: #e8380d; }
.dealer_visit_consent input:checked::after { width: 9px; height: 5px; border-bottom: 2px solid #fff; border-left: 2px solid #fff; content: ""; transform: translateY(-1px) rotate(-45deg); }
.dealer_visit_dialog a.dealer_visit_privacy { color: #516c9c; text-decoration: none; }
.dealer_visit_submit { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; min-width: clamp(160px, 13vw, 250px); min-height: 58px; padding: 14px 30px; border: 0; border-radius: 999px; background: #e8380d; color: #fff; font: inherit; font-size: 18px; font-weight: 500; line-height: 1.5; cursor: pointer; touch-action: manipulation; transition: background-color .24s ease, box-shadow .24s ease; }
.dealer_visit_status { grid-column: 1 / -1; margin: 18px 0 0; color: #666a71; font-size: 14px; line-height: 1.7; text-align: right; }
.dealer_visit_status a { color: #e8380d; text-decoration: underline; text-underline-offset: 3px; }
html[data-site-focus="keyboard"] .dealer_visit_dialog :is(button, a, input, textarea):focus-visible { outline: 2px solid #e8380d !important; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
    .dealer_visit_close:hover { background: #d6d8dd; transform: rotate(360deg); }
    .dealer_visit_submit:hover { background: #cb300a; box-shadow: 0 6px 20px rgba(232,56,13,.2); }
    .dealer_visit_dialog a.dealer_visit_privacy:hover { text-decoration: underline; text-underline-offset: 3px; }
}
@media (max-width: 1199px) {
    .dealer_visit_inner { width: 84%; }
    .dealer_visit_form { column-gap: 24px; }
    .dealer_visit_actions { grid-column: 1 / -1; justify-content: flex-end; gap: 28px; }
}
@media (max-width: 996px) {
    .dealer_visit_dialog { border-radius: 24px 24px 0 0; }
    .dealer_visit_inner { width: calc(100% - 48px); padding-top: 32px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }
    .dealer_visit_header { gap: 16px; margin-bottom: 28px; }
    .dealer_visit_header h2 { font-size: 22px; }
    .dealer_visit_form { grid-template-columns: minmax(0, 1fr); row-gap: 16px; }
    .dealer_visit_field input { height: 56px; padding-inline: 22px; }
    .dealer_visit_field textarea { min-height: 120px; padding: 16px 22px; border-radius: 24px; }
    .dealer_visit_city input { padding-right: 46px; }
    .dealer_visit_actions { grid-column: 1; justify-content: space-between; margin-top: 8px; }
}
@media (max-width: 600px) {
    .dealer_visit_inner { width: calc(100% - 40px); padding-top: 26px; padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
    .dealer_visit_header { align-items: flex-start; gap: 12px; margin-bottom: 24px; }
    .dealer_visit_header h2 { max-width: 230px; padding-top: 5px; font-size: 20px; }
    .dealer_visit_close { flex-basis: 36px; width: 36px; height: 36px; padding: 10px; }
    .dealer_visit_fields { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .dealer_visit_field input { height: 52px; padding: 13px 20px; font-size: 16px; }
    .dealer_visit_city input { padding-right: 44px; }
    .dealer_visit_field textarea { min-height: 112px; font-size: 16px; }
    .dealer_visit_actions { flex-direction: column; align-items: stretch; gap: 22px; margin-top: 4px; }
    .dealer_visit_consent { justify-content: center; gap: 2px; font-size: 13px; }
    .dealer_visit_consent label { gap: 8px; }
    .dealer_visit_submit { width: 100%; min-height: 52px; font-size: 16px; }
    .dealer_visit_status { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
    .dealer_visit_dialog, .dealer_visit_dialog::backdrop, .dealer_visit_dialog * { transition: none !important; }
}
