/* ===========================================================
     DESIGN TOKENS — edit these to re-theme the whole page
     =========================================================== */

 :root {
    /* --- colors --- */
    --color-bg: #FAFAFA;
    /* main page background (near-white) */
    --color-bg-alt: #EFEFEF;
    /* alternate section background (light grey) */
    --color-surface: #FFFFFF;
    /* cards / surfaces */
    --color-primary: #282828;
    /* brand black — header, footer, headings */
    --color-primary-dark: #1C1C1C;
    /* deeper black for gradients/overlays */
    --color-accent: #0084FF;
    /* brand blue — CTAs, highlights */
    --color-accent-dark: #006ACC;
    /* blue hover state */
    --color-accent-light: #E6F3FF;
    /* optional: soft blue tint for badges/backgrounds */
    --color-text: #282828;
    /* body copy on light backgrounds */
    --color-text-muted: #5A5A5A;
    /* secondary text */
    --color-text-on-dark: #F5F5F5;
    /* text on black backgrounds */
    --color-border: #E0E0E0;
    /* Light Blue — hairline borders/dividers */
    --color-error: #D64545;
    ;
    /* --- typography --- */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'IBM Plex Sans', -apple-system, Segoe UI, sans-serif;
    /* --- layout --- */
    --container-width: 1200px;
    --radius-sm: 0px;
    --radius-md: 0px;
    --radius-lg: 0px;
    --space-1: 8px;
    --space-2: 16px;
    --space-3: 24px;
    --space-4: 40px;
    --space-5: 64px;
    --space-6: 96px;
}


/* ===========================================================
     RESET
     =========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    margin: 0;
    color: var(--color-primary);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-3);
}

 :focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}


/* ===========================================================
     LANE-MARKER SIGNATURE — dashed divider motif used across page
     =========================================================== */

.lane-divider {
    height: 4px;
    background-image: repeating-linear-gradient( to right, var(--color-accent) 0px, var(--color-accent) 28px, transparent 28px, transparent 52px);
    width: 100%;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: var(--space-2);
}

.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--color-accent);
}


/* ===========================================================
     HEADER
     =========================================================== */

header.site-header {
    position: sticky;
    top: 0;
    z-index: 250;
    background: var(--color-primary);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-3);
    max-width: var(--container-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 21px;
    color: var(--color-text-on-dark);
    white-space: nowrap;
}

.logo-mark {
    width: 30px;
    height: 30px;
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark svg {
    width: 16px;
    height: 16px;
}

nav.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

nav.main-nav a {
    color: var(--color-text-on-dark);
    font-size: 15px;
    font-weight: 500;
    opacity: .88;
    transition: opacity .15s ease;
}

nav.main-nav a:hover {
    opacity: 1;
}

.nav-cta {
    background: var(--color-accent);
    color: var(--color-bg-alt) !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    opacity: 1 !important;
    transition: background .15s ease;
}

.nav-cta:hover {
    background: var(--color-accent-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-on-dark);
    margin: 5px 0;
    transition: transform .2s ease, opacity .2s ease;
}


/* ===========================================================
     HERO
     =========================================================== */

.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background: linear-gradient(100deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .68) 42%, rgba(0, 0, 0, .28) 75%), url('/assets/images/hero.jpg') center/cover no-repeat;
}

.hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: var(--space-6) var(--space-3) var(--space-5);
    width: 100%;
}

.hero-content {
    max-width: 560px;
}

.hero h1 {
    color: #FFFFFF;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.hero h1 em {
    font-style: italic;
    color: var(--color-accent);
}

.hero p {
    color: #D9DDE3;
    font-size: 18px;
    max-width: 460px;
    margin-bottom: var(--space-3);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg-alt);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
}

.btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}

.btn-outline:hover {
    border-color: #fff;
}

.hero-actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}


/* ===========================================================
     SHARED SECTION SPACING
     =========================================================== */

.section {
    padding: var(--space-6) 0;
}

.section-alt {
    background: var(--color-bg-alt);
}

.section-head {
    max-width: 620px;
    margin-bottom: var(--space-5);
}

.section-head h2 {
    font-size: clamp(28px, 3.4vw, 38px);
    font-weight: 600;
    line-height: 1.15;
}

.section-head p {
    color: var(--color-text-muted);
    font-size: 17px;
    margin-top: var(--space-2);
}


/* ===========================================================
     3-COLUMN GRIDS (features / how-it-works)
     =========================================================== */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-4) var(--space-3);
}

.section-alt .feature-card {
    background: var(--color-bg);
}

.feature-icon {
    width: 46px;
    height: 46px;
    background: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-3);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--color-accent);
}

.feature-card h3 {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 15px;
    margin: 0;
}

.step-card {
    position: relative;
    padding-top: var(--space-3);
}

.step-number {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-accent-dark);
    letter-spacing: .05em;
    margin-bottom: var(--space-2);
    display: block;
}


/* ===========================================================
     BANK LOGO GRID (6 columns)
     =========================================================== */

.bank-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-2);
}

.bank-tile {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    aspect-ratio: 1.3 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: border-color .15s ease, transform .15s ease;
}

.bank-tile:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.bank-tile .mark {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-accent);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bank-tile .bank-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--color-text-muted);
    text-align: center;
}


/* ===========================================================
     CTA BANNER
     =========================================================== */

.cta-banner {
    background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-5) var(--space-5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 600;
    max-width: 480px;
}

.cta-banner .btn-primary {
    flex-shrink: 0;
}


/* ===========================================================
     FOOTER
     =========================================================== */

footer.site-footer {
    background: var(--color-primary-dark);
    padding: var(--space-5) 0 var(--space-3);
    margin-top: var(--space-6);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .logo {
    color: var(--color-text-on-dark);
    margin-bottom: 10px;
}

.footer-brand p {
    color: #9AA3AF;
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: var(--space-5);
    flex-wrap: wrap;
}

.footer-links a {
    color: #C7CCD3;
    font-size: 14.5px;
    display: block;
    padding: 6px 0;
    transition: color .15s ease;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, border-color .15s ease;
}

.footer-social a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.footer-social svg {
    width: 17px;
    height: 17px;
    stroke: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: var(--space-3);
    font-size: 13px;
    color: #77808D;
}


/* ===========================================================
     RESPONSIVE
     =========================================================== */

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: 1fr 1fr;
    }
    .grid-4 {
        grid-template-columns: 1fr 1fr;
    }
    .bank-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cta-banner {
        padding: var(--space-4);
    }
}

@media (max-width: 768px) {
    nav.main-nav {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        background: var(--color-primary);
        box-shadow: -8px 0 30px rgba(0, 0, 0, .25);
        transform: translateX(100%);
        transition: transform .3s ease;
        z-index: 200;
        display: block;
        padding-top: 84px;
    }
    nav.main-nav.open {
        transform: translateX(0);
    }
    nav.main-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px var(--space-3) var(--space-3);
    }
    nav.main-nav a {
        display: block;
        padding: 14px 4px;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
    nav.main-nav .nav-cta {
        display: inline-block;
        margin-top: var(--space-2);
        text-align: center;
    }
    .nav-toggle {
        display: block;
        position: relative;
        z-index: 210;
    }
    .nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .nav-scrim {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .55);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
        z-index: 190;
    }
    .nav-scrim.open {
        opacity: 1;
        pointer-events: auto;
    }
    header.site-header {
        position: sticky;
    }
    .header-inner {
        position: relative;
    }
    .grid-3 {
        grid-template-columns: 1fr;
    }
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .bank-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero {
        min-height: 460px;
    }
    .hero-inner {
        padding: var(--space-5) var(--space-3);
    }
    .cta-banner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .footer-inner {
        flex-direction: column;
    }
    .footer-links {
        gap: var(--space-3);
    }
    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .bank-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section {
        padding: var(--space-5) 0;
    }
}


/* ===========================================================
     CONTACT PAGE — page header banner
     =========================================================== */

.page-banner {
    background: linear-gradient(120deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: var(--space-5) 0;
}

.page-banner .eyebrow {
    color: var(--color-accent);
}

.page-banner .eyebrow::before {
    background: var(--color-accent);
}

.page-banner h1 {
    color: #fff;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 600;
}

.page-banner p {
    color: #C7CCD3;
    font-size: 16px;
    margin-top: var(--space-1);
    max-width: 520px;
}


/* ===========================================================
     CONTACT SPLIT — form left, store info right
     =========================================================== */

.contact-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-5);
    align-items: stretch;
}


/* --- form column --- */

.contact-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--space-4);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2);
}

.field {
    margin-bottom: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.field label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--color-primary);
}

.field input,
.field textarea {
    font-family: var(--font-body);
    font-size: 15px;
    padding: 13px 14px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    color: var(--color-text);
    width: 100%;
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: var(--color-surface);
}

.contact-form .btn-primary {
    border: none;
    width: 100%;
    justify-content: center;
    margin-top: var(--space-1);
    font-size: 15.5px;
}

.form-message {
    margin: var(--space-2) 0 0;
    padding: 12px 14px;
    font-size: 14.5px;
    font-weight: 600;
    border: 1px solid transparent;
}

.form-message-success {
    background: rgba(255, 103, 0, .08);
    border-color: var(--color-accent);
    color: var(--color-accent-dark);
}

.form-message-error {
    background: #FDEDED;
    border-color: #D64545;
    color: #B23A3A;
}


/* --- store info column --- */

.store-info {
    background: var(--color-primary);
    color: var(--color-text-on-dark);
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.store-info h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
}

.info-item {
    display: flex;
    gap: var(--space-2);
    align-items: flex-start;
    padding-bottom: var(--space-3);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-icon {
    width: 40px;
    height: 40px;
    background: rgba(232, 163, 61, .15);
    border: 1px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-accent);
}

.info-text .info-label {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.info-text p {
    margin: 0;
    color: #D9DDE3;
    font-size: 15px;
    line-height: 1.5;
}

.info-text .hours-row {
    display: flex;
    justify-content: space-between;
    gap: var(--space-2);
    font-size: 14.5px;
    color: #D9DDE3;
    padding: 3px 0;
}

.info-text .hours-row span:first-child {
    color: #9AA3AF;
}

@media (max-width: 860px) {
    .contact-split {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}


/* ===========================================================
     TERMS / LEGAL ARTICLE LAYOUT
     =========================================================== */

.legal-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: var(--space-5);
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 96px;
    border-left: 2px solid var(--color-border);
    padding-left: var(--space-3);
}

.legal-toc .toc-label {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    color: var(--color-text-muted);
    margin-bottom: var(--space-2);
    display: block;
}

.legal-toc ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-toc a {
    display: block;
    padding: 7px 0;
    font-size: 14px;
    color: var(--color-text-muted);
    border-left: 2px solid transparent;
    margin-left: -2px;
    padding-left: 12px;
    transition: color .15s ease, border-color .15s ease;
}

.legal-toc a:hover {
    color: var(--color-primary);
    border-color: var(--color-accent);
}

.legal-updated {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent-dark);
    background: rgba(232, 163, 61, .12);
    border: 1px solid var(--color-accent);
    padding: 6px 12px;
    margin-bottom: var(--space-4);
}

.legal-content section {
    padding-bottom: var(--space-4);
    margin-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-border);
    scroll-margin-top: 96px;
}

.legal-content section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: var(--space-2);
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.legal-content h2 .num {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent-dark);
}

.legal-content p {
    color: var(--color-text);
    font-size: 15.5px;
    margin: 0 0 var(--space-2);
}

.legal-content ul,
.legal-content ol {
    margin: 0 0 var(--space-2);
    padding-left: 20px;
    color: var(--color-text);
    font-size: 15.5px;
}

.legal-content li {
    margin-bottom: 6px;
}

.legal-content strong {
    color: var(--color-primary);
}

@media (max-width: 900px) {
    .legal-layout {
        grid-template-columns: 1fr;
    }
    .legal-toc {
        position: static;
        border-left: none;
        border-bottom: 1px solid var(--color-border);
        padding-left: 0;
        padding-bottom: var(--space-3);
    }
}


/* ===========================================================
     ABOUT PAGE — single-column article (no TOC), reuses .legal-content
     =========================================================== */

.about-content {
    margin: 0 auto;
}

.about-content .lead {
    font-size: 17px;
    line-height: 1.7;
}

.apply-card {
    position: relative;
}

.apply-card .step-badge {
    position: absolute;
    top: -14px;
    left: var(--space-3);
    background: var(--color-accent);
    color: var(--color-bg-alt);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-card p {
    color: var(--color-text-muted);
    font-size: 14.5px;
    margin: 0;
}

.apply-card .apply-contact {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-accent-dark);
}

@media (max-width: 480px) {
    .about-content {
        padding: 0;
    }
}


/* ===========================================================
     STEP FORM / WIZARD — multi-step "Get Started" application
     =========================================================== */

.wizard-wrap {
    max-width: 680px;
    margin: 0 auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--space-4);
}


/* --- progress --- */

.wizard-progress {
    margin-bottom: var(--space-4);
}

.wizard-progress-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.wizard-progress-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: .03em;
}

.wizard-progress-percent {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-accent-dark);
}

.wizard-progress-track {
    height: 6px;
    background: var(--color-bg-alt);
    width: 100%;
}

.wizard-progress-fill {
    height: 100%;
    background: var(--color-accent);
    width: 12.5%;
    /* JS: set to (currentStep / totalSteps * 100) + '%' */
    transition: width .25s ease;
}


/* --- step panels --- */

.step-panel h2 {
    font-size: clamp(21px, 3vw, 26px);
    font-weight: 600;
    margin-bottom: 6px;
}

.step-panel .step-sub {
    color: var(--color-text-muted);
    font-size: 14.5px;
    margin: 0 0 var(--space-3);
}


/* --- selectable option cards (radio, styled) --- */

.option-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2);
}

.option-grid.option-grid-list {
    grid-template-columns: 1fr;
}

.option-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    padding: var(--space-3) var(--space-2);
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease;
}

.option-card.option-card-row {
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
    padding: 14px 16px;
}

.option-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.option-card:hover {
    border-color: var(--color-accent);
}

.option-card:has(input:checked) {
    border-color: var(--color-accent);
    background: rgba(255, 103, 0, .07);
}

.option-card .option-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.option-card .option-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-primary);
}

.option-card:has(input:checked) .option-icon svg {
    stroke: var(--color-accent-dark);
}

.option-card .option-label {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--color-text);
}

.option-card .option-sub {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-top: 2px;
}


/* small radio dot for row-style option cards */

.option-card-row .option-dot {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-border);
    flex-shrink: 0;
    position: relative;
}

.option-card-row:has(input:checked) .option-dot {
    border-color: var(--color-accent);
}

.option-card-row:has(input:checked) .option-dot::after {
    content: "";
    position: absolute;
    inset: 3px;
    background: var(--color-accent);
}


/* --- nav buttons --- */

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-4);
    padding-top: var(--space-3);
    border-top: 1px solid var(--color-border);
}

.wizard-nav .btn {
    min-width: 120px;
    justify-content: center;
}

@media (max-width: 560px) {
    .wizard-wrap {
        padding: var(--space-3);
    }
    .option-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 420px) {
    .option-grid {
        grid-template-columns: 1fr;
    }
}

.error {
    color: var(--color-error);
    font-size: 13px;
    font-weight: 500;
}

body.body-fixed {
    position: fixed;
    overflow: hidden;
    width: 100%;
    left: 0;
    right: 0;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 500;
}

.srp-main {
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
}

.vdp-main {
    display: block;
    max-width: 1200px;
    padding: var(--gutter-desktop);
    margin: 0 auto;
    width: 100%;
}

.contact-split>* {
    min-width: 0;
}


/* Panels */

.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    -webkit-box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
}

.sticky-filters {
    position: sticky;
    top: 14px;
}


/* Filters */

.filters {
    width: 280px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    background: #f9fafb;
    overflow-y: auto;
}

.filters-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 16px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.filters-group {
    border-top: 1px solid #e5e7eb;
    padding-top: 12px;
    margin-top: 12px;
}

.filters-group:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

.filters-group-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 8px;
}

.filters-footer {
    margin-top: 16px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
}


/* Results */

.results-area {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: 16px 0px 16px 16px;
}

.results-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 16px;
}

.results-count {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.results-controls {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 13px;
    color: #6b7280;
}

.results-controls select {
    color: #111827;
    border: 1px solid #d1d5db;
    padding: 4px 8px;
    font-size: 13px;
}

.vehicles-grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}


/* Form fields */

.field,
.form-group {
    margin-bottom: 10px;
}

.field label,
label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    color: #6b7280;
}

.form-group select,
.field select,
.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 6px 32px 6px 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 0;
    outline: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.form-group select:focus,
.field select:focus,
.form-select:focus {
    border-color: #2563eb;
    -webkit-box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group select:hover,
.field select:hover,
.form-select:hover {
    border-color: #9ca3af;
}

.field input,
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #111827;
    font-size: 13px;
    outline: none;
}

.field input:focus,
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent-dark);
}

.range-row,
.form-row,
.form-actions,
.top-actions,
.price-actions,
.footer-icons,
.header-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 8px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.range-row .field {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin-bottom: 0;
}

.form-row {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 16px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-row {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 32px 1fr;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}


/* Chips */

.chip-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal {
    position: fixed;
    inset: 0;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgb(0, 0, 0);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal .main {
    max-width: 768px !important;
    padding: 24px;
    background: rgba(255, 255, 255, 1);
    position: relative;
}

.error {
    color: var(--color-error)
}

.modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 30px;
    color: var(--color-error);
    cursor: pointer;
}

.chip {
    border: 1px solid var(--line);
    background: #fff;
    color: #374151;
    border-radius: 999px;
    padding: 0.45rem 0.75rem;
    font-size: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: background 0.12s ease, border-color 0.12s ease;
    -o-transition: background 0.12s ease, border-color 0.12s ease;
    transition: background 0.12s ease, border-color 0.12s ease;
}

.chip:hover {
    background: #f8fafc;
}

.chip.active {
    background: rgba(213, 231, 106, 0.08);
    border: 1px solid var(--color-accent-dark);
    color: #1f3fb8;
}


/* Links */

.small-link,
.small-link-vdp {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent-dark);
    cursor: pointer;
}

.link:hover,
.small-link:hover,
.small-link-vdp:hover,
.cta-link:hover,
.footer-nav a:hover {
    color: var(--color-accent-dark)
}


/* Vehicle cards */

.vehicle-card,
.vcard {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
}

.vehicle-card {
    padding: 12px;
}

.vcard {
    padding: 12px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    -webkit-box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.06);
    -webkit-transition: border-color 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
    transition: border-color 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
    -o-transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, -webkit-transform 0.12s ease, -webkit-box-shadow 0.12s ease;
}

.vcard:hover {
    -webkit-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    transform: translateY(-2px);
    border-color: var(--color-accent-dark);
    -webkit-box-shadow: var(--color-accent-dark);
    box-shadow: var(--color-accent-dark);
}

.vehicle-thumb,
.gallery-main,
.thumb {
    background: #f3f4f6;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #9ca3af;
}

.vehicle-thumb {
    font-size: 12px;
}

.thumb {
    height: auto;
    width: 80px;
    padding: 5px;
    font-size: 11px;
}

.imgwrap {
    position: relative;
    aspect-ratio: 16/9;
    background: -o-linear-gradient(315deg, #eef2ff, #f8fbff);
    background: linear-gradient(135deg, #eef2ff, #f8fbff);
}

.imgwrap img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}

.vehicle-main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    gap: 8px;
}

.vehicle-title {
    font-size: 14px;
    font-weight: 500;
}

.vehicle-price,
.price {
    font-weight: 600;
}

.vehicle-price {
    font-size: 16px;
    color: #b91c1c;
}

.price {
    font-size: 1.25rem;
    letter-spacing: 0.2px;
}

.vehicle-meta,
.meta,
.small-note,
.vehicle-footer,
.price-note,
.vehicle-subtitle,
.dealer-meta,
.dealer-location,
.dealer-meta-vdp,
.dealer-location-vdp,
.cta-sub,
.cta-sub-vdp,
.vehicle-subtitle-vdp {
    color: #6b7280;
}

.dealer-location-vdp {
    color: #6b7280;
    margin-bottom: 6px;
}

.cta-sub-vdp {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.vehicle-meta {
    font-size: 12px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
}

.dealer-meta-vdp {
    font-size: 12px;
    color: #6b7280;
    margin-top: 6px;
}

.vehicle-tags,
.badge-row,
.badge-row-vdp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.tag,
.badge,
.badge-inline,
.badge-vdp,
.badge-inline-vdp {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    color: #6b7280 !important;
}

.tag,
.badge,
.badge-vdp {
    padding: 3px 6px;
}

.badge-inline,
.badge-inline-vdp {
    display: inline-block;
    padding: 2px 4px;
    margin-left: 4px;
}

.vehicle-footer {
    margin-top: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 11px;
    color: #9ca3af;
}


/* Header / nav */


/* Footer */

.icon-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #1f2937;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
}

.icon-btn:hover {
    background-color: #111827;
}


/* Sections */

.section-vdp,
.gallery,
.cta-card-vdp,
.dealer-card-vdp {
    border: 1px solid #e5e7eb;
    background: #ffffff;
    padding: var(--card-pad);
    margin-bottom: 16px;
}

.section-terms {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 24px;
    margin-bottom: 24px;
}

.section-title,
.section-title-vdp,
.cta-title-vdp {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 8px;
}

.section-title {
    text-align: center;
}

.section-title-terms {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.section-header-vdp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 8px;
}

.section-body-vdp {
    font-size: 14px;
    color: #111827;
}

.page-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #111827;
}

.page-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 32px;
}

.content p {
    margin-bottom: 16px;
    font-size: 15px;
}

.content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.content li {
    margin-bottom: 8px;
    font-size: 15px;
}

.highlight {
    background: #f0f9ff;
    border-left: 4px solid var(--color-accent-dark);
    padding: 16px;
    margin: 16px 0;
}

.last-updated {
    font-size: 13px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-top: 24px;
}


/* VDP */

.breadcrumb {
    font-size: 12px !important;
    color: #6b7280;
    margin-bottom: 12px;
}

.breadcrumb a {
    color: #6b7280;
}

.breadcrumb span {
    margin: 0 4px;
}

.title-row,
.title-row-vdp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.vehicle-title-block h1,
.vehicle-title-block-vdp h1 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.price-block,
.price-block-vdp {
    text-align: right;
    min-width: 220px;
}

.price-main,
.price-main-vdp {
    font-size: 24px;
    font-weight: 600;
    color: #b91c1c;
    margin-bottom: 4px;
}

.price-note-vdp {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
}

.content-row,
.content-row-vdp {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: minmax(0, 3fr) 24px minmax(0, 2fr);
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 24px;
    margin-top: 16px;
}

.thumb-row {
    margin-top: 8px;
}

.specs-grid,
.specs-grid-vdp {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: minmax(0, 1fr) 16px minmax(0, 1fr) 16px minmax(0, 1fr);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 16px;
    font-size: 13px;
}

.spec-label,
.spec-label-vdp {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 2px;
}

.spec-value,
.spec-value-vdp {
    font-size: 13px;
    color: #111827;
}

.feature-list,
.feature-list-vdp {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: minmax(0, 1fr) 16px minmax(0, 1fr);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    font-size: 13px;
    color: #111827;
}

.feature-item::before,
.feature-item-vdp::before {
    content: "• ";
    color: #9ca3af;
}

.side-column-vdp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
    -ms-flex-item-align: start;
    align-self: flex-start;
}

.cta-row-vdp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 8px;
}

.dealer-name-vdp {
    font-weight: 500;
    margin-bottom: 2px;
}


/* Contact */

.contact-info {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 24px;
}

.contact-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: -o-linear-gradient(315deg, var(--primary), var(--primary2)) !important;
    background: linear-gradient(135deg, var(--primary), var(--primary2)) !important;
    border-radius: 8px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
    font-size: 15px;
    color: #374151;
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--color-accent-dark);
}

.hero-search {
    background: -o-linear-gradient(315deg, var(--primary), var(--primary2)) !important;
    background: linear-gradient(135deg, var(--primary), var(--primary2)) !important;
    background-size: cover;
    background-position: center;
    padding: 48px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
    max-width: 600px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
    max-width: 500px;
}

.hero-buttons {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 16px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.features,
.highlight-text,
.cta-section,
.brand-logos,
.car-brands {
    padding: 80px 0;
}

.features,
.cta-section {
    background: #f8fafc;
}

.highlight-text {
    background-color: var(--color-accent-dark);
    color: #fff;
}

.features-grid,
.cta-grid,
.brands-grid,
.logos-grid {
    display: -ms-grid;
    display: grid;
    gap: 32px;
}

.features-grid,
.cta-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.brands-grid,
.logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.logo-item,
.brand-item {
    text-align: center;
}

.brand-item {
    height: 80px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.logo-brand {
    max-height: 50px;
    width: auto;
    opacity: 0.8;
    -webkit-transition: opacity 0.2s;
    -o-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.logo-brand:hover {
    opacity: 1;
}

.section-title-homepage {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 48px;
    color: #111827;
}

.cta-grid {
    text-align: center;
}

.cta-item h3,
.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.header-color {
    color: var(--primary)
}

.cta-link {
    display: inline-block;
    margin-top: 16px;
    color: var(--color-accent-dark);
    font-weight: 500;
    text-decoration: none;
}

.highlight-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.highlight-content h2 {
    font-size: 36px;
    margin-bottom: 24px;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cta-image {
    width: 100%;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    margin-bottom: 1rem;
}


/* Search */

.search-bar {
    max-width: 400px;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    margin: 0 24px;
}

.search-bar input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #d1d5db;
    background: #f9fafb;
    color: #111827;
    outline: none;
    font-size: 14px;
}

.search-bar input:focus {
    border-color: var(--color-accent-dark);
    background: #ffffff;
}

.searchbar {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    -webkit-box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
    box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.searchbar .form-control {
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 999px;
    padding-left: 44px;
    background: transparent;
}

.searchicon {
    position: absolute;
    left: 18px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #94a3b8;
}


/* Filter toggle helpers */

.filter-button-close {
    display: none;
}

#viewresults,
#sidebar-open {
    display: none;
}


/* Number inputs in filter sidebar */

aside.filters input[type="number"] {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


/* Responsive */

@media (max-width: 991.98px) {
    .sticky-filters {
        position: static;
    }
}

@media (max-width: 960px) {
    .content-row,
    .content-row-vdp {
        -ms-grid-columns: minmax(0, 1fr);
        grid-template-columns: minmax(0, 1fr);
    }
    .side-column-vdp {
        position: static;
    }
    .price-block,
    .price-block-vdp {
        text-align: left;
    }
    .price-actions,
    .price-actions-vdp {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .filters {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
    .nav-desktop,
    .header-right {
        display: none;
    }
    .menu-toggle {
        display: block;
    }
    .srp-main {
        -webkit-box-orient: vertical !important;
        -webkit-box-direction: normal !important;
        -ms-flex-direction: column !important;
        flex-direction: column !important;
    }
}

@media (max-width: 768px) {
    .main,
    .vdp-main {
        padding: var(--gutter-mobile);
    }
    .results-area {
        padding: 16px 0 16px 0;
    }
    .contact-row,
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-actions {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    #viewresults,
    #sidebar-open {
        display: block !important;
    }
    .filter-menu-open {
        position: fixed;
    }
    aside.filters {
        position: fixed;
        top: 0;
        left: -100%;
        background: rgba(0, 0, 0, 0.7);
        width: 100%;
        height: 100vh;
        z-index: 9999;
        -webkit-transition: left 0.3s ease;
        -o-transition: left 0.3s ease;
        transition: left 0.3s ease;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        padding: 0;
    }
    aside.filters .inner-wrapper {
        max-width: 80%;
        background: #fff;
        padding: 20px;
        padding-bottom: 180px;
    }
    aside.filters.filter-menu-open {
        left: 0;
    }
    .filter-menu-open #viewresults {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 80%;
        background: var(--color-accent-dark);
        color: white;
        padding: 15px;
        text-align: center;
        font-size: 13px;
        z-index: 10000;
    }
    #sidebar-open {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 10001;
    }
    .body-fixed #sidebar-open {
        display: none !important;
    }
    aside.filters input[type="number"] {
        font-size: 16px;
    }
}

.vehicle-subtitle-vdp {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 13px;
    color: #6b7280;
}

@media (max-width: 640px) {
    .section-vdp,
    .gallery,
    .cta-card-vdp,
    .dealer-card-vdp {
        padding: 14px;
    }
    .results-area {
        padding: 16px 0;
    }
    .title-row,
    .title-row-vdp,
    .footer-inner {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .title-row-vdp {
        gap: 8px;
    }
    .footer-center {
        text-align: left;
        width: 100%;
    }
}

.element-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ymm-home-grid {
    grid-template-columns: 1fr 1fr 160px !important;
    gap: 16px !important;
}

.ymm-home-grid .field label {
    font-size: 14px !important;
    font-weight: 500 !important;
}

.ymm-home-grid .form-select {
    font-size: 16px !important;
    padding: 12px 40px 12px 16px !important;
}

svg {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .form-actions {
        flex-direction: column !important;
    }
    .form-actions .btn {
        width: 100% !important;
    }
}

.main {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    min-height: 0;
    max-width: 1200px;
    padding: var(--gutter-desktop);
    margin: 0 auto;
    width: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.srp-main {
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
}

#messageTicker {
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--color-accent-dark);
    font-size: 14px;
    border-radius: 4px;
}

.ticker-text {
    display: block;
    white-space: normal;
}