:root {
    --red: #e32720;
    --red2: #ff352c;
    --ink: #0a0d10;
    --ink2: #11161b;
    --soft: #f5f6f7;
    --text: #171a1d;
    --muted: #6b7279;
    --line: #dfe2e5;
    --white: #fff;
    --radius: 8px;
    --shadow: 0 14px 35px rgba(0,0,0,.12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter,Arial,sans-serif;
    color: var(--text);
    background: #fff
}

a {
    text-decoration: none;
    color: inherit
}

button,select,input {
    font: inherit
}

.container {
    width: min(1600px,calc(100% - 60px));
    margin: auto
}

.site-header {
    height: 82px;
    background: #080b0e;
    color: white;
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,.08)
}

.nav-wrap {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px
}

.brand {
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 168px;
    font-weight: 800;
    letter-spacing: .5px
}

.brand-text {
    font-size: 19px;
    line-height: 1
}

.brand-text b {
    display: block;
    color: var(--red);
    font-size: 14px;
    margin-top: 3px
}

.brand-car {
    width: 126px;
    height: 20px;
    display: block;
    border-top: 2px solid white;
    border-radius: 55% 55% 0 0;
    transform: skewX(-20deg);
    margin-bottom: -2px;
    position: relative
}

.brand-car:after {
    content: "";
    position: absolute;
    width: 62px;
    border-top: 2px solid var(--red);
    right: -6px;
    top: 8px
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-left: auto
}

.main-nav a {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 31px 0 27px;
    border-bottom: 3px solid transparent
}

.main-nav a:hover,.main-nav a.active {
    border-color: var(--red)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    font-weight: 700
}

.phone {
    white-space: nowrap
}

.whatsapp {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #26d366;
    display: grid;
    place-items: center;
    font-size: 19px
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    padding: 6px
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    margin: 5px
}

.hero {
    position: relative;
    min-height: 500px;
    color: #fff;
    background: url("images/buzzwell-hero-optimized.webp") center 58%/cover no-repeat
}

.hero-shade {
    display: none
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 95px 0 138px
}

.hero-copy {
    max-width: 600px
}

.eyebrow {
    color: var(--red2);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .4px;
    margin: 0 0 14px
}

.hero h1 {
    font-size: 50px;
    line-height: .98;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: -1.7px
}

.hero h1 span {
    color: #f9f9f9
}

.hero-lead {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    color: #e6e9ec
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 28px
}

.btn {
    height: 48px;
    padding: 0 26px;
    border-radius: 4px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .2px;
    cursor: pointer
}

.btn-primary {
    background: linear-gradient(#ee2d27,#d51c16);
    color: white;
    box-shadow: 0 8px 22px rgba(225,39,32,.2)
}

.btn-primary:hover {
    filter: brightness(1.08)
}

.btn-ghost {
    color: white;
    border-color: #8b949c;
    background: rgba(15,18,21,.42)
}

.search-wrap {
    position: absolute;
    z-index: 4;
    left: 50%;
    transform: translateX(-50%);
    bottom: -64px
}

.vehicle-search {
    background: rgba(11,14,17,.96);
    border: 1px solid #687078;
    border-radius: 9px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,.2)
}

.search-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 15px
}

.search-title a {
    font-size: 10px;
    color: var(--red2)
}

.search-icon {
    font-size: 22px;
    color: var(--red2);
    margin-right: 8px
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr) 115px;
    gap: 9px
}

.search-grid label {
    border: 1px solid #484f55;
    background: #20252a;
    border-radius: 3px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column
}

.search-grid label:focus-within {
    border-color: var(--red)
}

.search-grid label span {
    font-size: 10px;
    color: #e7e9eb;
    margin-bottom: 2px
}

.search-grid select {
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 12px;
    width: 100%;
    padding: 2px 0
}

.search-grid option {
    color: #111
}

.search-btn {
    height: auto;
    min-height: 51px
}

.trust-strip {
    background: #0c1013;
    color: #fff;
    padding: 94px 0 28px
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(5,1fr)
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 7px 20px;
    border-right: 1px solid #353a3e
}

.trust-item:last-child {
    border-right: 0
}

.trust-item i {
    font-style: normal;
    color: var(--red2);
    font-size: 32px
}

.trust-item div {
    display: flex;
    flex-direction: column;
    gap: 4px
}

.trust-item b {
    text-transform: uppercase;
    font-size: 10px
}

.trust-item span {
    font-size: 10px;
    line-height: 1.45;
    color: #d6d9db
}

.section {
    padding: 62px 0
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 26px
}

.section h2,.sell-band h2,.finance-card h2 {
    margin: 0;
    text-transform: uppercase;
    font-size: 27px;
    letter-spacing: -.6px
}

.red-line {
    display: block;
    width: 40px;
    border-top: 3px solid var(--red);
    margin-top: 10px
}

.link-btn {
    background: none;
    border: 0;
    color: var(--red);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
    cursor: pointer
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px
}

.vehicle-card {
    border: 1px solid var(--line);
    border-radius: 7px;
    overflow: hidden;
    background: white;
    transition: .2s;
    position: relative
}

.vehicle-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow)
}

.vehicle-image {
    aspect-ratio: 1.45/1;
    background: #dce0e3;
    position: relative
}

.vehicle-image__photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover
}

.year-badge {
    position: absolute;
    right: 9px;
    top: 9px;
    background: rgba(19,25,30,.9);
    color: white;
    border-radius: 3px;
    font-size: 11px;
    padding: 7px 9px
}

.vehicle-body {
    padding: 15px
}

.vehicle-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 5px
}

.vehicle-meta {
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 10px
}

.vehicle-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--red);
    margin-bottom: 12px
}

.vehicle-location {
    font-size: 11px;
    color: #53595e
}

.vehicle-location:before {
    content: '⌖ ';
    color: #111
}

.empty-state {
    text-align: center;
    padding: 45px 0;
    color: var(--muted)
}

.sell-band {
    background: linear-gradient(90deg,#0c1013 0%,#101419 63%,rgba(6,8,10,.6)),url('images/buzzwell-hero-optimized.webp') right 44%/50% auto no-repeat;
    color: #fff;
    padding: 40px 0
}

.sell-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3,1fr) 1.25fr;
    align-items: center;
    gap: 22px
}

.sell-band h2 {
    font-size: 20px
}

.sell-band p {
    font-size: 12px;
    color: #d2d5d8;
    max-width: 310px;
    line-height: 1.6
}

.sell-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px
}

.sell-point i {
    font-style: normal;
    color: var(--red2);
    font-size: 25px
}

.sell-point b {
    text-transform: uppercase;
    font-size: 10px
}

.sell-point span {
    font-size: 10px;
    color: #ddd;
    line-height: 1.35
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 55px;
    align-items: center
}

.reason-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
    margin-top: 36px
}

.reason {
    display: flex;
    gap: 15px
}

.reason i {
    font-style: normal;
    color: var(--red);
    font-size: 30px
}

.reason b {
    text-transform: uppercase;
    font-size: 10px
}

.reason p {
    font-size: 11px;
    line-height: 1.55;
    color: var(--muted);
    margin: 7px 0 0
}

.dealer-photo {
    min-height: 310px;
    border-radius: 10px;
    background: linear-gradient(rgba(8,12,14,.14),rgba(8,12,14,.15)),url('images/buzzwell-hero-optimized.webp') center/cover no-repeat;
    position: relative;
    overflow: hidden
}

.dealer-sign {
    position: absolute;
    left: 0;
    right: 0;
    top: 50px;
    background: rgba(7,9,11,.78);
    padding: 14px 28px;
    color: white;
    font-size: 26px
}

.dealer-sign span {
    color: var(--red)
}

.location-card {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0d10;
    color: white;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 15px 22px;
    border-radius: 8px 8px 0 0;
    min-width: 280px
}

.location-card i {
    font-style: normal;
    color: var(--red);
    font-size: 25px
}

.location-card div {
    display: flex;
    flex-direction: column;
    gap: 3px
}

.location-card small {
    text-transform: uppercase;
    font-size: 9px
}

.location-card b {
    font-size: 12px
}

.finance-section {
    background: #f4f5f6;
    padding: 0 0 70px
}

.finance-card {
    background: #101418;
    color: white;
    border-radius: 10px;
    padding: 35px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.finance-card h2 {
    font-size: 24px
}

.finance-card p:not(.eyebrow) {
    color: #c7ccd0;
    font-size: 13px;
    margin-bottom: 0
}

footer {
    background: #0b0f12;
    color: #e3e5e7;
    padding: 48px 0 22px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr 1fr 1fr 1fr;
    gap: 35px
}

.footer-brand {
    color: white;
    margin-bottom: 18px
}

.footer-grid h3 {
    text-transform: uppercase;
    font-size: 11px;
    margin: 0 0 17px
}

.footer-grid p,.footer-grid a {
    display: block;
    font-size: 11px;
    line-height: 1.75;
    color: #b7bdc2;
    margin: 0 0 4px
}

.footer-grid a:hover {
    color: white
}

.accent {
    color: var(--red)
}

.btn.small {
    display: inline-flex;
    width: auto;
    margin-top: 10px;
    height: 40px;
    font-size: 10px
}

.copyright {
    border-top: 1px solid #24292d;
    margin-top: 35px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #7f878d;
    font-size: 9px
}

.mobile-whatsapp {
    display: none
}

@media(max-width:1100px) {
    .main-nav {
        gap: 16px
    }

    .nav-actions .phone {
        display: none
    }

    .search-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .vehicle-grid {
        grid-template-columns: repeat(3,1fr)
    }

    .trust-grid {
        grid-template-columns: repeat(3,1fr);
        gap: 10px
    }

    .trust-item {
        border-right: 0
    }

    .sell-grid {
        grid-template-columns: 1.6fr repeat(3,1fr)
    }

    .sell-grid>.btn {
        grid-column: 1/-1;
        justify-self: start
    }

    .footer-grid {
        grid-template-columns: repeat(3,1fr)
    }

}

@media(max-width:820px) {
    .site-header {
        height: 70px
    }

    .nav-wrap {
        justify-content: space-between
    }

    .menu-btn {
        display: block;
        order: 3
    }

    .nav-actions {
        margin-left: auto
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #090c0f;
        padding: 16px 20px 22px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-top: 1px solid #222
    }

    .main-nav.open {
        display: flex
    }

    .main-nav a {
        width: 100%;
        padding: 13px 0;
        border-bottom: 1px solid #202428
    }

    .main-nav a.active {
        color: var(--red);
        border-bottom: 1px solid #202428
    }

    .hero {
        min-height: 620px;
        background-position: 63% center
    }

    .hero-inner {
        padding: 78px 0 230px
    }

    .hero-copy {
        max-width: 520px
    }

    .hero h1 {
        font-size: 44px
    }

    .search-wrap {
        bottom: -115px
    }

    .search-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .trust-strip {
        padding-top: 145px
    }

    .vehicle-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .why-grid {
        grid-template-columns: 1fr
    }

    .sell-grid {
        grid-template-columns: 1fr 1fr
    }

    .sell-grid>div:first-child {
        grid-column: 1/-1
    }

    .sell-grid>.btn {
        grid-column: 1/-1
    }

    .footer-grid {
        grid-template-columns: repeat(2,1fr)
    }

}

@media(max-width:560px) {
    .container {
        width: min(100% - 28px,1180px)
    }

    .brand {
        min-width: 145px
    }

    .brand-text {
        font-size: 17px
    }

    .brand-car {
        width: 112px
    }

    .nav-actions {
        display: none
    }

    .hero {
        min-height: 670px;
        background-position: 64% center
    }

    .hero:after {
        display: none
    }

    .hero-shade,.hero-inner,.search-wrap {
        z-index: 3
    }

    .hero-inner {
        padding: 64px 0 300px
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.03
    }

    .hero-lead {
        font-size: 14px;
        max-width: 330px
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch
    }

    .hero-buttons .btn {
        width: 100%
    }

    .search-wrap {
        bottom: -190px
    }

    .vehicle-search {
        padding: 16px
    }

    .search-title a {
        display: none
    }

    .search-grid {
        grid-template-columns: 1fr 1fr
    }

    .search-grid label {
        padding: 8px
    }

    .search-btn {
        grid-column: 1/-1;
        min-height: 48px
    }

    .trust-strip {
        padding-top: 215px
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr
    }

    .trust-item {
        padding: 9px 4px
    }

    .trust-item:last-child {
        grid-column: 1/-1
    }

    .section {
        padding: 45px 0
    }

    .section h2 {
        font-size: 23px
    }

    .section-head {
        align-items: center
    }

    .link-btn {
        font-size: 9px
    }

    .vehicle-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
        gap: 14px
    }

    .vehicle-card {
        min-width: 82%;
        scroll-snap-align: start
    }

    .sell-grid {
        grid-template-columns: 1fr 1fr
    }

    .sell-point {
        padding: 8px
    }

    .why-grid {
        gap: 30px
    }

    .reason-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }

    .dealer-photo {
        min-height: 260px
    }

    .dealer-sign {
        font-size: 21px
    }

    .location-card {
        min-width: 250px
    }

    .finance-card {
        padding: 28px 24px;
        flex-direction: column;
        align-items: flex-start
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .copyright {
        flex-direction: column;
        gap: 10px
    }

    .mobile-whatsapp {
        display: flex;
        position: fixed;
        right: 16px;
        bottom: 16px;
        z-index: 60;
        background: #25d366;
        color: white;
        border-radius: 30px;
        height: 47px;
        padding: 0 18px;
        align-items: center;
        font-size: 12px;
        font-weight: 800;
        box-shadow: 0 10px 28px rgba(0,0,0,.25)
    }

}

/* V2 inventory + vehicle detail pages */

.vehicle-card-link {
    display: block;
    height: 100%
}

.vehicle-cta {
    display: inline-block;
    margin-top: 12px;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase
}

.page-hero {
    background: linear-gradient(90deg,#080c10 0%,rgba(8,12,16,.86) 45%,rgba(8,12,16,.45)),url("images/buzzwell-inventory-hero.png") center 58%/cover no-repeat;
    color: #fff;
    padding: 82px 0
}

.page-hero h1 {
    margin: 0 0 12px;
    text-transform: uppercase;
    font-size: 46px;
    letter-spacing: -1.4px
}

.page-hero p:not(.eyebrow) {
    max-width: 650px;
    color: #d5d9dc;
    line-height: 1.65;
    margin: 0
}

.inventory-page {
    background: #f5f6f7
}

.inventory-layout {
    display: grid;
    grid-template-columns: 255px 1fr;
    gap: 34px;
    align-items: start
}

.filter-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 20px;
    position: sticky;
    top: 102px
}

.filter-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px
}

.filter-heading h2 {
    font-size: 16px!important
}

.filter-heading button {
    border: 0;
    background: none;
    color: var(--red);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer
}

.filter-panel label {
    display: block;
    margin: 0 0 15px
}

.filter-panel label>span {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 7px;
    color: #4c5359
}

.filter-panel select,.filter-panel input {
    width: 100%;
    height: 44px;
    border: 1px solid #d6dade;
    border-radius: 4px;
    background: white;
    padding: 0 11px;
    outline: 0;
    color: #222
}

.filter-panel select:focus,.filter-panel input:focus {
    border-color: var(--red)
}

.inventory-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 22px
}

.inventory-toolbar h2 {
    font-size: 22px!important
}

.inventory-toolbar p {
    margin: 5px 0 0;
    font-size: 11px;
    color: var(--muted)
}

.inventory-toolbar label {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    color: #60676d
}

.inventory-toolbar select {
    height: 40px;
    border: 1px solid #d6dade;
    border-radius: 4px;
    background: #fff;
    margin-left: 7px;
    padding: 0 10px
}

.inventory-grid {
    grid-template-columns: repeat(3,1fr)
}

.inventory-empty {
    background: white;
    border: 1px dashed #c9ced2;
    border-radius: 8px;
    text-align: center;
    padding: 60px 20px
}

.inventory-empty h3 {
    margin: 0 0 8px
}

.inventory-empty p {
    margin: 0;
    color: var(--muted)
}

.inventory-cta {
    background: #0c1013;
    color: #fff;
    padding: 40px 0
}

.inventory-cta>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.inventory-cta h2 {
    margin: 0;
    text-transform: uppercase
}

.inventory-cta p:not(.eyebrow) {
    color: #bac0c5;
    margin-bottom: 0
}

.detail-section {
    background: #f4f5f6;
    padding: 42px 0 62px
}

.detail-topline {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #6f767c;
    margin-bottom: 18px
}

.detail-topline a {
    color: var(--red);
    font-weight: 700
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0,1.55fr) minmax(330px,.7fr);
    gap: 28px;
    align-items: start
}

.detail-media {
    min-width: 0
}

.detail-main-image {
    aspect-ratio: 1.55/1;
    background: center/cover no-repeat;
    border-radius: 10px;
    position: relative;
    box-shadow: var(--shadow)
}

.detail-thumbs {
    display: grid;
    grid-template-columns: repeat(3,110px);
    gap: 10px;
    margin-top: 12px
}

.detail-thumbs button {
    aspect-ratio: 1.5/1;
    border: 2px solid transparent;
    background: center/cover no-repeat;
    border-radius: 6px;
    cursor: pointer
}

.detail-thumbs button.active {
    border-color: var(--red)
}

.detail-card {
    background: #0d1115;
    color: white;
    border-radius: 10px;
    padding: 30px;
    position: sticky;
    top: 102px
}

.detail-card h1 {
    margin: 0 0 12px;
    font-size: 30px;
    line-height: 1.08
}

.detail-price {
    font-size: 25px;
    color: var(--red2);
    font-weight: 800;
    margin-bottom: 24px
}

.spec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #2c3237;
    border-bottom: 1px solid #2c3237;
    margin-bottom: 22px
}

.spec-grid div {
    padding: 13px 8px 13px 0
}

.spec-grid span,.spec-grid b {
    display: block
}

.spec-grid span {
    font-size: 9px;
    text-transform: uppercase;
    color: #8f979e;
    margin-bottom: 4px
}

.spec-grid b {
    font-size: 11px
}

.detail-action {
    width: 100%;
    margin-top: 9px
}

.btn-dark {
    background: #20262b;
    border-color: #424a50;
    color: #fff
}

.text-action {
    display: block;
    text-align: center;
    margin-top: 16px;
    color: #c8cdd1;
    font-size: 11px
}

.detail-info-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr;
    gap: 28px;
    margin-top: 30px
}

.detail-description,.detail-help {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 26px
}

.detail-description h2 {
    margin: 0;
    text-transform: uppercase;
    font-size: 21px
}

.detail-description p,.detail-help p {
    font-size: 13px;
    color: #666e74;
    line-height: 1.7
}

.detail-help {
    background: #151a1f;
    color: #fff
}

.detail-help h3 {
    margin: 0 0 10px
}

.detail-help p {
    color: #bfc5ca
}

.detail-help a {
    color: var(--red2);
    font-size: 12px;
    font-weight: 800
}

.detail-finance {
    background: #101418;
    color: #fff;
    padding: 40px 0
}

.detail-finance>.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px
}

.detail-finance h2 {
    margin: 0;
    text-transform: uppercase
}

.detail-finance p:not(.eyebrow) {
    color: #bcc2c7;
    margin-bottom: 0
}

@media(max-width:980px) {
    .inventory-layout {
        grid-template-columns: 1fr
    }

    .filter-panel {
        position: static;
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 12px
    }

    .filter-heading {
        grid-column: 1/-1
    }

    .filter-panel label {
        margin: 0
    }

    .inventory-grid {
        grid-template-columns: repeat(2,1fr)
    }

    .detail-grid {
        grid-template-columns: 1fr
    }

    .detail-card {
        position: static
    }

    .detail-info-grid {
        grid-template-columns: 1fr
    }

    .detail-thumbs {
        grid-template-columns: repeat(3,1fr)
    }

}

@media(max-width:620px) {
    .page-hero {
        padding: 56px 0
    }

    .page-hero h1 {
        font-size: 34px
    }

    .filter-panel {
        grid-template-columns: 1fr 1fr;
        padding: 16px
    }

    .search-field {
        grid-column: 1/-1
    }

    .inventory-toolbar {
        align-items: flex-start;
        gap: 16px;
        flex-direction: column
    }

    .inventory-toolbar label,.inventory-toolbar select {
        width: 100%;
        margin-left: 0;
        margin-top: 6px
    }

    .inventory-grid {
        display: grid;
        grid-template-columns: 1fr
    }

    .inventory-grid .vehicle-card {
        min-width: 0
    }

    .inventory-cta>.container,.detail-finance>.container {
        align-items: flex-start;
        flex-direction: column
    }

    .inventory-cta .btn,.detail-finance .btn {
        width: 100%
    }

    .detail-section {
        padding-top: 28px
    }

    .detail-topline {
        gap: 12px;
        flex-direction: column
    }

    .detail-main-image {
        aspect-ratio: 1.25/1
    }

    .detail-card {
        padding: 24px 20px
    }

    .detail-card h1 {
        font-size: 25px
    }

    .detail-price {
        font-size: 21px
    }

    .spec-grid {
        grid-template-columns: 1fr 1fr
    }

    .detail-description,.detail-help {
        padding: 21px
    }

    .detail-thumbs {
        gap: 7px
    }

    .filter-panel select,.filter-panel input {
        font-size: 13px
    }

}

/* Lead forms and information pages */

.form-page {
    background: #f4f5f6;
    padding: 56px 0
}

.lead-layout {
    display: grid;
    grid-template-columns: 1fr .72fr;
    gap: 32px;
    align-items: start
}

.lead-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 30px
}

.lead-card h2 {
    margin: 0 0 8px;
    text-transform: uppercase;
    font-size: 24px
}

.lead-card>p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 25px
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 7px
}

.form-field.full {
    grid-column: 1/-1
}

.form-field span {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: #4e555b
}

.form-field input,.form-field select,.form-field textarea {
    width: 100%;
    border: 1px solid #d5d9dd;
    border-radius: 5px;
    background: #fff;
    padding: 12px;
    outline: 0
}

.form-field input,.form-field select {
    height: 46px
}

.form-field textarea {
    min-height: 120px;
    resize: vertical
}

.form-field input:focus,.form-field select:focus,.form-field textarea:focus {
    border-color: var(--red)
}

.form-submit {
    grid-column: 1/-1;
    margin-top: 4px
}

.form-submit .btn {
    width: 100%
}

.form-note {
    font-size: 10px!important;
    color: #81888e!important;
    margin: 12px 0 0!important
}

.lead-side {
    background: #0e1216;
    color: #fff;
    border-radius: 10px;
    padding: 30px;
    position: sticky;
    top: 102px
}

.lead-side h3 {
    font-size: 22px;
    margin: 0 0 18px
}

.lead-side p {
    font-size: 12px;
    line-height: 1.65;
    color: #c4c9ce
}

.steps {
    display: grid;
    gap: 18px;
    margin: 25px 0
}

.step {
    display: flex;
    gap: 14px
}

.step-num {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    background: var(--red);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 11px
}

.step b {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px
}

.step span {
    display: block;
    font-size: 11px;
    color: #aeb5ba;
    line-height: 1.5
}

.location-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px
}

.location-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden
}

.location-visual {
    height: 250px;
    background: linear-gradient(rgba(4,6,8,.15),rgba(4,6,8,.25)),url('images/buzzwell-hero-optimized.webp') center/cover
}

.location-body {
    padding: 25px
}

.location-body h2 {
    margin: 0 0 7px;
    text-transform: uppercase;
    font-size: 22px
}

.location-body p,.location-body a {
    font-size: 12px;
    line-height: 1.7;
    color: #687077
}

.location-actions {
    display: flex;
    gap: 10px;
    margin-top: 18px
}

.location-actions .btn {
    flex: 1;
    padding: 0 12px
}

.form-status {
    grid-column: 1/-1;
    margin: 0;
    padding: 12px;
    border-radius: 5px;
    background: #edf8ef;
    color: #226a2c;
    font-size: 12px;
    font-weight: 700
}

@media(max-width:820px) {
    .lead-layout,.location-page-grid {
        grid-template-columns: 1fr
    }

    .lead-side {
        position: static
    }

    .location-visual {
        height: 220px
    }

}

@media(max-width:560px) {
    .lead-card,.lead-side {
        padding: 22px 18px
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .form-field.full,.form-submit {
        grid-column: auto
    }

    .location-actions {
        flex-direction: column
    }

    .location-actions .btn {
        width: 100%
    }

}

/* Real vehicle photo galleries */

.detail-thumbs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    grid-template-columns: none
}

.detail-thumbs button {
    flex: 0 0 110px;
    scroll-snap-align: start
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(8,12,15,.72);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    z-index: 2
}

.gallery-arrow:hover {
    background: rgba(216,31,24,.92)
}

.gallery-prev {
    left: 14px
}

.gallery-next {
    right: 14px
}

.vehicle-image {
    background-color: #e7e9eb
}

.detail-main-image {
    background-color: #dfe3e6
}

@media(max-width:620px) {
    .detail-thumbs button {
        flex-basis: 92px
    }

    .gallery-arrow {
        width: 38px;
        height: 38px;
        font-size: 26px
    }

    .gallery-prev {
        left: 9px
    }

    .gallery-next {
        right: 9px
    }

}

/* Vehicle detail page V6 */

.vehicle-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 11px;
    color: #777f86;
    margin-bottom: 20px
}

.vehicle-breadcrumb a {
    color: #4f565c
}

.vehicle-breadcrumb a:hover {
    color: var(--red)
}

.vehicle-breadcrumb b {
    color: #202428;
    font-weight: 700
}

.detail-grid-upgraded {
    gap: 32px
}

.upgraded-main-image {
    overflow: hidden;
    min-height: 420px
}

.detail-status-badge {
    position: absolute;
    left: 16px;
    top: 16px;
    background: #16863b;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .4px;
    padding: 8px 11px;
    border-radius: 4px;
    box-shadow: 0 5px 16px rgba(0,0,0,.18)
}

.detail-status-badge.coming {
    background: var(--red)
}

.detail-photo-count {
    position: absolute;
    right: 15px;
    bottom: 15px;
    background: rgba(9,13,16,.78);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 7px 10px;
    border-radius: 20px;
    backdrop-filter: blur(4px)
}

.upgraded-thumbs {
    margin-top: 13px
}

.upgraded-thumbs button {
    flex-basis: 116px;
    opacity: .72;
    transition: .18s
}

.upgraded-thumbs button:hover,.upgraded-thumbs button.active {
    opacity: 1
}

.gallery-hint {
    font-size: 10px;
    color: #8a9197;
    margin: 4px 0 0
}

.upgraded-detail-card {
    padding: 28px;
    border: 1px solid rgba(255,255,255,.06);
    box-shadow: 0 18px 45px rgba(0,0,0,.18)
}

.detail-card-heading h1 {
    font-size: 31px
}

.detail-stock {
    margin: 8px 0 0;
    font-size: 10px;
    color: #9199a0
}

.detail-stock b {
    color: #dbe0e4
}

.detail-keyfacts {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 8px;
    margin: 0 0 20px
}

.detail-keyfacts div {
    background: #171d22;
    border: 1px solid #272e34;
    border-radius: 6px;
    padding: 12px 9px;
    text-align: center;
    min-width: 0
}

.detail-keyfacts span {
    display: block;
    color: var(--red2);
    font-size: 19px;
    height: 22px
}

.detail-keyfacts b {
    display: block;
    font-size: 10px;
    margin: 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.detail-keyfacts small {
    display: block;
    color: #808991;
    font-size: 8px;
    text-transform: uppercase
}

.upgraded-spec-grid {
    margin-bottom: 18px
}

.upgraded-spec-grid div {
    border-bottom: 1px solid #242a2f
}

.detail-primary-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.detail-primary-actions .detail-action {
    margin-top: 0;
    padding: 0 12px
}

.btn-outline-red {
    background: transparent;
    color: #fff;
    border-color: #a3312d
}

.btn-outline-red:hover {
    background: var(--red);
    border-color: var(--red)
}

.detail-finance-link {
    display: block;
    text-align: center;
    color: #ff4a43;
    font-size: 11px;
    font-weight: 800;
    margin-top: 16px
}

.detail-disclaimer {
    color: #727b82!important;
    font-size: 9px!important;
    line-height: 1.5!important;
    text-align: center;
    margin: 13px 0 0!important
}

.upgraded-info-grid {
    grid-template-columns: 1.4fr .8fr;
    margin-top: 32px
}

.overview-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 22px;
    border-top: 1px solid #e5e7e9
}

.overview-table div {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-bottom: 1px solid #e5e7e9;
    font-size: 11px
}

.overview-table div:nth-child(odd) {
    padding-right: 22px
}

.overview-table div:nth-child(even) {
    padding-left: 22px;
    border-left: 1px solid #e5e7e9
}

.overview-table span {
    color: #747b80
}

.overview-table b {
    text-align: right
}

.test-drive-card {
    background: #101519;
    color: #fff;
    border-radius: 9px;
    padding: 27px;
    border: 1px solid #242b30
}

.test-drive-card h3 {
    font-size: 23px;
    margin: 0 0 8px
}

.test-drive-card>p:not(.eyebrow) {
    color: #adb5bb;
    font-size: 12px;
    line-height: 1.6;
    margin-top: 0
}

.test-drive-form {
    display: grid;
    gap: 11px;
    margin-top: 19px
}

.test-drive-form label span {
    display: block;
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 800;
    color: #a3abb1;
    margin-bottom: 6px
}

.test-drive-form input,.test-drive-form select {
    width: 100%;
    height: 43px;
    border: 1px solid #353d43;
    border-radius: 4px;
    background: #1a2025;
    color: #fff;
    padding: 0 11px;
    outline: 0
}

.test-drive-form input:focus,.test-drive-form select:focus {
    border-color: var(--red)
}

.test-drive-form select option {
    color: #111
}

.test-drive-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.test-drive-form .btn {
    width: 100%;
    margin-top: 3px
}

.related-vehicles {
    margin-top: 50px;
    padding-top: 39px;
    border-top: 1px solid #dfe2e5
}

.related-vehicles h2 {
    margin: 0;
    text-transform: uppercase;
    font-size: 24px
}

.related-grid {
    grid-template-columns: repeat(3,1fr)
}

.mobile-detail-actions {
    display: none
}

@media(max-width:980px) {
    .upgraded-main-image {
        min-height: 0
    }

    .detail-primary-actions {
        grid-template-columns: 1fr 1fr
    }

    .upgraded-info-grid {
        grid-template-columns: 1fr
    }

    .test-drive-card {
        max-width: none
    }

    .related-grid {
        grid-template-columns: repeat(3,1fr)
    }

}

@media(max-width:760px) {
    .related-grid {
        grid-template-columns: 1fr 1fr
    }

    .detail-keyfacts {
        grid-template-columns: repeat(3,1fr)
    }

    .overview-table {
        grid-template-columns: 1fr
    }

    .overview-table div:nth-child(odd),.overview-table div:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-left: 0
    }

}

@media(max-width:620px) {
    body:has(#vehicleDetail) {
        padding-bottom: 59px
    }

    .vehicle-breadcrumb {
        font-size: 10px;
        margin-bottom: 14px
    }

    .detail-section .container {
        width: min(100% - 24px,1180px)
    }

    .upgraded-main-image {
        border-radius: 7px;
        aspect-ratio: 1.18/1
    }

    .detail-status-badge {
        left: 10px;
        top: 10px;
        padding: 7px 9px
    }

    .detail-photo-count {
        right: 10px;
        bottom: 10px
    }

    .gallery-hint {
        display: none
    }

    .upgraded-thumbs button {
        flex-basis: 88px
    }

    .upgraded-detail-card {
        padding: 22px 18px
    }

    .detail-card-heading h1 {
        font-size: 26px
    }

    .detail-price {
        font-size: 24px;
        margin-bottom: 18px
    }

    .detail-keyfacts {
        gap: 6px
    }

    .detail-keyfacts div {
        padding: 10px 5px
    }

    .detail-keyfacts b {
        font-size: 9px
    }

    .detail-primary-actions {
        grid-template-columns: 1fr
    }

    .spec-grid.upgraded-spec-grid {
        grid-template-columns: 1fr 1fr
    }

    .test-drive-row {
        grid-template-columns: 1fr
    }

    .related-grid {
        grid-template-columns: 1fr
    }

    .related-vehicles {
        margin-top: 36px
    }

    .related-vehicles .section-head {
        gap: 16px
    }

    .related-vehicles .link-btn {
        white-space: nowrap
    }

    .mobile-detail-actions {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        height: 59px;
        background: #090d10;
        border-top: 1px solid #2a3136;
        display: grid;
        grid-template-columns: 1fr 1.25fr 1fr;
        z-index: 80;
        padding: 6px
    }

    .mobile-detail-actions a,.mobile-detail-actions button {
        border: 0;
        border-right: 1px solid #2c3338;
        background: transparent;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        text-transform: uppercase;
        font-weight: 800
    }

    .mobile-detail-actions a:nth-child(2) {
        background: var(--red);
        border-radius: 4px;
        border-right: 0
    }

    .mobile-detail-actions button {
        border-right: 0;
        cursor: pointer
    }

    .detail-finance {
        padding-bottom: 48px
    }

}

/* V8 - Live Big Bridge map */

.dealer-map {
    background: #d9dde0;
    min-height: 310px;
    position: relative;
    overflow: hidden
}

.map-frame {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 310px;
    border: 0
}

.dealer-map .dealer-sign {
    display: none
}

.map-location-card {
    left: 22px;
    right: 22px;
    bottom: 18px;
    transform: none;
    min-width: 0;
    border-radius: 8px;
    padding: 14px 16px;
    background: rgba(8,12,15,.94);
    backdrop-filter: blur(5px);
    justify-content: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,.22)
}

.map-location-card>div {
    min-width: 0
}

.map-location-card b {
    font-size: 11px;
    white-space: normal
}

.map-directions {
    margin-left: auto;
    background: var(--red);
    color: #fff!important;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 800;
    padding: 10px 12px;
    border-radius: 4px;
    white-space: nowrap
}

.map-directions:hover {
    filter: brightness(1.08)
}

.location-map {
    background: #d9dde0!important;
    overflow: hidden
}

.location-map .map-frame {
    min-height: 250px
}

@media(max-width:620px) {
    .dealer-map,.map-frame {
        min-height: 360px
    }

    .map-location-card {
        left: 10px;
        right: 10px;
        bottom: 10px;
        align-items: flex-start;
        flex-wrap: wrap
    }

    .map-directions {
        width: 100%;
        margin-left: 37px;
        text-align: center
    }

    .location-map .map-frame {
        min-height: 220px
    }

}

/* Buzzwell real logo */

.brand {
    min-width: 175px;
    flex-direction: row;
    align-items: center;
}

.brand img {
    display: block;
    width: 175px;
    height: auto;
    max-width: 175px;
}

@media (max-width: 820px) {
    .brand {
        min-width: 130px;
    }

    .brand img {
        width: 130px;
        max-width: 130px;
    }

}

/* Footer real logo */

.footer-brand img {
    display: block;
    width: 175px;
    height: auto;
    max-width: 100%;
}

/* FINAL MOBILE HERO FIX */

@media (max-width: 560px) {
    .hero {
        min-height: 590px;
        background-image: url("images/buzzwell-hero-optimized.webp");
        background-size: cover;
        background-position: 68% center;
        background-repeat: no-repeat;
    }

    /* Remove the extra mobile darkness */

    .hero:after {
        display: none;
    }

    .hero-shade {
        display: none;
    }

    .hero-inner {
        padding: 72px 0 190px;
    }

    .hero h1 {
        font-size: 38px;
        line-height: 1.03;
    }

    .hero-lead {
        max-width: 340px;
    }

    .search-wrap {
        bottom: -155px;
    }

}

/* Keep the home vehicle filter below the hero image. */

.home-search-section {
    background: #0c1013;
    padding: 24px 0 0;
}

.home-search-section .search-wrap {
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
}

.home-search-section + .trust-strip {
    padding-top: 28px;
}

.hero-inner {
    padding-bottom: 78px;
}

@media (max-width: 820px) {
    .hero-inner {
        padding-bottom: 82px;
    }

}

@media (max-width: 560px) {
    .hero-inner {
        min-height: 590px;
        padding-bottom: 20px;
        display: flex;
    }

    .hero-copy {
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        transform: none;
    }

    .hero-copy > :not(.hero-buttons) {
        transform: translateY(70px);
    }

    /* Keep both buttons at the bottom edge of the hero image. */

    .hero-buttons {
        margin-top: auto;
    }

    /* Keep the four trust points in a balanced 2-by-2 grid. */

    .trust-item:last-child {
        grid-column: auto;
    }

}

/* Vehicle detail - laptop sizing */

@media (min-width: 981px) and (max-height: 900px) {
    .detail-section {
        padding-top: 18px;
    }

    .detail-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(360px, .65fr);
        gap: 24px;
    }

    .upgraded-main-image {
        min-height: 0;
        height: 470px;
        aspect-ratio: auto;
        background-size: cover;
        background-position: center;
    }

    .upgraded-detail-card {
        padding: 22px;
    }

}
