:root {
    --accent: #F26522;
    --bg: #000;
    --card: #111;
    --ink: #fff;
    --muted: #bbb;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: 'Montserrat',sans-serif
}

.toolbar {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 20px
}

.view-toggle .btn {
    border: 1px solid #333;
    background: #111;
    color: var(--accent)
}

    .view-toggle .btn.active {
        background: var(--accent);
        color: #fff;
        border-color: var(--accent)
    }

.sidebar {
    background: #111;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #333
}

    .sidebar h5 {
        color: var(--accent);
        font-size: 1rem;
        margin-bottom: 10px
    }

    .sidebar label {
        font-size: .85rem;
        margin-bottom: 4px;
        color: #fff
    }

    .sidebar .form-select, .sidebar .form-control {
        background: #000;
        color: #fff;
        border: 1px solid #333;
        font-size: .9rem
    }

/* Loader */
#pageLoader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    color: #fff
}

    #pageLoader .spinner-border {
        width: 3rem;
        height: 3rem;
        color: var(--accent)
    }

/* Buttons */
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none
}

    .btn-accent:hover {
        background: #d2541c;
        color: #fff
    }

/* List view */
.vehicle-card {
    background: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,.4)
}

.vehicle-photo {
    position: relative;
    min-height: 200px
}

    .vehicle-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-top-left-radius: 8px;
        border-bottom-left-radius: 8px
    }

.photo-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    padding: 4px 6px;
    font-size: .8rem
}

.vehicle-body {
    padding: 16px
}

.vehicle-title {
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    word-wrap: break-word;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px
}

    .vehicle-title img {
        height: 24px;
        width: auto
    }

.price-bar {
    display: flex;
    gap: 0;
    border-radius: 6px;
    overflow: hidden;
    margin: 6px 0 14px 0;
    flex-wrap: wrap
}

.price-cell {
    flex: 1;
    min-width: 140px;
    padding: 8px 12px;
    color: #fff;
    font-size: .9rem
}

.price-total {
    background: var(--accent)
}

.price-monthly {
    background: #000
}

.price-value {
    font-size: 1.1rem;
    font-weight: 800
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
    gap: 10px;
    margin-bottom: 12px
}

.spec {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 6px;
    background: #1a1a1a;
    font-size: .8rem;
    flex-wrap: wrap;
    word-break: break-word;
    color: #fff
}

    .spec i {
        color: var(--accent)
    }

.vehicle-description {
    font-size: .85rem;
    color: #ccc;
    margin-bottom: 12px
}

/* Grid view */
.grid-card {
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,.4);
    display: flex;
    flex-direction: column;
    position: relative
}

    .grid-card img {
        height: 180px;
        object-fit: cover;
        width: 100%
    }

.photo-badge-grid {
    position: absolute;
    left: 10px;
    top: 40px;
    background: var(--accent);
    color: #fff;
    border-radius: 4px;
    padding: 3px 6px;
    font-size: .75rem
}

.grid-card .p-3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.grid-card .title {
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    min-height: 3rem;
    display: flex;
    align-items: center;
    gap: 6px
}

    .grid-card .title img {
        height: 20px;
        width: auto
    }

.grid-card .price-bar {
    display: flex;
    border-radius: 0;
    overflow: hidden;
    margin: 0 0 10px 0
}

.grid-card .price-cell {
    flex: 1;
    padding: 6px 10px;
    font-size: .8rem;
    color: #fff
}

.grid-card .price-total {
    background: var(--accent)
}

.grid-card .price-monthly {
    background: #000
}

.grid-card .spec-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: .75rem;
    color: #ccc;
    margin-bottom: 8px
}

    .grid-card .spec-row div {
        display: flex;
        align-items: center;
        gap: 4px
    }

#results.list-mode .list-item {
    display: block
}

#results.list-mode .grid-item {
    display: none
}

#results.grid-mode .list-item {
    display: none
}

#results.grid-mode .grid-item {
    display: block
}

@media(max-width:768px) {
    .view-toggle {
        display: none;
    }
}

.sticker {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff0000;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.toolbar .form-label {
    color: #fff;
    font-size: 0.8rem;
    margin-bottom: 2px;
    display: block;
}

.view-toggle button {
    border: 1px solid #333;
    background: #000;
    color: #fff;
}

    .view-toggle button.active {
        background: var(--accent);
        color: #fff;
    }

    .view-toggle button + button {
        margin-left: 6px;
    }

.toolbar .form-select, .toolbar .form-range {
    background: #000;
    color: #fff;
    border: 1px solid #333;
    font-size: 0.9rem;
}

    .toolbar .form-range::-webkit-slider-thumb {
        background: var(--accent);
    }

.vehicle-title img, .title img {
    background: #fff;
    padding: 4px;
    border-radius: 4px;
}

.vehicle-actions {
    margin-top: 10px;
}

.share-wrap {
    position: relative;
}

.social-sharing-wrap {
    display: none;
    position: absolute;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 5px;
    z-index: 1000;
    left: 0;
    top: 120%;
    flex-direction: row;
    gap: 8px;
}
.social-sharing {
    color: #fff;
    font-size: 1rem;
}

    .social-sharing:hover {
        color: var(--accent);
    }
.share-wrap:hover .social-sharing-wrap {
    display: flex;
}
a {
    color: var(--accent);
}

.container-narrow {
    max-width: 1100px;
}

/* Hero */
.hero {
    position: relative;
    background: #0a0a0a;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(180deg,transparent,rgba(0,0,0,.85));
    color: #fff;
    padding: 16px;
}

.title {
    font-weight: 800;
    font-size: 1.25rem;
}

.price-tag {
    font-weight: 800;
    font-size: clamp(1.25rem, 5vw, 2rem);
    line-height: 1.05;
}

/* Share/print bar */
.sharebar .btn {
    --bs-btn-border-color: #3a3a3a;
}

/* Gallery */
.thumbs {
    display: flex;
    gap: 8px;
    overflow: auto;
    padding: 10px 0;
}

    .thumbs img {
        height: 70px;
        width: 110px;
        object-fit: cover;
        border-radius: 10px;
        border: 1px solid #2b2b2b;
        cursor: pointer;
        opacity: .9;
    }

        .thumbs img.active, .thumbs img:hover {
            outline: 2px solid var(--accent);
            opacity: 1;
            box-shadow: 0 0 0 2px var(--accent), 0 10px 18px rgba(242,101,34,.25);
        }

/* Panels */
.panel {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px;
}

    .panel h5 {
        color: #fff;
        font-weight: 700;
        font-size: 1.05rem;
    }

.kv {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
    font-size: .95rem;
}

    .kv div {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 12px 14px;
        background: #141414;
        border: 1px solid var(--line);
        border-radius: 10px;
        color: #e6e6e6;
    }

    .kv i {
        color: var(--accent);
    }

@media (max-width: 768px) {
    .hero-img {
        height: 300px;
    }

    .kv {
        grid-template-columns: 1fr;
    }
}
/* Tabs styling */
.gk-tabs .nav-link {
    color: #d0d0d0;
    background: #0e0e0e;
    border: 1px solid #333;
    border-bottom: none;
    margin-right: 6px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    position: relative;
}

    .gk-tabs .nav-link.active {
        color: #fff;
        background: #111;
        border-color: #444;
        box-shadow: inset 0 -3px 0 var(--accent);
    }

.gk-tabcontent {
    background: #111;
    border: 1px solid #444;
    border-top: none;
    border-radius: 0 12px 12px 12px;
}

/* Sleek branding tweaks */
.btn-accent {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: .6rem 1.1rem;
    box-shadow: 0 8px 20px rgba(242,101,34,.25);
    transition: transform .12s ease, box-shadow .2s ease;
}

    .btn-accent:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(242,101,34,.35);
    }

.sharebar .btn {
    border-radius: 999px;
}

.panel {
    backdrop-filter: blur(6px);
    box-shadow: 0 10px 24px rgba(0,0,0,.35);
}

.hero {
    border-radius: 18px;
    box-shadow: 0 20px 36px rgba(0,0,0,.45);
}

.hero-overlay {
    padding: 18px 18px 16px;
}

.hero-badges {
    margin-top: 6px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: .75rem;
    background: #141414;
    border: 1px solid #2a2a2a;
    color: #dcdcdc;
    border-radius: 999px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .tag i {
        color: var(--accent);
    }

#vehFeatures li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: .35rem;
}

    #vehFeatures li::before {
        content: '✔';
        position: absolute;
        left: 0;
        top: 0;
        color: var(--accent);
    }

.thumbs img {
    transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
}

    .thumbs img:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 8px 16px rgba(0,0,0,.4);
    }

/* Branded A2B info list */
#vehInfo {
    list-style: none;
    padding-left: 0;
}

    #vehInfo li {
        $1color:#fff;
        $2
    }

        #vehInfo li::before {
            content: '•';
            position: absolute;
            left: 0;
            top: 0;
            color: var(--accent);
        }

/* Extra orange brand touches */
.gk-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 3px;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.price-tag {
    text-shadow: 0 0 0 transparent, 0 6px 24px rgba(242,101,34,.25);
}

.sharebar .btn-outline-light:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.form-control:focus, .form-select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 .2rem rgba(242,101,34,.25);
    outline: 0;
}

.panel h5 {
    position: relative;
    padding-left: 12px;
}

    .panel h5::before {
        content: "";
        position: absolute;
        left: 0;
        top: .6rem;
        width: 6px;
        height: 6px;
        background: var(--accent);
        border-radius: 50%;
        box-shadow: 0 0 0 3px rgba(242,101,34,.15);
    }

.tag {
    border-color: rgba(242,101,34,.35);
}

    .tag:hover {
        border-color: var(--accent);
        box-shadow: 0 6px 14px rgba(242,101,34,.2);
    }
/* Mobile fixes: keep image clear & hide print */
@media (max-width: 576px) {
    .hero-img {
        height: 260px;
    }

    .hero-overlay {
        position: static;
        background: none;
        padding: 10px 2px 0;
    }

    .title {
        font-size: 1.1rem;
        line-height: 1.25;
    }

    #shPr {
        display: none !important;
    }
    /* Print hidden on mobile */
    .hero-badges .tag {
        background: #0f0f0f;
        border-color: rgba(242,101,34,.35);
    }
}

/* Box padding balance */
.gk-tabcontent {
    padding: 0 18px 18px;
}

#vehInfo {
    column-gap: 32px;
}

.tab-pane h6 {
    margin-bottom: .75rem;
}

.tab-pane ul {
    margin-bottom: 0;
}

/* Make tabs feel clickable/expandable */
.gk-tabs .nav-link {
    cursor: pointer;
    transition: background .15s ease, transform .12s ease, box-shadow .2s ease;
}

    .gk-tabs .nav-link:hover {
        background: #121212;
        transform: translateY(-1px);
        box-shadow: inset 0 -6px 0 rgba(242,101,34,.15);
    }

    .gk-tabs .nav-link:focus-visible {
        outline: 2px solid var(--accent);
        outline-offset: 2px;
    }

    .gk-tabs .nav-link::before {
        content: '\25B8';
        color: var(--accent);
        margin-right: .5rem;
    }

    .gk-tabs .nav-link.active::before {
        content: '\25BE';
    }

.tab-hint {
    margin: 6px 12px 0;
}

@media (min-width: 768px) {
    .tab-hint {
        display: none;
    }
}

/* Floating call button for mobile */
.floating-call {
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1060;
    box-shadow: 0 10px 24px rgba(242,101,34,.35);
}

/* Image slider & arrows */
.hero-slider {
    position: relative;
}

.slides {
    display: flex;
    width: 100%;
    height: 430px;
    transition: transform .4s ease;
    cursor: zoom-in;
}

    .slides img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        flex-shrink: 0;
        display: block;
    }

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(0,0,0,.55);
    border: 1px solid rgba(242,101,34,.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
}

    .hero-arrow.left {
        left: 10px;
    }

    .hero-arrow.right {
        right: 10px;
    }

    .hero-arrow:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

.hero-overlay {
    z-index: 3;
}

@media (max-width: 576px) {
    .slides {
        height: 260px;
    }
}

/* Lightbox (fullscreen image viewer) */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
}

    .lightbox.open {
        display: flex;
    }

    .lightbox .lb-img {
        max-width: 95vw;
        max-height: 90vh;
        object-fit: contain;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0,0,0,.6);
    }

.lb-arrow, .lb-close {
    position: absolute;
    color: #fff;
    background: rgba(0,0,0,.5);
    border: 1px solid rgba(242,101,34,.6);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .lb-arrow:hover, .lb-close:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

    .lb-arrow.left {
        left: 18px;
    }

    .lb-arrow.right {
        right: 18px;
    }

.lb-close {
    top: 18px;
    right: 18px;
}

.lb-counter {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: #ccc;
    font-weight: 600;
    background: rgba(0,0,0,.4);
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid #333;
}

@media (max-width: 576px) {
    .lightbox .lb-img {
        max-width: 100vw;
        max-height: 82vh;
    }
}

/* Hide the subtitle under the hero (it's repetitive with badges) */
#vehSubtitle {
    display: none !important;
}

/* Mobile alignment for price + call CTA */
@media (max-width: 576px) {
    .hero-overlay .d-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .hero-overlay .text-end {
        text-align: left !important;
        width: 100%;
    }

        .hero-overlay .text-end .text-secondary {
            display: block;
            margin: 4px 0 6px;
        }

    #callCta {
        width: 100%;
        justify-content: center;
    }
}

/* Hide print button globally */
#shPr {
    display: none !important;
}

/* CTA buttons */
.cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 8px 0 12px;
}

@media (max-width: 576px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

.cta-btn {
    border-radius: 12px;
    padding: .65rem 1rem;
    font-weight: 700;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid #3a3a3a;
}

    .btn-ghost:hover {
        border-color: var(--accent);
        color: #fff;
        box-shadow: 0 8px 18px rgba(242,101,34,.25);
    }

.btn-outline-accent {
    background: transparent;
    color: #fff;
    border: 1px solid var(--accent);
}

    .btn-outline-accent:hover {
        background: var(--accent);
        color: #fff;
    }

/* Force secondary text to white */
.text-secondary, .small.text-secondary {
    color: #fff !important;
}

/* Loader overlay */
.loader {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.9);
    z-index: 2000;
    backdrop-filter: blur(2px);
}

    .loader.open {
        display: flex;
        animation: fadeIn .2s ease;
    }

.loader-card {
    background: #0e0e0e;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 18px 22px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0,0,0,.45);
}

.spinner {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid #3a3a3a;
    border-top-color: var(--accent);
    animation: spin .9s linear infinite;
    margin: auto;
}

.loader-text {
    margin-top: 10px;
    color: #fff;
    font-weight: 800;
    letter-spacing: .2px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}
.title {
    font-weight: 800;
    font-size: 1.25rem;
}