/**
 * 码科服 CMS 客户版多页面企业网站统一设计系统 (Customer Theme Standard)
 * 遵循 AI_TEMPLATE_PRODUCTION_STANDARD.md 与 AGENTS.md
 */

:root {
    --customer-accent: #2563eb;
    --customer-accent-hover: #1d4ed8;
    --customer-accent-subtle: #eff6ff;
    --customer-accent-border: #bfdbfe;
    --customer-radius: 10px;
    --customer-width: 1280px;

    /* 字体与排版 */
    --c-font-sans: "Source Han Sans SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --c-font-serif: Georgia, "Source Han Serif SC", "Noto Serif SC", serif;
    --c-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

    /* 文本色系 */
    --c-text-main: #1e293b;
    --c-text-body: #334155;
    --c-text-muted: #64748b;
    --c-text-light: #94a3b8;

    /* 背景与边框 */
    --c-bg-page: #f8fafc;
    --c-bg-card: #ffffff;
    --c-bg-subtle: #f1f5f9;
    --c-border: #e2e8f0;
    --c-border-subtle: #f1f5f9;

    /* 阴影层级 */
    --c-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --c-shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --c-shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    --c-shadow-hover: 0 20px 32px -8px rgba(15, 23, 42, 0.14), 0 6px 12px -3px rgba(15, 23, 42, 0.06);

    /* 状态与辅助色 */
    --c-badge-bg: #f1f5f9;
    --c-badge-text: #475569;
}

/* 基础重置与无障碍跳过 */
body.customer-site {
    margin: 0;
    padding: 0;
    background: var(--c-bg-page);
    color: var(--c-text-body);
    font-family: var(--c-font-sans);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
}

body.customer-site *,
body.customer-site *::before,
body.customer-site *::after {
    box-sizing: border-box;
}

.customer-skip {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 999;
    background: var(--customer-accent);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.customer-skip:focus {
    top: 16px;
}

/* 基础排版 */
.customer-site h1,
.customer-site h2,
.customer-site h3,
.customer-site h4,
.customer-site h5,
.customer-site h6 {
    color: var(--c-text-main);
    font-family: var(--c-font-sans);
    font-weight: 700;
    line-height: 1.35;
    margin-top: 0;
    letter-spacing: -0.015em;
}

.customer-site p {
    margin-top: 0;
    margin-bottom: 1em;
}

.customer-site a {
    color: var(--customer-accent);
    text-decoration: none;
    transition: color 0.15s ease, opacity 0.15s ease;
}
.customer-site a:hover {
    color: var(--customer-accent-hover);
}

.customer-site img {
    max-width: 100%;
    height: auto;
    object-fit: contain !important;
}

/* 容器系统 */
.customer-container {
    width: min(var(--customer-width, 1280px), calc(100% - 48px));
    margin-inline: auto;
}

/* 通用按钮 */
.customer-site .customer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--customer-accent);
    color: #ffffff !important;
    font-family: var(--c-font-sans);
    font-size: 14px;
    font-weight: 600;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: var(--customer-radius, 8px);
    cursor: pointer;
    text-decoration: none !important;
    transition: background 0.18s ease, transform 0.15s ease, box-shadow 0.18s ease;
    box-shadow: var(--c-shadow-sm);
    line-height: 1.4;
    white-space: nowrap;
}
.customer-site .customer-button:hover {
    background: var(--customer-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--c-shadow-md);
}
.customer-site .customer-button:active {
    transform: translateY(0);
}

.customer-site .customer-button-secondary,
.customer-site .customer-button-light {
    background: #ffffff !important;
    color: var(--c-text-main) !important;
    border-color: var(--c-border) !important;
}
.customer-site .customer-button-secondary:hover,
.customer-site .customer-button-light:hover {
    background: var(--c-bg-subtle) !important;
    border-color: #cbd5e1 !important;
}

.customer-site .customer-button-outline {
    background: transparent !important;
    color: var(--customer-accent) !important;
    border-color: var(--customer-accent) !important;
}
.customer-site .customer-button-outline:hover {
    background: var(--customer-accent-subtle) !important;
}

/* 徽章 Badge */
.customer-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 9999px;
    background: var(--c-badge-bg);
    color: var(--c-badge-text);
    line-height: 1.4;
}
.customer-badge-category {
    background: var(--customer-accent-subtle);
    color: var(--customer-accent);
}
.customer-badge-model,
.customer-badge-industry {
    background: #f1f5f9;
    color: #475569;
}
.customer-badge-client {
    background: #fef3c7;
    color: #92400e;
}

/* 面包屑导航 */
.customer-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--c-text-muted);
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.customer-breadcrumbs a {
    color: var(--c-text-muted);
}
.customer-breadcrumbs a:hover {
    color: var(--customer-accent);
}
.customer-bc-sep {
    color: var(--c-text-light);
}
.customer-bc-current {
    color: var(--c-text-main);
    font-weight: 500;
}

/* ==========================================
   1. 统一页头 Header
   ========================================== */
.customer-header {
    background: #ffffff;
    border-bottom: 1px solid var(--c-border);
    position: relative;
    z-index: 100;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}
.customer-header[data-sticky="true"] {
    position: sticky;
    top: 0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.customer-mobile-toggle,.customer-native-mobile-action { display: none; }
.customer-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 80px;
    padding-block: 12px;
}

.customer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none !important;
    flex-shrink: 0;
}
.customer-brand-logo {
    max-height: 52px;
    max-width: 200px;
    width: auto;
    object-fit: contain !important;
}
.customer-brand-text {
    display: flex;
    flex-direction: column;
}
.customer-brand-name {
    font-size: 19px;
    font-weight: 800;
    color: var(--c-text-main);
    line-height: 1.25;
}
.customer-brand-slogan {
    font-size: 11px;
    color: var(--c-text-muted);
    margin-top: 3px;
    line-height: 1.3;
}

.customer-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-inline: auto;
}
.customer-nav-item {
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text-body);
    padding: 8px 16px;
    border-radius: var(--customer-radius, 8px);
    text-decoration: none !important;
    position: relative;
    transition: color 0.15s ease, background 0.15s ease;
}
.customer-nav-item:hover {
    color: var(--customer-accent);
    background: var(--customer-accent-subtle);
}
.customer-nav-item.active {
    color: var(--customer-accent);
    background: var(--customer-accent-subtle);
    font-weight: 600;
}

.customer-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.customer-header-phone {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-main);
    text-decoration: none !important;
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--c-bg-subtle);
}
.customer-header-phone:hover {
    color: var(--customer-accent);
}
.customer-header-phone {
    flex-shrink: 0;
    white-space: nowrap;
}
.customer-header-phone > .customer-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}
.customer-header-btn {
    padding: 9px 18px !important;
    font-size: 13px !important;
}

/* ==========================================
   2. 统一页脚 Footer
   ========================================== */
.customer-footer {
    background: #0f172a;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    margin-top: 60px;
    padding-top: 64px;
    padding-bottom: 32px;
    font-size: 14px;
}
.customer-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.customer-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.customer-footer-logo {
    max-height: 44px;
    max-width: 180px;
    filter: none;
    object-fit: contain !important;
}
.customer-footer-brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
}
.customer-brand-logo.customer-brand-wordmark{width:190px;height:48px;max-width:190px;max-height:48px;object-fit:contain!important;filter:none!important}
.customer-theme-legal_elite .customer-brand-logo.customer-brand-wordmark{width:240px;height:64px;max-width:240px;max-height:64px}
.customer-theme-building_master .customer-brand-logo.customer-brand-wordmark{width:220px;height:56px;max-width:220px;max-height:56px}
.customer-footer-logo.customer-footer-wordmark{width:200px;height:50px;max-width:200px;max-height:50px;object-fit:contain!important;filter:none!important}
@media(max-width:700px){.customer-brand-logo.customer-brand-wordmark{width:160px;height:40px;max-width:160px;max-height:40px}}
@media(max-width:700px){.customer-theme-legal_elite .customer-brand-logo.customer-brand-wordmark{width:220px;height:56px;max-width:220px;max-height:56px}.customer-theme-building_master .customer-brand-logo.customer-brand-wordmark{width:200px;height:50px;max-width:200px;max-height:50px}}
.customer-footer-desc {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.8;
    max-width: 320px;
    margin: 0;
}

.customer-footer-title {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}
.customer-footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.customer-footer-link {
    color: #94a3b8;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.15s ease;
}
.customer-footer-link:hover {
    color: #ffffff;
}

.customer-footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.customer-contact-label {
    color: #64748b;
    font-size: 13px;
}
.customer-contact-value {
    color: #e2e8f0;
}
.customer-contact-phone {
    font-size: 16px;
    font-weight: 700;
    color: #38bdf8 !important;
}

.customer-footer-cta-text {
    font-size: 13px;
    color: #94a3b8;
    margin-bottom: 16px;
    line-height: 1.6;
}
.customer-footer-btn {
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 13px !important;
    padding: 9px 18px !important;
}

.customer-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 28px;
    font-size: 13px;
    color: #64748b;
}
.customer-footer-divider {
    margin-inline: 8px;
    color: #334155;
}
.customer-footer-legal { display: grid; gap: 8px; min-width: 0; flex: 1 1 520px; }
.customer-footer-registrations { display: flex; flex-wrap: wrap; gap: 5px 24px; line-height: 1.7; overflow-wrap: anywhere; }
.customer-footer-registrations a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.customer-footer-icp {
    color: #64748b;
    text-decoration: none !important;
}
.customer-footer-icp:hover {
    color: #94a3b8;
}

/* ==========================================
   3. 栏目通用 Header & Toolbar
   ========================================== */
.customer-channel-header {
    background: linear-gradient(180deg, #ffffff 0%, var(--c-bg-subtle) 100%);
    border-bottom: 1px solid var(--c-border);
    padding: 40px 0 36px;
    margin-bottom: 36px;
}
.customer-channel-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--c-text-main);
    margin-bottom: 8px;
}
.customer-channel-subtitle {
    font-size: 15px;
    color: var(--c-text-muted);
    max-width: 760px;
    margin: 0;
    line-height: 1.6;
}

.customer-channel-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.customer-category-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.customer-tab-item {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text-body);
    padding: 7px 16px;
    border-radius: 9999px;
    background: #ffffff;
    border: 1px solid var(--c-border);
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.customer-tab-item:hover {
    color: var(--customer-accent);
    border-color: var(--customer-accent-border);
}
.customer-tab-item.active {
    background: var(--customer-accent);
    color: #ffffff !important;
    border-color: var(--customer-accent);
    font-weight: 600;
}

.customer-channel-search {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 380px;
    width: 100%;
}
.customer-search-input-wrap {
    position: relative;
    flex: 1;
}
.customer-search-icon {
    width: 18px;
    height: 18px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--c-text-light);
    pointer-events: none;
}
.customer-search-input {
    width: 100%;
    height: 40px;
    padding: 8px 12px 8px 36px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--customer-radius, 8px);
    background: #ffffff;
    color: var(--c-text-main);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.customer-search-input:focus {
    border-color: var(--customer-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.customer-search-btn {
    padding: 9px 18px !important;
    height: 40px;
}

/* ==========================================
   4. 通用网格与卡片组件
   ========================================== */
.customer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.customer-card {
    background: var(--c-bg-card);
    border: 1px solid var(--c-border);
    border-radius: var(--customer-radius, 12px);
    box-shadow: var(--c-shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.customer-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--c-shadow-hover);
    border-color: var(--customer-accent-border);
}

.customer-card-image-wrap {
    width: 100%;
    height: 220px;
    background: #f8fafc;
    border-bottom: 1px solid var(--c-border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    overflow: hidden;
}
.customer-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    transition: transform 0.25s ease;
}
.customer-card:hover .customer-card-image {
    transform: scale(1.02);
}
.customer-card-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--c-text-light);
    font-size: 13px;
}

.customer-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.customer-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.customer-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}
.customer-card-title a {
    color: var(--c-text-main);
    text-decoration: none !important;
}
.customer-card-title a:hover {
    color: var(--customer-accent);
}
.customer-card-desc {
    color: var(--c-text-muted);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}
.customer-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--c-border-subtle);
    font-size: 13px;
}
.customer-card-action-more {
    font-weight: 600;
    color: var(--customer-accent);
}
.customer-card-action-quote {
    background: var(--customer-accent-subtle);
    color: var(--customer-accent) !important;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 6px;
}
.customer-card-action-quote:hover {
    background: var(--customer-accent);
    color: #ffffff !important;
}

/* 空状态 Empty State */
.customer-empty-state {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px dashed var(--c-border);
    border-radius: var(--customer-radius, 12px);
    padding: 64px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--c-text-muted);
}
.customer-empty-state svg {
    color: var(--c-text-light);
    margin-bottom: 8px;
}
.customer-empty-state h3 {
    font-size: 18px;
    margin: 0;
    color: var(--c-text-main);
}
.customer-empty-state p {
    font-size: 14px;
    max-width: 480px;
    margin: 0 0 16px;
}

/* 分页器 Pagination */
.customer-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
    flex-wrap: wrap;
}
.customer-page-btn,
.customer-page-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--c-border);
    background: #ffffff;
    color: var(--c-text-body);
    text-decoration: none !important;
    transition: all 0.15s ease;
}
.customer-page-btn:hover,
.customer-page-number:hover {
    border-color: var(--customer-accent);
    color: var(--customer-accent);
}
.customer-page-number.active {
    background: var(--customer-accent);
    border-color: var(--customer-accent);
    color: #ffffff;
    font-weight: 600;
}
.customer-page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--c-bg-subtle);
}
.customer-pagination-info {
    font-size: 13px;
    color: var(--c-text-muted);
    margin-left: 12px;
}

/* ==========================================
   5. 详情页布局与富文本排版
   ========================================== */
.customer-detail-page {
    padding-top: 36px;
    padding-bottom: 72px;
}

/* 产品详情分栏卡片 */
.customer-product-hero-card {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--customer-radius, 16px);
    box-shadow: var(--c-shadow-md);
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 48px;
    padding: 40px;
    margin-bottom: 40px;
}
.customer-product-main-image-wrap {
    background: #f8fafc;
    border: 1px solid var(--c-border-subtle);
    border-radius: var(--customer-radius, 12px);
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.customer-product-main-image {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain !important;
}
.customer-product-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--c-text-light);
}

.customer-product-info-col {
    display: flex;
    flex-direction: column;
}
.customer-product-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.customer-product-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 16px;
}
.customer-product-summary {
    color: var(--c-text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--c-border-subtle);
}

.customer-product-quick-specs {
    background: var(--c-bg-subtle);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
}
.customer-quick-specs-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--c-text-muted);
    margin-bottom: 12px;
}
.customer-quick-specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 20px;
    margin: 0;
}
.customer-quick-spec-item {
    display: flex;
    font-size: 13px;
}
.customer-quick-spec-item dt {
    color: var(--c-text-muted);
    width: 80px;
    flex-shrink: 0;
}
.customer-quick-spec-item dd {
    margin: 0;
    color: var(--c-text-main);
    font-weight: 600;
}

.customer-product-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.customer-product-btn-quote {
    padding: 13px 28px !important;
    font-size: 15px !important;
}

.customer-product-guarantees {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--c-border-subtle);
    margin-top: auto;
    flex-wrap: wrap;
}
.customer-guarantee-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--c-text-muted);
}
.customer-guarantee-item svg {
    color: #10b981;
}

/* 详情页正文大卡片 */
.customer-article-main-card,
.customer-detail-body-section {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--customer-radius, 16px);
    box-shadow: var(--c-shadow-sm);
    padding: 48px;
    margin-bottom: 40px;
}
.customer-detail-header {
    border-bottom: 1px solid var(--c-border-subtle);
    padding-bottom: 24px;
    margin-bottom: 32px;
}
.customer-article-meta-tags,
.customer-case-meta-tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 13px;
    color: var(--c-text-muted);
    flex-wrap: wrap;
}
.customer-detail-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
}
.customer-detail-lead-summary {
    background: var(--customer-accent-subtle);
    border-left: 4px solid var(--customer-accent);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    color: var(--c-text-body);
    font-size: 15px;
    margin-top: 20px;
}

.customer-article-main-cover-wrap,
.customer-case-main-cover-wrap {
    max-height: 480px;
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.customer-article-main-cover,
.customer-case-main-cover {
    max-height: 440px;
    width: auto;
    object-fit: contain !important;
}

/* 富文本正文排版引擎 */
.customer-article-content {
    color: #334155;
    font-size: 16px;
    line-height: 1.85;
}
.customer-article-content h2 {
    font-size: 24px;
    margin-top: 40px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--c-border-subtle);
}
.customer-article-content h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 14px;
}
.customer-article-content p {
    margin-bottom: 1.4em;
}
.customer-article-content ul,
.customer-article-content ol {
    padding-left: 24px;
    margin-bottom: 1.5em;
}
.customer-article-content li {
    margin-bottom: 8px;
}
.customer-article-content blockquote {
    margin: 24px 0;
    padding: 16px 24px;
    background: #f8fafc;
    border-left: 4px solid #cbd5e1;
    color: #475569;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}
.customer-article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 28px auto;
    border-radius: 8px;
    object-fit: contain !important;
}
.customer-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 14px;
    overflow-x: auto;
    display: block;
}
.customer-article-content th,
.customer-article-content td,
.customer-specs-table th,
.customer-specs-table td {
    padding: 13px 18px;
    border: 1px solid var(--c-border);
    text-align: left;
}
.customer-article-content th,
.customer-specs-table th {
    background: var(--c-bg-subtle);
    font-weight: 600;
    color: var(--c-text-main);
}
.customer-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.customer-article-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--c-border-subtle);
}

/* 详情页底部 CTA Box */
.customer-detail-bottom-cta {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--c-border-subtle);
}
.customer-cta-box {
    background: linear-gradient(135deg, var(--customer-accent-subtle) 0%, #ffffff 100%);
    border: 1px solid var(--customer-accent-border);
    border-radius: 12px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}
.customer-cta-text h3 {
    font-size: 20px;
    margin-bottom: 6px;
}
.customer-cta-text p {
    color: var(--c-text-muted);
    font-size: 14px;
    margin: 0;
}
.customer-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* ==========================================
   6. 联系我们 & 询价双列布局
   ========================================== */
.customer-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 48px;
    align-items: start;
}
.customer-contact-info-panel {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--customer-radius, 16px);
    padding: 36px;
    box-shadow: var(--c-shadow-sm);
}
.customer-contact-panel-title {
    font-size: 24px;
    margin-bottom: 10px;
}
.customer-contact-panel-desc {
    color: var(--c-text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 28px;
}
.customer-contact-cards-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.customer-contact-info-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 10px;
    background: var(--c-bg-subtle);
    border: 1px solid var(--c-border-subtle);
}
.customer-contact-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--customer-accent);
    box-shadow: var(--c-shadow-sm);
    flex-shrink: 0;
}
.customer-contact-item-text h4 {
    font-size: 15px;
    margin-bottom: 4px;
}
.customer-contact-phone-link {
    font-size: 17px;
    font-weight: 700;
}
.customer-contact-item-text small {
    display: block;
    color: var(--c-text-light);
    font-size: 12px;
    margin-top: 2px;
}

/* 询价流程步骤 */
.customer-service-steps {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}
.customer-step-item {
    display: flex;
    gap: 16px;
}
.customer-step-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--customer-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}
.customer-step-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}
.customer-step-info p {
    font-size: 13px;
    color: var(--c-text-muted);
    margin: 0;
    line-height: 1.5;
}

.customer-direct-call-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--customer-accent-subtle) 0%, #ffffff 100%);
    border: 1px solid var(--customer-accent-border);
}
.customer-direct-call-icon {
    color: var(--customer-accent);
}
.customer-direct-call-text span {
    display: block;
    font-size: 12px;
    color: var(--c-text-muted);
}
.customer-direct-call-text strong {
    font-size: 18px;
    color: var(--c-text-main);
}

/* 表单卡片面板 */
.customer-form-card {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--customer-radius, 16px);
    padding: 40px;
    box-shadow: var(--c-shadow-md);
}
.customer-form-card-title {
    font-size: 22px;
    margin-bottom: 6px;
}
.customer-form-card-subtitle {
    color: var(--c-text-muted);
    font-size: 13px;
    margin-bottom: 28px;
}

.customer-lead-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.customer-form-row {
    display: grid;
    gap: 18px;
}
.customer-form-row-2 {
    grid-template-columns: 1fr 1fr;
}
.customer-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.customer-form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text-main);
}
.customer-required {
    color: #ef4444;
}
.customer-form-input,
.customer-form-textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--c-text-main);
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.customer-form-input:focus,
.customer-form-textarea:focus {
    border-color: var(--customer-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}
.customer-form-textarea {
    resize: vertical;
    min-height: 100px;
}
.customer-form-submit-wrap {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}
.customer-form-submit-btn {
    padding: 13px 32px !important;
    font-size: 15px !important;
}
.customer-form-status-msg {
    font-size: 14px;
    font-weight: 500;
    color: var(--customer-accent);
}

/* ==========================================
   7. 首页各装修 Section 模块样式
   ========================================== */
.customer-section {
    padding-block: 72px;
}
.customer-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.customer-eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--customer-accent);
    margin-bottom: 8px;
    text-transform: uppercase;
}
.customer-section-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    line-height: 1.25;
}
.customer-section-desc {
    color: var(--c-text-muted);
    font-size: 15px;
    margin: 0;
    max-width: 600px;
}
.customer-link-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--customer-accent);
    white-space: nowrap;
}

/* Banner Hero */
.customer-section-hero {
    padding-block: 80px 60px;
    background: linear-gradient(180deg, #ffffff 0%, var(--c-bg-subtle) 100%);
    border-bottom: 1px solid var(--c-border);
}
.customer-hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}
.customer-hero-badge-wrap {
    margin-bottom: 18px;
}
.customer-badge-hero {
    background: var(--customer-accent-subtle);
    color: var(--customer-accent);
    font-size: 13px;
    padding: 5px 14px;
}
.customer-hero-title {
    font-size: clamp(32px, 4.5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
}
.customer-hero-subtitle {
    font-size: 17px;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 600px;
}
.customer-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.customer-hero-media {
    display: flex;
    justify-content: center;
}
.customer-hero-image-wrap {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--customer-radius, 16px);
    box-shadow: var(--c-shadow-lg);
    padding: 24px;
    max-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.customer-hero-img {
    max-height: 390px;
    object-fit: contain !important;
}

/* Stats 模块 */
.customer-section-stats[data-variant="dark"] {
    background: #0f172a;
    color: #ffffff;
}
.customer-section-stats[data-variant="dark"] .customer-section-title {
    color: #ffffff;
}
.customer-section-stats[data-variant="dark"] .customer-section-desc {
    color: #94a3b8;
}
.customer-section-stats[data-variant="dark"] .customer-card {
    background: #1e293b;
    border-color: #334155;
}
.customer-section-stats[data-variant="dark"] .customer-stat-value {
    color: #38bdf8;
}
.customer-section-stats[data-variant="dark"] .customer-stat-label {
    color: #f1f5f9;
}
.customer-section-stats[data-variant="dark"] .customer-stat-desc {
    color: #94a3b8;
}

.customer-stats-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.customer-stat-card {
    padding: 32px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.customer-stat-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--customer-accent-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.customer-stat-icon {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain !important;
}
.customer-stat-value {
    font-size: 38px;
    font-weight: 800;
    color: var(--customer-accent);
    line-height: 1.1;
    margin-bottom: 8px;
}
.customer-stat-label {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}
.customer-stat-desc {
    font-size: 13px;
    color: var(--c-text-muted);
    margin: 0;
}

/* Features 模块 */
.customer-features-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.customer-feature-card {
    padding: 32px;
}
.customer-feature-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--customer-accent);
    opacity: 0.85;
    margin-bottom: 16px;
}
.customer-feature-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--customer-accent-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.customer-feature-emoji {
    font-size: 24px;
}
.customer-feature-icon {
    max-width: 28px;
    max-height: 28px;
    object-fit: contain !important;
}
.customer-feature-title {
    font-size: 19px;
    margin-bottom: 10px;
}
.customer-feature-desc {
    font-size: 14px;
    color: var(--c-text-muted);
    line-height: 1.7;
    margin: 0;
}

/* FAQ 模块 */
.customer-faq-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.customer-faq-two-columns {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.customer-faq-item {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: var(--customer-radius, 10px);
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.customer-faq-item[open] {
    border-color: var(--customer-accent-border);
    box-shadow: var(--c-shadow-sm);
}
.customer-faq-summary {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 16px;
    color: var(--c-text-main);
}
.customer-faq-summary::-webkit-details-marker {
    display: none;
}
.customer-faq-q-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--customer-accent);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}
.customer-faq-summary-text {
    flex: 1;
}
.customer-faq-toggle-icon {
    font-size: 20px;
    color: var(--c-text-muted);
    transition: transform 0.2s ease;
}
.customer-faq-item[open] .customer-faq-toggle-icon {
    transform: rotate(45deg);
}
.customer-faq-item-body {
    padding: 0 24px 20px 62px;
    color: var(--c-text-body);
    font-size: 14px;
    line-height: 1.7;
}
.customer-faq-card {
    padding: 28px;
}
.customer-faq-question {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    margin-bottom: 12px;
}
.customer-faq-answer {
    color: var(--c-text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* Logos 品牌模块 */
.customer-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 20px;
}
.customer-logo-item-card {
    background: #ffffff;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.customer-logo-item-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--c-shadow-sm);
}
.customer-partner-logo {
    max-height: 48px;
    max-width: 120px;
    object-fit: contain !important;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.2s ease, opacity 0.2s ease;
}
.customer-logo-item-card:hover .customer-partner-logo {
    filter: grayscale(0);
    opacity: 1;
}

/* CTA 横幅模块 */
.customer-cta-banner-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: var(--customer-radius, 16px);
    padding: 56px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    box-shadow: var(--c-shadow-lg);
}
.customer-badge-cta {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    margin-bottom: 14px;
}
.customer-cta-banner-title {
    color: #ffffff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
}
.customer-cta-banner-subtitle {
    color: #94a3b8;
    font-size: 16px;
    max-width: 540px;
    margin-bottom: 28px;
    line-height: 1.6;
}
.customer-cta-banner-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.customer-button-cta-primary {
    background: var(--customer-accent) !important;
}
.customer-button-cta-secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.customer-button-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}
.customer-cta-banner-img {
    max-height: 240px;
    object-fit: contain !important;
}

/* ==========================================
   8. 行业主题特色定制 (industrial_pro 等)
   ========================================== */
.customer-industrial {
    --customer-accent: #ea580c;
    --customer-accent-hover: #c2410c;
    --customer-accent-subtle: #fff7ed;
    --customer-accent-border: #fed7aa;
}
.customer-industrial .customer-header {
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
}
.customer-industrial .customer-brand-name {
    color: #ffffff;
}
.customer-industrial .customer-brand-slogan {
    color: #94a3b8;
}
.customer-industrial .customer-nav-item {
    color: #cbd5e1;
}
.customer-industrial .customer-nav-item:hover,
.customer-industrial .customer-nav-item.active {
    color: #fb923c;
    background: rgba(234, 88, 12, 0.15);
}
.customer-industrial .customer-header-phone {
    background: #1e293b;
    color: #f1f5f9;
}
.customer-industrial .industrial-hero {
    border-bottom: 4px solid var(--customer-accent);
}
.customer-industrial .industrial-service-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #c2410c;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.customer-industrial .industrial-product-card {
    border-top: 3px solid var(--customer-accent);
}

/* ==========================================
   9. 响应式布局优化 (Responsive)
   ========================================== */
@media (max-width: 1024px) {
    .customer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
    .customer-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
    .customer-product-hero-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 28px;
    }
    .customer-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .customer-hero-subtitle {
        margin-inline: auto;
    }
    .customer-hero-actions {
        justify-content: center;
    }
    .customer-contact-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .customer-logos-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .customer-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .customer-container {
        width: calc(100% - 32px);
    }
    .customer-header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding-block: 16px;
    }
    .customer-nav {
        overflow-x: auto;
        padding-bottom: 6px;
        width: 100%;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    .customer-nav-item {
        white-space: nowrap;
        padding: 6px 12px;
        font-size: 14px;
    }
    .customer-header-actions {
        justify-content: space-between;
    }
    .customer-grid {
        grid-template-columns: 1fr;
    }
    .customer-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .customer-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .customer-footer-legal { width: 100%; flex-basis: auto; }
    .customer-footer-registrations { justify-content: center; }
    .customer-channel-header {
        padding: 28px 0;
    }
    .customer-channel-title {
        font-size: 26px;
    }
    .customer-channel-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    .customer-channel-search {
        max-width: 100%;
    }
    .customer-form-row-2 {
        grid-template-columns: 1fr;
    }
    .customer-form-card {
        padding: 24px;
    }
    .customer-article-main-card,
    .customer-detail-body-section {
        padding: 24px;
    }
    .customer-cta-banner-card {
        flex-direction: column;
        padding: 36px 24px;
        text-align: center;
    }
    .customer-cta-banner-actions {
        justify-content: center;
    }
    .customer-cta-box {
        flex-direction: column;
        padding: 24px;
        text-align: center;
    }
    .customer-logos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* A source clearfix must never occupy a content grid cell. */
.home-balanced-grid::before,.home-balanced-grid::after{display:none!important;content:none!important}

/* Shared native-header behavior; custom authored theme headers retain their layouts. */
.customer-nav .customer-native-mobile-action{display:none}
@media(max-width:768px){
 .customer-site [data-native-header][data-nav-ready][data-sticky="false"]{position:relative}
 .customer-site [data-native-header][data-nav-ready][data-sticky="true"]{position:sticky;top:0}
 .customer-site [data-native-header][data-nav-ready] .customer-header-inner{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;padding-block:16px;min-height:76px}
 .customer-site [data-native-header][data-nav-ready] .customer-brand{min-width:0;max-width:calc(100% - 80px)}
 .customer-site [data-native-header][data-nav-ready] .customer-brand-logo{max-height:44px;width:auto;max-width:100%;object-fit:contain}
 .customer-site [data-native-header][data-nav-ready] .customer-mobile-toggle{display:block;flex:none;padding:9px 14px;border:1px solid currentColor;border-radius:4px;background:#fff;color:#243343;font:inherit;cursor:pointer}
 .customer-site [data-native-header][data-nav-ready] .customer-header-actions{display:none}
 .customer-site [data-native-header][data-nav-ready] .customer-nav{display:none;position:absolute;top:100%;left:0;width:100%;max-height:65vh;overflow:auto;padding:16px;background:#fff;border-top:1px solid #cbd5e1;box-shadow:0 12px 20px #0f172a18;z-index:100;flex-direction:column;align-items:stretch;gap:4px}
 .customer-site [data-native-header][data-nav-ready] .customer-nav.is-open{display:flex}
 .customer-site [data-native-header][data-nav-ready] .customer-nav-item{display:block;padding:14px 16px;color:#243343;line-height:1.4;text-align:left}
 .customer-site [data-native-header][data-nav-ready] .customer-nav-item.active{background:#edf2f6;color:#243343}
}
