/* CARDEKHO EXACT REPLICA DESIGN */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #24272c;
    background: #fafafa;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Navigation - CardekhoCardekho Style */
.compare-nav {
    background: #ffffff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 13px;
    padding: 12px 0;
    color: rgba(36,39,44,0.5);
}

.breadcrumb a {
    color: #f75d34;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: rgba(36,39,44,0.3);
}

.breadcrumb .current {
    color: #24272c;
    font-weight: 500;
}

/* Main Container */
.compare-container {
    min-height: 100vh;
    background: #fafafa;
}

.compare-main {
    padding: 16px 0;
}

/* Enhanced Car Comparison Header */
.car-comparison-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
}

.car-comparison-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f75d34, #ff7849, #f75d34);
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-header {
    padding: 32px 24px;
    background: transparent;
    border-bottom: 1px solid rgba(247,93,52,0.1);
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: 28px;
    font-weight: 800;
    color: #24272c;
    margin-bottom: 12px;
    line-height: 1.2;
    background: linear-gradient(135deg, #24272c 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: #6c757d;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Comparison Badges */
.comparison-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.badge:hover::before {
    left: 100%;
}

.badge-primary {
    background: linear-gradient(135deg, #f75d34, #ff7849);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(247,93,52,0.3);
}

.badge-secondary {
    background: linear-gradient(135deg, #6c757d, #868e96);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(108,117,125,0.3);
}

.badge-success {
    background: linear-gradient(135deg, #28a745, #34ce57);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(40,167,69,0.3);
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* Car Cards Container - CardekhoCardekho Layout */
.cars-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    padding: 24px 16px;
    align-items: center;
    background: #ffffff;
}

.car-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
}

.car-card:hover {
    border-color: #f75d34;
    box-shadow: 0 4px 12px rgba(247,93,52,0.15);
}

.car-image-container {
    height: 120px;
    margin-bottom: 16px;
    border-radius: 4px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.car-card:hover .car-image {
    transform: scale(1.05);
}

.car-info {
    text-align: center;
}

.car-name {
    font-size: 18px;
    font-weight: 700;
    color: #24272c;
    margin-bottom: 8px;
    line-height: 1.3;
}

.car-price {
    font-size: 16px;
    font-weight: 700;
    color: #f75d34;
    margin-bottom: 16px;
}

/* VS Indicator - CardekhoCardekho Style */
.vs-indicator {
    width: 64px;
    height: 64px;
    background: #f75d34;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(247,93,52,0.3);
    position: relative;
    flex-shrink: 0;
}

/* Variant Selection - CardekhoCardekho Style */
.variant-section {
    padding: 16px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.variant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.variant-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.variant-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(36,39,44,0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Searchable Select - CardekhoCardekho Style */
.searchable-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 48px;
    font-size: 14px;
}

.select-trigger:hover {
    border-color: #f75d34;
}

.select-trigger.active {
    border-color: #f75d34;
    box-shadow: 0 0 0 2px rgba(247,93,52,0.15);
}

.select-text {
    flex: 1;
    text-align: left;
    color: #24272c;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.select-text.placeholder {
    color: rgba(36,39,44,0.5);
    font-weight: 400;
}

.select-arrow {
    font-size: 12px;
    color: rgba(36,39,44,0.5);
    transition: transform 0.2s ease;
}

.select-trigger.active .select-arrow {
    transform: rotate(180deg);
}

.select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #f75d34;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    max-height: 320px;
    overflow: hidden;
    margin-top: 4px;
}

.select-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-search {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.select-search .search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.select-search .search-input:focus {
    border-color: #f75d34;
}

.select-options {
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e8e8e8 transparent;
}

.select-options::-webkit-scrollbar {
    width: 6px;
}

.select-options::-webkit-scrollbar-track {
    background: transparent;
}

.select-options::-webkit-scrollbar-thumb {
    background-color: #e8e8e8;
    border-radius: 3px;
}

.select-option {
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8f8f8;
}

.select-option:last-child {
    border-bottom: none;
}

.select-option:hover {
    background: #fafafa;
}

.select-option.selected {
    background: #f75d34;
    color: #ffffff;
}

.select-option.hidden {
    display: none;
}

.variant-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.variant-name {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
    line-height: 1.3;
}

.variant-details {
    font-size: 12px;
    color: rgba(36,39,44,0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-option.selected .variant-details {
    color: rgba(255,255,255,0.8);
}

.variant-price {
    font-size: 13px;
    font-weight: 700;
    color: #f75d34;
}

.select-option.selected .variant-price {
    color: rgba(255,255,255,0.9);
}

/* Change Car Buttons - CardekhoCardekho Style */
.change-car-section {
    display: flex;
    justify-content: space-between;
    padding: 16px;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
}

.change-btn {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #f75d34;
    border-radius: 8px;
    color: #f75d34;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.change-btn:hover {
    background: #f75d34;
    color: #ffffff;
}

/* Quick Stats - CardekhoCardekho Style */
/* Enhanced Quick Stats */
.quick-stats {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    margin-bottom: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(247,93,52,0.1);
}

.quick-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f75d34, #ff7849, #f75d34);
    background-size: 200% 100%;
    animation: gradientShift 4s ease-in-out infinite;
}

.stats-header {
    padding: 24px 24px 16px;
    background: transparent;
    border-bottom: none;
    text-align: center;
}

.stats-title-section {
    margin-bottom: 20px;
}

.stats-title {
    font-size: 24px;
    font-weight: 800;
    color: #24272c;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #24272c 0%, #495057 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats-subtitle {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

.stats-cars-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(247,93,52,0.05);
    border-radius: 12px;
    padding: 12px 20px;
    margin: 0 -8px;
}

.stats-car-name {
    font-size: 16px;
    font-weight: 700;
    color: #24272c;
    flex: 1;
    text-align: center;
    background: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.stats-vs {
    font-size: 18px;
    font-weight: 900;
    color: #f75d34;
    background: linear-gradient(135deg, #f75d34, #ff7849);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 16px;
    padding: 0 8px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    background: rgba(247,93,52,0.1);
    padding: 2px;
    margin: 16px;
    border-radius: 12px;
}

.stat-item {
    background: #ffffff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 10px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(247,93,52,0.1), transparent);
    transition: left 0.6s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(247,93,52,0.2);
}

.stat-item:hover::before {
    left: 100%;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f75d34, #ff7849);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(247,93,52,0.3);
}

.stat-icon i {
    font-size: 20px;
    color: #ffffff;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-comparison {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: #24272c;
    flex: 1;
    text-align: center;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.stat-value:hover {
    border-color: #f75d34;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    transform: scale(1.05);
}

.stat-value.price {
    background: linear-gradient(135deg, rgba(247,93,52,0.1), rgba(255,120,73,0.1));
    color: #f75d34;
    font-weight: 800;
}

.stat-value.better {
    background: linear-gradient(135deg, rgba(40,167,69,0.1), rgba(52,206,87,0.1));
    color: #28a745;
    border-color: #28a745;
}

/* Rating Stars */
.stat-value.rating {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px 12px;
}

.rating-value {
    font-size: 14px;
    font-weight: 700;
    color: #24272c;
}

.rating-stars {
    display: flex;
    justify-content: center;
    gap: 2px;
}

.rating-stars i {
    font-size: 12px;
    color: #e9ecef;
    transition: color 0.2s ease;
}

.rating-stars i.active {
    color: #ffc107;
}

.no-rating {
    font-size: 12px;
    color: #6c757d;
    font-style: italic;
}

/* Comparison Content - CardekhoCardekho Style */
.comparison-content {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    overflow: hidden;
}

.comparison-tabs {
    width: 100%;
}

.tab-header {
    display: flex;
    background: #fafafa;
    border-bottom: 1px solid #f0f0f0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.tab-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 16px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: rgba(36,39,44,0.7);
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    font-family: 'Roboto', sans-serif;
}

.tab-btn.active {
    color: #f75d34;
    border-bottom-color: #f75d34;
    background: #ffffff;
    font-weight: 700;
}

.tab-btn:hover:not(.active) {
    color: #24272c;
    background: rgba(247,93,52,0.05);
}

.tab-content {
    min-height: 400px;
}

.tab-panel {
    display: none;
    padding: 0;
}

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

/* Comparison Table - CardekhoCardekho Style */
.comparison-table {
    width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    background: #fafafa;
    font-weight: 700;
    font-size: 14px;
    color: #24272c;
    border-bottom: 1px solid #f0f0f0;
}

.header-cell {
    padding: 16px;
    text-align: center;
    border-right: 1px solid #f0f0f0;
}

.header-cell:last-child {
    border-right: none;
}

.header-cell:first-child {
    text-align: left;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #f8f8f8;
    transition: all 0.2s ease;
}

.table-row:hover {
    background: #fafafa;
}

.table-row:last-child {
    border-bottom: none;
}

.feature-cell {
    padding: 16px;
    font-weight: 500;
    color: #24272c;
    background: #fafafa;
    border-right: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    font-size: 14px;
}

.value-cell {
    padding: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #f0f0f0;
    font-size: 14px;
    font-weight: 500;
    color: #24272c;
}

.value-cell:last-child {
    border-right: none;
}

.value-cell.better {
    background: rgba(247,93,52,0.1);
    color: #f75d34;
    font-weight: 700;
}

.feature-available {
    color: #4caf50;
    font-size: 16px;
    font-weight: 700;
}

.feature-not-available {
    color: #f44336;
    font-size: 16px;
    font-weight: 700;
}

/* Dual Car Carousel - 2 Cars per Card */
.similar-cars-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 16px;
}

.similar-cars-header {
    text-align: center;
    margin-bottom: 20px;
}

.similar-cars-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #24272c;
}

/* Dual Car Carousel */
.dual-car-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
}

.carousel-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f75d34;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: #d94d27;
}

.carousel-btn:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

.carousel-view {
    flex: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 20px;
}

/* Dual Car Card - Contains 2 Cars */
.dual-car-card {
    flex: 0 0 calc(50% - 10px);
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.dual-car-card:hover {
    border-color: #f75d34;
    box-shadow: 0 4px 12px rgba(247,93,52,0.15);
}

/* Car Pair Container */
.car-pair {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

/* Individual Car in Pair */
.car-in-pair {
    flex: 1;
    text-align: center;
}

.car-image {
    width: 100%;
    height: 80px;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.car-details {
    text-align: center;
}

.car-name {
    font-size: 13px;
    font-weight: 600;
    color: #24272c;
    margin-bottom: 4px;
    line-height: 1.2;
}

.car-price {
    font-size: 14px;
    font-weight: 700;
    color: #f75d34;
}

/* VS Divider */
.vs-divider {
    flex: 0 0 40px;
    height: 40px;
    background: #f75d34;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
}

/* Dual Compare Button */
.dual-compare-btn {
    background: #f75d34;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.dual-compare-btn:hover {
    background: #d94d27;
    transform: translateY(-1px);
}

/* SEO Content Sections */
.seo-content-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 24px;
    margin-bottom: 16px;
}

.seo-content-container {
    max-width: 100%;
}

.content-heading {
    font-size: 24px;
    font-weight: 700;
    color: #24272c;
    margin-bottom: 16px;
    line-height: 1.3;
}

.intro-paragraph {
    font-size: 16px;
    line-height: 1.6;
    color: #24272c;
    margin-bottom: 20px;
    text-align: justify;
}

.key-highlights {
    margin-top: 20px;
}

.highlights-title {
    font-size: 18px;
    font-weight: 600;
    color: #24272c;
    margin-bottom: 12px;
}

.highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-item {
    background: #f8f9fa;
    border-left: 4px solid #f75d34;
    padding: 12px 16px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.5;
    color: #24272c;
    border-radius: 0 4px 4px 0;
}

/* Buying Guide Section */
.buying-guide-section {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 24px;
    margin-bottom: 16px;
}

.buying-guide-container {
    max-width: 100%;
}

.buying-guide-title {
    font-size: 22px;
    font-weight: 700;
    color: #24272c;
    margin-bottom: 16px;
    text-align: center;
}

.buying-factors {
    margin-bottom: 20px;
}

.factors-title {
    font-size: 18px;
    font-weight: 600;
    color: #24272c;
    margin-bottom: 12px;
}

.factors-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 12px;
}

.factor-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #24272c;
    position: relative;
    transition: all 0.3s ease;
}

.factor-item:hover {
    border-color: #f75d34;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247,93,52,0.15);
}

.factor-item::before {
    content: '✓';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    background: #f75d34;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.conclusion-paragraph {
    font-size: 16px;
    line-height: 1.6;
    color: #24272c;
    text-align: justify;
    background: #f8f9fa;
    border-radius: 6px;
    padding: 16px;
    border-left: 4px solid #f75d34;
    margin-top: 16px;
}

/* Mobile Responsive - CardekhoCardekho Style - SIDE BY SIDE */
@media (max-width: 768px) {
    .container {
        padding: 0 8px;
    }
    
    .compare-main {
        padding: 12px 0;
    }
    
    /* Enhanced Hero Mobile Styles */
    .hero-header {
        padding: 20px 16px;
    }
    
    .hero-title {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        line-height: 1.4;
        margin-bottom: 16px;
    }
    
    .comparison-badges {
        gap: 8px;
    }
    
    .badge {
        padding: 4px 12px;
        font-size: 11px;
    }
    
    /* Enhanced Quick Stats Mobile Styles */
    .stats-header {
        padding: 20px 16px 12px;
    }
    
    .stats-title {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .stats-subtitle {
        font-size: 13px;
    }
    
    .stats-cars-header {
        flex-direction: column;
        gap: 8px;
        padding: 16px;
        margin: 0;
    }
    
    .stats-car-name {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .stats-vs {
        font-size: 16px;
        margin: 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1px;
        margin: 12px;
    }
    
    .stat-item {
        padding: 16px 12px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 10px;
    }
    
    .stat-icon i {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .stat-comparison {
        gap: 12px;
    }
    
    .stat-value {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .stat-value.rating {
        padding: 6px 8px;
    }
    
    .rating-value {
        font-size: 12px;
    }
    
    .rating-stars i {
        font-size: 10px;
    }
    
    /* KEEP CARS SIDE BY SIDE ON MOBILE */
    .cars-container {
        grid-template-columns: 1fr auto 1fr;
        gap: 12px;
        padding: 16px 8px;
        align-items: center;
    }
    
    .vs-indicator {
        width: 40px;
        height: 40px;
        font-size: 14px;
        flex-shrink: 0;
    }
    
    .car-card {
        padding: 8px;
        min-width: 0; /* Allow cards to shrink */
    }
    
    .car-image-container {
        height: 80px;
        margin-bottom: 8px;
    }
    
    .car-name {
        font-size: 14px;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .car-price {
        font-size: 12px;
    }
    
    .variant-section {
        padding: 8px;
    }
    
    .variant-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .variant-label {
        font-size: 10px;
    }
    
    .select-trigger {
        padding: 8px 10px;
        min-height: 36px;
        font-size: 12px;
    }
    
    /* KEEP STATS SIDE BY SIDE */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .stat-item {
        padding: 12px 8px;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }
    
    .stat-label {
        flex: 0 0 60px;
        font-size: 12px;
        text-align: left;
    }
    
    .stat-comparison {
        flex: 1;
        gap: 8px;
    }
    
    .stat-value {
        font-size: 11px;
        padding: 6px 4px;
    }
    
    .tab-header {
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .tab-header::-webkit-scrollbar {
        display: none;
    }
    
    .tab-btn {
        min-width: 80px;
        padding: 10px 6px;
        font-size: 11px;
    }
    
    /* KEEP TABLE SIDE BY SIDE - THIS IS KEY */
    .table-header,
    .table-row {
        grid-template-columns: 120px 1fr 1fr;
        gap: 1px;
    }
    
    .header-cell,
    .feature-cell,
    .value-cell {
        padding: 8px 4px;
        font-size: 11px;
        text-align: center;
        border-right: 1px solid #f0f0f0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .feature-cell {
        background: #fafafa;
        font-size: 10px;
        text-align: left;
        padding: 8px 6px;
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .value-cell {
        background: #ffffff;
        word-wrap: break-word;
        overflow-wrap: break-word;
        min-width: 0;
    }
    
    .header-cell:first-child {
        background: #f75d34;
        color: #ffffff;
        font-weight: 700;
        text-align: center;
        font-size: 10px;
    }
    
    .header-cell:not(:first-child) {
        background: #f75d34;
        color: #ffffff;
        font-weight: 700;
        font-size: 9px;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Performance scores on mobile */
    .performance-score {
        flex-direction: column;
        gap: 4px;
    }
    
    .score-bar {
        height: 4px;
    }
    
    .score-value {
        font-size: 10px;
        text-align: center;
    }
    
    /* Rating stars smaller */
    .rating-stars {
        gap: 2px;
        flex-direction: column;
        align-items: center;
    }
    
    .star {
        font-size: 10px;
    }
    
    .rating-text {
        font-size: 9px;
    }
    
    /* Simple carousel mobile */
    .similar-cars-section {
        padding: 16px 8px;
    }
    
    .similar-cars-header h3 {
        font-size: 18px;
    }
    
    .simple-carousel {
        gap: 8px;
    }
    
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .simple-car-card {
        flex: 0 0 calc(50% - 8px);
        padding: 12px;
    }
    
    .simple-car-image {
        height: 80px;
        margin-bottom: 8px;
    }
    
    .simple-car-name {
        font-size: 12px;
    }
    
    .simple-car-price {
        font-size: 14px;
    }
    
    .simple-compare-btn {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    /* Change buttons mobile */
    .change-car-section {
        padding: 8px;
        gap: 8px;
    }
    
    .change-btn {
        padding: 6px 12px;
        font-size: 11px;
        min-width: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 6px;
    }
    
    .hero-header {
        padding: 10px 6px;
    }
    
    .hero-title {
        font-size: 16px;
    }
    
    .hero-subtitle {
        font-size: 11px;
    }
    
    /* MAINTAIN SIDE BY SIDE EVEN ON VERY SMALL SCREENS */
    .cars-container {
        grid-template-columns: 1fr auto 1fr;
        gap: 8px;
        padding: 12px 6px;
    }
    
    .vs-indicator {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
    
    .car-card {
        padding: 6px;
    }
    
    .car-image-container {
        height: 70px;
        margin-bottom: 6px;
    }
    
    .car-name {
        font-size: 12px;
        line-height: 1.1;
    }
    
    .car-price {
        font-size: 11px;
    }
    
    .variant-section {
        padding: 6px;
    }
    
    .variant-grid {
        gap: 6px;
    }
    
    .variant-label {
        font-size: 9px;
    }
    
    .select-trigger {
        padding: 6px 8px;
        min-height: 32px;
        font-size: 10px;
    }
    
    .stats-header {
        padding: 10px 6px;
    }
    
    .stats-title {
        font-size: 16px;
    }
    
    .stat-item {
        padding: 10px 6px;
    }
    
    .stat-label {
        flex: 0 0 50px;
        font-size: 10px;
    }
    
    .stat-value {
        font-size: 10px;
        padding: 4px 2px;
    }
    
    .tab-btn {
        min-width: 70px;
        padding: 8px 4px;
        font-size: 10px;
    }
    
    /* ULTRA COMPACT TABLE BUT STILL SIDE BY SIDE */
    .table-header,
    .table-row {
        grid-template-columns: 100px 1fr 1fr;
        gap: 1px;
    }
    
    .header-cell,
    .feature-cell,
    .value-cell {
        padding: 6px 3px;
        font-size: 9px;
    }
    
    .feature-cell {
        font-size: 8px;
        padding: 6px 4px;
        line-height: 1.1;
    }
    
    .header-cell:first-child {
        font-size: 8px;
    }
    
    .header-cell:not(:first-child) {
        font-size: 8px;
    }
    
    /* Very compact performance scores */
    .score-bar {
        height: 3px;
    }
    
    .score-value {
        font-size: 8px;
    }
    
    .rating-stars {
        gap: 1px;
    }
    
    .star {
        font-size: 8px;
    }
    
    .rating-text {
        font-size: 8px;
    }
    
    /* Ultra small screen simple carousel */
    .similar-cars-section {
        padding: 12px 6px;
    }
    
    .similar-cars-header h3 {
        font-size: 16px;
    }
    
    .carousel-btn {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    
    .simple-car-card {
        flex: 0 0 100%;
        padding: 10px;
    }
    
    .simple-car-image {
        height: 60px;
        margin-bottom: 6px;
    }
    
    .simple-car-name {
        font-size: 11px;
    }
    
    .simple-car-price {
        font-size: 12px;
    }
    
    .simple-compare-btn {
        font-size: 10px;
        padding: 4px 8px;
    }
    
    /* Dual Car Carousel Mobile Styles */
    .dual-car-card {
        flex: 0 0 100%;
        margin: 0 5px;
    }
    
    .car-pair {
        gap: 8px;
    }
    
    .car-in-pair {
        flex: 1;
    }
    
    .car-in-pair .car-image img {
        width: 100%;
        height: 60px;
        object-fit: contain;
    }
    
    .car-in-pair .car-name {
        font-size: 11px;
        line-height: 1.2;
        margin-bottom: 2px;
    }
    
    .car-in-pair .car-price {
        font-size: 10px;
        font-weight: 600;
    }
    
    .vs-divider {
        font-size: 10px;
        padding: 2px 4px;
        border-radius: 4px;
        min-width: 20px;
    }
    
    .dual-compare-btn {
        font-size: 10px;
        padding: 6px 12px;
        margin-top: 8px;
    }
    
    .change-btn {
        padding: 4px 8px;
        font-size: 9px;
        min-width: 60px;
    }
    
    /* SEO Content Mobile Styles */
    .seo-content-section,
    .buying-guide-section {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .content-heading {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 12px;
    }
    
    .intro-paragraph {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 16px;
    }
    
    .highlights-title,
    .factors-title {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .buying-guide-title {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .highlight-item {
        padding: 10px 12px;
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .factors-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .factor-item {
        padding: 10px 12px;
        font-size: 13px;
        margin-left: 12px;
    }
    
    .factor-item::before {
        width: 16px;
        height: 16px;
        font-size: 10px;
        left: -6px;
    }
    
    .conclusion-paragraph {
        font-size: 14px;
        line-height: 1.5;
        padding: 12px;
        margin-top: 12px;
    }
}

/* Loading and Modal Styles - CardekhoCardekho Style */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top: 3px solid #f75d34;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #ffffff;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.modal-header {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}

.modal-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: #24272c;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: rgba(36,39,44,0.5);
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    color: #24272c;
    background: #f0f0f0;
}

.modal-body {
    padding: 16px;
}

.car-search {
    margin-bottom: 16px;
}

.search-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: #f75d34;
    box-shadow: 0 0 0 2px rgba(247,93,52,0.15);
}

.search-results {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    margin-top: 8px;
    display: none;
    background: #ffffff;
}

.search-results.active {
    display: block;
}

.search-result-item {
    padding: 12px;
    border-bottom: 1px solid #f8f8f8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background-color 0.2s ease;
}

.search-result-item:hover {
    background: #fafafa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 50px;
    height: 35px;
    object-fit: contain;
    border-radius: 4px;
    background: #fafafa;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-weight: 500;
    color: #24272c;
    margin-bottom: 2px;
    font-size: 14px;
}

.search-result-price {
    font-size: 13px;
    color: #f75d34;
    font-weight: 700;
}

.variant-selection {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.variant-selection h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #24272c;
}

.variant-list {
    display: grid;
    gap: 8px;
}

.variant-item {
    padding: 12px;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.variant-item:hover {
    border-color: #f75d34;
    background: #fafafa;
}

.variant-item.selected {
    border-color: #f75d34;
    background: #f75d34;
    color: #ffffff;
}

.variant-item .variant-name {
    font-weight: 500;
    margin-bottom: 4px;
    font-size: 14px;
}

.variant-item .variant-details {
    font-size: 13px;
    color: rgba(36,39,44,0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.variant-item.selected .variant-details {
    color: rgba(255, 255, 255, 0.8);
}

.variant-item .variant-price {
    font-weight: 700;
    color: #f75d34;
    font-size: 13px;
}

.variant-item.selected .variant-price {
    color: rgba(255, 255, 255, 0.9);
}

/* Performance Score Styling */
.performance-score {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.score-bar {
    flex: 1;
    height: 6px;
    background-color: #f0f0f0;
    border-radius: 3px;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: linear-gradient(90deg, #4caf50 0%, #8bc34a 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.score-value {
    font-size: 12px;
    font-weight: 700;
    color: #24272c;
    min-width: 30px;
    text-align: right;
}

/* Rating Stars Styling */
.rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.star {
    color: #ddd;
    font-size: 16px;
}

.star.filled {
    color: #ffd700;
}

.rating-text {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    margin-left: 4px;
}

/* Price Value Styling */
.price-value {
    font-weight: 700;
    color: #f75d34;
}

/* Mileage Value Styling */
.mileage-value {
    font-weight: 500;
    color: #24272c;
}

/* Additional animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table-row {
    animation: fadeInUp 0.3s ease forwards;
}

/* Hover effects for better UX */
.table-row:hover .feature-cell {
    background: #f0f0f0;
}

.similar-car-item:hover .similar-car-image img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Loading overlay improvements */
.loading-overlay {
    backdrop-filter: blur(2px);
}

.loading-spinner {
    box-shadow: 0 4px 12px rgba(247,93,52,0.3);
}

/* Modal improvements */
.modal-overlay {
    backdrop-filter: blur(4px);
}

.modal-content {
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling for webkit browsers */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Focus styles for accessibility */
.tab-btn:focus,
.change-btn:focus,
.select-trigger:focus {
    outline: 2px solid #f75d34;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .vs-indicator {
        border: 2px solid #000;
    }
    
    .car-card {
        border: 2px solid #000;
    }
    
    .feature-available {
        color: #000;
        background: #fff;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .feature-not-available {
        color: #fff;
        background: #000;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Print styles */
@media print {
    .change-btn,
    .modal-overlay,
    .loading-overlay {
        display: none !important;
    }
    
    .car-comparison-hero {
        break-inside: avoid;
    }
    
    .comparison-content {
        break-inside: avoid;
    }
}