/* 스마트 견적 시스템 CSS v1.4.3 */

.smart-quote-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 진행 표시 바 */
.quote-progress-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    padding: 0 20px;
    position: relative;
}

.quote-progress-bar::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: #9ca3af;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

/* 진행 중인 항목: 동그라미와 숫자를 더 크게 */
.progress-step.active .step-number {
    background: #0058a3;
    border-color: #0058a3;
    color: #ffffff;
    width: 80px;
    height: 80px;
    font-size: 32px;
    border-width: 4px;
}

.progress-step.completed .step-number {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
}

.step-label {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    text-align: center;
    position: relative;
}

.progress-step.active .step-label {
    color: #0058a3;
    font-size: 15px;
    font-weight: 700;
}

/* 완료된 항목에 "(완료)" 표시 추가 */
.progress-step.completed .step-label {
    color: #10b981;
}

.progress-step.completed .step-label::after {
    content: ' (완료)';
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    margin-left: 4px;
}

/* Step 공통 스타일 */
.quote-step {
    display: none;
}

.quote-step.active {
    display: block;
}

/* Step 1: 객관식 파트 */
.question-section {
    display: none;
    animation: fadeIn 0.3s ease;
}

.question-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-header {
    text-align: center;
    margin-bottom: 40px;
}

.question-label {
    display: inline-block;
    background: #dc2626;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
}

.question-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px 0;
}

.question-instruction {
    font-size: 14px;
    color: #dc2626;
    font-weight: 600;
    margin: 5px 0;
}

.reset-instruction {
    margin-top: 10px;
}

.selected-preview {
    margin-top: 20px;
    padding: 15px;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 14px;
    color: #4b5563;
}

.selected-preview strong {
    color: #0058a3;
    font-weight: 600;
}

/* 옵션 그리드 */
.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Q1 옵션 그리드 (더 큰 카드용) */
#q1-options.option-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1400px;
}

@media (max-width: 992px) {
    #q1-options.option-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    #q1-options.option-grid {
        grid-template-columns: 1fr;
    }
}

.option-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 500;
    color: #374151;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.option-card:hover {
    border-color: #0058a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 88, 163, 0.15);
}

.option-card.selected {
    background: #dbeafe;
    border-color: #0058a3;
    color: #0058a3;
    font-weight: 600;
}

/* Q1 옵션 카드 스타일 (더 크게) */
.q1-option-card {
    padding: 40px 30px;
    min-height: 200px;
    flex-direction: column;
    gap: 20px;
}

.q1-option-card .option-icon {
    font-size: 64px;
    color: #0058a3;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.q1-option-card:hover .option-icon {
    transform: scale(1.1);
    color: #003d7a;
}

.q1-option-card.selected .option-icon {
    color: #ffffff;
}

.q1-option-card .option-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

/* Q3 제품군 선택 카드 스타일 (이미지 포함) */
#q3-product-options .option-card {
    flex-direction: column;
    gap: 8px;
    padding: 20px 15px;
    min-height: 100px;
}

#q3-product-options .option-card .option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

#q3-product-options .option-card .option-icon img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#q3-product-options .option-card:hover .option-icon img {
    transform: scale(1.1);
}

#q3-product-options .option-card.selected .option-icon img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(95%) saturate(2000%) hue-rotate(200deg) brightness(0.9);
}

.option-card.special-option {
    background: #fef3c7;
    border-color: #f59e0b;
    color: #92400e;
    font-weight: 600;
    grid-column: span 2;
}

.option-card.special-option.selected {
    background: #fde68a;
    border-color: #f59e0b;
}

.single-select .option-card.selected {
    background: #22c55e;
    border-color: #22c55e;
    color: #ffffff;
}

/* 네비게이션 버튼 */
.step-navigation {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.nav-btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-btn {
    background: #f3f4f6;
    color: #6b7280;
}

.prev-btn:hover {
    background: #e5e7eb;
    color: #374151;
}

.next-btn {
    background: #0058a3;
    color: #ffffff;
}

.next-btn:hover {
    background: #003d7a;
}

.next-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Step 2: 제품 선택 단계 */
.step2-content {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

/* 추천 카테고리 */
.recommended-categories-section {
    margin-bottom: 40px;
}

.recommended-categories-grid-wrap {
    position: relative;
}

.recommended-categories-swipe-hint {
    display: none;
}

.recommended-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 100%;
}

.recommended-category-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.recommended-category-card:hover {
    border-color: #0058a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 88, 163, 0.15);
}

.recommended-category-card.selected {
    background: #dbeafe;
    border-color: #0058a3;
}

.category-image-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.recommended-category-card.selected .category-name {
    color: #0058a3;
}

/* 카테고리 뱃지 */
.category-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.category-badge-selected {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
}

.category-badge-empty {
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    color: #ffffff;
}

.recommended-category-card:hover .category-badge {
    transform: scale(1.05);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* 개인정보 제공 동의 전문보기 팝업 (smartsel 전용) - body 직계로 두어 항상 뷰포트 기준 고정 */
.smartsel-privacy-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999 !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}
.smartsel-privacy-popup-container {
    background: #fff;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
.smartsel-privacy-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}
.smartsel-privacy-popup-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}
.smartsel-privacy-popup-close {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #6b7280;
    font-size: 18px;
    line-height: 1;
    border-radius: 6px;
}
.smartsel-privacy-popup-close:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}
.smartsel-privacy-popup-body {
    padding: 20px;
    overflow-y: auto;
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}
.smartsel-privacy-intro {
    margin: 0 0 16px;
}
.smartsel-privacy-dl {
    margin: 0 0 16px;
}
.smartsel-privacy-dl dt {
    font-weight: 700;
    color: #1a1a1a;
    margin-top: 12px;
    margin-bottom: 4px;
}
.smartsel-privacy-dl dt:first-child { margin-top: 0; }
.smartsel-privacy-dl dd {
    margin: 0;
    padding-left: 0;
}
.smartsel-privacy-footer {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
}

/* Step1 선택 내용 요약 */
.step1-selection-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: none;
    border-left: 4px solid #0058a3;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.selection-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.summary-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.3px;
}

.edit-selection-btn {
    padding: 6px 14px;
    background: #ffffff;
    color: #0058a3;
    border: 1px solid #0058a3;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.edit-selection-btn:hover {
    background: #0058a3;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 88, 163, 0.2);
}

.selection-summary-content {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    align-items: center;
}

.selection-summary-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #475569;
}

.selection-summary-label {
    font-weight: 600;
    color: #0058a3;
    font-size: 12px;
    background: rgba(0, 88, 163, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.selection-summary-value {
    color: #64748b;
    font-weight: 500;
}

/* 선택 요약 카드형 (심플 제목 + 선택한 항목) */
.selection-summary-content .selection-summary-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    align-items: stretch;
    width: 100%;
}

.selection-summary-card {
    flex: 1 1 auto;
    min-width: 140px;
    max-width: 220px;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 16px;
    border-left: 4px solid #1976d2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.selection-summary-card:hover {
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.12);
}

.selection-summary-card-head {
    font-size: 12px;
    font-weight: 600;
    color: #1976d2;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    line-height: 1.35;
    font-style: italic;
}

.selection-summary-card-body {
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    line-height: 1.45;
    word-break: keep-all;
}

.selection-summary-empty {
    color: #9ca3af;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .selection-summary-content .selection-summary-cards {
        gap: 10px 12px;
    }
    .selection-summary-card {
        min-width: 120px;
        max-width: none;
        padding: 12px 14px;
    }
    .selection-summary-card-head {
        font-size: 11px;
    }
    .selection-summary-card-body {
        font-size: 13px;
    }
}

/* 제품 그리드 */
.products-section {
    margin-bottom: 0;
    position: relative;
}

.products-section.has-multiple-rows {
    margin-bottom: 30px;
}

.products-section:not(.has-multiple-rows) {
    margin-bottom: 0;
}

.products-grid-wrapper {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 10px;
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    scrollbar-gutter: stable;
}

.products-grid-wrapper:hover {
    scrollbar-color: #0058a3 #f1f1f1;
}

/* 스크롤 가능함을 시각적으로 표시하는 그라데이션 페이드 효과 - 스마트 선택 전용 */
.smart-quote-products-section {
    position: relative;
}

.smart-quote-products-section .products-fade-mask-left,
.smart-quote-products-section .products-fade-mask-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
    z-index: 15;
    transition: opacity 0.3s ease;
    will-change: opacity;
}

.smart-quote-products-section .products-fade-mask-left {
    left: 0;
    background: linear-gradient(to right, rgba(248, 249, 250, 0.95), transparent);
    opacity: 0;
}

.smart-quote-products-section .products-fade-mask-right {
    right: 0;
    background: linear-gradient(to left, rgba(248, 249, 250, 0.95), transparent);
    opacity: 1;
}

.smart-quote-products-section.can-scroll-left .products-fade-mask-left {
    opacity: 1;
}

.smart-quote-products-section.can-scroll-right .products-fade-mask-right {
    opacity: 1;
}

.smart-quote-products-section.cannot-scroll-right .products-fade-mask-right {
    opacity: 0;
}

.products-grid-wrapper.has-scroll {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}

/* 스크롤바 스타일링 - overlay 방식으로 레이아웃 변경 방지 */
.products-grid-wrapper::-webkit-scrollbar {
    height: 6px;
}

.products-grid-wrapper::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.products-grid-wrapper::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.products-grid-wrapper:hover::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.products-grid-wrapper:hover::-webkit-scrollbar-thumb {
    background: #0058a3;
}

.products-grid-wrapper:hover::-webkit-scrollbar-thumb:hover {
    background: #003d7a;
}

.products-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: row !important;
    gap: 12px !important;
    padding: 10px 12px !important;
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
    align-items: flex-start !important;
}

/* products-grid 내부의 pl-card 스타일 (가로 스크롤 레이아웃용) */
.products-grid .pl-card {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

/* pl-card 내부의 pl-link 스타일 */
.products-grid .pl-card .pl-link {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 스마트견적: 링크 제거된 카드 영역(제품보기 버튼만 팝업) */
.products-grid .pl-card .pl-link.pl-link-static {
    cursor: default;
    text-decoration: none;
    color: inherit;
}

/* pl-card 내부의 view-product-btn 스타일 */
.products-grid .pl-card .view-product-btn {
    width: 100%;
    margin-top: 12px;
    padding: 10px 8px;
    background: #0058a3;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.products-grid .pl-card .view-product-btn:hover {
    background: #003d7a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 88, 163, 0.3);
}

.products-grid.has-scroll {
    flex-wrap: nowrap !important;
    width: max-content !important;
    min-width: 100% !important;
    max-width: none !important;
}

.products-grid.single-row {
    margin-bottom: 0;
    max-height: none !important;
    align-items: stretch !important;
}

/* .products-grid.has-scroll는 위에서 정의됨 */

/* 스크롤 가이드 아이콘 - 스마트 선택 전용 */
.smart-quote-scroll-guide {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(0, 88, 163, 0.95), rgba(0, 61, 122, 0.95));
    color: #ffffff;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 25;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 88, 163, 0.4), 0 0 0 3px rgba(255, 255, 255, 0.3);
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.smart-quote-scroll-guide.show {
    display: flex !important;
    opacity: 1;
}

.smart-quote-scroll-guide:hover {
    background: linear-gradient(135deg, rgba(0, 88, 163, 1), rgba(0, 61, 122, 1));
    box-shadow: 0 6px 20px rgba(0, 88, 163, 0.6), 0 0 0 4px rgba(255, 255, 255, 0.4);
}

.smart-quote-scroll-guide:active {
    background: linear-gradient(135deg, rgba(0, 88, 163, 0.9), rgba(0, 61, 122, 0.9));
}

.smart-quote-scroll-guide-left {
    left: 10px;
}

.smart-quote-scroll-guide-right {
    right: 10px;
}

.smart-quote-scroll-guide i {
    font-size: 24px;
    font-weight: 700;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}


.product-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: box-shadow 0.2s ease, border-color 0.2s ease !important;
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    height: auto !important;
    min-height: auto !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
    flex-direction: column !important;
    display: flex !important;
    position: relative !important;
    opacity: 1 !important;
    transform: none !important;
    flex-shrink: 0 !important;
}

/* products-grid 내부의 pl-card 스타일 (가로 스크롤 레이아웃용) */
.products-grid .pl-card {
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    height: auto !important;
}

.products-grid.has-scroll .product-card {
    width: 200px !important;
    min-width: 200px !important;
    max-width: 200px !important;
    flex: 0 0 200px !important;
    height: auto !important;
    min-height: auto !important;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #0058a3;
}

.product-image {
    width: 100%;
    height: 200px;
    min-height: 200px;
    max-height: 200px;
    object-fit: cover;
    background: #f8f9fa;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    display: block;
    position: relative;
}

.product-image::before,
.product-image::after {
    display: none !important;
    content: none !important;
}

.product-card::before,
.product-card::after {
    display: none !important;
    content: none !important;
}

.product-image[src=""],
.product-image:not([src]),
.product-image[src*="undefined"],
.product-image[src*="null"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image[src=""]:after,
.product-image:not([src]):after,
.product-image[src*="undefined"]:after,
.product-image[src*="null"]:after {
    content: '이미지';
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
}

.product-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    justify-content: space-between;
    gap: 0;
    align-items: center;
    text-align: center;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    flex-shrink: 0;
    text-align: center;
    width: 100%;
}

.product-price {
    font-size: 14px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 10px;
    margin-top: 0;
    padding-top: 0;
    flex-shrink: 0;
    line-height: 1.3;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: center;
}

.product-price-label {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.product-price-amount {
    font-size: 14px;
    font-weight: 700;
    color: #dc2626;
}

.view-product-btn {
    width: 100%;
    padding: 10px 8px;
    background: #0058a3;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
    flex-shrink: 0;
    white-space: nowrap;
}

.view-product-btn:hover {
    background: #003d7a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 88, 163, 0.3);
}

.scrollbar-indicator {
    height: 4px;
    background: #dc2626;
    margin-top: 10px;
    border-radius: 2px;
    display: none;
}

.products-grid-wrapper:hover .scrollbar-indicator {
    display: block;
}

/* 담은 상품 */
.selected-products-section {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cd 100%);
    border: 2px solid #ffdb00;
    padding: 20px;
    border-radius: 12px;
    margin-top: 0;
    box-shadow: 0 2px 8px rgba(255, 219, 0, 0.15);
}

.products-section:not(.has-multiple-rows) + .selected-products-section {
    margin-top: 0;
}

.selected-products-header {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-products-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    letter-spacing: -0.3px;
}

.selected-products-title::before {
    content: '🛒';
    margin-right: 6px;
    font-size: 18px;
}

.selected-products-wrapper {
    position: relative;
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: #ffdb00 #fff9e6;
}

.selected-products-wrapper::-webkit-scrollbar {
    height: 6px;
}

.selected-products-wrapper::-webkit-scrollbar-track {
    background: #fff9e6;
    border-radius: 3px;
}

.selected-products-wrapper::-webkit-scrollbar-thumb {
    background: #ffdb00;
    border-radius: 3px;
}

.selected-products-list {
    display: flex;
    gap: 12px;
    min-width: max-content;
    padding-bottom: 8px;
}

.selected-product-card {
    background: #ffffff;
    border: 1px solid #ffe69c;
    border-radius: 10px;
    padding: 12px;
    min-width: 240px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.selected-product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #ffdb00;
}

.selected-product-card-image {
    flex-shrink: 0;
}

.selected-product-card-info {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.selected-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    background: #f8f9fa;
    flex-shrink: 0;
}

.selected-product-name {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    margin-bottom: 4px;
}

.selected-product-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    line-height: 1.3;
}

.selected-product-pricing.pl-pricing {
    margin-top: 6px;
    margin-bottom: 8px;
    padding: 8px 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    font-size: 12px;
}

.selected-product-pricing .pl-rental-period {
    font-size: 11px;
    color: #64748b;
}

.selected-product-pricing .pl-monthly-price {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.selected-product-pricing .pl-period {
    font-size: 12px;
    color: #6b7280;
}

.selected-product-pricing .pl-daily-fee {
    font-size: 10px;
    color: #6b7280;
    margin-top: 2px;
}

.selected-product-card .pl-badges-2nd {
    margin-bottom: 6px;
}

.step4-product-card .pl-badges-2nd {
    margin-bottom: 6px;
}

.selected-product-quantity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-label {
    font-size: 14px;
    color: #6b7280;
}

.quantity-input {
    width: 60px;
    padding: 5px;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.remove-product-btn {
    padding: 5px 10px;
    background: #dc2626;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.remove-product-btn:hover {
    background: #b91c1c;
}

.next-step-btn {
    padding: 12px 30px;
    background: #0058a3;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step2-navigation-buttons .next-step-btn {
    width: auto;
    min-width: 150px;
}

.next-step-btn:hover:not(:disabled) {
    background: #003d7a;
}

.next-step-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

/* Step2 네비게이션 버튼 컨테이너 */
.step2-navigation-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.prev-step-btn {
    padding: 12px 30px;
    background: #ffffff;
    color: #0058a3;
    border: 2px solid #0058a3;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.prev-step-btn:hover {
    background: #f3f4f6;
    border-color: #003d7a;
    color: #003d7a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 88, 163, 0.2);
}

.prev-step-btn:active {
    transform: translateY(0);
}

/* Step 3: 추가상품 제안 팝업 */
.quote-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.quote-popup-overlay.active {
    display: flex;
}

.quote-popup-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.popup-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.additional-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.additional-category-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.additional-category-card:hover {
    border-color: #0058a3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 88, 163, 0.15);
}

.additional-category-card.selected {
    background: #dbeafe;
    border-color: #0058a3;
}

.additional-category-image {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.additional-category-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.additional-category-name {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.popup-close-btn {
    width: 100%;
    padding: 15px;
    background: #0058a3;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: #003d7a;
}

/* Step 4: 요청서 작성 */
.step4-content {
    max-width: 1000px;
    margin: 0 auto;
}

.step4-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.step4-header .section-title {
    margin-bottom: 0;
}

#step4-back-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 14px;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .step4-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    #step4-back-btn {
        width: 100%;
        justify-content: center;
    }
}
}

.section-description {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

.selected-products-summary {
    margin-bottom: 40px;
}

.summary-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

/* Step4 선택 제품 영역: 가로 스크롤 + 좌우 버튼(스크롤 가능할 때만 표시) */
.step4-products-scroll-wrapper {
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    width: 100%;
}

.step4-scroll-btn {
    flex-shrink: 0;
    width: 40px;
    min-width: 40px;
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    color: #374151;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}

.step4-scroll-btn:hover {
    background: #f3f4f6;
    color: #0058a3;
}

.step4-scroll-btn:disabled,
.step4-scroll-btn[aria-hidden="true"] {
    visibility: hidden;
    pointer-events: none;
}

.selected-products-cards {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 4px 16px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    flex: 1;
    min-width: 0;
}

/* 카드: 이미지 위, 정보 아래 (세로 배치로 가로 스크롤 시 더 많은 상품 인지 용이) */
.step4-product-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 0;
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    flex-shrink: 0;
}

.step4-product-card-image {
    width: 100%;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    aspect-ratio: 1;
    background: #f3f4f6;
}

.step4-product-card-info {
    flex: 1;
    min-width: 0;
    padding: 12px;
}

.step4-product-subtitle {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
    line-height: 1.3;
}

.step4-product-pricing.pl-pricing {
    margin-top: 6px;
    margin-bottom: 8px;
    padding: 8px 10px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 8px;
    font-size: 12px;
}

.step4-product-pricing .pl-rental-period {
    font-size: 11px;
    color: #64748b;
}

.step4-product-pricing .pl-monthly-price {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}

.step4-product-pricing .pl-period {
    font-size: 12px;
    color: #6b7280;
}

.step4-product-pricing .pl-daily-fee {
    font-size: 10px;
    color: #6b7280;
    margin-top: 2px;
}

.step4-product-quantity {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.step4-product-quantity .quantity-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
}

.step4-product-quantity .quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    border:0;
}

.step4-product-quantity .quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

.step4-product-quantity .quantity-btn:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

.step4-product-quantity .quantity-btn:active {
    background: #e5e7eb;
    transform: scale(0.95);
}

.step4-product-quantity .quantity-input {
    width: 60px;
    height: 32px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    padding: 0;
}

.step4-product-quantity .quantity-input:focus {
    outline: none;
    border-color: #0058a3;
    box-shadow: 0 0 0 3px rgba(0, 88, 163, 0.1);
}

.step4-product-total {
    font-size: 15px;
    font-weight: 700;
    color: #0058a3;
    margin-top: 5px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

.step4-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.step4-products-summary .summary-title .step4-products-count {
    font-weight: 600;
    color: #0058a3;
    margin-left: 4px;
}

.step4-product-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.step4-product-price {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
    margin-bottom: 5px;
}

/* 폼 스타일 */
.quote-form {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
}

.form-group {
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.rental-period-input {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.custom-period-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 2;
    min-width: 0;
}

.custom-period-wrapper .form-input {
    flex: 1;
    min-width: 200px;
}

.form-select {
    flex: 1;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff;
    cursor: pointer;
}

.form-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
}

.period-unit {
    font-size: 14px;
    color: #6b7280;
}

.contact-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 요청사항 텍스트 영역 */
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-textarea::placeholder {
    color: #9ca3af;
}

.form-textarea:focus {
    outline: none;
    border-color: #0058a3;
    box-shadow: 0 0 0 4px rgba(0, 88, 163, 0.1);
    background: #fafbfc;
}

/* 파일 첨부 */
.file-upload-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.file-input {
    display: none;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    background: #f8fafc;
    color: #64748b;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #0058a3;
    background: #f0f9ff;
    color: #0058a3;
}

.file-upload-label i {
    font-size: 20px;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
}

.file-item-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.file-item-icon {
    font-size: 18px;
    color: #0058a3;
    flex-shrink: 0;
}

.file-item-name {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item-size {
    font-size: 12px;
    color: #6b7280;
    margin-left: 8px;
}

.file-item-remove {
    width: 28px;
    height: 28px;
    border: none;
    background: #ef4444;
    color: #ffffff;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 10px;
}

.file-item-remove:hover {
    background: #dc2626;
    transform: scale(1.1);
}

.file-item-remove i {
    font-size: 14px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #374151;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.privacy-link {
    color: #0058a3;
    text-decoration: underline;
    margin-left: 5px;
}

.quote-request-btn {
    width: 100%;
    padding: 15px;
    background: #ffdb00;
    color: #1a1a1a;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quote-request-btn:hover:not(:disabled) {
    background: #fbbf24;
}

.quote-request-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
}

/* 제품 상세 팝업 */
.product-popup-container {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.popup-close-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1;
}

.popup-close-icon:hover {
    background: #e5e7eb;
}

.product-popup-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-popup-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f4f6;
    position: relative;
}

.product-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

/* 팝업 내 배지 스타일 (product-list.css와 동일) */
.product-popup-image .pl-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e53e3e;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
    z-index: 2;
}

.product-popup-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.popup-product-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

/* 팝업 내 서브타이틀 스타일 (product-list.css와 동일) */
.product-popup-info .pl-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* 팝업 내 2차 배지 스타일 (product-list.css와 동일) */
.product-popup-info .pl-badges-2nd {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 12px;
}

.product-popup-info .pl-badges-2nd .badge {
    background-color: #6c757d;
    color: #fff;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    white-space: nowrap;
}

/* 팝업 내 렌탈기간 스타일 (product-list.css와 동일) */
.product-popup-info .pl-rental-period {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

/* 팝업 내 rental-price-section 스타일 */
.product-popup-info .rental-price-section {
    margin-bottom: 0px;
}

.product-popup-info .rental-price-box {
    border: 2px solid #dc2626;
    border-radius: 8px;
    padding: 20px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.product-popup-info .rental-price-left {
    display: flex;
    align-items: center;
}

.product-popup-info .rental-price-label {
    font-size: 17px;
    font-weight: 700;
    color: #374151;
}

.product-popup-info .rental-price-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.product-popup-info .rental-price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-popup-info .rental-price-amount {
    font-size: 32px;
    font-weight: 700;
    color: #dc2626;
    line-height: 1;
}

.product-popup-info .rental-price-unit {
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
}

.product-popup-info .rental-price-daily {
    font-size: 12px;
    color: #6b7280;
    text-align: right;
}

.popup-quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
}

.popup-quantity-selector label {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 35px;
    height: 35px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #f3f4f6;
    border-color: #0058a3;
}

.quantity-input {
    width: 60px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    text-align: center;
    font-size: 16px;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 수량·추가하기 한 줄 배치 시 버튼 너비 오버라이드 */
.popup-quantity-and-add {
    flex-wrap: nowrap;
}
.popup-quantity-and-add .add-to-cart-btn {
    width: auto;
    flex-shrink: 0;
}

.add-to-cart-btn {
    width: 100%;
    padding: 15px;
    background: #0058a3;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #003d7a;
}

.view-detail-btn {
    width: 100%;
    padding: 12px;
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-detail-btn:hover {
    background: #e5e7eb;
    color: #1a1a1a;
}

/* 견적완료 결과 페이지 */
.quote-complete-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.complete-header {
    margin-bottom: 40px;
}

.complete-title {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.complete-summary {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.summary-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.complete-products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.complete-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.complete-product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    background: #f3f4f6;
}

.complete-product-info {
    flex: 1;
    text-align: left;
}

.complete-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.complete-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #dc2626;
}

.complete-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.quote-process-info {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
}

.process-title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.process-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.process-list li {
    font-size: 16px;
    color: #374151;
    padding-left: 25px;
    position: relative;
}

.process-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0058a3;
    font-weight: 700;
}

.complete-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.action-btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.homepage-btn {
    background: #0058a3;
    color: #ffffff;
}

.homepage-btn:hover {
    background: #003d7a;
}

.quote-history-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.quote-history-btn:hover {
    background: #e5e7eb;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .recommended-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .smart-quote-container {
        padding: 20px 15px;
    }
    
    .quote-progress-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .quote-progress-bar::before {
        display: none;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
    }
    
    .option-card.special-option {
        grid-column: span 1;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 추천 카테고리: 모바일 가로 스크롤 + 스와이프 안내 */
    .recommended-categories-grid-wrap {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .recommended-categories-grid-wrap::-webkit-scrollbar {
        height: 6px;
    }
    .recommended-categories-grid-wrap::-webkit-scrollbar-track {
        background: #f1f5f9;
        border-radius: 3px;
    }
    .recommended-categories-grid-wrap::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 3px;
    }
    .recommended-categories-grid-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 24px;
        height: 100%;
        background: linear-gradient(to left, rgba(255,255,255,0.95), transparent);
        pointer-events: none;
    }
    .recommended-categories-grid {
        display: flex;
        flex-wrap: nowrap;
        width: max-content;
        gap: 12px;
        grid-template-columns: unset;
    }
    .recommended-category-card {
        flex: 0 0 auto;
        min-width: 140px;
    }
    .recommended-categories-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 12px;
        font-size: 13px;
        color: #6b7280;
    }
    .recommended-categories-swipe-hint .smart-quote-swipe-hint-icon {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }
    
    .additional-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .rental-period-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contact-inputs {
        gap: 10px;
    }
    
    .complete-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .question-title {
        font-size: 22px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    /* 추천 카테고리: 768px에서 가로 스크롤 유지, 카드 최소 너비만 조정 */
    .recommended-category-card {
        min-width: 130px;
    }
    
    .additional-categories-grid {
        grid-template-columns: 1fr;
    }
}

