/* =========================================
   GLOBAL SETTINGS
========================================= */

:root { 
    --primary-red: #e50914;
    --black: #080808;
    --dark-grey: #292929;
    --light-grey: #f5f5f5;
    --border: #dddddd;
    --text-grey: #777777;
    --white: #ffffff;
}

 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

button,
input,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.eyebrow {
    color: var(--primary-red);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
}
 

/* =========================================
   HEADER
========================================= */




/* =========================================
   HERO SECTION
========================================= */

.hero-section {
    background: white;
    padding-bottom: 62px;
    border-bottom: 1px solid #e5e5e5;
}

.breadcrumb {
    padding: 0 38px;
    height: 35px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
}

.breadcrumb a {
    color: #777;
}

.breadcrumb span {
    color: #555;
}

.breadcrumb .breadcrumb-active {
    color: var(--primary-red);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    gap: 35px;
    padding: 30px 32px 0;
}

.hero-text {
    padding: 20px 0;
}

.hero-text .eyebrow {
    margin-bottom: 22px;
}

.hero-text h1 {
    font-size: clamp(65px, 6vw, 104px);
    line-height: 0.86;
    font-weight: 800;
    letter-spacing: -5px;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 12px;
    line-height: 1.9;
    color: var(--text-grey);
    max-width: 760px;
    margin-bottom: 12px;
}

.hero-highlight {
    font-size: 11px;
    font-weight: 600;
}

.hero-image {
    width: 100%;
    height: 465px;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0.35),
        transparent 45%
    );
    pointer-events: none;
}

.hero-image-label {
    position: absolute;
    bottom: 20px;
    right: 0;
    z-index: 2;
    background: white;
    border-left: 4px solid var(--primary-red);
    padding: 10px 14px;
    font-size: 9px;
    font-weight: 600;
}


/* =========================================
   COLLECTION SECTION
========================================= */

.collection-section {
    padding: 60px 30px 80px;
}

.collection-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 27px;
}

.category-tabs {
    display: flex;
    align-items: center;
    border: 1px solid #dddddd;
    border-radius: 50px;
    padding: 5px;
    gap: 3px;
    margin-left: auto;
}

.tab-btn {
    border: none;
    background: transparent;
    padding: 19px 22px;
    border-radius: 40px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
}

.tab-btn:hover {
    color: var(--primary-red);
}

.tab-btn.active {
    background: var(--primary-red);
    color: white;
}

.car-search {
    width: 370px;
    height: 62px;
    background: #171717;
    border-radius: 7px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin-left: 50px;
    flex-shrink: 0;
}

.car-search input {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 12px;
}

.car-search input::placeholder {
    color: #888;
}

.car-search i {
    color: #cccccc;
    font-size: 20px;
}


/* =========================================
   FILTER PANEL
========================================= */

.filter-panel {
    background: #080808;
    border-radius: 10px;
    padding: 40px 22px 22px;
    color: white;
    margin-bottom: 32px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 13px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 10px;
}

.filter-group label {
    font-size: 9px;
    font-weight: 600;
    color: #cccccc;
    letter-spacing: 0.4px;
}

.filter-group select {
    width: 100%;
    height: 62px;
    background-color: #171717;
    color: white;
    border: 1px solid #393939;
    border-radius: 6px;
    padding: 0 14px;
    outline: none;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    min-width: 0;
}

.filter-group select:focus {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 1px var(--primary-red);
}

.filter-group select option {
    background: #171717;
    color: white;
    padding: 12px;
}

.price-filter {
    display: flex;
    align-items: flex-end;
    gap: 32px;
    margin-top: 20px;
}

.price-slider-area {
    flex: 1;
    min-width: 0;
}

.price-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.price-heading label {
    font-size: 10px;
    color: #cccccc;
    font-weight: 600;
}

.price-heading span {
    font-size: 10px;
    color: var(--primary-red);
    font-weight: 600;
}

.price-slider-area input {
    appearance: none;
    width: 100%;
    height: 9px;
    border-radius: 10px;
    background: var(--primary-red);
    outline: none;
    cursor: pointer;
}

.price-slider-area input::-webkit-slider-thumb {
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--primary-red);
    border-radius: 50%;
    border: none;
}

.price-slider-area input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--primary-red);
    border-radius: 50%;
    border: none;
}

.clear-btn {
    height: 56px;
    min-width: 145px;
    border: none;
    background: white;
    color: black;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.clear-btn:hover {
    background: var(--primary-red);
    color: white;
}


/* =========================================
   DATABASE HEADING
========================================= */

.database-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 27px;
}

.database-heading .eyebrow {
    margin-bottom: 22px;
}

.database-heading h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.view-all-btn {
    padding: 21px 24px;
    background: white;
    border: 1px solid var(--primary-red);
    color: var(--primary-red);
    font-size: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.view-all-btn:hover {
    background: var(--primary-red);
    color: white;
}


/* =========================================
   CAR GRID AND CARDS
========================================= */

.car-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.car-card {
    border: 1px solid #dedede;
    border-radius: 13px;
    overflow: hidden;
    background: white;
    display: flex;
    flex-direction: column;
    transition: 0.3s ease;
    min-width: 0;
}

.car-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
}

.car-image {
    height: 270px;
    position: relative;
    overflow: hidden;
}

.car-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: 0.4s;
}

.car-card:hover .car-image img {
    transform: scale(1.04);
}

.electric-tag {
    position: absolute;
    top: 18px;
    left: 18px;
    padding: 11px 17px;
    border-radius: 30px;
    background: var(--primary-red);
    color: white;
    font-size: 9px;
    font-weight: 600;
}

.car-content {
    padding: 26px 24px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.car-brand {
    color: var(--primary-red);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 7px;
}

.car-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
}

.car-price {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
}

.price-caption {
    font-size: 10px;
    color: #888;
    margin-bottom: 22px;
}

.car-specs {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    background: #f5f5f5;
    margin-bottom: 15px;
}

.spec-item {
    padding: 14px 10px;
    border-right: 1px solid #dedede;
    min-width: 0;
}

.spec-item:last-child {
    border-right: none;
}

.spec-item span {
    display: block;
    font-size: 8px;
    color: #999;
    margin-bottom: 7px;
}

.spec-item strong {
    font-size: 9px;
    font-weight: 800;
    line-height: 1.5;
    display: block;
    overflow-wrap: anywhere;
}

.car-features {
    list-style: none;
    margin-bottom: 22px;
    flex: 1;
}

.car-features li {
    font-size: 10px;
    color: #777;
    margin-bottom: 9px;
    line-height: 1.5;
}

.car-features li::before {
    content: "✓ ";
    color: var(--primary-red);
    font-weight: 800;
}

.car-buttons {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 9px;
    margin-top: auto;
}

.car-buttons button {
    height: 55px;
    border: none;
    border-radius: 5px;
    background: var(--primary-red);
    color: white;
    font-size: 9px;
    font-weight: 800;
    transition: 0.3s;
}

.car-buttons button:hover {
    background: #b90009;
}

.compare-btn.selected {
    background: #111;
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.no-results {
    display: none;
    text-align: center;
    padding: 50px 15px;
    font-size: 14px;
    color: #777;
}


/* =========================================
   COMPARISON BANNER
========================================= */

.comparison-banner {
    min-height: 345px;
    background: #080808;
    color: white;
    padding: 85px 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.comparison-banner .eyebrow {
    margin-bottom: 18px;
}

.comparison-banner h2 {
    font-size: clamp(30px, 4vw, 65px);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 10px;
}

.comparison-banner p:not(.eyebrow) {
    color: #999;
    font-size: 13px;
    line-height: 1.8;
}

.comparison-btn {
    min-width: 225px;
    height: 70px;
    padding: 0 20px;
    background: var(--primary-red);
    color: white;
    border: none;
    font-size: 10px;
    font-weight: 900;
    white-space: nowrap;
}

.comparison-btn:hover {
    background: #bd0008;
}

.selected-comparison {
    color: #bbb;
    font-size: 11px;
    margin-top: 15px;
}


/* =========================================
   RANGE SECTION
========================================= */

.range-section {
    padding: 135px 34px 125px;
}

.range-section h2 {
    font-size: clamp(40px, 4vw, 65px);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 12px;
}

.section-description {
    font-size: 13px;
    color: #888;
    margin-bottom: 45px;
    line-height: 1.7;
}

.range-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
}

.range-card {
    min-height: 170px;
    padding: 48px 28px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    transition: 0.3s;
}

.range-card:last-child {
    border-right: none;
}

.range-card:hover {
    background: #f7f7f7;
}

.range-card h3 {
    font-size: 29px;
    font-weight: 800;
}

.range-link {
    background: none;
    border: none;
    text-align: left;
    color: var(--primary-red);
    font-size: 9px;
    font-weight: 800;
    align-self: flex-start;
}

.range-link:hover {
    text-decoration: underline;
}


/* =========================================
   BUYING GUIDE
========================================= */

.guide-section {
    background: #f6f6f6;
    padding: 90px 34px;
}

.guide-section h2 {
    font-size: clamp(38px, 4vw, 65px);
    font-weight: 600;
    letter-spacing: -2px;
    margin-bottom: 38px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guide-card {
    background: white;
    border: 1px solid #dedede;
    overflow: hidden;
}

.guide-card img {
    width: 100%;
    height: 265px;
    object-fit: cover;
}

.guide-content {
    padding: 38px 30px;
    min-height: 265px;
}

.guide-number {
    color: var(--primary-red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.guide-content h3 {
    font-size: 26px;
    line-height: 1.55;
    font-weight: 600;
    margin-bottom: 15px;
}

.guide-content > p:not(.guide-number) {
    font-size: 11px;
    line-height: 1.8;
    color: #888;
    margin-bottom: 14px;
}

.guide-content span {
    color: #888;
    font-size: 9px;
    font-weight: 600;
}


/* =========================================
   FAQ SECTION
========================================= */

.faq-section {
    padding: 85px 34px 110px;
}

.faq-section h2 {
    font-size: clamp(45px, 4vw, 65px);
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 35px;
}

.faq-container {
    border-top: 1px solid #ddd;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    background: transparent;
    border: none;
    width: 100%;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #080808;
}

.faq-icon {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-red);
    flex-shrink: 0;
    line-height: 1;
}

.faq-answer {
    display: none;
    font-size: 13px;
    color: #888;
    line-height: 1.9;
    padding: 0 45px 27px 0;
    max-width: 1100px;
}

.faq-item.active .faq-answer {
    display: block;
}


/* =========================================
   DEALS MODAL
========================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.modal-overlay.show {
    display: flex;
}

.deal-modal {
    position: relative;
    width: 750px;
    max-width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    background: white;
    padding: 70px 60px 35px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 52px;
    width: 52px;
    background: white;
    border: 1px solid #ddd;
    font-size: 23px;
}

.modal-close:hover {
    background: var(--primary-red);
    color: white;
}

.modal-content .eyebrow {
    margin-bottom: 24px;
}

.modal-content h2 {
    font-size: clamp(35px, 5vw, 55px);
    font-weight: 900;
    margin-bottom: 25px;
}

.modal-description {
    font-size: 13px;
    color: #888;
    margin-bottom: 40px;
    line-height: 1.7;
}

#dealForm {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#dealForm label {
    font-size: 10px;
    font-weight: 600;
    color: #777;
    margin-top: 8px;
}

#dealForm label small {
    display: block;
    margin-top: 8px;
    font-size: 8px;
}

#dealForm input {
    width: 100%;
    height: 68px;
    padding: 0 16px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 11px;
    font-weight: 600;
}

#dealForm input:focus {
    border-color: var(--primary-red);
}

#dealForm input[readonly] {
    background: #fafafa;
    color: #111;
}

.submit-deal {
    margin-top: 10px;
    height: 70px;
    background: var(--primary-red);
    border: none;
    color: white;
    font-size: 12px;
    font-weight: 900;
}

.submit-deal:hover {
    background: #b90009;
}

#formMessage {
    color: #16833d;
    font-size: 12px;
    margin-top: 8px;
}

/* =========================================
   ELECTRIC CAR COMPARISON MODAL
========================================= */

.electric-page-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    overflow-y: auto;
    padding: 48px 3.6%;
    background: #ffffff;
}

.electric-page-modal.show {
    display: block;
}

.electric-comparison-dialog {
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    background: #ffffff;
}

.electric-modal-close {
    position: fixed;
    top: 20px;
    right: 3%;
    z-index: 1;
    width: 48px;
    height: 48px;
    border: 1px solid var(--border);
    background: #ffffff;
    font-size: 24px;
}

.electric-modal-close:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.comparison-header {
    margin-bottom: 44px;
}

.comparison-subtitle,
.comparison-car-brand {
    color: var(--primary-red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
}

.comparison-header h2 {
    margin-top: 26px;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 900;
    letter-spacing: -1px;
}

.comparison-car-grid {
    display: grid;
    grid-template-columns: repeat(var(--comparison-count), minmax(0, 1fr));
    gap: 14px;
}

.comparison-car-card {
    min-width: 0;
    padding: 20px;
    border: 1px solid var(--border);
}

.comparison-car-image {
    height: 195px;
    margin-bottom: 16px;
    background: var(--light-grey);
}

.comparison-car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comparison-car-info {
    margin-bottom: 26px;
}

.comparison-car-info h3 {
    margin-top: 8px;
    font-size: 21px;
    font-weight: 700;
}

.comparison-spec-row {
    display: grid;
    grid-template-columns: minmax(115px, 1fr) minmax(0, 1.2fr);
    align-items: center;
    min-height: 55px;
    gap: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.comparison-spec-label {
    color: #888888;
    font-size: 10px;
}

.comparison-spec-value {
    font-size: 11px;
    font-weight: 700;
}

.comparison-remove-btn {
    margin-top: 16px;
    padding: 8px 0;
    border: 0;
    background: transparent;
    color: var(--primary-red);
    font-size: 10px;
    font-weight: 800;
}

.comparison-remove-btn:hover {
    text-decoration: underline;
}

/* =====================================
   ELECTRIC CAR COMPARE TRAY
===================================== */

.electric-compare-tray {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    width: min(1080px, calc(100% - 40px));
    min-height: 95px;

    background: rgba(10, 10, 10, 0.97);
    color: #ffffff;

    border: 1px solid #e50914;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);

    padding: 20px 25px;

    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    z-index: 9999;
}

.electric-compare-tray.show {
    display: flex;
}

/* Selected cars */

.compare-tray-selected {
    flex: 1;
}

.compare-tray-selected strong {
    display: block;
    font-size: 12px;
    margin-bottom: 8px;
}

#compareSelectedNames {
    font-size: 11px;
    color: #999;
}

/* Buttons */

.compare-tray-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-tray-actions button {
    min-width: 100px;
    height: 55px;
    padding: 0 20px;

    background: transparent;
    color: #ffffff;

    border: 1px solid #e50914;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
}

.compare-tray-actions #compareNow {
    background: #e50914;
    border-color: #e50914;
}

.compare-tray-actions button:disabled {
    background: #333;
    color: #888;
    border-color: #555;
    cursor: not-allowed;
}

.compare-tray-actions button:not(:disabled):hover {
    background: #ffffff;
    color: #111;
}

/* Responsive */

@media (max-width: 600px) {

    .electric-page-modal {
        padding: 80px 18px 24px;
    }

    .electric-modal-close {
        top: 14px;
        right: 18px;
    }

    .comparison-header {
        margin-bottom: 28px;
    }

    .comparison-header h2 {
        margin-top: 18px;
        font-size: 30px;
    }

    .comparison-car-grid {
        grid-template-columns: 1fr;
    }

    .comparison-car-image {
        height: 190px;
    }

    .electric-compare-tray {
        bottom: 10px;
        width: calc(100% - 20px);
        padding: 15px;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .compare-tray-actions {
        width: 100%;
    }

    .compare-tray-actions button {
        flex: 1;
        min-width: 0;
        padding: 0 10px;
        height: 45px;
    }

}


/* =========================================
   FOOTER
========================================= */




/* =========================================
   RESPONSIVE DESIGN - TABLET
========================================= */

@media (max-width: 1200px) {

    .nav-links {
        gap: 20px;
    }

    .nav-links a {
        font-size: 11px;
    }

    .filters-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .car-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .car-image {
        height: 300px;
    }

    .category-tabs {
        margin-left: 0;
    }

    .tab-btn {
        padding: 16px 13px;
        font-size: 9px;
    }

    .car-search {
        margin-left: 0;
        width: 280px;
    }

    .guide-content h3 {
        font-size: 20px;
    }
}


/* =========================================
   RESPONSIVE DESIGN - MOBILE
========================================= */

@media (max-width: 768px) {

    .navbar {
        height: 80px;
    }

    .nav-container {
        padding: 0 20px;
    }

    .logo img {
        width: 140px;
    }

    .header-search {
        width: 43px;
        height: 43px;
        font-size: 16px;
        margin-left: auto;
        margin-right: 18px;
    }

    .mobile-menu {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #171717;
        padding: 25px;
        flex-direction: column;
        align-items: flex-start;
        gap: 23px;
    }

    .nav-links.show {
        display: flex;
    }

    .hero-section {
        padding-bottom: 40px;
    }

    .breadcrumb {
        padding: 0 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 25px 20px 0;
        gap: 25px;
    }

    .hero-text h1 {
        font-size: clamp(55px, 12vw, 75px);
        letter-spacing: -3px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-image {
        height: 300px;
    }

    .collection-section {
        padding: 45px 20px;
    }

    .collection-top {
        flex-direction: column;
        align-items: stretch;
    }

    .category-tabs {
        overflow-x: auto;
        width: 100%;
        justify-content: flex-start;
    }

    .tab-btn {
        flex-shrink: 0;
    }

    .car-search {
        width: 100%;
        margin: 0;
    }

    .filter-panel {
        padding: 28px 20px;
    }

    .filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 12px;
    }

    .filter-group select {
        height: 54px;
        font-size: 10px;
    }

    .price-filter {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }

    .clear-btn {
        width: 100%;
    }

    .database-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .database-heading h2 {
        font-size: 30px;
    }

    .car-grid {
        grid-template-columns: 1fr;
    }

    .car-image {
        height: 270px;
    }

    .comparison-banner {
        padding: 65px 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .comparison-banner h2 {
        font-size: 35px;
    }

    .comparison-btn {
        width: 100%;
    }

    .range-section {
        padding: 75px 20px;
    }

    .range-section h2 {
        font-size: 37px;
    }

    .range-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .range-card {
        padding: 28px 18px;
        min-height: 145px;
    }

    .range-card h3 {
        font-size: 20px;
    }

    .range-card:nth-child(2) {
        border-right: none;
    }

    .range-card:nth-child(1),
    .range-card:nth-child(2) {
        border-bottom: 1px solid #ddd;
    }

    .guide-section {
        padding: 65px 20px;
    }

    .guide-section h2 {
        font-size: 38px;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .guide-card img {
        height: 250px;
    }

    .faq-section {
        padding: 65px 20px;
    }

    .faq-section h2 {
        font-size: 40px;
    }

    .faq-question {
        font-size: 12px;
        padding: 25px 0;
    }

    .faq-answer {
        font-size: 12px;
    }

    .deal-modal {
        padding: 65px 25px 30px;
    }

}




.car-brand {
    color: var(--primary-red);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.car-name {
    color: var(--black);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 14px;
}

.car-price {
    color: var(--black);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 4px;
}

.price-caption {
    font-size: 10px;
    font-weight: 500;
    color: #888888;
    margin-bottom: 20px;
}

.spec-item span {
    display: block;
    font-size: 8px;
    font-weight: 600;
    color: #999999;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.spec-item strong {
    color: var(--black);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.4;
    display: block;
    overflow-wrap: anywhere;
} 


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 400px) {

    .filters-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 53px;
    }

    .range-grid {
        grid-template-columns: 1fr;
    }

    .range-card {
        border-right: none;
        border-bottom: 1px solid #ddd;
    }

    .range-card:last-child {
        border-bottom: none;
    }

    .car-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .car-content {
        padding: 22px 16px;
    }

    .database-heading h2 {
        font-size: 26px;
    }

}




/* =========================================
   HERO FULL-UI AUTO-SCROLL SLIDER (RIGHT FOCUSED)
========================================= */
.hero-section {
    position: relative !important;
    width: 100% !important;
    min-height: 540px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

.hero-bg-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-slider-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.hero-slide {
    position: relative;
    width: 33.3333%;
    height: 100%;
    flex-shrink: 0;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    display: block;
}

.hero-slide-badge {
    position: absolute;
    right: 4.5%;
    bottom: 24px;
    background: rgba(10, 10, 12, 0.78);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 14px;
    border-radius: 4px;
    z-index: 3;
}

/* Left side dark fade, Right side clear visibility */
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(8, 8, 8, 0.96) 0%,
        rgba(8, 8, 8, 0.85) 38%,
        rgba(8, 8, 8, 0.32) 68%,
        rgba(8, 8, 8, 0.12) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.hero-section .breadcrumb,
.hero-section .hero-content {
    position: relative;
    z-index: 2;
}

.hero-section .hero-content {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

.hero-section .hero-text {
    max-width: 540px;
}

/* Bottom-right navigation dots */
.hero-slider-dots {
    position: absolute;
    left: 4.5%;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.hero-dot {
    width: 26px;
    height: 4px;
    border: none;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 42px;
    background: #e50914;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 460px !important;
    }

    .hero-bg-overlay {
        background: linear-gradient(
            180deg,
            rgba(8, 8, 8, 0.82) 0%,
            rgba(8, 8, 8, 0.92) 100%
        );
    }

    .hero-slide img {
        object-position: 75% center;
    }

    .hero-slide-badge {
        display: none;
    }
} 


/* ===== HERO HEADING & TEXT WHITE COLOR FIX ===== */
.hero-section .hero-text h1,
.hero-section .hero-text h1 span {
    color: #ffffff !important;
}

.hero-section .hero-description {
    color: #e5e7eb !important;
}

.hero-section .hero-highlight {
    color: #ffffff !important;
}

.hero-section .breadcrumb,
.hero-section .breadcrumb a {
    color: #d1d5db !important;
}

.hero-section .breadcrumb .breadcrumb-active {
    color: #ffffff !important;
}


 


/* REMOVE CUSTOM ORANGE CURSOR */
html,
body,
* {
    cursor: auto !important;
}
 