/* 站点增量样式 */
.lead-step {
    display: none;
}

.lead-step.is-active {
    display: block;
}

#lead-form-message {
    display: none;
    margin-top: 1rem;
    font-size: 14px;
    line-height: 1.5;
}

#lead-form-message.is-error,
#lead-form-message.is-success {
    display: block;
}

#lead-form-message.is-error {
    color: #b91c1c;
}

#lead-form-message.is-success {
    color: #166534;
}

#lead-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

body.review-modal-open {
    overflow: hidden;
}

/* 首页买家视频评价弹窗 */
.review-video-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.review-video-modal.is-open {
    display: flex;
}

.review-video-dialog {
    position: relative;
    width: 100%;
    max-width: min(420px, 90vw);
    max-height: 90vh;
}

.review-video-dialog video {
    display: block;
    width: 100%;
    max-height: 90vh;
    border-radius: 1rem;
    background: #000;
}

.review-video-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    line-height: 1;
    cursor: pointer;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.review-video-close svg {
    display: block;
    width: 20px;
    height: 20px;
}

.review-video-sound {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 0;
    border-radius: 9999px;
    background: #fff;
    color: #111;
    padding: 0.5rem 0.9rem;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.review-video-sound svg {
    width: 16px;
    height: 16px;
}

/* 金融申请页 */
#finance-form-message {
    display: none;
    margin-top: 1rem;
    font-size: 14px;
    line-height: 1.5;
}

#finance-form-message.is-error,
#finance-form-message.is-success {
    display: block;
}

#finance-form-message.is-error {
    color: #b91c1c;
}

#finance-form-message.is-success {
    color: #166534;
}

#finance-form button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.finance-sticky {
    position: static;
}

@media (min-width: 1024px) {
    .finance-sticky {
        position: sticky;
        top: 7rem;
    }
}

.finance-faq-item {
    border-top: 1px solid rgba(26, 26, 26, 0.12);
}

.finance-faq-item:last-child {
    border-bottom: 1px solid rgba(26, 26, 26, 0.12);
}

.finance-faq-item summary {
    position: relative;
    display: block;
    padding: 1.1rem 2.5rem 1.1rem 0;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    cursor: pointer;
    list-style: none;
}

.finance-faq-item summary::-webkit-details-marker {
    display: none;
}

.finance-faq-item summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: rgba(26, 26, 26, 0.45);
}

.finance-faq-item[open] summary::after {
    content: '−';
}

.finance-faq-item p {
    max-width: 46rem;
    margin: 0 0 1.25rem;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(26, 26, 26, 0.62);
}

/* 库存页 */
.inventory-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.95);
}

.inventory-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.inv-modal-panel {
    max-height: calc(100vh - 3rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 768px) {
    .inventory-modal {
        padding: 1.5rem 2rem;
    }
}

body.inventory-modal-open {
    overflow: hidden;
}

.inv-hover-video {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.inv-hover-video.is-playing {
    opacity: 1;
}

.inv-card:focus-visible {
    outline: 2px solid #ffd400;
    outline-offset: 3px;
}

/* SR Showroom Collection 列表页 */
.sc-showroom-head {
    position: relative;
    height: 72px;
    background: #f3f3f3 url('/uploads/showroom/showroom-pattern.jpg') center center / cover no-repeat;
    border-bottom: 1px solid #e3e3e3;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.sc-showroom-head::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(243, 243, 243, 0.92) 0%, rgba(243, 243, 243, 0.78) 46%, rgba(243, 243, 243, 0.30) 100%);
}

.sc-showroom-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1276px;
    margin: 0 auto;
    text-align: center;
}

.sc-showroom-title {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #222;
    letter-spacing: 0.04em;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
}

.sc-showroom-line {
    display: block;
    width: 44px;
    height: 3px;
    margin: 7px auto 0;
    background: #d21f1f;
}

.sc-container {
    max-width: 1840px;
    margin: 0 auto;
    padding: 0 24px;
}

.sc-filters {
    padding: 10px 0 0;
    background: #fff;
}

.sc-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px 6px;
}

.sc-filter-wrap {
    position: relative;
}

.sc-filter {
    width: 100%;
    height: 48px;
    padding: 0 32px 0 12px;
    border: 1px solid #bdbdbd;
    background: #fff;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}

.sc-filter-chevron {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 17px;
    height: 17px;
    color: #444;
    transform: translateY(-50%);
    pointer-events: none;
}

.sc-toolbar-wrap {
    padding: 10px 0 0;
    background: #fff;
}

.sc-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    color: #555;
}

.sc-tool {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sc-tool-select {
    height: 30px;
    padding: 0 9px;
    border: 1px solid #c9c9c9;
    background: #f7f7f7;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    border-radius: 0;
}

.sc-search {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sc-search-input {
    width: 100px;
    height: 28px;
    padding: 0 5px;
    border: 1px solid #c9c9c9;
    background: #fff;
    font-size: 12.5px;
}

.sc-search-icon {
    width: 17px;
    height: 17px;
    color: #333;
}

.sc-count {
    margin: 4px 0 8px;
    text-align: right;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333;
}

.sc-list {
    padding: 0 0 44px;
    background: #fff;
}

.sc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sc-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid #e6e6e6;
    color: #222;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.sc-card:hover {
    border-color: #b5b5b5;
}

.sc-card-media {
    position: relative;
    aspect-ratio: 320 / 165;
    overflow: hidden;
    background: #ddd;
}

.sc-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sc-photo-badge {
    position: absolute;
    left: 8px;
    bottom: 8px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 1px solid #aaa;
    color: #333;
}

.sc-photo-badge svg {
    width: 13px;
    height: 13px;
}

.sc-card-body {
    padding: 20px 22px 0;
    text-align: center;
}

.sc-price {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #111;
    line-height: 1.1;
}

.sc-price sup {
    font-size: 14px;
}

.sc-fees {
    margin-top: 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #333;
}

.sc-car-title {
    margin-top: 11px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-transform: uppercase;
}

.sc-card-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    color: #777;
}

.sc-card-divider svg {
    width: 15px;
    height: 15px;
}

.sc-spec {
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13.5px;
    line-height: 1.4;
    color: #333;
    text-transform: uppercase;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.sc-card-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    color: #777;
}

.sc-card-foot svg {
    width: 17px;
    height: 17px;
}

.sc-search-btn {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: 0;
    background: none;
    color: #333;
    cursor: pointer;
}

.sc-search-btn svg {
    width: 17px;
    height: 17px;
}

.sc-results-line {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin: 4px 0 10px;
}

.sc-results-line .sc-count {
    margin: 0;
}

.sc-clear {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    color: #d21f1f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.sc-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 24px;
}

.sc-page-link {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border: 1px solid #ccc;
    background: #fff;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-decoration: none;
}

.sc-page-link:hover {
    border-color: #888;
}

.sc-page-link.is-current {
    border-color: #000;
    background: #000;
    color: #fff;
}

.sc-empty {
    padding: 48px 16px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #555;
}

.sc-empty a {
    color: #d21f1f;
    text-decoration: underline;
}

/* DealerCenter 车辆详情页 */
.dc-top-strip {
    background: #000;
    color: #fff;
    height: 30px;
}

.dc-top-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    color: #eee;
}

.dc-top-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.dc-top-item svg {
    width: 11px;
    height: 11px;
}

.dc-top-social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dc-social {
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #d21f1f;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1;
}

.dc-main-bar {
    position: relative;
    height: 40px;
    background: #000;
}

.dc-main-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    max-width: 1276px;
    margin: 0 auto;
    padding: 0 80px;
}

.dc-main-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    transform: translate(-50%, -50%);
}

.dc-main-logo img {
    display: block;
    width: auto;
    height: 32px;
}

.dc-main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #fff;
}

.dc-main-nav a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    text-decoration: none;
}

.dc-main-nav a:hover {
    color: rgba(255, 255, 255, 0.72);
}

.dc-main-nav svg {
    width: 11px;
    height: 11px;
}

.dc-main-search {
    display: grid;
    place-items: center;
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
}

.dc-main-search svg {
    width: 14px;
    height: 14px;
}

.dc-title-bar {
    height: 34px;
    background: #f1f1f1 url('/uploads/showroom/detail-pattern.jpg') right center / auto 100% no-repeat;
    border-bottom: 1px solid #ddd;
}

.dc-title-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100%;
    max-width: 1276px;
    margin: 0 auto;
    padding: 0 8px;
}

.dc-vehicle-title {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #222;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.dc-title-price {
    padding-bottom: 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.1;
    color: #222;
    text-align: right;
}

.dc-title-price sup {
    font-size: 12.5px;
}

.dc-title-price span {
    display: block;
    font-size: 12.5px;
    font-weight: 400;
}

.dc-back {
    max-width: 1276px;
    margin: 0 auto;
    padding: 2px 8px 0;
}

.dc-back a {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: #d21f1f;
    text-decoration: none;
}

.dc-detail {
    background: #fff;
    padding: 10px 0 40px;
}

.dc-container {
    max-width: 1276px;
    margin: 0 auto;
    padding: 0 8px;
}

.dc-main-media {
    position: relative;
    width: 100%;
    max-width: 333px;
    margin: 0 auto;
}

.dc-main-media img {
    display: block;
    width: 100%;
    height: auto;
}

.dc-photo-count {
    position: absolute;
    left: -8px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    padding: 2px 4px;
    background: #222;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
}

.dc-thumbs {
    display: flex;
    justify-content: center;
    gap: 2px;
    width: 100%;
    max-width: 440px;
    margin: 8px auto 0;
}

.dc-thumbs img {
    display: block;
    height: 40px;
    object-fit: cover;
}

.dc-thumbs img:nth-child(1) { width: 110px; }
.dc-thumbs img:nth-child(2) { width: 130px; }
.dc-thumbs img:nth-child(3) { width: 70px; }
.dc-thumbs img:nth-child(4) { width: 65px; }
.dc-thumbs img:nth-child(5) { width: 60px; }

.dc-actions {
    width: 100%;
    max-width: 435px;
    margin: 40px auto 0;
}

.dc-carfax {
    display: block;
    width: 94px;
    height: auto;
}

.dc-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 9999px;
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.dc-check:hover {
    background: #333;
}

.dc-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 20px;
    max-width: 1276px;
    margin: 22px auto 0;
    font-family: Arial, Helvetica, sans-serif;
}

.dc-spec-row {
    display: flex;
    align-items: baseline;
    gap: 3px;
    padding: 3px 0;
    font-size: 14px;
    line-height: 14px;
}

.dc-spec-label {
    color: #777;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.dc-spec-label::after {
    content: ' :';
}

.dc-spec-value {
    color: #111;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.dc-spec-full {
    display: flex;
    align-items: baseline;
    gap: 3px;
    max-width: 1276px;
    margin: 4px auto 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

.dc-accordions {
    max-width: 1276px;
    margin: 16px auto 0;
    border-top: 1px solid #eee;
}

.dc-accordion {
    border-bottom: 1px solid #eee;
}

.dc-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #333;
    text-transform: uppercase;
    cursor: pointer;
    list-style: none;
}

.dc-accordion summary::-webkit-details-marker {
    display: none;
}

.dc-accordion summary svg {
    width: 12px;
    height: 12px;
    color: #777;
    transition: transform 0.2s ease;
}

.dc-accordion[open] summary svg {
    transform: rotate(180deg);
}

.dc-accordion-body {
    padding: 0 2px 12px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

.dc-equipment {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 24px;
    margin: 0;
    padding: 0 0 0 14px;
}

.dc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 1180px;
    margin: 14px auto 0;
}

.dc-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 350 / 210;
    object-fit: cover;
}

.dc-similar {
    max-width: 830px;
    margin: 24px auto 0;
}

.dc-similar h2 {
    margin: 0 0 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dc-similar h2::after {
    content: '';
    display: block;
    width: 26px;
    height: 2px;
    margin-top: 4px;
    background: #d21f1f;
}

.dc-similar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.dc-similar-card {
    display: block;
    color: #222;
    text-decoration: none;
    text-align: center;
}

.dc-similar-media {
    aspect-ratio: 200 / 130;
    overflow: hidden;
    background: #eee;
}

.dc-similar-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dc-similar-price {
    margin-top: 4px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.2;
}

.dc-similar-price sup {
    font-size: 14px;
}

.dc-similar-price span {
    display: block;
    margin-top: 1px;
    font-size: 12.5px;
    font-weight: 400;
    color: #444;
}

.dc-similar-title {
    margin-top: 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12.5px;
    color: #333;
}

/* DealerCenter 页脚 */
.dc-footer {
    margin-top: 40px;
    padding: 22px 8px 8px;
    background: #000;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

.dc-footer-inner {
    display: grid;
    grid-template-columns: 1.1fr 1.2fr 0.8fr 1.8fr;
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.dc-footer-logo {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}

.dc-footer-logo img {
    display: block;
    width: 64px;
    height: auto;
}

.dc-footer-col h3 {
    margin: 0 0 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #fff;
    text-transform: uppercase;
}

.dc-footer-col p,
.dc-footer-col li,
.dc-footer-col a {
    font-size: 12.5px;
    line-height: 1.55;
    color: #c9c9c9;
    text-decoration: none;
}

.dc-footer-col p {
    margin: 0 0 6px;
}

.dc-footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dc-footer-col li {
    margin-bottom: 3px;
}

.dc-footer-col a:hover {
    color: #fff;
}

.dc-footer-sub {
    margin-top: 8px;
}

.dc-footer-about p {
    font-size: 12.5px;
    line-height: 1.5;
}

.dc-footer-bottom {
    max-width: 1100px;
    margin: 18px auto 0;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 12.5px;
    color: #888;
    text-align: center;
}

@media (max-width: 1100px) {
    .sc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .sc-showroom-head {
        height: 64px;
    }

    .sc-showroom-title {
        font-size: 24px;
    }

    .sc-filter {
        height: 44px;
        font-size: 14px;
    }

    .sc-filter-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sc-toolbar {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .dc-top-inner {
        gap: 10px;
        padding: 0 10px;
        font-size: 12.5px;
    }

    .dc-main-inner {
        padding: 0 16px;
    }

    .dc-main-nav {
        gap: 14px;
        font-size: 12.5px;
    }

    .dc-thumbs {
        max-width: 100%;
        flex-wrap: wrap;
    }

    .dc-specs {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dc-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dc-similar {
        max-width: 100%;
    }

    .dc-similar-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dc-footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .sc-showroom-head {
        height: 58px;
    }

    .sc-showroom-title {
        font-size: 20px;
    }

    .sc-price {
        font-size: 23px;
    }

    .sc-car-title {
        font-size: 18px;
    }

    .sc-spec {
        font-size: 14px;
    }

    .sc-grid {
        grid-template-columns: 1fr;
    }

    .dc-top-strip {
        height: auto;
        padding: 5px 0;
    }

    .dc-top-inner {
        flex-wrap: wrap;
    }

    .dc-main-bar {
        height: 36px;
    }

    .dc-main-nav a {
        display: none;
    }

    .dc-main-nav {
        gap: 0;
    }

    .dc-vehicle-title {
        font-size: 16px;
    }

    .dc-main-media {
        max-width: 100%;
    }

    .dc-thumbs img,
    .dc-thumbs img:nth-child(1),
    .dc-thumbs img:nth-child(2),
    .dc-thumbs img:nth-child(3),
    .dc-thumbs img:nth-child(4),
    .dc-thumbs img:nth-child(5) {
        width: calc(20% - 2px);
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .dc-equipment {
        grid-template-columns: 1fr;
    }

    .dc-grid {
        grid-template-columns: 1fr;
    }

    .dc-footer-inner {
        grid-template-columns: 1fr;
    }
}

/* 动态效果 */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

@keyframes sc-banner-pan {
    from { background-position: 50% 42%; }
    to { background-position: 50% 58%; }
}

.sc-showroom-head {
    animation: sc-banner-pan 18s ease-in-out infinite alternate;
}

.sc-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
}

.sc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.10);
}

.sc-card-media img {
    transition: transform 0.6s ease;
}

.sc-card:hover .sc-card-media img {
    transform: scale(1.04);
}

.sc-card-foot svg {
    transition: transform 0.25s ease;
}

.sc-card:hover .sc-card-foot svg {
    transform: translateY(2px);
}

.sc-photo-badge {
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sc-card:hover .sc-photo-badge {
    transform: translateY(-2px);
}

.sc-filter,
.sc-tool-select,
.sc-search-input,
.sc-search-btn,
.sc-page-link,
.dc-check {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.sc-filter:hover,
.sc-tool-select:hover,
.sc-search-input:hover {
    border-color: #888;
}

.sc-filter:focus,
.sc-tool-select:focus,
.sc-search-input:focus {
    outline: none;
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}

.sc-filter-chevron {
    transition: transform 0.2s ease;
}

.sc-filter-wrap:focus-within .sc-filter-chevron {
    transform: translateY(-50%) rotate(180deg);
}

.sc-search-btn:hover {
    transform: scale(1.08);
}

.sc-page-link:hover {
    transform: translateY(-1px);
}

.dc-main-media {
    overflow: hidden;
}

.dc-main-media img {
    transition: transform 0.4s ease;
}

.dc-main-media:hover img {
    transform: scale(1.02);
}

.dc-thumbs img {
    cursor: pointer;
    opacity: 0.72;
    border: 2px solid transparent;
    transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.dc-thumbs img:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.dc-thumbs img.is-active {
    opacity: 1;
    border-color: #111;
}

.dc-similar-card {
    transition: transform 0.3s ease;
}

.dc-similar-card:hover {
    transform: translateY(-2px);
}

.dc-similar-media img {
    transition: transform 0.5s ease;
}

.dc-similar-card:hover .dc-similar-media img {
    transform: scale(1.04);
}

.dc-grid img {
    cursor: zoom-in;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.dc-grid img:hover {
    transform: scale(1.02);
    opacity: 0.92;
}

.dc-check:hover {
    transform: translateY(-1px);
}

.dc-accordion[open] .dc-accordion-body {
    animation: dc-fade-in 0.25s ease-out;
}

@keyframes dc-fade-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: none; }
}

/* 详情图库灯箱 */
.dc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dc-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.dc-lightbox img {
    display: block;
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.dc-lightbox-close,
.dc-lightbox-prev,
.dc-lightbox-next {
    position: absolute;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.dc-lightbox-close:hover,
.dc-lightbox-prev:hover,
.dc-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.6);
}

.dc-lightbox-close {
    top: 20px;
    right: 20px;
}

.dc-lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.dc-lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.dc-lightbox-count {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: 0.12em;
}

body.dc-lightbox-open {
    overflow: hidden;
}

/* 移动菜单过渡 */
#site-mobile-menu {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    border-bottom-width: 0;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.3s ease;
}

#site-mobile-menu.is-open {
    max-height: 80vh;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    border-bottom-width: 1px;
}

@media (max-width: 600px) {
    .dc-lightbox-prev,
    .dc-lightbox-next {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .dc-lightbox-close {
        width: 38px;
        height: 38px;
        top: 12px;
        right: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-showroom-head,
    .reveal,
    .sc-card,
    .sc-card-media img,
    .sc-card-foot svg,
    .dc-main-media img,
    .dc-thumbs img,
    .dc-similar-card,
    .dc-similar-media img,
    .dc-grid img,
    .dc-lightbox,
    .dc-lightbox-close,
    .dc-lightbox-prev,
    .dc-lightbox-next,
    #site-mobile-menu {
        transition: none !important;
        animation: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ===== 响应式栅格补充（site.css 为预编译产物，缺以下变体类） ===== */
@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 768px) {
    .md\:grid-cols-7 { grid-template-columns: repeat(7, minmax(0, 1fr)); }
    .md\:col-span-1 { grid-column: span 1 / span 1; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:col-span-2 { grid-column: span 2 / span 2; }
}
@media (min-width: 1280px) {
    .xl\:hidden { display: none; }
    .xl\:gap-5 { gap: 1.25rem; }
}
@media (min-width: 1536px) {
    .2xl\:gap-8 { gap: 2rem; }
}

/* 1280–1439 宽度下顶部导航空间紧张，先隐藏地址块，避免电话/地址换行 */
@media (min-width: 1280px) and (max-width: 1439px) {
    .header-address { display: none; }
}

/* ===== 可读性：放大偏小的字号（site.css 为预编译 Tailwind，直接覆盖工具类） ===== */
.text-\[8px\]  { font-size: 12px; }
.text-\[9px\]  { font-size: 12.5px; }
.text-\[10px\] { font-size: 12.5px; }
.text-\[11px\] { font-size: 13px; }
.text-\[12px\] { font-size: 13px; }
.text-\[13px\] { font-size: 14px; }
.text-\[15px\] { font-size: 16px; }
.text-xs { font-size: 14px; line-height: 1.55; }
.text-sm { font-size: 15px; line-height: 1.6; }

/* ===== 车辆详情页（VDP） ===== */
/* overflow-x:hidden 会让 body 变成滚动容器，导致右侧信息栏 sticky 失效 */
body {
    overflow-x: clip;
}

.vdp-main-media {
    cursor: zoom-in;
}

.vdp-main-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vdp-main-media:hover img {
    transform: scale(1.02);
}

.vdp-main-media:focus-visible {
    outline: 2px solid #0d0d0d;
    outline-offset: 3px;
}

.vdp-photo-count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(13, 13, 13, 0.72);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
}

.vdp-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.vdp-thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 14px;
    overflow: hidden;
    background: #ece9e2;
    cursor: pointer;
    aspect-ratio: 16 / 10;
}

.vdp-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.75;
    transition: opacity 0.25s ease, transform 0.5s ease;
}

.vdp-thumb:hover img,
.vdp-thumb.is-active img {
    opacity: 1;
}

.vdp-thumb.is-active {
    border-color: #0d0d0d;
}

.vdp-thumb:focus-visible {
    outline: 2px solid #0d0d0d;
    outline-offset: 2px;
}

.vdp-summary {
    position: static;
}

@media (min-width: 1024px) {
    .vdp-summary {
        position: sticky;
        top: 104px;
    }
}

.vdp-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border: 1px solid rgba(13, 13, 13, 0.16);
    border-radius: 9999px;
    background: #fff;
    color: #1a1a1a;
    font-size: 14px;
    line-height: 1.2;
}

.vdp-fees {
    margin-left: 12px;
}

.vdp-specs {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px 40px;
    margin: 0;
}

@media (min-width: 640px) {
    .vdp-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .vdp-specs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.vdp-spec {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(13, 13, 13, 0.08);
}

.vdp-spec dt {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #6b6b6b;
}

.vdp-spec dd {
    margin: 6px 0 0;
    font-size: 16px;
    font-weight: 600;
    color: #0d0d0d;
    letter-spacing: -0.01em;
}

.vdp-accordion {
    border-bottom: 1px solid rgba(13, 13, 13, 0.1);
}

.vdp-accordion + .vdp-accordion {
    border-top: 0;
}

.vdp-accordion summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 4px;
    font-family: Outfit, sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #0d0d0d;
    cursor: pointer;
    list-style: none;
}

.vdp-accordion summary::-webkit-details-marker {
    display: none;
}

.vdp-accordion summary svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    transition: transform 0.25s ease;
}

.vdp-accordion[open] summary svg {
    transform: rotate(180deg);
}

.vdp-accordion-body {
    max-width: 900px;
    padding: 0 4px 24px;
    font-size: 16px;
    line-height: 1.75;
    color: #3a3a3a;
    white-space: pre-line;
}

/* ===== 滚动进入视口渐变（data-reveal） ===== */
[data-reveal].reveal-init {
    animation: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: opacity, transform;
}

[data-reveal].reveal-init.is-revealed {
    opacity: 1;
    transform: none;
}

/* 固定头部滚动阴影 */
header.is-scrolled {
    box-shadow: 0 8px 24px rgba(13, 13, 13, 0.06);
}


/* ===== 全屏 banner 缓慢运镜（Ken Burns） ===== */
.kb-media {
    animation: banner-kenburns 26s ease-in-out infinite alternate;
    transform-origin: 50% 55%;
    will-change: transform;
}

@keyframes banner-kenburns {
    from { transform: scale(1.00) translate3d(0, 0, 0); }
    to { transform: scale(1.03) translate3d(-0.6%, -0.4%, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .kb-media {
        animation: none;
        transform: none;
    }
}

/* ===== 在线沟通浮窗 ===== */
.chat-widget {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    font-family: 'Figtree', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
}

.chat-greeting {
    position: relative;
    width: min(330px, calc(100vw - 40px));
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 15, 15, 0.14);
    animation: chat-pop 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.chat-greeting[hidden] {
    display: none;
}

.chat-greeting-open {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 14px 42px 14px 14px;
    border: 0;
    border-radius: 18px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.chat-greeting-avatar,
.chat-panel-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: #1a1a1a;
    color: #faf9f6;
}

.chat-greeting-avatar svg,
.chat-panel-avatar svg {
    width: 19px;
    height: 19px;
}

.chat-greeting-copy {
    display: block;
    font-size: 13px;
    line-height: 1.45;
}

.chat-greeting-copy strong {
    display: block;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 700;
}

.chat-greeting-copy span {
    display: block;
    color: #55554f;
}

.chat-greeting-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #8a8a82;
    cursor: pointer;
}

.chat-greeting-close:hover {
    background: #f1f1ec;
    color: #1a1a1a;
}

.chat-greeting-close svg {
    width: 15px;
    height: 15px;
}

.chat-launcher {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    border-radius: 999px;
    background: #1a1a1a;
    color: #faf9f6;
    padding: 13px 20px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(15, 15, 15, 0.24);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.chat-launcher:hover {
    background: #333;
    transform: translateY(-1px);
}

.chat-launcher:active {
    transform: translateY(0);
}

.chat-launcher svg {
    width: 18px;
    height: 18px;
}

.chat-panel {
    display: none;
    flex-direction: column;
    width: min(380px, calc(100vw - 40px));
    max-height: min(660px, calc(100vh - 120px));
    background: #fff;
    border: 1px solid #e5e5e0;
    border-radius: 20px;
    box-shadow: 0 26px 60px rgba(15, 15, 15, 0.24);
    overflow: hidden;
}

.chat-widget.is-open .chat-panel {
    display: flex;
    animation: chat-pop 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.chat-widget.is-open .chat-launcher {
    display: none;
}

.chat-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: #1a1a1a;
    color: #faf9f6;
}

.chat-panel-identity {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.chat-panel-avatar {
    width: 36px;
    height: 36px;
    background: #faf9f6;
    color: #1a1a1a;
}

.chat-panel-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.chat-panel-status {
    margin: 3px 0 0;
    font-size: 11.5px;
    line-height: 1.2;
    color: rgba(250, 249, 246, 0.62);
}

.chat-panel-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    background: rgba(250, 249, 246, 0.1);
    color: #faf9f6;
    cursor: pointer;
}

.chat-panel-close:hover {
    background: rgba(250, 249, 246, 0.2);
}

.chat-panel-close svg {
    width: 17px;
    height: 17px;
}

.chat-panel-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 16px;
    overflow-y: auto;
    background: #faf9f6;
}

.chat-thread {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.chat-bubble {
    max-width: 90%;
    padding: 10px 13px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.chat-bubble-in {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e5e5e0;
    border-bottom-left-radius: 5px;
    color: #33332e;
}

.chat-success {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 14px;
}

.chat-success[hidden] {
    display: none;
}

.chat-success-actions {
    display: flex;
    gap: 8px;
}

.chat-success-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    border: 1px solid #1a1a1a;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
}

.chat-success-actions a:first-child {
    background: #1a1a1a;
    color: #faf9f6;
}

.chat-success-actions a:hover {
    opacity: 0.82;
}

.chat-form[hidden] {
    display: none;
}

.chat-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.chat-quick button {
    border: 1px solid #d9d9d1;
    border-radius: 999px;
    background: #fff;
    color: #3f3f39;
    padding: 7px 11px;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.chat-quick button:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.chat-field {
    margin-bottom: 8px;
}

.chat-field label {
    display: block;
    margin-bottom: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b6b63;
}

.chat-field label span {
    color: #b3261e;
}

.chat-field input,
.chat-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #d9d9d1;
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    color: #1a1a1a;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-field textarea {
    resize: vertical;
    min-height: 62px;
}

.chat-field input::placeholder,
.chat-field textarea::placeholder {
    color: #9a9a92;
}

.chat-field input:focus,
.chat-field textarea:focus {
    border-color: #1a1a1a;
    box-shadow: 0 0 0 3px rgba(26, 26, 26, 0.08);
}

.chat-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.chat-privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 2px 0 10px;
    font-size: 11.5px;
    line-height: 1.45;
    color: #6b6b63;
    cursor: pointer;
}

.chat-privacy input {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    accent-color: #1a1a1a;
}

.chat-privacy a {
    color: #1a1a1a;
    text-decoration: underline;
}

.chat-error {
    margin: 0 0 10px;
    border-radius: 8px;
    background: #fdecea;
    padding: 9px 11px;
    font-size: 12.5px;
    line-height: 1.4;
    color: #b3261e;
}

.chat-error[hidden] {
    display: none;
}

.chat-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border: 0;
    border-radius: 999px;
    background: #ffd400;
    color: #1a1a1a;
    padding: 11px 18px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.chat-submit:hover {
    background: #f5cc00;
}

.chat-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.chat-submit svg {
    width: 16px;
    height: 16px;
}

.chat-panel-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #e5e5e0;
    background: #fff;
}

.chat-panel-footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #33332e;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.chat-panel-footer a + a {
    border-left: 1px solid #e5e5e0;
}

.chat-panel-footer a:hover {
    background: #f6f6f1;
}

.chat-panel-footer svg {
    width: 15px;
    height: 15px;
}

.chat-widget button:focus-visible,
.chat-widget a:focus-visible,
.chat-widget input:focus-visible,
.chat-widget textarea:focus-visible {
    outline: 2px solid #ffd400;
    outline-offset: 2px;
}

@keyframes chat-pop {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 640px) {
    .chat-widget {
        right: 12px;
        bottom: 12px;
        gap: 10px;
    }

    .chat-greeting {
        width: calc(100vw - 24px);
    }

    .chat-panel {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: min(86vh, 720px);
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 20px 20px 0 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .chat-panel-body {
        padding: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .chat-greeting,
    .chat-widget.is-open .chat-panel {
        animation: none;
    }

    .chat-launcher {
        transition: none;
    }
}

/* ===== Sell 页首屏：移动端让出固定头部空间 ===== */
@media (max-width: 639px) {
    .sell-hero-copy {
        padding-top: 56px;
    }
}

/* Sell 页首屏：移动端加深压暗层，保证白色文案可读 */
@media (max-width: 639px) {
    .sell-hero-scrim {
        background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.9));
    }
}

/* Sell 页移动端悬浮 CTA：给页脚留出空间 */
@media (max-width: 767px) {
    body:has(.sell-sticky-cta) footer {
        padding-bottom: 76px;
    }
}

/* ===== 首页快速找车 ===== */
.qs-band {
    background: #f5f3ee;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 26px 0;
}
.qs-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.qs-label {
    margin: 0 0 10px;
    font-size: 11px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.45);
    font-family: "Figtree", Arial, sans-serif;
}
.qs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (min-width: 768px) {
    .qs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .qs-grid { grid-template-columns: 1fr 1.6fr 1fr 1fr 1fr auto; }
    .qs-btn { grid-column: auto; }
}
.qs-wrap { position: relative; }
.qs-field {
    width: 100%;
    height: 50px;
    padding: 0 34px 0 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    background: #fff;
    color: #1a1a1a;
    font-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}
.qs-field:focus { border-color: rgba(0, 0, 0, 0.5); }
.qs-chev {
    position: absolute;
    right: 12px;
    top: 50%;
    width: 16px;
    height: 16px;
    color: #555;
    transform: translateY(-50%);
    pointer-events: none;
}
.qs-btn {
    height: 50px;
    padding: 0 26px;
    border: 0;
    border-radius: 10px;
    background: #1a1a1a;
    color: #faf9f6;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.qs-btn:hover { background: #333; }
@media (max-width: 1023px) {
    .qs-btn { grid-column: 1 / -1; }
}

/* ============================================================
   服务页图文卡片 / 透明定价（{{SERVICES_CARDS}} 占位符）
   补充编译产物 site.css 缺失的工具类（--foreground: #0d0d0d）
   ============================================================ */
/* 卡片阴影过渡 + 图片悬停放大（group-hover 变体不在 site.css） */
.transition-shadow {
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
}
.group:hover .group-hover\:scale-105 {
    --tw-scale-x: 105%;
    --tw-scale-y: 105%;
    --tw-scale-z: 105%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
}
/* 前景色透明度工具类补偿 */
.border-foreground\/25 { border-color: rgba(13, 13, 13, 0.25); }
.border-foreground\/15 { border-color: rgba(13, 13, 13, 0.15); }
.hover\:bg-foreground\/5:hover { background-color: rgba(13, 13, 13, 0.05); }
/* 价格清单分隔线 */
.divide-y.divide-black\/5 > :not(:last-child) { border-color: rgba(13, 13, 13, 0.05); }

/* 间距工具类补缺（site.css 编译产物漏掉了部分 padding/margin 变体，
   卡片文字此前贴边即因 .p-7 未生成） */
.p-7 { padding: calc(var(--spacing) * 7); }
.mt-0\.5 { margin-top: 0.125rem; }
.gap-x-10 { column-gap: calc(var(--spacing) * 10); }
/* 关于页 Who We Are 主按钮悬停变体 */
.hover\:bg-foreground\/90:hover { background-color: rgba(13, 13, 13, 0.9); }
@media (min-width: 40rem) {
    .sm\:p-8 { padding: calc(var(--spacing) * 8); }
    .sm\:pt-4 { padding-top: calc(var(--spacing) * 4); }
    .sm\:pb-20 { padding-bottom: calc(var(--spacing) * 20); }
    .sm\:mt-12 { margin-top: calc(var(--spacing) * 12); }
    .sm\:border-r { border-right-width: 1px; }
    .sm\:border-black\/5 { border-color: rgba(13, 13, 13, 0.05); }
}

/* 服务卡片移动端微调：375px 下标题/正文可读性 */
@media (max-width: 480px) {
    section .grid .group p {
        font-size: 13.5px;
    }
    section .grid .group > div {
        padding: 1.5rem;
    }
}
