/* ============================================================
   현대캐피탈 전략구매 전용관 스타일
   컬러: 네이비 #002C5F, 시안 #00AAD2, 레드 #E63312
   ============================================================ */

/* Reset & Base */
.hcs-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 84px; /* 사이트 고정 헤더 높이만큼 여백 */
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
    color: #1A1A1A;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
.hcs-wrap * { box-sizing: border-box; }

/* ==================== Header ==================== */
.hcs-header {
    background: linear-gradient(135deg, #002C5F 0%, #00507A 50%, #00AAD2 100%);
    color: #fff;
    padding: 48px 24px 40px;
    text-align: center;
    margin-top:50px;
}
.hcs-header-inner { max-width: 800px; margin: 0 auto; }
.hcs-header-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}
.hcs-header-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
    letter-spacing: -0.5px;
}
.hcs-header-sub {
    font-size: 16px;
    opacity: 0.85;
    margin: 0 0 16px;
    font-weight: 400;
}
.hcs-header-period {
    font-size: 14px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.hcs-dday-badge {
    display: inline-block;
    background: #E63312;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}
.hcs-dday-badge.urgent {
    animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==================== Stats Bar ==================== */
.hcs-stats-bar {
    background: #F7F8FA;
    padding: 20px 24px;
    border-bottom: 1px solid #E5E8EB;
}
.hcs-stats-inner { max-width: 800px; margin: 0 auto; }
.hcs-stats-text {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    flex-wrap: wrap;
}
.hcs-stats-label { font-weight: 600; color: #002C5F; }
.hcs-stats-count { color: #444; }
.hcs-stats-percent { color: #E63312; font-weight: 700; }
.text-accent { color: #E63312 !important; }

.hcs-progress-bar {
    height: 8px;
    background: #E5E8EB;
    border-radius: 4px;
    overflow: hidden;
}
.hcs-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #002C5F, #00AAD2);
    border-radius: 4px;
    transition: width 0.8s ease;
    min-width: 2%;
}

/* ==================== Toast ==================== */
.hcs-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    animation: slideDown 0.4s ease;
}
.hcs-toast-inner {
    background: #002C5F;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    white-space: nowrap;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateX(-50%) translateY(-20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ==================== Sticky D-day ==================== */
.hcs-sticky-dday {
    position: sticky;
    top: 84px; /* 사이트 고정 헤더 아래 */
    z-index: 99;
    background: #002C5F;
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-size: 14px;
}

/* ==================== Filter ==================== */
.hcs-filter-section {
    padding: 16px 24px;
    border-bottom: 1px solid #E5E8EB;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.hcs-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    flex: 1;
}
.hcs-filter-tab {
    padding: 8px 16px;
    border: 1px solid #E5E8EB;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.hcs-filter-tab:hover { border-color: #002C5F; color: #002C5F; }
.hcs-filter-tab.active {
    background: #002C5F;
    color: #fff;
    border-color: #002C5F;
}
.hcs-tab-count {
    display: inline-block;
    background: rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 1px 7px;
    font-size: 11px;
    margin-left: 4px;
}
.hcs-filter-tab.active .hcs-tab-count {
    background: rgba(255,255,255,0.2);
}
.hcs-filter-sort select {
    padding: 8px 12px;
    border: 1px solid #E5E8EB;
    border-radius: 8px;
    font-size: 13px;
    color: #444;
    background: #fff;
    outline: none;
}

/* ==================== Card Grid (그룹 카드) ==================== */
.hcs-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px;
}
.hcs-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #E5E8EB;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}
.hcs-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.hcs-card.all-sold { opacity: 0.55; }
.hcs-card.all-sold:hover { transform: none; box-shadow: none; }

/* Badge Overlay */
.hcs-card-badge-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    pointer-events: none;
}
.hcs-sold-badge {
    background: rgba(100,100,100,0.85);
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    padding: 8px 28px;
    border-radius: 8px;
    letter-spacing: 3px;
}

/* Remain Badge */
.hcs-card-remain-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E63312;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 4;
}

/* Stock Badge (잔여 N대) */
.hcs-card-stock-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,44,95,0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 4;
}

/* Card Image */
.hcs-card-img {
    background: #F7F8FA;
    padding: 16px;
    text-align: center;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hcs-card-img img {
    max-width: 100%;
    max-height: 140px;
    object-fit: contain;
}

/* Card Info */
.hcs-card-info { padding: 16px; }
.hcs-card-name {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1A1A1A;
    line-height: 1.3;
}
.hcs-card-meta {
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
}
.hcs-trim-count-badge {
    display: inline-block;
    background: rgba(0,44,95,0.08);
    color: #002C5F;
    font-size: 11px;
    font-weight: 600;
    padding: 1px 8px;
    border-radius: 10px;
    margin-left: 4px;
}

/* 색상 칩 미리보기 */
.hcs-card-colors {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}
.hcs-color-chip-sm {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #ddd;
}
.hcs-color-more {
    font-size: 11px;
    color: #999;
    margin-left: 2px;
}

/* ★ Card Price (할인 효과 강화) */
.hcs-card-price-wrap {
    margin-bottom: 10px;
}
.hcs-card-price-original {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}
.hcs-price-label-sm {
    font-size: 11px;
    color: #999;
    width: 42px;
}
.hcs-price-strike {
    font-size: 14px;
    color: #bbb;
    text-decoration: line-through;
}
.hcs-card-price-sale {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 4px;
}
.hcs-price-big {
    font-size: 20px;
    font-weight: 800;
    color: #002C5F;
}

/* 할인 태그 (카드) */
.hcs-card-discount-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
}
.hcs-discount-amount {
    font-size: 13px;
    font-weight: 700;
    color: #E63312;
}
.hcs-discount-rate-badge {
    display: inline-block;
    background: #E63312;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Stock Info */
.hcs-card-stock-info {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #999;
    padding-top: 8px;
    border-top: 1px solid #F0F0F0;
}
.hcs-stock-sold { color: #E63312; font-weight: 600; }

/* ==================== Empty / Loading ==================== */
.hcs-empty {
    text-align: center;
    padding: 80px 24px;
    color: #999;
    font-size: 15px;
}
.hcs-loading {
    text-align: center;
    padding: 100px 24px;
    color: #999;
}
.hcs-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #E5E8EB;
    border-top-color: #002C5F;
    border-radius: 50%;
    margin: 0 auto 16px;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== Report Link ==================== */
.hcs-report-link {
    text-align: center;
    padding: 32px 24px;
}

/* ==================== Buttons ==================== */
.hcs-btn-primary {
    display: inline-block;
    background: #002C5F;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.hcs-btn-primary:hover { background: #001D3F; }
.hcs-btn-primary:disabled { background: #ccc; cursor: not-allowed; }
.hcs-btn-primary.hcs-btn-full { width: 100%; }
.hcs-btn-order {
    font-size: 18px;
    padding: 16px 40px;
    margin-top: 8px;
}

.hcs-btn-secondary {
    display: inline-block;
    background: #fff;
    color: #002C5F;
    border: 2px solid #002C5F;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.hcs-btn-secondary:hover { background: #002C5F; color: #fff; }

/* ==================== Detail Page ==================== */
.hcs-detail-nav {
    display: flex;
    align-items: center;
    padding: 12px 24px;
    border-bottom: 1px solid #E5E8EB;
    background: #fff;
    position: sticky;
    top: 84px; /* 사이트 고정 헤더 아래 */
    z-index: 50;
}
.hcs-back-btn {
    background: none;
    border: none;
    color: #002C5F;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
}
.hcs-detail-nav-title {
    flex: 1;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #002C5F;
    margin-right: 40px;
}

.hcs-detail-image {
    background: #F7F8FA;
    padding: 32px;
    text-align: center;
    position: relative;
}
.hcs-detail-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}
.hcs-detail-soldout-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.6);
}
.hcs-detail-soldout-overlay span {
    font-size: 36px;
    font-weight: 800;
    color: #999;
    letter-spacing: 4px;
}

.hcs-detail-section {
    padding: 24px;
    border-bottom: 8px solid #F7F8FA;
}
.hcs-detail-car-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #1A1A1A;
}
.hcs-detail-trim {
    font-size: 14px;
    color: #666;
    margin: 0 0 16px;
}
.hcs-section-title {
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #002C5F;
}
.hcs-section-sub {
    font-size: 13px;
    font-weight: 400;
    color: #999;
}

/* Urgency Box */
.hcs-urgency-box {
    background: #FFF5F5;
    border: 1px solid #FFE0E0;
    border-radius: 8px;
    padding: 12px 16px;
}
.hcs-urgency-item {
    font-size: 13px;
    padding: 4px 0;
    color: #333;
}
.hcs-urgency-item .text-accent { font-weight: 700; }

/* ★ Price Hero (상세 가격 - 할인 효과 강화) */
.hcs-price-section { background: #FAFBFC; }
.hcs-price-hero {
    background: #fff;
    border: 2px solid #E5E8EB;
    border-radius: 16px;
    overflow: hidden;
}
.hcs-price-hero-original {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px 8px;
}
.hcs-price-hero-label {
    font-size: 14px;
    color: #888;
    font-weight: 500;
}
.hcs-price-hero-value {
    font-size: 16px;
    color: #1A1A1A;
}
.hcs-price-hero-value.strike {
    color: #bbb;
    text-decoration: line-through;
    font-size: 17px;
}
.hcs-price-hero-sale {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 24px 12px;
}
.hcs-price-hero-value.big {
    font-size: 28px;
    font-weight: 800;
    color: #002C5F;
}

/* ★ 할인 강조 영역 */
.hcs-price-hero-discount {
    background: linear-gradient(135deg, #FFF0F0 0%, #FFE8E8 100%);
    padding: 16px 24px;
    border-top: 1px dashed #FFB0B0;
}
.hcs-discount-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.hcs-discount-arrow-down {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid #E63312;
}
.hcs-discount-highlight {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hcs-discount-amount-big {
    font-size: 20px;
    font-weight: 800;
    color: #E63312;
}
.hcs-discount-rate-big {
    display: inline-block;
    background: #E63312;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}
.hcs-price-hero-fee {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    font-size: 13px;
    color: #888;
    border-top: 1px solid #F0F0F0;
}

/* ==================== 트림(차종등급) 탭 ==================== */
.hcs-trim-section { border-bottom: 4px solid #F7F8FA; }
.hcs-trim-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.hcs-trim-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #E5E8EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
    flex-shrink: 0;
}
.hcs-trim-tab:hover { border-color: #002C5F; }
.hcs-trim-tab.active {
    border-color: #002C5F;
    background: #002C5F;
    color: #fff;
}
.hcs-trim-tab-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.hcs-trim-tab.active .hcs-trim-tab-name { color: #fff; }
.hcs-trim-tab-count {
    font-size: 12px;
    font-weight: 700;
    color: #002C5F;
    background: rgba(0,44,95,0.08);
    padding: 2px 8px;
    border-radius: 10px;
}
.hcs-trim-tab.active .hcs-trim-tab-count {
    color: #fff;
    background: rgba(255,255,255,0.2);
}
.hcs-trim-tab-count.soldout {
    color: #999;
    background: rgba(0,0,0,0.04);
    font-weight: 500;
}
.hcs-trim-tab.active .hcs-trim-tab-count.soldout {
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.15);
}

/* 트림 정보 바 */
.hcs-trim-info-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.hcs-trim-info-name {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
}
.hcs-trim-info-meta {
    font-size: 13px;
    color: #666;
    background: #F7F8FA;
    padding: 4px 10px;
    border-radius: 4px;
}

/* ==================== 색상 선택 ==================== */
.hcs-color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hcs-color-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px solid #E5E8EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.hcs-color-option:hover { border-color: #002C5F; }
.hcs-color-option.active {
    border-color: #002C5F;
    background: #F0F6FF;
    box-shadow: 0 0 0 1px #002C5F;
}
.hcs-color-option.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.hcs-color-chip-lg {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #ddd;
}
.hcs-color-option.active .hcs-color-chip-lg { border-color: #002C5F; }
.hcs-color-option-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}
.hcs-color-option-count {
    font-size: 12px;
    color: #002C5F;
    font-weight: 700;
    margin-left: auto;
}
.hcs-color-option-count.soldout {
    color: #999;
    font-weight: 500;
}

/* ==================== 개별 차량 선택 ==================== */
.hcs-car-selector { display: flex; flex-direction: column; gap: 8px; }
.hcs-car-option {
    padding: 14px 16px;
    border: 2px solid #E5E8EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: #fff;
}
.hcs-car-option:hover { border-color: #002C5F; }
.hcs-car-option.active {
    border-color: #002C5F;
    background: #F0F6FF;
    box-shadow: 0 0 0 1px #002C5F;
}
.hcs-car-option-main {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.hcs-car-option-radio {
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #ccc;
    transition: all 0.2s;
    position: relative;
}
.hcs-car-option-radio.checked {
    border-color: #002C5F;
}
.hcs-car-option-radio.checked::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #002C5F;
}
.hcs-car-option-num {
    font-size: 14px;
    font-weight: 700;
    color: #1A1A1A;
}
.hcs-car-option-loc {
    font-size: 12px;
    color: #999;
    margin-left: auto;
}
.hcs-car-option-price {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 28px;
}
.hcs-car-option-new {
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
}
.hcs-car-option-arrow { color: #ccc; font-size: 12px; }
.hcs-car-option-price strong {
    font-size: 16px;
    font-weight: 800;
    color: #002C5F;
}
.hcs-price-discount-sm {
    font-size: 12px;
    font-weight: 700;
    color: #E63312;
    background: #FFEAEB;
    padding: 1px 6px;
    border-radius: 3px;
}
.hcs-car-option-extra {
    padding-left: 28px;
    margin-top: 4px;
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Remark Badge */
.hcs-remark-badge {
    display: inline-block;
    background: #FFF3E0;
    color: #E65100;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 500;
}

/* ==================== Order Summary ==================== */
.hcs-order-summary {
    background: #F7F8FA;
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.hcs-order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}
.hcs-order-summary-row span { color: #888; }
.hcs-order-summary-row strong { color: #1A1A1A; }
.hcs-order-summary-row.highlight {
    border-top: 1px solid #E5E8EB;
    margin-top: 4px;
    padding-top: 10px;
}
.hcs-order-summary-row.highlight strong {
    font-size: 18px;
    color: #002C5F;
}

/* Select Guide */
.hcs-select-guide {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 15px;
}
.hcs-select-guide strong { color: #002C5F; }

/* Info Table */
.hcs-info-table {
    width: 100%;
    border-collapse: collapse;
}
.hcs-info-table th,
.hcs-info-table td {
    padding: 12px 0;
    font-size: 14px;
    border-bottom: 1px solid #F0F0F0;
}
.hcs-info-table th {
    color: #666;
    font-weight: 500;
    width: 100px;
    text-align: left;
}
.hcs-info-table td {
    color: #1A1A1A;
    font-weight: 500;
}

/* Notice Box */
.hcs-notice-box {
    padding: 16px 20px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.6;
}
.hcs-notice-box h4 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 700;
}
.hcs-notice-box p { margin: 4px 0; }
.hcs-notice-box.info {
    background: #E3F6FD;
    color: #004A7C;
    border: 1px solid #B3E0F2;
}
.hcs-notice-box.warning {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFE0B2;
}
.hcs-notice-box.soldout {
    background: #F5F5F5;
    color: #999;
    border: 1px solid #E5E5E5;
    text-align: center;
    padding: 32px 20px;
}

/* ==================== Order Form ==================== */
.hcs-order-form { max-width: 500px; }
.hcs-form-group {
    margin-bottom: 16px;
}
.hcs-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}
.hcs-form-group .required { color: #E63312; }
.hcs-input, .hcs-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E8EB;
    border-radius: 8px;
    font-size: 15px;
    color: #1A1A1A;
    outline: none;
    transition: border 0.2s;
    font-family: inherit;
}
.hcs-input:focus, .hcs-textarea:focus {
    border-color: #002C5F;
}
.hcs-agree-check label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    cursor: pointer;
}
.hcs-agree-check input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #002C5F;
}

/* ==================== 판매완료 내역 ==================== */
.hcs-sold-history { }
.hcs-sold-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #F0F0F0;
}
.hcs-sold-history-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hcs-sold-history-badge {
    display: inline-block;
    background: #E5E5E5;
    color: #999;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 3px;
    letter-spacing: 1px;
}
.hcs-sold-history-color {
    font-size: 14px;
    color: #666;
}
.hcs-sold-history-right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hcs-sold-history-price {
    font-size: 14px;
    font-weight: 700;
    color: #444;
}
.hcs-sold-history-date {
    font-size: 12px;
    color: #bbb;
}

/* ==================== Report ==================== */
.hcs-report-summary {
    background: #F7F8FA;
    padding: 32px 24px;
}
.hcs-report-summary-inner {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 600px;
    margin: 0 auto;
}
.hcs-report-stat { text-align: center; }
.hcs-report-stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #002C5F;
    line-height: 1.2;
}
.hcs-report-stat.accent .hcs-report-stat-num { color: #E63312; }
.hcs-report-stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.hcs-report-section { padding: 24px; border-bottom: 1px solid #F0F0F0; }

/* Top Models */
.hcs-top-models { display: flex; gap: 16px; flex-wrap: wrap; }
.hcs-top-model {
    flex: 1;
    min-width: 140px;
    background: #F7F8FA;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}
.hcs-top-rank {
    display: inline-block;
    width: 28px;
    height: 28px;
    line-height: 28px;
    border-radius: 50%;
    background: #002C5F;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
}
.hcs-top-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 4px;
}
.hcs-top-sold {
    font-size: 13px;
    color: #E63312;
    font-weight: 600;
}

/* Model Chart */
.hcs-model-chart { margin-bottom: 16px; }
.hcs-model-chart-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}
.hcs-model-chart-name { font-size: 14px; font-weight: 600; color: #333; }
.hcs-model-chart-count { font-size: 13px; color: #666; }
.hcs-model-chart-bar {
    height: 10px;
    background: #E5E8EB;
    border-radius: 5px;
    overflow: hidden;
}
.hcs-model-chart-fill {
    height: 100%;
    background: linear-gradient(90deg, #002C5F, #00AAD2);
    border-radius: 5px;
    transition: width 0.8s ease;
}

/* Sold List (Report) */
.hcs-sold-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #F0F0F0;
    gap: 16px;
    flex-wrap: wrap;
}
.hcs-sold-item-info { flex: 1; min-width: 200px; }
.hcs-sold-item-info strong { display: block; font-size: 14px; color: #1A1A1A; }
.hcs-sold-item-info span { font-size: 12px; color: #666; }
.hcs-sold-item-price { text-align: right; }
.hcs-sold-item-price strong { font-size: 16px; color: #002C5F; }
.hcs-price-discount { /* report 카드에서 사용 */
    display: inline-block;
    background: #FFEAEB;
    color: #E63312;
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

/* ==================== 모델별 판매 진행율 미니바 ==================== */
.hcs-mini-progress {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #F0F0F0;
}
.hcs-mini-progress-bar {
    height: 6px;
    background: #E5E8EB;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 4px;
}
.hcs-mini-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #002C5F, #00AAD2);
    border-radius: 3px;
    transition: width 0.8s ease;
    min-width: 1%;
}
.hcs-mini-progress-fill.warning {
    background: linear-gradient(90deg, #E67E22, #F39C12);
}
.hcs-mini-progress-fill.urgent {
    background: linear-gradient(90deg, #C0392B, #E74C3C);
}
.hcs-mini-progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #999;
}
.hcs-mini-progress-percent {
    font-weight: 700;
    color: #002C5F;
}
.hcs-mini-progress-percent.urgent {
    color: #E63312;
}

/* ==================== Detail 2-Column Layout ==================== */
.hcs-detail-layout {
    display: flex;
    gap: 0;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}
.hcs-detail-left {
    flex: 1;
    min-width: 0;
    border-right: 1px solid #e8e9ed;
}
.hcs-detail-right {
    width: 340px;
    flex-shrink: 0;
    align-self: stretch;
}

/* Detail Hero */
.hcs-detail-hero {
    background: #f2f3f4;
    border-bottom: 1px solid #e8e9ed;
}
.hcs-detail-hero-info {
    padding: 16px 20px;
    background: #fff;
}
.hcs-detail-maker {
    font-size: 12px;
    color: #89909d;
    margin: 0 0 2px;
    letter-spacing: -0.48px;
}
.hcs-detail-hero-badges {
    display: flex;
    gap: 4px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.hcs-badge-stock {
    display: inline-block;
    background: #eef7ff;
    color: #002C5F;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
    letter-spacing: -0.44px;
}
.hcs-badge-sold {
    display: inline-block;
    background: #fff7f7;
    color: #f16f74;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
    letter-spacing: -0.44px;
}
.hcs-badge-dday {
    display: inline-block;
    background: #fffaf6;
    color: #E63312;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
    letter-spacing: -0.44px;
}

/* Section Card */
.hcs-section-card {
    padding: 16px 20px;
    border-bottom: 1px solid #e8e9ed;
}
.hcs-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #34373c;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.56px;
}
.hcs-card-sub {
    font-size: 12px;
    font-weight: 400;
    color: #89909d;
}

/* Price Breakdown */
.hcs-price-breakdown {
    background: #f9fafb;
    border-radius: 6px;
    padding: 14px 16px;
}
.hcs-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
.hcs-price-row + .hcs-price-row {
    border-top: none;
}
.hcs-price-label {
    font-size: 14px;
    color: #89909d;
    font-weight: 500;
    letter-spacing: -0.56px;
}
.hcs-price-value {
    font-size: 14px;
    font-weight: 600;
    color: #34373c;
    letter-spacing: -0.56px;
}
.hcs-price-value.strike {
    color: #b5b9c4;
    text-decoration: line-through;
    font-weight: 400;
}
.hcs-price-value.accent {
    font-size: 18px;
    font-weight: 800;
    color: #002C5F;
    letter-spacing: -0.72px;
}
.hcs-price-saving {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid #e8e9ed;
}
.hcs-saving-amount {
    font-size: 13px;
    font-weight: 700;
    color: #ff6369;
    letter-spacing: -0.52px;
}
.hcs-saving-rate {
    display: inline-block;
    background: #ff6369;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 2px;
    letter-spacing: -0.44px;
}

/* ==================== Sticky Summary ==================== */
.hcs-sticky-summary {
    position: sticky;
    top: 130px;
    padding: 20px;
}
.hcs-summary-header {
    margin-bottom: 14px;
}
.hcs-summary-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #34373c;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #34373c;
    letter-spacing: -0.64px;
}
.hcs-summary-empty {
    text-align: center;
    padding: 28px 0;
    color: #89909d;
    font-size: 13px;
    border: 1px dashed #d5d8de;
    border-radius: 6px;
}
.hcs-summary-empty p { margin: 0; }

/* Selected Car Info */
.hcs-summary-car {
    background: #f2f3f4;
    border-radius: 6px;
    padding: 12px 14px;
    margin-bottom: 12px;
}
.hcs-summary-model {
    font-size: 14px;
    font-weight: 700;
    color: #34373c;
    margin-bottom: 2px;
    letter-spacing: -0.56px;
}
.hcs-summary-trim {
    font-size: 12px;
    color: #5c616a;
    margin-bottom: 6px;
    line-height: 1.4;
    letter-spacing: -0.48px;
}
.hcs-summary-detail {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #5c616a;
    padding-top: 6px;
    border-top: 1px solid #e8e9ed;
    letter-spacing: -0.48px;
}

/* Summary Prices */
.hcs-summary-prices {
    margin-bottom: 12px;
}
.hcs-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    font-size: 13px;
    color: #89909d;
    letter-spacing: -0.52px;
}
.hcs-summary-row .strike {
    text-decoration: line-through;
    color: #b5b9c4;
}
.hcs-summary-row.highlight {
    margin-top: 2px;
    padding-top: 8px;
    border-top: 1px solid #e8e9ed;
}
.hcs-summary-row.highlight strong {
    font-size: 18px;
    font-weight: 800;
    color: #002C5F;
    letter-spacing: -0.72px;
}
.hcs-summary-row.saving span:last-child {
    color: #ff6369;
    font-weight: 700;
}
.hcs-summary-row.fee {
    font-size: 12px;
    color: #89909d;
}
.hcs-summary-row.fee small {
    font-size: 11px;
    color: #b5b9c4;
}
.hcs-summary-divider {
    height: 1px;
    background: #e8e9ed;
    margin: 2px 0;
}

/* Summary Login Prompt */
.hcs-summary-login {
    text-align: center;
    padding: 14px 0;
}
.hcs-summary-login p {
    font-size: 13px;
    color: #5c616a;
    margin: 0 0 10px;
}

/* Summary Order Form */
.hcs-summary-order {
    padding-top: 2px;
}
.hcs-summary-user {
    background: #f2f3f4;
    border-radius: 6px;
    padding: 10px 14px;
    margin-bottom: 10px;
}
.hcs-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    font-size: 13px;
}
.hcs-form-row label {
    color: #89909d;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.52px;
}
.hcs-form-row span {
    color: #34373c;
    font-weight: 600;
    letter-spacing: -0.52px;
}
.hcs-summary-notice {
    text-align: center;
    font-size: 11px;
    color: #89909d;
    margin-top: 8px;
    letter-spacing: -0.44px;
}

/* Summary Soldout */
.hcs-summary-soldout {
    margin-top: 12px;
}

/* ==================== Fee Info ==================== */
.hcs-fee-info {
    background: #f9fafb;
    border-radius: 6px;
    padding: 14px 16px;
}
.hcs-fee-highlight {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e8e9ed;
}
.hcs-fee-label {
    font-size: 14px;
    color: #5c616a;
    font-weight: 500;
    letter-spacing: -0.56px;
}
.hcs-fee-amount {
    font-size: 18px;
    font-weight: 800;
    color: #002C5F;
    letter-spacing: -0.72px;
}
.hcs-fee-vat {
    font-size: 11px;
    color: #89909d;
}
.hcs-fee-desc {
    margin: 0;
    padding: 0 0 0 16px;
    list-style: disc;
}
.hcs-fee-desc li {
    font-size: 12px;
    color: #5c616a;
    line-height: 1.6;
    letter-spacing: -0.48px;
}
.hcs-fee-desc li strong {
    color: #002C5F;
}

/* ==================== Process Guide ==================== */
.hcs-process-guide {
    padding: 0;
}
.hcs-process-steps {
    position: relative;
}
.hcs-process-step {
    display: flex;
    gap: 10px;
    padding-bottom: 14px;
    position: relative;
}
.hcs-process-step:last-child {
    padding-bottom: 0;
}
/* Connecting line */
.hcs-process-step::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 26px;
    bottom: 0;
    width: 1px;
    background: #d5d8de;
}
.hcs-process-step:last-child::before {
    display: none;
}
.hcs-step-num {
    width: 22px;
    height: 22px;
    min-width: 22px;
    border-radius: 50%;
    background: #002C5F;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.hcs-step-content {
    flex: 1;
    padding-top: 1px;
}
.hcs-step-content strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #34373c;
    margin-bottom: 1px;
    letter-spacing: -0.52px;
}
.hcs-step-content p {
    font-size: 12px;
    color: #89909d;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.48px;
}

/* ==================== Notice List ==================== */
.hcs-notice-list {
    margin: 0;
    padding: 0 0 0 16px;
    list-style: disc;
}
.hcs-notice-list li {
    font-size: 12px;
    color: #5c616a;
    line-height: 1.7;
    letter-spacing: -0.48px;
}

/* ==================== Mobile Bottom Bar ==================== */
.hcs-mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-top: 1px solid #e8e9ed;
    padding: 10px 16px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hcs-mobile-bottom-info {
    display: flex;
    flex-direction: column;
}
.hcs-mobile-bottom-price {
    font-size: 16px;
    font-weight: 800;
    color: #002C5F;
    letter-spacing: -0.64px;
}
.hcs-mobile-bottom-discount {
    font-size: 12px;
    font-weight: 700;
    color: #ff6369;
    letter-spacing: -0.48px;
}
.hcs-mobile-bottom-btn {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
}

/* ==================== Responsive ==================== */
@media (max-width: 960px) {
    .hcs-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 16px;
    }
    /* Detail: 2-column → single column */
    .hcs-detail-layout {
        flex-direction: column;
    }
    .hcs-detail-left {
        border-right: none;
    }
    .hcs-detail-right {
        width: 100%;
        border-top: 8px solid #F7F8FA;
    }
    .hcs-sticky-summary {
        position: static;
    }
    /* Show mobile bottom bar */
    .hcs-mobile-bottom-bar {
        display: flex;
    }
    .hcs-detail-wrap {
        padding-bottom: 80px;
    }
}
@media (max-width: 640px) {
    .hcs-header { padding: 32px 16px 28px; }
    .hcs-header-title { font-size: 24px; }
    .hcs-header-sub { font-size: 14px; }

    .hcs-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px;
    }

    .hcs-card-img {
        height: 160px;
        padding: 12px;
    }
    .hcs-card-img img { max-height: 120px; }
    .hcs-card-name { font-size: 15px; }
    .hcs-price-big { font-size: 18px; }
    .hcs-sold-badge { font-size: 20px; padding: 6px 20px; }

    .hcs-filter-section {
        padding: 12px 16px;
        flex-direction: column;
    }
    .hcs-filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .hcs-filter-tab { flex-shrink: 0; }

    .hcs-detail-image { padding: 20px; }
    .hcs-detail-image img { max-height: 200px; }
    .hcs-detail-car-name { font-size: 18px; }
    .hcs-price-hero-value.big { font-size: 24px; }
    .hcs-discount-amount-big { font-size: 17px; }
    .hcs-discount-rate-big { font-size: 14px; }

    .hcs-trim-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .hcs-trim-tab { padding: 10px 16px; }
    .hcs-trim-tab-name { font-size: 13px; }

    .hcs-color-selector { gap: 6px; }
    .hcs-color-option { padding: 8px 12px; }
    .hcs-color-chip-lg { width: 20px; height: 20px; }
    .hcs-color-option-name { font-size: 13px; }

    .hcs-car-option { padding: 12px; }
    .hcs-car-option-price strong { font-size: 15px; }

    .hcs-order-summary-row.highlight strong { font-size: 16px; }
    .hcs-detail-soldout-overlay span { font-size: 28px; }

    .hcs-report-summary-inner { gap: 24px; }
    .hcs-report-stat-num { font-size: 28px; }

    .hcs-sold-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .hcs-sold-item-price { text-align: left; }

    /* Detail page mobile */
    .hcs-section-card { padding: 20px 16px; }
    .hcs-card-title { font-size: 15px; }
    .hcs-price-value.accent { font-size: 20px; }
    .hcs-saving-amount { font-size: 14px; }
    .hcs-fee-amount { font-size: 20px; }
    .hcs-summary-row.highlight strong { font-size: 18px; }
    .hcs-sticky-summary { padding: 20px 16px; }
}

/* ==================== Mobile (APP용) ==================== */
.hcs-mobile .hcs-card-grid { grid-template-columns: 1fr; }
.hcs-mobile .hcs-header { padding: 32px 16px 28px; }
.hcs-mobile .hcs-header-title { font-size: 24px; }
.hcs-mobile .hcs-mobile-bottom-bar { display: flex; }
.hcs-mobile .hcs-detail-wrap { padding-bottom: 80px; }
.hcs-mobile .hcs-detail-layout { flex-direction: column; }
.hcs-mobile .hcs-detail-left { border-right: none; }
.hcs-mobile .hcs-detail-right { width: 100%; }
.hcs-mobile .hcs-sticky-summary { position: static; }
