/* ========================================
   옵션 탭
======================================== */

.vehicle-options-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    margin: 0;
}

.options-tab-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.options-tab-btn {
    padding: 14px 16px;
    background: none;
    border: none;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.85rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

/* 홀수 버튼에 오른쪽 border */
.options-tab-btn:nth-child(odd) {
    border-right: 1px solid #e2e8f0;
}

/* 마지막 행 버튼 하단 border 제거 */
.options-tab-btn:nth-last-child(-n+2) {
    border-bottom: none;
}

.options-tab-btn:hover {
    color: #3b82f6;
}

.options-tab-btn.active {
    color: #3b82f6;
    background: #ffffff;
}

.options-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

.option-count {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    background: #e2e8f0;
    border-radius: 10px;
    font-size: 0.75rem;
    color: #64748b;
}

.options-tab-btn.active .option-count {
    background: #dbeafe;
    color: #2563eb;
}

.options-tab-panels {
    padding: 24px;
}

.options-panel {
    display: none;
}

.options-panel.active {
    display: block;
}

.options-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #4b5563;
}

/* 체크된 옵션 */
.option-item.option-checked {
    background: #f0fdf4;
}

.option-item.option-checked .option-icon {
    color: #22c55e;
}

.option-item.option-checked .option-name {
    color: #1a1a1a;
}

/* 미체크된 옵션 */
.option-item.option-unchecked {
    background: #f8fafc;
}

.option-item.option-unchecked .option-icon {
    color: #d1d5db;
}

.option-item.option-unchecked .option-name {
    color: #9ca3af;
    text-decoration: line-through;
}

.option-item svg {
    flex-shrink: 0;
}

.no-options {
    text-align: center;
    padding: 40px;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* 탭 컴포넌트 (기존) */
.detail-tabs {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 16px;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn:hover {
    color: #3b82f6;
}

.tab-btn.active {
    color: #3b82f6;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3b82f6;
}

.tabs-content {
    padding: 24px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* 상세 스펙 그리드 */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
}

.spec-row:nth-child(odd) {
    background: #f8fafc;
}

.spec-name {
    font-size: 0.85rem;
    color: #6b7280;
}

.spec-val {
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a1a1a;
}

/* 옵션/편의 그리드 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #4b5563;
}

.feature-item svg {
    color: #22c55e;
    flex-shrink: 0;
}
