/* ===== 变量 ===== */
:root {
    --primary-color: #0073aa;
    --primary-hover: #005177;
    --primary-light: #e8f4fb;
    --accent-color: #ff6b35;
    --accent-hover: #e55a2b;
    --bg-color: #f0f4f8;
    --text-main: #1a2a3a;
    --text-muted: #6b7c93;
    --border-color: #e2e8f0;
    --card-bg: #ffffff;
    --card-active-border: #0073aa;
    --card-active-bg: #e8f4fb;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --step-done: #10b981;
    --step-active: #0073aa;
    --step-pending: #cbd5e1;
}

/* ===== 重置 ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
}

/* ===== 顶部导航 ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 32px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
}
.navbar .logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}
.navbar .nav-title {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 400;
}
.navbar .nav-actions a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}
.navbar .nav-actions a:hover { color: var(--primary-color); }

/* ===== 步骤导航 ===== */
.step-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 60px; left: 0; right: 0;
    z-index: 99;
    gap: 0;
}
.step-item {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    opacity: 0.5;
}
.step-item.active { opacity: 1; }
.step-item.done { opacity: 0.85; }
.step-item:hover { background: var(--primary-light); }

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--step-pending);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
.step-item.active .step-icon {
    background: var(--step-active);
    box-shadow: 0 0 0 4px rgba(0,115,170,0.2);
}
.step-item.done .step-icon {
    background: var(--step-done);
}

.step-info {
    display: flex;
    flex-direction: column;
}
.step-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.step-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.step-line {
    width: 48px;
    height: 2px;
    background: var(--border-color);
    margin: 0 4px;
    transition: background 0.3s;
}
.step-line.active {
    background: var(--step-active);
}

/* ===== 主体布局 ===== */
.configurator-container {
    display: flex;
    margin-top: 144px; /* 导航 + 步骤导航 */
    margin-bottom: 80px;
    min-height: calc(100vh - 144px - 80px);
}

/* ===== 左侧预览区 ===== */
.preview-section {
    flex: 5.5;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: sticky;
    top: 144px;
    height: calc(100vh - 144px - 80px);
    overflow: hidden;
}

.preview-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.3s;
}
.badge.selected {
    background: var(--primary-light);
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.badge i { font-size: 12px; }

/* ===== 轮播图 ===== */
.preview-carousel {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    position: relative;
    background: #f5f5f5;
}
.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
}
.carousel-slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.85);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-main);
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.carousel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s;
}
.carousel-dot.active {
    background: #fff;
    transform: scale(1.3);
}
.preview-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 36px 28px 28px;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
    color: #fff;
    z-index: 5;
}
.preview-overlay h2 { font-size: 22px; margin-bottom: 6px; font-weight: 700; color: #fff; }
.preview-overlay p { font-size: 13px; opacity: 0.75; }

.specs-overview {
    display: flex;
    gap: 32px;
    background: #fff;
    border-radius: 16px;
    padding: 24px 36px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 600px;
}
.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}
.spec-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 500;
}
.spec-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== 右侧选项区 ===== */
.options-section {
    flex: 4.5;
    background: #fff;
    border-left: 1px solid var(--border-color);
    padding: 40px 36px;
    overflow-y: auto;
    max-height: calc(100vh - 144px - 80px);
}

.step-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}
.step-panel.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}
.step-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 6px;
}
.step-header h2 i { margin-right: 10px; color: var(--primary-color); }
.step-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* ===== 选项卡片 ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.option-card {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: var(--card-bg);
    position: relative;
    overflow: hidden;
}
.option-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.option-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(0,115,170,0.12);
    transform: translateY(-2px);
}
.option-card.active {
    border-color: var(--primary-color);
    background: var(--card-active-bg);
}
.option-card.active::before { transform: scaleX(1); }

.option-card .card-name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-main);
}
.option-card .card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}
.option-card .card-unit {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}
.option-card .card-check {
    position: absolute;
    top: 10px; right: 10px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.option-card.active .card-check { display: flex; }

/* ===== 数量选择 ===== */
.qty-selector {
    display: flex;
    align-items: center;
    background: var(--bg-color);
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 16px;
}
.qty-selector label {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
}
.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-main);
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: var(--primary-light); color: var(--primary-color); }
.qty-control input {
    width: 60px;
    height: 40px;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    background: #fff;
}

/* ===== 已选摘要 ===== */
.selected-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--primary-light);
    border-radius: 10px;
    border: 1.5px solid rgba(0,115,170,0.2);
}
.selected-summary .summary-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}
.selected-summary .summary-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* ===== 配置总览 ===== */
.config-summary {
    margin-bottom: 28px;
}
.config-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-color);
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1.5px solid transparent;
    transition: border-color 0.2s;
}
.config-item:hover { border-color: var(--border-color); }
.config-item .config-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary-color);
    flex-shrink: 0;
}
.config-item .config-info { flex: 1; }
.config-item .config-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.config-item .config-info p { font-size: 13px; color: var(--text-muted); }
.config-item .config-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}
.config-item.config-empty {
    opacity: 0.5;
    border: 1.5px dashed var(--border-color);
}
.config-item.config-empty .config-icon { background: #f0f0f0; color: #aaa; }

/* ===== 联系表单 ===== */
.customer-form {
    background: var(--bg-color);
    padding: 28px;
    border-radius: 16px;
}
.customer-form h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
}
.customer-form h3 i { margin-right: 8px; color: var(--primary-color); }
.customer-form > p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.form-group { margin-bottom: 14px; }
.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s;
    background: #fff;
    font-family: inherit;
}
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

.alert-message {
    margin-bottom: 14px;
    padding: 12px;
    border-radius: 8px;
    display: none;
    text-align: center;
    font-size: 14px;
}
.alert-success { background: #d1fae5; color: #065f46; display: block; }
.alert-error { background: #fee2e2; color: #991b1b; display: block; }

/* ===== 按钮 ===== */
.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 32px;
    height: 48px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover { background: var(--primary-hover); box-shadow: 0 4px 16px rgba(0,115,170,0.3); }
.btn-primary:disabled { background: #cbd5e1; cursor: not-allowed; box-shadow: none; }

.btn-secondary {
    background: #fff;
    color: var(--text-main);
    border: 1.5px solid var(--border-color);
    padding: 0 28px;
    height: 48px;
    border-radius: 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.btn-secondary:hover { border-color: var(--primary-color); color: var(--primary-color); }

.btn-block { width: 100%; justify-content: center; }

/* ===== 底部固定栏 ===== */
.bottom-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 80px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 100;
}
.bottom-left { display: flex; align-items: baseline; gap: 12px; }
.price-label { font-size: 15px; color: var(--text-muted); }
.total-price { font-size: 34px; font-weight: 800; color: var(--danger-color); }
.bottom-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* ===== 子标题 ===== */
.sub-section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sub-section-title i { color: var(--primary-color); }

/* ===== 卡片规格文字 ===== */
.option-card .card-specs {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}
.option-card .card-desc {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

/* ===== 步骤提示 ===== */
.step-tip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fffbeb;
    border: 1.5px solid #fde68a;
    border-radius: 8px;
    font-size: 13px;
    color: #92400e;
    margin-top: 16px;
}
.step-tip i { color: #f59e0b; flex-shrink: 0; }

/* ===== 车棚配置 ===== */
.carport-config {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.config-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.config-row label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}
.config-row label i { color: var(--primary-color); }
.config-row select {
    padding: 10px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-main);
    background: #fff;
    cursor: pointer;
    min-width: 160px;
    font-family: inherit;
}
.config-row select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

/* ===== 车棚规格标注 ===== */
.carport-notation {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--primary-light);
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-main);
}
.carport-notation code {
    font-family: "Courier New", monospace;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    background: rgba(0,115,170,0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

/* ===== 车棚多规格构建器 ===== */
/* 车棚多规格构建器 */
.carport-builder {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
.carport-builder-types {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
}
.carport-builder-types .type-card {
    flex: 1 1 0%;
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
    border: 2.5px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
    min-height: 150px;
}
.carport-builder-types .type-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.carport-builder-types .type-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 28px rgba(0,115,170,0.18);
    transform: translateY(-3px);
}
.carport-builder-types .type-card.active {
    border-color: var(--primary-color);
    background: var(--card-active-bg);
}
.carport-builder-types .type-card.active::before { transform: scaleX(1); }
.carport-builder-types .type-card .card-check {
    position: absolute;
    top: 12px; right: 12px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.carport-builder-types .type-card.active .card-check { display: flex; }
.carport-builder-types .type-card .card-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.carport-builder-types .type-card .card-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}
.carport-builder-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    align-items: end;
}
.carport-builder-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.carport-builder-field label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.carport-builder-field label i { color: var(--primary-color); }
.carport-builder-field input[type="number"] {
    padding: 16px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    background: #fff;
    width: 100%;
    font-family: inherit;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.carport-builder-field input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0,115,170,0.1);
}
.carport-builder-field input[type="number"]::-webkit-inner-spin-button,
.carport-builder-field input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

.btn-add-carport {
    padding: 18px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.15s;
    align-self: end;
}
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    font-family: inherit;
    letter-spacing: 0.5px;
}
.btn-add-carport:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,115,170,0.35);
}
.btn-add-carport:active { transform: translateY(0); }

/* 已添加的车棚清单 */
#carport-added-list {
    margin-bottom: 16px;
}
.carport-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    background: var(--bg-color);
    border-radius: 10px;
    border: 1.5px dashed var(--border-color);
}
.carport-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 8px;
    transition: border-color 0.2s;
}
.carport-list-item:hover { border-color: var(--primary-color); }
.carport-list-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.carport-list-notation {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}
.carport-list-detail {
    font-size: 12px;
    color: var(--text-muted);
}
.carport-list-detail strong { color: var(--primary-color); }
.carport-list-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: #ef4444;
    font-size: 16px;
    padding: 6px;
    border-radius: 6px;
    transition: background 0.2s;
}
.carport-list-remove:hover { background: #fee2e2; }

/* ===== 充电桩配置器（Step 4）===== */
.charger-builder {
    background: var(--bg-color);
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}
.charger-builder-types {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
}
.charger-builder-types .type-card {
    flex: 1 1 0%;
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    border: 2.5px solid var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    background: #fff;
    position: relative;
    overflow: hidden;
    min-height: 130px;
}
.charger-builder-types .type-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}
.charger-builder-types .type-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 28px rgba(0,115,170,0.18);
    transform: translateY(-3px);
}
.charger-builder-types .type-card.active {
    border-color: var(--primary-color);
    background: var(--card-active-bg);
}
.charger-builder-types .type-card.active::before { transform: scaleX(1); }
.charger-builder-types .type-card .card-check {
    position: absolute;
    top: 12px; right: 12px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}
.charger-builder-types .type-card.active .card-check { display: flex; }
.charger-builder-types .type-card .card-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
}
.charger-builder-types .type-card .card-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-color);
}
.charger-builder-types .type-card .card-specs {
    font-size: 12px;
    color: var(--text-muted);
}
.charger-builder-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    align-items: end;
}
.charger-builder-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.charger-builder-field label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
}
.charger-builder-field label i { color: var(--primary-color); }
.charger-builder-field input[type="number"] {
    padding: 16px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-main);
    background: #fff;
    width: 100%;
    font-family: inherit;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.charger-builder-field input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0,115,170,0.1);
}
.btn-add-charger {
    padding: 18px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.15s;
    align-self: end;
}
.btn-add-charger:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,115,170,0.35);
}
.btn-add-charger:active { transform: translateY(0); }
.charger-notation {
    font-size: 14px;
    color: var(--text-muted);
    padding: 8px 0;
    text-align: center;
}
.charger-empty {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    background: var(--bg-color);
    border-radius: 10px;
    border: 1.5px dashed var(--border-color);
}

/* ===== 响应式 ===== */
@media (max-width: 1100px) {
    .configurator-container { flex-direction: column; }
    .preview-section {
        position: relative;
        top: 0;
        height: auto;
        padding: 24px;
    }
    .options-section {
        max-height: none;
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding: 28px 20px;
    }
    .step-nav { padding: 14px 16px; gap: 0; }
    .step-item { padding: 6px 10px; }
    .step-info { display: none; }
    .step-label { display: none; }
    .step-name { display: none; }
    .step-line { width: 24px; }
    .specs-overview { padding: 16px 20px; gap: 16px; }
    .spec-value { font-size: 18px; }
    .bottom-bar { padding: 0 20px; }
    .total-price { font-size: 26px; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .step-nav { justify-content: space-between; }
    .step-line { flex: 1; margin: 0 2px; }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .navbar { padding: 0 16px; }
}

/* ===== 隐藏价格显示 ===== */
.card-price,
.selected-summary .summary-price,
.bottom-left,
.total-price,
.price-label { display: none !important; }
