/*
Theme Name: Bullhorn Asset Solutions
Theme URI: https://bullhornas.com
Description: Custom dealership theme for Bullhorn Asset Solutions
Version: 2.0.0
Author: Bullhorn Asset Solutions
Author URI: https://bullhornas.com
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bullhorn-asset-solutions
*/

/* ==========================================================================
   1. CSS Custom Properties — Dark Glassmorphism Design System
   ========================================================================== */

:root {
    /* Dark navy blue base palette */
    --bh-primary: #0c1929;
    --bh-primary-light: #112240;
    --bh-primary-mid: #162d50;
    --bh-accent: #c0392b;
    --bh-accent-hover: #a93226;
    --bh-accent-dark: #922b21;
    --bh-accent-rgb: 192, 57, 43;
    --bh-accent-glow: rgba(192, 57, 43, 0.25);
    --bh-ink: #0a0f14; /* logo black — deepest surfaces / CTA gradients */
    --bh-background: #0c1929;
    --bh-surface: #112240;
    --bh-surface-elevated: #162d50;
    --bh-text: #f5f5f5;
    --bh-text-light: #e0e0e0;
    --bh-text-muted: #8892b0;
    --bh-border: rgba(255, 255, 255, 0.10);
    --bh-border-light: rgba(255, 255, 255, 0.16);

    /* Glassmorphism tokens — navy glass */
    --bh-glass-bg: rgba(255, 255, 255, 0.06);
    --bh-glass-bg-hover: rgba(255, 255, 255, 0.10);
    --bh-glass-border: rgba(255, 255, 255, 0.12);
    --bh-glass-blur: 20px;

    /* Accent glow tokens (logo crimson) */
    --bh-glow-soft: rgba(var(--bh-accent-rgb), 0.08);
    --bh-glow-mid: rgba(var(--bh-accent-rgb), 0.15);
    --bh-glow-strong: rgba(var(--bh-accent-rgb), 0.35);

    /* Shadows */
    --bh-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    --bh-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
    --bh-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--bh-accent-rgb), 0.1);
    --bh-shadow-glow: 0 0 30px rgba(var(--bh-accent-rgb), 0.15);

    /* Radii */
    --bh-radius: 12px;
    --bh-radius-sm: 6px;
    --bh-radius-lg: 16px;
    --bh-radius-xl: 24px;

    /* Transitions */
    --bh-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bh-transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --bh-header-height: 170px;

    /* Typography */
    --bh-font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --bh-font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --bh-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Regions */
    --bh-footer-bg: #070f1c;
    --bh-header-bg: rgba(12, 25, 41, 0.9);
}

/* ==========================================================================
   2. Reset / Normalize
   ========================================================================== */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--bh-font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--bh-text);
    background-color: var(--bh-background);
    background-image: url('assets/images/f350-crane-bg.webp');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(12, 25, 41, 0.82);
    z-index: 0;
    pointer-events: none;
}

body > * {
    position: relative;
    z-index: 1;
}

::selection {
    background: var(--bh-accent);
    color: #ffffff;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--bh-accent);
    text-decoration: none;
    transition: color var(--bh-transition);
}

a:hover {
    color: var(--bh-accent-hover);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

table {
    border-collapse: collapse;
    width: 100%;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bh-font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--bh-text);
    margin-bottom: 0.5em;
}

h1 { font-size: 2.75rem; font-weight: 900; }
h2 { font-size: 2.25rem; font-weight: 800; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.375rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--bh-text-light);
}

.bh-section-title {
    font-size: 2.5rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.bh-section-subtitle {
    text-align: center;
    color: var(--bh-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   4. Layout Containers
   ========================================================================== */

.bh-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.bh-container-wide {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.bh-section {
    padding: 3.75rem 0;
}

.bh-section-sm {
    padding: 2.25rem 0;
}

/* ==========================================================================
   5. Grid System
   ========================================================================== */

.bh-grid {
    display: grid;
    gap: 1.5rem;
}

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

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

.bh-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .bh-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .bh-grid-3,
    .bh-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bh-grid-2,
    .bh-grid-3,
    .bh-grid-4 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   6. Header — Transparent to Glass on Scroll
   ========================================================================== */

.bh-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    min-height: var(--bh-header-height);
    height: auto;
    background: var(--bh-header-bg);
    backdrop-filter: blur(var(--bh-glass-blur));
    -webkit-backdrop-filter: blur(var(--bh-glass-blur));
    border-bottom: 1px solid var(--bh-glass-border);
    transition: background var(--bh-transition), box-shadow var(--bh-transition), border-color var(--bh-transition);
}

/* On front page, header starts transparent */
.bh-front-page .bh-header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
}

/* Scrolled state — glass effect */
.bh-front-page .bh-header.scrolled,
.bh-header.scrolled {
    background: var(--bh-header-bg);
    backdrop-filter: blur(var(--bh-glass-blur));
    -webkit-backdrop-filter: blur(var(--bh-glass-blur));
    border-bottom-color: var(--bh-glass-border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Offset main content for fixed header (non-front pages) */
.bh-main {
    padding-top: var(--bh-header-height);
}

.bh-front-page .bh-main {
    padding-top: 0;
}

.bh-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.bh-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.bh-logo img {
    height: 150px;
    width: auto;
}

.bh-logo a {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-family: var(--bh-font-heading);
    font-weight: 800;
    font-size: 1.375rem;
    text-decoration: none;
    gap: 0.75rem;
}

.bh-logo a:hover {
    color: #ffffff;
}

.bh-logo .logo-text {
    color: #ffffff;
    line-height: 1.1;
}

.bh-logo .logo-text .logo-accent {
    color: var(--bh-accent);
}

/* Header Actions */
.bh-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Navigation */
.bh-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.bh-nav-list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bh-nav-list li {
    position: relative;
}

.bh-nav-list li a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    transition: color var(--bh-transition);
    white-space: nowrap;
}

.bh-nav-list li a:hover,
.bh-nav-list li.current-menu-item a,
.bh-nav-list li.current_page_item a {
    color: var(--bh-accent);
}

.bh-nav-list li a.bh-nav-cta {
    background: linear-gradient(135deg, var(--bh-accent), #ff3333);
    color: #ffffff;
    border-radius: var(--bh-radius);
    margin-left: 0.75rem;
    padding: 0.6rem 1.25rem;
    font-weight: 600;
}

.bh-nav-list li a.bh-nav-cta:hover {
    background: linear-gradient(135deg, var(--bh-accent-hover), #ff1a1a);
    color: #ffffff;
    box-shadow: var(--bh-shadow-glow);
}

/* Sub-menu — glass dropdown */
.bh-nav-list li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    min-width: 220px;
    box-shadow: var(--bh-shadow-lg);
    border-radius: 0 0 var(--bh-radius) var(--bh-radius);
    border: 1px solid var(--bh-glass-border);
    border-top: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all var(--bh-transition);
    z-index: 100;
    padding: 0.5rem 0;
}

.bh-nav-list li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bh-nav-list li .sub-menu li a {
    color: var(--bh-text-light);
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
    text-transform: none;
}

.bh-nav-list li .sub-menu li a:hover {
    background: var(--bh-glass-bg-hover);
    color: var(--bh-accent);
}

/* Mobile Menu Toggle */
.bh-mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1001;
}

.bh-mobile-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: #ffffff;
    transition: all var(--bh-transition);
    border-radius: 2px;
}

.bh-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.bh-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.bh-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 992px) {
    .bh-mobile-toggle {
        display: flex;
    }

    .bh-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(12, 25, 41, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 2rem 2rem;
        transition: right var(--bh-transition);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        border-left: 1px solid var(--bh-glass-border);
    }

    .bh-nav.open {
        right: 0;
    }

    .bh-nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }

    .bh-nav-list li a {
        padding: 1rem 0;
        border-bottom: 1px solid var(--bh-border);
        width: 100%;
    }

    .bh-nav-list li a.bh-nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        text-align: center;
    }

    .bh-nav-list li .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
        border: none;
        padding-left: 1rem;
    }

    .bh-logo img {
        height: 92px;
    }

    .bh-header {
        --bh-header-height: 96px;
        min-height: 96px;
    }

    .bh-main {
        padding-top: 96px;
    }

    .bh-nav-list li .sub-menu li a {
        color: rgba(255, 255, 255, 0.7);
        border-bottom: 1px solid var(--bh-border);
    }
}

/* Mobile overlay */
.bh-mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
}

.bh-mobile-overlay.active {
    display: block;
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */

.bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--bh-radius);
    transition: all var(--bh-transition);
    text-transform: uppercase;
    letter-spacing: 0.025em;
    cursor: pointer;
    border: 2px solid transparent;
    line-height: 1.4;
}

.bh-btn-primary {
    background: linear-gradient(135deg, var(--bh-accent), #ff3333);
    color: #ffffff;
    border-color: transparent;
}

.bh-btn-primary:hover {
    background: linear-gradient(135deg, var(--bh-accent-hover), #ff1a1a);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(var(--bh-accent-rgb), 0.35);
}

.bh-btn-secondary {
    background-color: var(--bh-surface-elevated);
    color: var(--bh-text);
    border-color: var(--bh-border-light);
}

.bh-btn-secondary:hover {
    background-color: var(--bh-glass-bg-hover);
    color: #ffffff;
    transform: translateY(-2px);
}

.bh-btn-outline {
    background: var(--bh-glass-bg);
    color: var(--bh-text);
    border-color: var(--bh-glass-border);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bh-btn-outline:hover {
    background: var(--bh-accent);
    border-color: var(--bh-accent);
    color: #ffffff;
    transform: translateY(-2px);
}

.bh-btn-outline-white {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.bh-btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

.bh-btn-glass {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    color: var(--bh-text);
}

.bh-btn-glass:hover {
    background: var(--bh-glass-bg-hover);
    border-color: var(--bh-border-light);
    transform: translateY(-2px);
}

.bh-btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.bh-btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.bh-btn-full {
    width: 100%;
}

/* ==========================================================================
   8. Forms
   ========================================================================== */

.bh-form-group {
    margin-bottom: 1.25rem;
}

.bh-form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
    color: var(--bh-text-light);
}

.bh-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    font-size: 0.95rem;
    color: var(--bh-text);
    background: var(--bh-glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color var(--bh-transition), box-shadow var(--bh-transition);
    appearance: none;
    -webkit-appearance: none;
}

.bh-form-control:focus {
    outline: none;
    border-color: var(--bh-accent);
    box-shadow: 0 0 0 3px var(--bh-accent-glow);
}

.bh-form-control::placeholder {
    color: var(--bh-text-muted);
}

select.bh-form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b8b8b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

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

.bh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 576px) {
    .bh-form-row {
        grid-template-columns: 1fr;
    }
}

/* Checkbox / Radio */
.bh-checkbox,
.bh-radio {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: var(--bh-text-light);
}

.bh-checkbox input,
.bh-radio input {
    width: 18px;
    height: 18px;
    accent-color: var(--bh-accent);
    cursor: pointer;
}

/* Range slider */
.bh-range-slider {
    width: 100%;
    accent-color: var(--bh-accent);
    cursor: pointer;
}

/* ==========================================================================
   8b. Full-Page Background Image (below hero)
   ========================================================================== */

.bh-page-bg {
    position: relative;
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.bh-page-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(12, 25, 41, 0.88);
    pointer-events: none;
    z-index: 0;
}

.bh-page-bg > * {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   9. Hero Section — Full Viewport with Video
   ========================================================================== */

.bh-hero {
    position: relative;
    background: #050d18;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem;
    overflow: hidden;
}

/* Video background */
.bh-hero-video,
.bh-hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.55;
}

/* Dark gradient overlay */
.bh-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg,
        rgba(5, 13, 24, 0.5) 0%,
        rgba(5, 13, 24, 0.2) 40%,
        rgba(5, 13, 24, 0.4) 70%,
        rgba(12, 25, 41, 0.95) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Subtle red accent glow */
.bh-hero::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--bh-accent-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

.bh-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    width: 100%;
}

.bh-hero-title {
    font-family: var(--bh-font-heading);
    font-size: 4.5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 1.25rem;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.bh-hero-title .accent {
    background: linear-gradient(135deg, var(--bh-accent), #ff6666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bh-hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Search Bar — Glass */
.bh-hero-search {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-xl);
    padding: 1.25rem 1.5rem;
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.bh-hero-search .bh-search-field {
    flex: 1;
    min-width: 150px;
}

.bh-hero-search .bh-search-field label {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.3rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bh-hero-search .bh-search-field select,
.bh-hero-search .bh-search-field input {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 0.95rem;
}

.bh-hero-search .bh-search-field select option {
    background: var(--bh-surface);
    color: var(--bh-text);
}

.bh-hero-search .bh-search-field select:focus,
.bh-hero-search .bh-search-field input:focus {
    outline: none;
    border-color: var(--bh-accent);
    box-shadow: 0 0 0 3px var(--bh-accent-glow);
}

.bh-hero-search .bh-btn {
    flex-shrink: 0;
    padding: 0.7rem 2rem;
    height: auto;
}

/* Scroll indicator */
.bh-hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.5rem;
    animation: bh-bounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: color var(--bh-transition);
}

.bh-hero-scroll-indicator:hover {
    color: var(--bh-accent);
}

@keyframes bh-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@media (max-width: 768px) {
    .bh-hero {
        min-height: 90vh;
        padding: 5rem 1.5rem 4rem;
        background-image: url('assets/images/f350-crane-bg.webp');
        background-size: cover;
        background-position: center center;
    }

    .bh-hero-video {
        display: none;
    }

    .bh-hero-title {
        font-size: 2.5rem;
    }

    .bh-hero-subtitle {
        font-size: 1.05rem;
    }

    .bh-hero-search {
        flex-direction: column;
        border-radius: var(--bh-radius-lg);
    }

    .bh-hero-search .bh-search-field {
        min-width: 100%;
    }

    .bh-hero-search .bh-btn {
        width: auto;
        align-self: center;
        padding: 0.55rem 2.25rem;
    }
}

@media (max-width: 576px) {
    .bh-hero-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   10. Vehicle Cards — Glass Effect
   ========================================================================== */

.bh-vehicle-card {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    overflow: hidden;
    transition: transform var(--bh-transition), box-shadow var(--bh-transition), border-color var(--bh-transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.bh-vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--bh-shadow-hover);
    border-color: var(--bh-border-light);
}

.bh-vehicle-card-image {
    position: relative;
    width: 100%;
    padding-top: 66.67%;
    overflow: hidden;
    background: #162d50;
}

.bh-vehicle-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--bh-transition-slow);
}

.bh-vehicle-card:hover .bh-vehicle-card-image img {
    transform: scale(1.08);
}

/* Gradient overlay on hover */
.bh-vehicle-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    opacity: 0;
    transition: opacity var(--bh-transition);
    pointer-events: none;
    z-index: 1;
}

.bh-vehicle-card:hover .bh-vehicle-card-image::after {
    opacity: 1;
}

.bh-vehicle-card-image .bh-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    z-index: 2;
}

.bh-vehicle-card-image .bh-favorite-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--bh-transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.bh-vehicle-card-image .bh-favorite-btn:hover,
.bh-vehicle-card-image .bh-favorite-btn.active {
    background: var(--bh-accent);
    border-color: var(--bh-accent);
    color: #ffffff;
}

.bh-vehicle-card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bh-vehicle-card-title {
    font-family: var(--bh-font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.bh-vehicle-card-title a {
    color: var(--bh-text);
    text-decoration: none;
}

.bh-vehicle-card-title a:hover {
    color: var(--bh-accent);
}

.bh-vehicle-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--bh-text-muted);
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--bh-border);
}

.bh-vehicle-card-specs span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.bh-vehicle-card-specs .spec-icon {
    font-size: 0.9rem;
}

.bh-vehicle-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.5rem;
}

.bh-vehicle-card-price {
    font-family: var(--bh-font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--bh-accent);
}

.bh-vehicle-card-price .price-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--bh-text-muted);
    display: block;
}

.bh-vehicle-card .bh-btn-sm {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
    text-transform: none;
}

/* ==========================================================================
   11. Badges
   ========================================================================== */

.bh-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--bh-radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    white-space: nowrap;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bh-badge-featured {
    background: var(--bh-accent);
    color: #ffffff;
}

.bh-badge-new {
    background: rgba(22, 163, 74, 0.9);
    color: #ffffff;
}

.bh-badge-sold {
    background: rgba(107, 114, 128, 0.9);
    color: #ffffff;
}

.bh-badge-category {
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.bh-badge-consumer {
    background: rgba(37, 99, 235, 0.85);
    color: #ffffff;
}

.bh-badge-commercial {
    background: rgba(217, 119, 6, 0.85);
    color: #ffffff;
}

.bh-badge-oilfield {
    background: rgba(124, 58, 237, 0.85);
    color: #ffffff;
}

/* ==========================================================================
   12. Price Display
   ========================================================================== */

.bh-price {
    font-family: var(--bh-font-heading);
    font-weight: 800;
    color: var(--bh-accent);
}

.bh-price-lg {
    font-size: 2.25rem;
}

.bh-price-md {
    font-size: 1.5rem;
}

.bh-price-sm {
    font-size: 1.1rem;
}

.bh-price-was {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--bh-text-muted);
    text-decoration: line-through;
    margin-left: 0.5rem;
}

.bh-price-monthly {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--bh-text-muted);
    display: block;
}

/* ==========================================================================
   13. Category Tiles
   ========================================================================== */

.bh-category-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.bh-category-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    text-decoration: none;
    transition: all var(--bh-transition);
}

.bh-category-card:hover {
    transform: translateY(-6px);
    background: var(--bh-glass-bg-hover);
    border-color: var(--bh-border-light);
    box-shadow: var(--bh-shadow-lg);
}

.bh-category-card-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(var(--bh-accent-rgb), 0.08);
    border: 1px solid rgba(var(--bh-accent-rgb), 0.15);
    border-radius: 16px;
    color: var(--bh-accent);
}

.bh-category-card-icon svg {
    width: 32px;
    height: 32px;
}

.bh-category-card-text h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bh-category-card-text p {
    color: var(--bh-text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.bh-category-card-link {
    color: var(--bh-accent);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color var(--bh-transition);
}

.bh-category-card:hover .bh-category-card-link {
    color: #ffffff;
}

@media (max-width: 992px) {
    .bh-category-tiles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .bh-category-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* ==========================================================================
   14. CTA Section
   ========================================================================== */

.bh-cta-section {
    background: linear-gradient(135deg, var(--bh-ink) 0%, #1c0b09 50%, var(--bh-primary) 100%);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bh-cta-section.has-bg-image {
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 10rem 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bh-cta-section.has-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(12, 25, 41, 0.5) 0%,
        rgba(12, 25, 41, 0.6) 40%,
        rgba(12, 25, 41, 0.8) 100%
    );
    width: 100%;
    height: 100%;
    border-radius: 0;
    animation: none;
    top: 0;
    right: 0;
}

.bh-cta-section.has-bg-image::after {
    display: none;
}

.bh-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--bh-accent-rgb), 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: bh-float 8s ease-in-out infinite;
}

.bh-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--bh-accent-rgb), 0.06) 0%, transparent 70%);
    pointer-events: none;
    animation: bh-float 10s ease-in-out infinite reverse;
}

.bh-cta-section .bh-cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.bh-cta-section h2 {
    color: #ffffff;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.bh-cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

/* When two full-width CTA bands stack (e.g. Financing directly above Referral
   on the homepage), the identical gradients blur into one block with an
   accidental-looking seam. Give the second band a clear divider, mirror its
   gradient so the transition reads as intentional, and add breathing room. */
/* When two full-width CTA bands stack (Financing directly above Referral on the
   homepage), two near-identical dark gradients blur into one block. Make the
   second band a distinctly LIGHTER navy so the eye reads dark → light as two
   separate sections, add a real gap above it (the page background shows through
   the margin), and a crisp accent divider. */
.bh-cta-section + .bh-cta-section {
    margin-top: 3rem;
    background: linear-gradient(135deg, #17263f 0%, #1f3556 55%, #243d63 100%);
    border-top: 3px solid var(--bh-accent);
    box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.8);
}
/* Move the floating accent glow to the opposite corner so the two bands
   aren't mirror images of each other. */
.bh-cta-section + .bh-cta-section::before {
    right: auto;
    left: -10%;
}
.bh-cta-section + .bh-cta-section::after {
    left: auto;
    right: -5%;
}

/* ==========================================================================
   15. Stats Section
   ========================================================================== */

.bh-stats {
    background: var(--bh-surface);
    padding: 3.5rem 0;
    border-top: 1px solid var(--bh-border);
    border-bottom: 1px solid var(--bh-border);
}

.bh-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.bh-stat-item {
    padding: 2rem 1.5rem;
    background: var(--bh-glass-bg);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    transition: border-color var(--bh-transition);
}

.bh-stat-item:hover {
    border-color: var(--bh-border-light);
}

.bh-stat-number {
    font-family: var(--bh-font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--bh-accent);
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 40px var(--bh-accent-glow);
}

.bh-stat-label {
    font-size: 1rem;
    color: var(--bh-text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .bh-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bh-stat-number {
        font-size: 2.75rem;
    }
}

/* ==========================================================================
   16. Carousel / Slider
   ========================================================================== */

.bh-carousel-section {
    overflow: hidden;
}

.bh-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.bh-carousel-header h2 {
    margin-bottom: 0;
}

.bh-carousel-nav {
    display: flex;
    gap: 0.75rem;
}

.bh-carousel-nav button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bh-glass-bg);
    border: 1px solid var(--bh-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--bh-transition);
    cursor: pointer;
    color: var(--bh-text);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bh-carousel-nav button:hover {
    background: var(--bh-accent);
    border-color: var(--bh-accent);
    color: #ffffff;
}

.bh-vehicle-carousel {
    overflow: visible;
}

.bh-vehicle-carousel .swiper-slide {
    width: 320px;
    height: auto;
}

.bh-vehicle-carousel .bh-vehicle-card {
    height: 100%;
}

/* ==========================================================================
   17. Newsletter Section
   ========================================================================== */

.bh-newsletter {
    background: var(--bh-surface);
    padding: 3.5rem 0;
    text-align: center;
    border-top: 1px solid var(--bh-border);
}

.bh-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 500px;
    margin: 0 auto;
}

.bh-newsletter-form input {
    flex: 1;
    padding: 0.85rem 1.25rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    font-size: 0.95rem;
    background: var(--bh-glass-bg);
    color: var(--bh-text);
}

.bh-newsletter-form input::placeholder {
    color: var(--bh-text-muted);
}

.bh-newsletter-form input:focus {
    outline: none;
    border-color: var(--bh-accent);
    box-shadow: 0 0 0 3px var(--bh-accent-glow);
}

/* Vehicle-alert form: email + preference selects wrap on narrow screens */
.bh-alert-form {
    flex-wrap: wrap;
    max-width: 760px;
}

.bh-alert-form select {
    flex: 1 1 160px;
    padding: 0.85rem 1rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    font-size: 0.95rem;
    background: var(--bh-glass-bg);
    color: var(--bh-text);
    cursor: pointer;
}

.bh-alert-form select:focus {
    outline: none;
    border-color: var(--bh-accent);
    box-shadow: 0 0 0 3px var(--bh-accent-glow);
}

/* Honeypot — visually hidden, off-screen */
.bh-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.bh-newsletter-msg {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.bh-newsletter-msg.success {
    color: #4ade80;
}

.bh-newsletter-msg.error {
    color: var(--bh-accent);
}

@media (max-width: 576px) {
    .bh-newsletter-form {
        flex-direction: column;
    }
    /* In the stacked layout, keep selects/inputs at natural height — without
       this the flex-grow:1 on the selects stretches them to fill the column. */
    .bh-alert-form select,
    .bh-newsletter-form input,
    .bh-newsletter-form button {
        flex: 0 0 auto;
        width: 100%;
    }
}

/* ==========================================================================
   18. Footer
   ========================================================================== */

.bh-footer {
    background: var(--bh-footer-bg);
    color: rgba(255, 255, 255, 0.85);
    padding-top: 4rem;
    border-top: 1px solid var(--bh-border);
}

.bh-footer a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--bh-transition);
}

.bh-footer a:hover {
    color: var(--bh-accent);
}

.bh-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--bh-border);
}

.bh-footer-about .bh-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #ffffff;
    font-family: var(--bh-font-heading);
    font-weight: 800;
    font-size: 1.25rem;
}

.bh-footer-about .bh-footer-logo .logo-accent {
    color: var(--bh-accent);
}

.bh-footer-about p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.bh-footer-contact-list {
    list-style: none;
    padding: 0;
}

.bh-footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.bh-footer-contact-list li .icon {
    font-size: 1rem;
    width: 20px;
    text-align: center;
    color: var(--bh-accent);
}

.bh-footer-widget-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.bh-footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--bh-accent);
    border-radius: 2px;
}

.bh-footer-links {
    list-style: none;
    padding: 0;
}

.bh-footer-links li {
    margin-bottom: 0.6rem;
}

.bh-footer-links li a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color var(--bh-transition), padding-left var(--bh-transition);
}

.bh-footer-links li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* Footer newsletter */
.bh-footer-newsletter p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.bh-footer-newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.bh-footer-newsletter-form input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    background: var(--bh-glass-bg);
    color: #ffffff;
    font-size: 0.9rem;
}

.bh-footer-newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.bh-footer-newsletter-form input:focus {
    outline: none;
    border-color: var(--bh-accent);
}

.bh-footer-newsletter-form button {
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, var(--bh-accent), #ff3333);
    color: #ffffff;
    border: none;
    border-radius: var(--bh-radius);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--bh-transition);
}

.bh-footer-newsletter-form button:hover {
    box-shadow: 0 4px 16px rgba(var(--bh-accent-rgb), 0.3);
}

/* Footer bottom bar */
.bh-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    margin-top: 0;
}

.bh-footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
    margin: 0;
}

.bh-footer-social {
    display: flex;
    gap: 0.75rem;
}

.bh-footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bh-glass-bg);
    border: 1px solid var(--bh-glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--bh-transition);
}

.bh-footer-social a:hover {
    background: var(--bh-accent);
    border-color: var(--bh-accent);
    color: #ffffff;
    box-shadow: 0 0 15px var(--bh-accent-glow);
}

/* Back to top */
.bh-back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    padding: 0.5rem 0;
    transition: color var(--bh-transition);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.bh-back-to-top:hover {
    color: var(--bh-accent);
}

/* Floating scroll-to-top button (stacked above the floating contact button) */
.bh-scroll-top {
    position: fixed;
    right: 2rem;
    bottom: 6.5rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--bh-glass-border);
    background: var(--bh-surface-elevated);
    color: var(--bh-text);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--bh-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--bh-transition), transform var(--bh-transition), visibility var(--bh-transition), background var(--bh-transition);
    z-index: 998;
}

.bh-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bh-scroll-top:hover {
    background: var(--bh-accent);
    border-color: var(--bh-accent);
    color: #ffffff;
}

@media (max-width: 576px) {
    .bh-scroll-top {
        right: 1rem;
        bottom: 5.5rem;
        width: 44px;
        height: 44px;
    }
}

/* AJAX inventory pagination */
.bh-inv-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.bh-inv-page-info {
    color: var(--bh-text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
}

.bh-inv-pagination .bh-btn[disabled] {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 992px) {
    .bh-footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .bh-footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .bh-footer-newsletter-form {
        flex-direction: column;
    }
}

/* ==========================================================================
   19. Inventory Page
   ========================================================================== */

.bh-inventory-header {
    background: linear-gradient(135deg, #0c1929 0%, #162d50 100%);
    padding: 3rem 0;
    text-align: center;
}

.bh-inventory-header h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.bh-inventory-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
}

/* Filter bar */
.bh-filter-bar {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
}

.bh-filter-pills {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.bh-filter-pill {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--bh-transition);
    border: 1px solid var(--bh-glass-border);
    background: var(--bh-glass-bg);
    color: var(--bh-text-light);
}

.bh-filter-pill:hover,
.bh-filter-pill.active {
    background: var(--bh-accent);
    border-color: var(--bh-accent);
    color: #ffffff;
}

.bh-filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    align-items: flex-end;
}

.bh-filter-row .bh-form-group {
    margin-bottom: 0;
}

.bh-filter-row .bh-form-group label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bh-text-muted);
}

.bh-filter-row select,
.bh-filter-row input {
    padding: 0.6rem 0.85rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    font-size: 0.9rem;
    width: 100%;
    background: var(--bh-glass-bg);
    color: var(--bh-text);
}

.bh-filter-row select option {
    background: var(--bh-surface);
    color: var(--bh-text);
}

.bh-filter-row select:focus,
.bh-filter-row input:focus {
    outline: none;
    border-color: var(--bh-accent);
}

.bh-filter-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.bh-results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0.75rem 0;
}

.bh-results-count {
    font-size: 0.95rem;
    color: var(--bh-text-muted);
}

.bh-results-count strong {
    color: var(--bh-text);
}

.bh-sort-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    font-size: 0.9rem;
    background: var(--bh-glass-bg);
    color: var(--bh-text);
    cursor: pointer;
}

/* Native dropdown options render with the OS popup background; the glass
   background is near-transparent, so force a solid dark bg + light text
   so the option labels are readable when a select is open. */
.bh-form-control option,
.bh-sort-select option,
.bh-search-field select option,
.bh-alert-form select option {
    background-color: #112240; /* --bh-surface */
    color: #f5f5f5;            /* --bh-text */
}

/* Filter sidebar */
.bh-filter-sidebar {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 1.5rem;
}

.bh-filter-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bh-filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--bh-border);
}

.bh-filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.bh-filter-group-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--bh-text-light);
}

.bh-filter-group-title .toggle-icon {
    transition: transform var(--bh-transition);
}

.bh-filter-group.collapsed .toggle-icon {
    transform: rotate(-90deg);
}

.bh-filter-group.collapsed .bh-filter-group-content {
    display: none;
}

.bh-range-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.bh-range-inputs input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-sm);
    font-size: 0.85rem;
    text-align: center;
    background: var(--bh-glass-bg);
    color: var(--bh-text);
}

.bh-range-inputs span {
    color: var(--bh-text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .bh-filter-bar {
        margin-top: -1rem;
    }

    .bh-filter-row {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   20. Vehicle Detail Page
   ========================================================================== */

.bh-vehicle-detail {
    padding-bottom: 4rem;
}

/* Gallery */
.bh-vehicle-gallery {
    background: #0a1525;
    padding: 0;
    margin-bottom: 2rem;
}

.bh-vehicle-gallery .swiper {
    max-height: 550px;
}

.bh-vehicle-gallery .swiper-slide img {
    width: 100%;
    height: 550px;
    object-fit: contain;
    background: #0a1525;
}

.bh-gallery-thumbs {
    padding: 0.75rem;
    background: var(--bh-surface);
}

.bh-gallery-thumbs .swiper-slide {
    width: 100px;
    height: 70px;
    border-radius: var(--bh-radius-sm);
    overflow: hidden;
    opacity: 0.4;
    cursor: pointer;
    transition: opacity var(--bh-transition);
    border: 2px solid transparent;
}

.bh-gallery-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--bh-accent);
}

.bh-gallery-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detail layout */
.bh-vehicle-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 992px) {
    .bh-vehicle-detail-layout {
        grid-template-columns: 1fr;
    }
}

/* Detail main */
.bh-vehicle-detail-main {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 2rem;
}

.bh-vehicle-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.bh-vehicle-detail-header h1 {
    font-size: 1.85rem;
    margin-bottom: 0.25rem;
}

.bh-vehicle-detail-header .bh-detail-badges {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.bh-vehicle-detail-header .bh-detail-price {
    text-align: right;
}

.bh-vehicle-vin {
    font-size: 0.85rem;
    color: var(--bh-text-muted);
    margin-bottom: 0.5rem;
}

.bh-vehicle-vin strong {
    color: var(--bh-text-light);
}

/* Specs table */
.bh-specs-section {
    margin-bottom: 2rem;
}

.bh-specs-section h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bh-accent);
    display: inline-block;
}

.bh-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.bh-specs-table tr {
    border-bottom: 1px solid var(--bh-border);
}

.bh-specs-table tr:last-child {
    border-bottom: none;
}

.bh-specs-table td {
    padding: 0.75rem 0;
    font-size: 0.95rem;
}

.bh-specs-table td:first-child {
    font-weight: 600;
    color: var(--bh-text-light);
    width: 40%;
}

.bh-specs-table td:last-child {
    color: var(--bh-text-muted);
}

/* Features list */
.bh-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    list-style: none;
    padding: 0;
}

.bh-features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    color: var(--bh-text-light);
}

.bh-features-list li::before {
    content: "\2713";
    color: var(--bh-accent);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

@media (max-width: 576px) {
    .bh-features-list {
        grid-template-columns: 1fr;
    }
}

/* Description */
.bh-vehicle-description {
    margin-bottom: 2rem;
}

.bh-vehicle-description h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--bh-accent);
    display: inline-block;
}

.bh-vehicle-description p {
    line-height: 1.8;
}

/* Detail sidebar */
.bh-vehicle-detail-sidebar {
    position: sticky;
    top: calc(var(--bh-header-height) + 1.5rem);
}

.bh-detail-sidebar-card {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.bh-detail-sidebar-card h3 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

/* Share buttons */
.bh-share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.bh-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bh-glass-bg);
    border: 1px solid var(--bh-glass-border);
    color: var(--bh-text-muted);
    font-size: 1rem;
    transition: all var(--bh-transition);
    cursor: pointer;
}

.bh-share-btn:hover {
    background: var(--bh-accent);
    border-color: var(--bh-accent);
    color: #ffffff;
}

/* Similar vehicles */
.bh-similar-vehicles {
    margin-top: 3rem;
}

.bh-similar-vehicles h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   21. Financing Calculator
   ========================================================================== */

.bh-calculator {
    background: var(--bh-glass-bg);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    padding: 1.5rem;
}

.bh-calculator .bh-form-group {
    margin-bottom: 1rem;
}

.bh-calculator .bh-form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bh-text-muted);
}

.bh-calculator-result {
    background: var(--bh-primary-mid);
    border: 1px solid var(--bh-glass-border);
    color: #ffffff;
    border-radius: var(--bh-radius);
    padding: 1.25rem;
    text-align: center;
    margin-top: 1rem;
}

.bh-calculator-result .monthly-payment {
    font-family: var(--bh-font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--bh-accent);
    text-shadow: 0 0 20px var(--bh-accent-glow);
}

.bh-calculator-result .payment-label {
    font-size: 0.85rem;
    color: var(--bh-text-muted);
}

/* ==========================================================================
   22. Inquiry Form
   ========================================================================== */

.bh-inquiry-form {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 1.75rem;
}

.bh-inquiry-form h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.bh-inquiry-form p {
    font-size: 0.9rem;
    color: var(--bh-text-muted);
    margin-bottom: 1.25rem;
}

.bh-form-message {
    padding: 0.75rem 1rem;
    border-radius: var(--bh-radius);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: none;
}

.bh-form-message.success {
    background: rgba(22, 163, 74, 0.15);
    border: 1px solid rgba(22, 163, 74, 0.3);
    color: #4ade80;
    display: block;
}

.bh-form-message.error {
    background: rgba(var(--bh-accent-rgb), 0.1);
    border: 1px solid rgba(var(--bh-accent-rgb), 0.3);
    color: #ff6b6b;
    display: block;
}

/* ==========================================================================
   23. Sell Your Vehicle Page
   ========================================================================== */

.bh-sell-hero {
    background: linear-gradient(135deg, #0c1929 0%, #162d50 100%);
    padding: 4rem 0;
    text-align: center;
}

.bh-sell-hero h1 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.bh-sell-hero p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bh-sell-content {
    max-width: 800px;
    margin: -2rem auto 4rem;
    position: relative;
    z-index: 10;
}

/* Multi-step form */
.bh-multistep-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    padding: 0 1rem;
}

.bh-multistep-progress::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: var(--bh-border);
    z-index: 0;
}

.bh-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.bh-step-indicator .step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bh-surface-elevated);
    border: 1px solid var(--bh-glass-border);
    color: var(--bh-text-muted);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--bh-transition);
}

.bh-step-indicator .step-label {
    font-size: 0.8rem;
    color: var(--bh-text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.bh-step-indicator.active .step-number {
    background: var(--bh-accent);
    border-color: var(--bh-accent);
    color: #ffffff;
    box-shadow: 0 0 15px var(--bh-accent-glow);
}

.bh-step-indicator.active .step-label {
    color: var(--bh-text);
    font-weight: 600;
}

.bh-step-indicator.completed .step-number {
    background: #16a34a;
    border-color: #16a34a;
    color: #ffffff;
}

.bh-step-content {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 2rem;
}

.bh-step-panel {
    display: none;
}

.bh-step-panel.active {
    display: block;
}

.bh-step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bh-border);
}

@media (max-width: 576px) {
    .bh-step-indicator .step-label {
        display: none;
    }

    .bh-multistep-progress {
        padding: 0;
    }
}

/* ==========================================================================
   24. Customer Account
   ========================================================================== */

.bh-account-header {
    background: linear-gradient(135deg, #0c1929 0%, #162d50 100%);
    padding: 3rem 0;
}

.bh-account-header h1 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 0;
}

.bh-account-layout {
    max-width: 1100px;
    margin: -1.5rem auto 4rem;
    position: relative;
    z-index: 10;
}

.bh-account-tabs {
    display: flex;
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg) var(--bh-radius-lg) 0 0;
    overflow-x: auto;
    border-bottom: 1px solid var(--bh-border);
}

.bh-account-tab {
    padding: 1rem 1.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bh-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--bh-transition);
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
}

.bh-account-tab:hover {
    color: var(--bh-text);
}

.bh-account-tab.active {
    color: var(--bh-accent);
    border-bottom-color: var(--bh-accent);
}

.bh-account-content {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-top: none;
    border-radius: 0 0 var(--bh-radius-lg) var(--bh-radius-lg);
    padding: 2rem;
}

.bh-account-panel {
    display: none;
}

.bh-account-panel.active {
    display: block;
}

/* ==========================================================================
   25. Pagination
   ========================================================================== */

.bh-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    padding: 2rem 0;
}

.bh-pagination a,
.bh-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.5rem;
    border-radius: var(--bh-radius);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--bh-transition);
    text-decoration: none;
}

.bh-pagination a {
    background: var(--bh-glass-bg);
    color: var(--bh-text);
    border: 1px solid var(--bh-glass-border);
}

.bh-pagination a:hover {
    background: var(--bh-accent);
    border-color: var(--bh-accent);
    color: #ffffff;
}

.bh-pagination span.current {
    background: var(--bh-accent);
    color: #ffffff;
    border: 1px solid var(--bh-accent);
}

.bh-pagination .dots {
    background: transparent;
    border: none;
    color: var(--bh-text-muted);
}

/* ==========================================================================
   26. Page Templates (Blog, Search, 404)
   ========================================================================== */

/* Page header */
.bh-page-header {
    background: linear-gradient(135deg, #0c1929 0%, #162d50 100%);
    padding: 3rem 0;
    text-align: center;
}

.bh-page-header h1 {
    color: #ffffff;
    font-size: 2.25rem;
    margin-bottom: 0.25rem;
}

.bh-page-header p {
    color: rgba(255, 255, 255, 0.7);
}

/* Content area */
.bh-content-area {
    padding: 3rem 0;
}

.bh-content-wrap {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 2rem;
}

.bh-content-wrap h1,
.bh-content-wrap h2,
.bh-content-wrap h3,
.bh-content-wrap h4 {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.bh-content-wrap h1:first-child,
.bh-content-wrap h2:first-child,
.bh-content-wrap h3:first-child {
    margin-top: 0;
}

.bh-content-wrap p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.bh-content-wrap ul,
.bh-content-wrap ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
    list-style: disc;
}

.bh-content-wrap ol {
    list-style: decimal;
}

.bh-content-wrap li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
    color: var(--bh-text-light);
}

.bh-content-wrap img {
    border-radius: var(--bh-radius);
    margin: 1.5rem 0;
}

.bh-content-wrap blockquote {
    border-left: 4px solid var(--bh-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--bh-glass-bg);
    border-radius: 0 var(--bh-radius) var(--bh-radius) 0;
}

.bh-content-wrap blockquote p {
    margin-bottom: 0;
    font-style: italic;
}

.bh-content-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.bh-content-wrap table th,
.bh-content-wrap table td {
    padding: 0.75rem;
    border: 1px solid var(--bh-border);
    text-align: left;
}

.bh-content-wrap table th {
    background: var(--bh-glass-bg);
    font-weight: 600;
    color: var(--bh-text);
}

/* Blog post card */
.bh-post-card {
    background: var(--bh-glass-bg);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    overflow: hidden;
    transition: transform var(--bh-transition), box-shadow var(--bh-transition);
}

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

.bh-post-card-image {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    overflow: hidden;
    background: var(--bh-primary-mid);
}

.bh-post-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bh-post-card-body {
    padding: 1.5rem;
}

.bh-post-card-meta {
    font-size: 0.85rem;
    color: var(--bh-text-muted);
    margin-bottom: 0.5rem;
}

.bh-post-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.bh-post-card-title a {
    color: var(--bh-text);
}

.bh-post-card-title a:hover {
    color: var(--bh-accent);
}

.bh-post-card-excerpt {
    font-size: 0.95rem;
    color: var(--bh-text-muted);
    margin-bottom: 1rem;
}

/* Single post */
.bh-single-post {
    max-width: 800px;
    margin: 0 auto;
}

.bh-single-post .bh-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bh-border);
    font-size: 0.9rem;
    color: var(--bh-text-muted);
}

.bh-single-post .bh-post-featured-image {
    border-radius: var(--bh-radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.bh-single-post .bh-post-featured-image img {
    width: 100%;
    height: auto;
}

/* Post navigation */
.bh-post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bh-border);
}

.bh-post-navigation a {
    color: var(--bh-text);
    font-weight: 600;
    font-size: 0.95rem;
}

.bh-post-navigation a:hover {
    color: var(--bh-accent);
}

/* 404 page */
.bh-404 {
    text-align: center;
    padding: 5rem 0;
}

.bh-404-code {
    font-family: var(--bh-font-heading);
    font-size: 8rem;
    font-weight: 900;
    color: var(--bh-accent);
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 0 60px var(--bh-accent-glow);
}

.bh-404 h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.bh-404 p {
    font-size: 1.1rem;
    color: var(--bh-text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.bh-404-search {
    max-width: 500px;
    margin: 0 auto 2rem;
    display: flex;
    gap: 0.5rem;
}

.bh-404-search input {
    flex: 1;
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    font-size: 1rem;
    background: var(--bh-glass-bg);
    color: var(--bh-text);
}

.bh-404-search input:focus {
    outline: none;
    border-color: var(--bh-accent);
}

/* Search results */
.bh-search-result {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--bh-border);
}

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

.bh-search-result h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.bh-search-result h3 a {
    color: var(--bh-text);
}

.bh-search-result h3 a:hover {
    color: var(--bh-accent);
}

.bh-search-result .search-meta {
    font-size: 0.85rem;
    color: var(--bh-text-muted);
    margin-bottom: 0.5rem;
}

.bh-search-result .search-excerpt {
    font-size: 0.95rem;
    color: var(--bh-text-light);
}

/* ==========================================================================
   27. Loading & Skeleton States
   ========================================================================== */

.bh-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.bh-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--bh-border);
    border-top-color: var(--bh-accent);
    border-radius: 50%;
    animation: bh-spin 0.8s linear infinite;
}

@keyframes bh-spin {
    to { transform: rotate(360deg); }
}

.bh-skeleton {
    background: linear-gradient(90deg, var(--bh-primary-mid) 25%, var(--bh-surface-elevated) 50%, var(--bh-primary-mid) 75%);
    background-size: 200% 100%;
    animation: bh-shimmer 1.5s infinite;
    border-radius: var(--bh-radius);
}

@keyframes bh-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.bh-skeleton-card {
    height: 380px;
    border-radius: var(--bh-radius-lg);
}

.bh-skeleton-text {
    height: 16px;
    margin-bottom: 0.5rem;
}

.bh-skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 0.75rem;
}

/* ==========================================================================
   28. Utility Classes
   ========================================================================== */

.bh-text-center { text-align: center; }
.bh-text-left { text-align: left; }
.bh-text-right { text-align: right; }
.bh-text-accent { color: var(--bh-accent); }
.bh-text-white { color: #ffffff; }
.bh-text-muted { color: var(--bh-text-muted); }

.bh-mt-0 { margin-top: 0; }
.bh-mt-1 { margin-top: 0.5rem; }
.bh-mt-2 { margin-top: 1rem; }
.bh-mt-3 { margin-top: 1.5rem; }
.bh-mt-4 { margin-top: 2rem; }
.bh-mb-0 { margin-bottom: 0; }
.bh-mb-1 { margin-bottom: 0.5rem; }
.bh-mb-2 { margin-bottom: 1rem; }
.bh-mb-3 { margin-bottom: 1.5rem; }
.bh-mb-4 { margin-bottom: 2rem; }

.bh-p-0 { padding: 0; }
.bh-p-1 { padding: 0.5rem; }
.bh-p-2 { padding: 1rem; }
.bh-p-3 { padding: 1.5rem; }
.bh-p-4 { padding: 2rem; }

.bh-d-none { display: none; }
.bh-d-block { display: block; }
.bh-d-flex { display: flex; }
.bh-d-grid { display: grid; }

.bh-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bh-gap-1 { gap: 0.5rem; }
.bh-gap-2 { gap: 1rem; }
.bh-gap-3 { gap: 1.5rem; }

.bh-bg-white { background-color: var(--bh-surface); }
.bh-bg-light { background-color: var(--bh-surface-elevated); }
.bh-bg-dark { background-color: var(--bh-primary); }

.bh-rounded { border-radius: var(--bh-radius); }
.bh-rounded-lg { border-radius: var(--bh-radius-lg); }
.bh-shadow { box-shadow: var(--bh-shadow); }

.bh-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Responsive visibility */
@media (max-width: 768px) {
    .bh-hide-mobile { display: none !important; }
}

@media (min-width: 769px) {
    .bh-hide-desktop { display: none !important; }
}

/* ==========================================================================
   29. WordPress Default Styles
   ========================================================================== */

.wp-block-image {
    margin: 1.5rem 0;
}

.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--bh-text-muted);
    text-align: center;
    padding-top: 0.5rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--bh-radius-sm);
}

.gallery-item img {
    width: 100%;
    height: auto;
}

/* ==========================================================================
   30. Scroll Reveal Animations
   ========================================================================== */

.bh-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.bh-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.bh-reveal-left.visible,
.bh-reveal-right.visible,
.bh-reveal-scale.visible {
    opacity: 1;
    transform: none;
}

/* Stagger delays for grid children */
.bh-stagger > *:nth-child(1) { transition-delay: 0s; }
.bh-stagger > *:nth-child(2) { transition-delay: 0.1s; }
.bh-stagger > *:nth-child(3) { transition-delay: 0.15s; }
.bh-stagger > *:nth-child(4) { transition-delay: 0.2s; }
.bh-stagger > *:nth-child(5) { transition-delay: 0.25s; }
.bh-stagger > *:nth-child(6) { transition-delay: 0.3s; }
.bh-stagger > *:nth-child(7) { transition-delay: 0.35s; }
.bh-stagger > *:nth-child(8) { transition-delay: 0.4s; }

/* ==========================================================================
   31. Custom Keyframe Animations
   ========================================================================== */

@keyframes bh-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.bh-float {
    animation: bh-float 4s ease-in-out infinite;
}

@keyframes bh-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes bh-pulse-glow {
    0%, 100% { box-shadow: 0 0 5px var(--bh-accent-glow); }
    50% { box-shadow: 0 0 25px var(--bh-accent-glow); }
}

/* ==========================================================================
   32. Feature Strip (Homepage)
   ========================================================================== */

.bh-feature-strip {
    padding: 3rem 0;
    position: relative;
}

.bh-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.bh-feature-card {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all var(--bh-transition);
    text-decoration: none;
    display: block;
}

.bh-feature-card:hover {
    background: var(--bh-glass-bg-hover);
    transform: translateY(-6px);
    border-color: var(--bh-border-light);
    box-shadow: var(--bh-shadow-lg);
}

.bh-feature-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: rgba(var(--bh-accent-rgb), 0.1);
    border: 1px solid rgba(var(--bh-accent-rgb), 0.2);
    border-radius: 14px;
    color: var(--bh-accent);
}

.bh-feature-card-icon svg {
    width: 28px;
    height: 28px;
}

.bh-feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--bh-text);
}

.bh-feature-card p {
    font-size: 0.9rem;
    color: var(--bh-text-muted);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .bh-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .bh-feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   33. AI Section (Homepage)
   ========================================================================== */

.bh-ai-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bh-primary) 0%, var(--bh-primary-light) 50%, var(--bh-primary) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--bh-border);
    border-bottom: 1px solid var(--bh-border);
}

/* Decorative gradient orbs */
.bh-ai-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--bh-accent-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.bh-ai-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--bh-accent-rgb), 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.bh-ai-section .bh-section-title,
.bh-ai-section .bh-section-subtitle {
    position: relative;
    z-index: 1;
}

.bh-ai-section .bh-section-title .accent {
    background: linear-gradient(135deg, var(--bh-accent), #ff6666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bh-ai-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.bh-ai-feature {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all var(--bh-transition);
}

.bh-ai-feature:hover {
    border-color: var(--bh-border-light);
    transform: translateY(-4px);
}

.bh-ai-feature-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
}

.bh-ai-feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.bh-ai-feature p {
    color: var(--bh-text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .bh-ai-features {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   34. Testimonials Section (Homepage)
   ========================================================================== */

.bh-testimonials {
    padding: 6rem 0;
}

.bh-testimonial-card {
    background: var(--bh-glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 2rem;
    height: 100%;
}

.bh-testimonial-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.bh-testimonial-text {
    font-size: 1rem;
    color: var(--bh-text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.bh-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bh-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bh-accent), #ff6666);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.bh-testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--bh-text);
}

.bh-testimonial-role {
    font-size: 0.8rem;
    color: var(--bh-text-muted);
}

/* Swiper pagination for testimonials */
.bh-testimonial-pagination {
    text-align: center;
    margin-top: 2rem;
}

.bh-testimonial-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--bh-glass-border);
    opacity: 1;
    margin: 0 4px;
}

.bh-testimonial-pagination .swiper-pagination-bullet-active {
    background: var(--bh-accent);
}

/* ==========================================================================
   35. Floating Contact Button
   ========================================================================== */

.bh-floating-contact {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 998;
}

.bh-floating-contact-toggle {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bh-accent), #ff3333);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 20px rgba(var(--bh-accent-rgb), 0.35);
    transition: all var(--bh-transition);
}
/* Ensure the SVG chat-bot icon scales correctly inside the button */
.bh-floating-contact-toggle svg {
    display: block;
    flex-shrink: 0;
}

.bh-floating-contact-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(var(--bh-accent-rgb), 0.5);
}

.bh-floating-contact-form {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 320px;
    background: var(--bh-surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--bh-shadow-lg);
    display: none;
}

.bh-floating-contact-form.open {
    display: block;
    animation: bh-slide-up 0.3s ease;
}

@keyframes bh-slide-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bh-floating-contact-form h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.bh-floating-contact-form > p {
    font-size: 0.85rem;
    color: var(--bh-text-muted);
    margin-bottom: 1rem;
}

/* ==========================================================================
   36. Plugin CSS Overrides (Dark Theme)
   ========================================================================== */

/* Override plugin CSS custom properties for dark theme */
.bh-dark-theme .whdr-dealership-wrap,
.bh-dark-theme .whdr-dealership-inventory,
.bh-dark-theme .whdr-sell-form-wrap,
.bh-dark-theme .whdr-account-wrap,
.bh-dark-theme .whdr-vehicle-detail {
    --whdr-primary: var(--bh-text);
    --whdr-bg: transparent;
    --whdr-surface: var(--bh-surface);
    --whdr-text: var(--bh-text);
    --whdr-text-secondary: var(--bh-text-light);
    --whdr-text-light: var(--bh-text-muted);
    --whdr-border: var(--bh-glass-border);
    --whdr-border-light: var(--bh-border);
    --whdr-shadow: var(--bh-shadow);
    --whdr-shadow-hover: var(--bh-shadow-hover);
    color: var(--bh-text);
}

/* --- Inventory Filter Form --- */
.whdr-dealership-filters,
.whdr-dealership-filter-form {
    background: var(--bh-glass-bg) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius-lg) !important;
    padding: 1.5rem 2rem !important;
    margin-bottom: 2rem !important;
}

.whdr-dealership-filter-row {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    align-items: flex-end !important;
}

.whdr-dealership-filter-field {
    flex: 1 1 180px !important;
    min-width: 150px !important;
}

.whdr-dealership-filter-field label {
    display: block !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: var(--bh-text-muted) !important;
    margin-bottom: 0.4rem !important;
}

.whdr-dealership-filter-field input,
.whdr-dealership-filter-field select,
.whdr-dealership-filter-form input,
.whdr-dealership-filter-form select {
    width: 100% !important;
    padding: 0.65rem 1rem !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: var(--bh-radius) !important;
    color: var(--bh-text) !important;
    font-size: 0.9rem !important;
    font-family: var(--bh-font-body) !important;
    transition: all var(--bh-transition) !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.whdr-dealership-filter-field select,
.whdr-dealership-filter-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238892b0' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 2rem !important;
}

.whdr-dealership-filter-field input:focus,
.whdr-dealership-filter-field select:focus,
.whdr-dealership-filter-form input:focus,
.whdr-dealership-filter-form select:focus {
    outline: none !important;
    border-color: var(--bh-accent) !important;
    box-shadow: 0 0 0 2px rgba(var(--bh-accent-rgb), 0.15) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.whdr-dealership-filter-field input::placeholder {
    color: var(--bh-text-muted) !important;
}

/* Select option styling (for browsers that support it) */
.whdr-dealership-filter-field select option,
.whdr-dealership-filter-form select option {
    background: var(--bh-surface) !important;
    color: var(--bh-text) !important;
}

/* Filter buttons */
.whdr-dealership-filter-field--actions {
    display: flex !important;
    gap: 0.5rem !important;
    align-items: flex-end !important;
}

.whdr-dealership-btn,
.whdr-dealership-btn--primary {
    padding: 0.65rem 1.5rem !important;
    border-radius: var(--bh-radius) !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    cursor: pointer !important;
    transition: all var(--bh-transition) !important;
    border: none !important;
}

.whdr-dealership-btn--primary {
    background: linear-gradient(135deg, #ff0000, #ff3333) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(var(--bh-accent-rgb), 0.3) !important;
}

.whdr-dealership-btn--primary:hover {
    background: linear-gradient(135deg, #e60000, #ff1a1a) !important;
    box-shadow: 0 4px 16px rgba(var(--bh-accent-rgb), 0.4) !important;
    transform: translateY(-1px) !important;
}

.whdr-dealership-btn--secondary {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--bh-text-light) !important;
}

.whdr-dealership-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--bh-text) !important;
}

/* --- Results Info --- */
.whdr-dealership-results-info,
.whdr-dealership-results-count {
    color: var(--bh-text-muted) !important;
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
}

.whdr-dealership-results-count strong {
    color: var(--bh-text) !important;
}

/* --- Vehicle Cards (Dealership Shortcode) --- */
.whdr-dealership-grid {
    display: grid !important;
    gap: 1.5rem !important;
}

.whdr-dealership-card {
    display: block !important;
    background: var(--bh-glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius-lg) !important;
    overflow: hidden !important;
    text-decoration: none !important;
    color: var(--bh-text) !important;
    transition: all var(--bh-transition) !important;
}

.whdr-dealership-card:hover {
    transform: translateY(-4px) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--bh-accent-rgb), 0.06) !important;
}

.whdr-dealership-card__image {
    position: relative !important;
    overflow: hidden !important;
    background: var(--bh-surface) !important;
}

.whdr-dealership-card__image img {
    transition: transform 0.4s ease !important;
}

.whdr-dealership-card:hover .whdr-dealership-card__image img {
    transform: scale(1.05) !important;
}

.whdr-dealership-card__no-image {
    background: var(--bh-surface) !important;
    color: var(--bh-text-muted) !important;
}

.whdr-dealership-card__badge {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.25rem 0.6rem !important;
    border-radius: var(--bh-radius-sm) !important;
}

.whdr-dealership-card__badge--featured {
    background: rgba(255, 215, 0, 0.9) !important;
    color: #000 !important;
}

.whdr-dealership-card__body {
    padding: 1.25rem !important;
}

.whdr-dealership-card__title {
    color: var(--bh-text) !important;
    font-weight: 700 !important;
    margin: 0 0 0.25rem !important;
}

.whdr-dealership-card__trim {
    color: var(--bh-text-muted) !important;
}

.whdr-dealership-card__meta {
    color: var(--bh-text-muted) !important;
}

.whdr-dealership-card__mileage {
    color: var(--bh-text-muted) !important;
}

.whdr-dealership-card__price {
    color: var(--bh-accent) !important;
    font-weight: 800 !important;
}

/* --- No Results --- */
.whdr-dealership-no-results {
    text-align: center !important;
    padding: 4rem 2rem !important;
    color: var(--bh-text-muted) !important;
    background: var(--bh-glass-bg) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius-lg) !important;
}

/* --- Pagination --- */
.whdr-dealership-pagination {
    display: flex !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    margin-top: 2rem !important;
}

.whdr-dealership-pagination__btn {
    min-width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--bh-glass-bg) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius) !important;
    color: var(--bh-text) !important;
    cursor: pointer !important;
    transition: all var(--bh-transition) !important;
}

.whdr-dealership-pagination__btn:hover {
    border-color: var(--bh-accent) !important;
    color: var(--bh-accent) !important;
}

.whdr-dealership-pagination__btn--active {
    background: var(--bh-accent) !important;
    border-color: var(--bh-accent) !important;
    color: #ffffff !important;
}

/* --- Loading / Spinner --- */
.whdr-dealership-loading {
    text-align: center !important;
    padding: 3rem !important;
    color: var(--bh-text-muted) !important;
}

.whdr-dealership-spinner {
    border-color: var(--bh-glass-border) !important;
    border-top-color: var(--bh-accent) !important;
}

/* --- Old-style plugin classes (sidebar layout) --- */
.whdr-filter-sidebar,
.whdr-filter-panel {
    background: var(--bh-glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius-lg) !important;
    color: var(--bh-text) !important;
}

.whdr-filter-panel h4 {
    color: var(--bh-text) !important;
    border-bottom-color: var(--bh-accent) !important;
}

.whdr-filter-group label {
    color: var(--bh-text-muted) !important;
}

.whdr-filter-group select,
.whdr-filter-group input[type="text"],
.whdr-filter-group input[type="number"] {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--bh-text) !important;
    border-radius: var(--bh-radius) !important;
}

.whdr-filter-group select:focus,
.whdr-filter-group input:focus {
    border-color: var(--bh-accent) !important;
    box-shadow: 0 0 0 2px rgba(var(--bh-accent-rgb), 0.15) !important;
}

.whdr-filter-range span {
    color: var(--bh-text-muted) !important;
}

/* Old-style vehicle cards */
.whdr-vehicle-card {
    background: var(--bh-glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius-lg) !important;
    color: var(--bh-text) !important;
}

.whdr-vehicle-card:hover {
    border-color: rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(var(--bh-accent-rgb), 0.06) !important;
}

.whdr-vehicle-card-image {
    background: var(--bh-surface) !important;
}

.whdr-vehicle-card-title {
    color: var(--bh-text) !important;
}

.whdr-vehicle-card-subtitle,
.whdr-vehicle-card-specs {
    color: var(--bh-text-muted) !important;
}

.whdr-vehicle-card-footer {
    border-top-color: var(--bh-border) !important;
}

.whdr-vehicle-stock {
    color: var(--bh-text-muted) !important;
}

.whdr-vehicle-favorite {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--bh-text-muted) !important;
}

.whdr-vehicle-favorite:hover,
.whdr-vehicle-favorite.is-favorited {
    color: var(--bh-accent) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

/* No results */
.whdr-no-results {
    color: var(--bh-text-muted) !important;
}

/* Pagination (old style) */
.whdr-pagination a,
.whdr-pagination span {
    border-color: var(--bh-glass-border) !important;
    color: var(--bh-text) !important;
    background: var(--bh-glass-bg) !important;
}

.whdr-pagination a:hover {
    border-color: var(--bh-accent) !important;
    color: var(--bh-accent) !important;
}

.whdr-pagination .current {
    background: var(--bh-accent) !important;
    border-color: var(--bh-accent) !important;
    color: #ffffff !important;
}

/* --- Vehicle Detail Page --- */
.whdr-vehicle-info-header,
.whdr-specs-panel,
.whdr-vehicle-description,
.whdr-inquiry-form,
.whdr-financing-calc {
    background: var(--bh-glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius-lg) !important;
    color: var(--bh-text) !important;
}

.whdr-vehicle-detail-title {
    color: var(--bh-text) !important;
}

.whdr-vehicle-detail-subtitle,
.whdr-vehicle-detail-stock {
    color: var(--bh-text-muted) !important;
}

.whdr-specs-panel h3,
.whdr-vehicle-description h3,
.whdr-inquiry-form h3,
.whdr-financing-calc h3 {
    color: var(--bh-text) !important;
    border-bottom-color: var(--bh-accent) !important;
}

.whdr-specs-table tr {
    border-bottom-color: var(--bh-border) !important;
}

.whdr-specs-table td:first-child {
    color: var(--bh-text-muted) !important;
}

.whdr-specs-table td:last-child {
    color: var(--bh-text) !important;
}

.whdr-vehicle-description p {
    color: var(--bh-text-light) !important;
}

.whdr-features-list li {
    color: var(--bh-text-light) !important;
}

.whdr-gallery-main {
    background: var(--bh-surface) !important;
    border-radius: var(--bh-radius-lg) !important;
}

.whdr-gallery-thumb {
    border-radius: var(--bh-radius) !important;
}

/* Form controls in detail page */
.whdr-form-group label {
    color: var(--bh-text-muted) !important;
}

.whdr-form-group input,
.whdr-form-group textarea,
.whdr-form-group select {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--bh-text) !important;
    border-radius: var(--bh-radius) !important;
}

.whdr-form-group input:focus,
.whdr-form-group textarea:focus,
.whdr-form-group select:focus {
    border-color: var(--bh-accent) !important;
    box-shadow: 0 0 0 2px rgba(var(--bh-accent-rgb), 0.15) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.whdr-form-group input::placeholder,
.whdr-form-group textarea::placeholder {
    color: var(--bh-text-muted) !important;
}

.whdr-form-error {
    background: rgba(var(--bh-accent-rgb), 0.1) !important;
    border-color: rgba(var(--bh-accent-rgb), 0.3) !important;
    color: #ff6b6b !important;
}

/* Plugin buttons (old style) */
.whdr-btn-primary {
    background: linear-gradient(135deg, #ff0000, #ff3333) !important;
    color: #ffffff !important;
}

.whdr-btn-primary:hover {
    background: linear-gradient(135deg, #e60000, #ff1a1a) !important;
}

.whdr-btn-secondary {
    background: var(--bh-surface-elevated) !important;
    color: var(--bh-text) !important;
}

.whdr-btn-secondary:hover {
    background: var(--bh-glass-bg-hover) !important;
}

.whdr-btn-outline {
    background: transparent !important;
    border: 1px solid var(--bh-glass-border) !important;
    color: var(--bh-text) !important;
}

.whdr-btn-outline:hover {
    border-color: var(--bh-accent) !important;
    color: var(--bh-accent) !important;
}

/* Calculator result */
.whdr-calc-result {
    background: var(--bh-glass-bg) !important;
    border-radius: var(--bh-radius) !important;
}

.whdr-calc-monthly span {
    color: var(--bh-text-muted) !important;
}

.whdr-calc-details {
    color: var(--bh-text-muted) !important;
}

.whdr-calc-disclaimer {
    color: var(--bh-text-muted) !important;
}

/* Share buttons */
.whdr-share-btn {
    border-color: var(--bh-glass-border) !important;
    background: var(--bh-glass-bg) !important;
    color: var(--bh-text-muted) !important;
}

.whdr-share-btn:hover {
    border-color: var(--bh-accent) !important;
    color: var(--bh-accent) !important;
}

/* --- Sell Form (Multi-Step) --- */
.whdr-sell-form-header h2 {
    color: var(--bh-text) !important;
}

.whdr-sell-form-header p {
    color: var(--bh-text-muted) !important;
}

.whdr-step-number,
.whdr-dealership-step__number {
    background: var(--bh-surface) !important;
    border-color: var(--bh-glass-border) !important;
    color: var(--bh-text-muted) !important;
}

.whdr-step.active .whdr-step-number,
.whdr-dealership-step--active .whdr-dealership-step__number {
    background: var(--bh-accent) !important;
    border-color: var(--bh-accent) !important;
    color: #ffffff !important;
}

.whdr-step.completed .whdr-step-number,
.whdr-dealership-step--completed .whdr-dealership-step__number {
    background: #4CAF50 !important;
    border-color: #4CAF50 !important;
    color: #ffffff !important;
}

.whdr-step-label,
.whdr-dealership-step__label {
    color: var(--bh-text-muted) !important;
}

.whdr-step.active .whdr-step-label,
.whdr-step.completed .whdr-step-label,
.whdr-dealership-step--active .whdr-dealership-step__label,
.whdr-dealership-step--completed .whdr-dealership-step__label {
    color: var(--bh-text) !important;
}

.whdr-step-progress::before,
.whdr-dealership-steps::before {
    background: var(--bh-glass-border) !important;
}

.whdr-step-content,
.whdr-dealership-sell__panel {
    background: var(--bh-glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius-lg) !important;
    color: var(--bh-text) !important;
}

.whdr-step-content h3,
.whdr-dealership-sell__panel h3 {
    color: var(--bh-text) !important;
}

.whdr-step-actions {
    border-top-color: var(--bh-border) !important;
}

.whdr-dealership-sell__review {
    background: var(--bh-glass-bg) !important;
    border-radius: var(--bh-radius) !important;
}

.whdr-dealership-sell__review-section h4 {
    color: var(--bh-text) !important;
    border-bottom-color: var(--bh-accent) !important;
}

.whdr-dealership-sell__review-section dt {
    color: var(--bh-text-muted) !important;
}

.whdr-dealership-sell__review-section dd {
    color: var(--bh-text) !important;
}

.whdr-dealership-sell__photo-item {
    background: var(--bh-surface) !important;
    border-color: var(--bh-glass-border) !important;
}

/* --- Customer Account --- */
.whdr-account-nav {
    background: var(--bh-glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius-lg) !important;
}

.whdr-account-nav a {
    color: var(--bh-text) !important;
}

.whdr-account-nav a:hover {
    background: var(--bh-glass-bg-hover) !important;
}

.whdr-account-nav a.active {
    background: rgba(var(--bh-accent-rgb), 0.1) !important;
    color: var(--bh-accent) !important;
}

.whdr-account-section {
    background: var(--bh-glass-bg) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius-lg) !important;
    color: var(--bh-text) !important;
}

.whdr-account-section h3 {
    color: var(--bh-text) !important;
    border-bottom-color: var(--bh-accent) !important;
}

.whdr-favorite-card,
.whdr-inquiry-item {
    background: var(--bh-glass-bg) !important;
    border-radius: var(--bh-radius) !important;
    color: var(--bh-text) !important;
}

.whdr-inquiry-item-info p {
    color: var(--bh-text-muted) !important;
}

.whdr-inquiry-status.status-new {
    background: rgba(33, 150, 243, 0.15) !important;
    color: #64b5f6 !important;
}

.whdr-inquiry-status.status-responded {
    background: rgba(76, 175, 80, 0.15) !important;
    color: #81c784 !important;
}

.whdr-favorite-remove {
    color: var(--bh-text-muted) !important;
}

.whdr-favorite-remove:hover {
    color: var(--bh-accent) !important;
}

/* --- Skeleton / Loading (Dark) --- */
.whdr-skeleton {
    background: linear-gradient(90deg, var(--bh-surface) 25%, var(--bh-surface-elevated) 50%, var(--bh-surface) 75%) !important;
    background-size: 200% 100% !important;
}

.whdr-loading-spinner::after {
    border-color: var(--bh-glass-border) !important;
    border-top-color: var(--bh-accent) !important;
}

/* --- Camera Modal (Dark) --- */
.whdr-camera-modal__content {
    background: var(--bh-surface) !important;
    border: 1px solid var(--bh-glass-border) !important;
    color: var(--bh-text) !important;
}

.whdr-camera-modal h3 {
    color: var(--bh-text) !important;
}

.whdr-camera-modal p {
    color: var(--bh-text-muted) !important;
}

.whdr-camera-modal__close {
    color: var(--bh-text-muted) !important;
}

.whdr-camera-modal__close:hover {
    color: var(--bh-accent) !important;
}

.whdr-camera-status .whdr-form-info {
    background: rgba(33, 150, 243, 0.1) !important;
    border-color: rgba(33, 150, 243, 0.3) !important;
    color: #64b5f6 !important;
}

/* --- Inventory Sort Dropdown (Top-Right) --- */
.whdr-inventory-sort select {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: var(--bh-text) !important;
    border-radius: var(--bh-radius) !important;
    padding: 0.5rem 2rem 0.5rem 0.75rem !important;
}

.whdr-inventory-sort select:focus {
    border-color: var(--bh-accent) !important;
}

.whdr-inventory-title {
    color: var(--bh-text) !important;
}

.whdr-inventory-count {
    color: var(--bh-text-muted) !important;
}

/* --- Similar Vehicles --- */
.whdr-similar-vehicles h3 {
    color: var(--bh-text) !important;
}

/* ==========================================================================
   37. Print Styles
   ========================================================================== */

@media print {
    .bh-header,
    .bh-footer,
    .bh-mobile-toggle,
    .bh-mobile-overlay,
    .bh-btn,
    .bh-share-buttons,
    .bh-inquiry-form,
    .bh-floating-contact {
        display: none !important;
    }

    body {
        background: #ffffff;
        color: #000000;
    }

    .bh-vehicle-detail-layout {
        grid-template-columns: 1fr;
    }

    .bh-vehicle-card,
    .bh-content-wrap,
    .bh-vehicle-detail-main,
    .bh-detail-sidebar-card {
        background: #ffffff;
        border: 1px solid #ddd;
        backdrop-filter: none;
    }
}

/* ==========================================================================
   My Account / Login Page
   ========================================================================== */

/* Center the login form in a glass card */
.bh-account-content-wrap {
    display: flex;
    justify-content: center;
    padding: 3rem 1rem 5rem;
}

.bh-account-content-wrap form,
.bh-account-content-wrap .login {
    width: 100%;
    max-width: 460px;
    background: var(--bh-glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-xl);
    padding: 2.5rem 2.5rem 2rem;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
}

/* Labels */
.bh-account-content-wrap label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 0.4rem;
}

/* Inputs */
.bh-account-content-wrap input[type="text"],
.bh-account-content-wrap input[type="email"],
.bh-account-content-wrap input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    color: var(--bh-text);
    font-size: 0.95rem;
    font-family: var(--bh-font-body);
    transition: border-color var(--bh-transition), box-shadow var(--bh-transition);
    margin-bottom: 1.25rem;
    box-sizing: border-box;
}

.bh-account-content-wrap input[type="text"]:focus,
.bh-account-content-wrap input[type="email"]:focus,
.bh-account-content-wrap input[type="password"]:focus {
    outline: none;
    border-color: var(--bh-accent);
    box-shadow: 0 0 0 3px var(--bh-accent-glow);
}

/* Remember me */
.bh-account-content-wrap .login-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}

.bh-account-content-wrap .login-remember input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--bh-accent);
    cursor: pointer;
}

/* Submit button */
.bh-account-content-wrap input[type="submit"],
.bh-account-content-wrap .button,
.bh-account-content-wrap button[type="submit"] {
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--bh-accent);
    color: #ffffff;
    border: none;
    border-radius: var(--bh-radius);
    font-family: var(--bh-font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--bh-transition), transform var(--bh-transition), box-shadow var(--bh-transition);
    box-shadow: 0 4px 20px rgba(220,38,38,0.35);
}

.bh-account-content-wrap input[type="submit"]:hover,
.bh-account-content-wrap .button:hover,
.bh-account-content-wrap button[type="submit"]:hover {
    background: #b91c1c;
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(220,38,38,0.5);
}

/* "Lost your password?" link */
.bh-account-content-wrap .login-submit + p,
.bh-account-content-wrap a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    text-align: center;
    display: block;
    margin-top: 1rem;
    text-decoration: none;
    transition: color var(--bh-transition);
}

.bh-account-content-wrap a:hover {
    color: var(--bh-accent);
}

/* Intro text "Please log in..." */
.bh-account-content-wrap p:first-child {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    margin-bottom: 1.75rem;
    margin-top: 0;
    text-align: center;
}

/* Account header — add accent bar */
.bh-account-header {
    border-bottom: 3px solid var(--bh-accent);
}

.bh-account-header h1 {
    font-family: var(--bh-font-heading);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.bh-account-header h1::after {
    content: '';
    display: block;
    width: 3rem;
    height: 3px;
    background: var(--bh-accent);
    margin-top: 0.5rem;
}

/* Page background stays dark */
.bh-dark-theme-section {
    background: var(--bh-bg) url('assets/images/f350-crane-bg.webp') center center / cover no-repeat;
    min-height: 60vh;
    position: relative;
}

.bh-dark-theme-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 13, 24, 0.78);
    z-index: 0;
}

.bh-dark-theme-section > * {
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   WooCommerce (apparel shop) — dark theme overrides
   ========================================================================== */

.bh-shop-page {
    background: var(--bh-background);
    min-height: 60vh;
}

.bh-shop-hero {
    padding: 6rem 0 1rem;
    text-align: center;
}

.bh-shop-title {
    font-family: var(--bh-font-heading);
    color: var(--bh-text);
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0;
}

/* Hide the duplicate archive title (we render it in the hero) */
.bh-shop-page .woocommerce-products-header__title {
    display: none;
}

/* Result count + ordering */
.bh-shop-page .woocommerce-result-count,
.bh-shop-page .woocommerce-ordering select {
    color: var(--bh-text-muted);
}
.bh-shop-page .woocommerce-ordering select {
    background: var(--bh-surface);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    padding: 0.5rem 0.75rem;
}

/* Product grid cards */
.bh-shop-page ul.products li.product {
    background: var(--bh-glass-bg);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg);
    padding: 1rem !important;
    transition: var(--bh-transition);
}
.bh-shop-page ul.products li.product:hover {
    box-shadow: var(--bh-shadow-hover);
    border-color: var(--bh-border-light);
    transform: translateY(-4px);
}
.bh-shop-page ul.products li.product a img {
    border-radius: var(--bh-radius);
    margin-bottom: 0.75rem;
}
.bh-shop-page ul.products li.product .woocommerce-loop-product__title {
    color: var(--bh-text);
    font-family: var(--bh-font-heading);
    font-size: 1rem;
    padding: 0.25rem 0;
}
.bh-shop-page .price,
.bh-shop-page ul.products li.product .price {
    color: var(--bh-accent) !important;
    font-weight: 700;
}
.bh-shop-page .price del { color: var(--bh-text-muted) !important; font-weight: 400; }

/* Sale flash */
.bh-shop-page span.onsale {
    background: var(--bh-accent);
    color: #fff;
    border-radius: var(--bh-radius-sm);
}

/* Buttons → match theme primary button */
.bh-shop-page a.button,
.bh-shop-page button.button,
.bh-shop-page .button,
.bh-shop-page input[type="submit"],
.bh-shop-page #place_order,
.bh-shop-page .added_to_cart {
    background: var(--bh-accent) !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--bh-radius) !important;
    padding: 0.7rem 1.4rem !important;
    font-weight: 600 !important;
    transition: var(--bh-transition) !important;
}
.bh-shop-page a.button:hover,
.bh-shop-page button.button:hover,
.bh-shop-page .button:hover,
.bh-shop-page input[type="submit"]:hover,
.bh-shop-page #place_order:hover {
    background: var(--bh-accent-hover) !important;
    box-shadow: var(--bh-shadow-glow) !important;
}

/* Single product */
.bh-shop-page .product_title { color: var(--bh-text); font-family: var(--bh-font-heading); }
.bh-shop-page .woocommerce-product-details__short-description,
.bh-shop-page .woocommerce-tabs,
.bh-shop-page .woocommerce-Tabs-panel,
.bh-shop-page .product p,
.bh-shop-page .stock { color: var(--bh-text-light); }
.bh-shop-page .quantity input.qty {
    background: var(--bh-surface);
    color: var(--bh-text);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-sm);
    padding: 0.5rem;
}
.bh-shop-page table.variations select,
.bh-shop-page .variations_form select {
    background: var(--bh-surface);
    color: var(--bh-text);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    padding: 0.5rem;
}

/* Tabs */
.bh-shop-page .woocommerce-tabs ul.tabs li {
    background: var(--bh-glass-bg);
    border-color: var(--bh-glass-border);
}
.bh-shop-page .woocommerce-tabs ul.tabs li.active {
    background: var(--bh-surface);
}
.bh-shop-page .woocommerce-tabs ul.tabs li a { color: var(--bh-text); }

/* Cart & checkout tables */
.bh-shop-page table.shop_table,
.bh-shop-page .cart_totals table,
.bh-shop-page table.woocommerce-checkout-review-order-table {
    background: var(--bh-glass-bg);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    color: var(--bh-text);
}
.bh-shop-page table.shop_table th,
.bh-shop-page table.shop_table td {
    border-color: var(--bh-glass-border) !important;
    color: var(--bh-text);
}
.bh-shop-page .cart_totals h2,
.bh-shop-page .woocommerce h3,
.bh-shop-page #order_review_heading { color: var(--bh-text); }

/* Form fields (checkout / account) */
.bh-shop-page .woocommerce form .form-row input.input-text,
.bh-shop-page .woocommerce form .form-row textarea,
.bh-shop-page .woocommerce-input-wrapper input,
.bh-shop-page .select2-container--default .select2-selection--single {
    background: var(--bh-surface) !important;
    color: var(--bh-text) !important;
    border: 1px solid var(--bh-glass-border) !important;
    border-radius: var(--bh-radius) !important;
    padding: 0.65rem 0.85rem !important;
}
.bh-shop-page label { color: var(--bh-text-light); }

/* Notices */
.bh-shop-page .woocommerce-message,
.bh-shop-page .woocommerce-info,
.bh-shop-page .woocommerce-error {
    background: var(--bh-glass-bg);
    color: var(--bh-text);
    border-top: 3px solid var(--bh-accent);
    border-radius: var(--bh-radius);
}
.bh-shop-page .woocommerce-message a,
.bh-shop-page .woocommerce-info a { color: var(--bh-accent); }

/* Links */
.bh-shop-page a { color: var(--bh-text-light); }
.bh-shop-page a:hover { color: var(--bh-accent); }

/* ==========================================================================
   AI Assistant — floating chat widget
   ========================================================================== */

.bh-ai { position: fixed; right: 2rem; bottom: 2rem; z-index: 999; }
.bh-floating-contact { display: none !important; }

.bh-ai-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: linear-gradient(135deg, var(--bh-accent), #ff3333);
    color: #fff; border: none; border-radius: 999px;
    padding: 0.7rem 1.2rem; font-weight: 700; font-family: var(--bh-font-body);
    cursor: pointer; box-shadow: var(--bh-shadow-lg);
    transition: var(--bh-transition);
}
.bh-ai-toggle:hover { transform: translateY(-2px); box-shadow: var(--bh-shadow-glow); }
.bh-ai-toggle-icon { font-size: 1.2rem; }

.bh-ai-panel {
    position: absolute; right: 0; bottom: calc(100% + 0.75rem);
    width: min(380px, calc(100vw - 3rem)); height: min(560px, 70vh);
    display: none; flex-direction: column;
    background: var(--bh-surface); border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius-lg); overflow: hidden;
    box-shadow: var(--bh-shadow-lg);
}
.bh-ai-open .bh-ai-panel { display: flex; }
.bh-ai-open .bh-ai-toggle { display: none; }

.bh-ai-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 1rem; color: #fff; font-weight: 700;
    background: linear-gradient(135deg, var(--bh-accent), #c0392b);
}
.bh-ai-close { background: none; border: none; color: #fff; font-size: 1.4rem; cursor: pointer; line-height: 1; }

.bh-ai-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: 0.6rem; }
.bh-ai-msg { display: flex; }
.bh-ai-user { justify-content: flex-end; }
.bh-ai-bubble {
    max-width: 85%; padding: 0.6rem 0.85rem; border-radius: var(--bh-radius);
    font-size: 0.92rem; line-height: 1.45; white-space: normal;
}
.bh-ai-assistant .bh-ai-bubble { background: var(--bh-glass-bg); color: var(--bh-text); border: 1px solid var(--bh-glass-border); border-top-left-radius: 4px; }
.bh-ai-user .bh-ai-bubble { background: var(--bh-accent); color: #fff; border-top-right-radius: 4px; }
.bh-ai-bubble a { color: var(--bh-accent); word-break: break-word; }
.bh-ai-user .bh-ai-bubble a { color: #fff; text-decoration: underline; }

.bh-ai-typing .bh-ai-bubble span {
    display: inline-block; width: 7px; height: 7px; margin: 0 1px; border-radius: 50%;
    background: var(--bh-text-muted); animation: bhAiBlink 1.2s infinite both;
}
.bh-ai-typing .bh-ai-bubble span:nth-child(2) { animation-delay: 0.2s; }
.bh-ai-typing .bh-ai-bubble span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bhAiBlink { 0%, 80%, 100% { opacity: 0.2; } 40% { opacity: 1; } }

.bh-ai-form { display: flex; gap: 0.4rem; padding: 0.6rem; border-top: 1px solid var(--bh-glass-border); }
.bh-ai-input {
    flex: 1; background: var(--bh-background); color: var(--bh-text);
    border: 1px solid var(--bh-glass-border); border-radius: var(--bh-radius);
    padding: 0.55rem 0.8rem; font-size: 0.92rem;
}
.bh-ai-input:focus { outline: none; border-color: var(--bh-accent); }
.bh-ai-send, .bh-ai-mic {
    background: var(--bh-accent); color: #fff; border: none; border-radius: var(--bh-radius);
    width: 42px; cursor: pointer; font-size: 1rem; flex: 0 0 42px;
}
.bh-ai-mic { background: var(--bh-surface-elevated); }
.bh-ai-mic.bh-ai-listening { background: var(--bh-accent); animation: bhAiBlink 1s infinite; }
.bh-ai-send:hover { background: var(--bh-accent-hover); }

@media (max-width: 576px) {
    .bh-ai { right: 1rem; bottom: 1rem; }
    .bh-ai-panel { width: calc(100vw - 2rem); }
}

/* ==========================================================================
   FAQ section (AEO module) — homepage accordion + [whdr_faq] shortcode
   ========================================================================== */
.bh-faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.bh-faq-item {
    background: var(--bh-glass-bg);
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    backdrop-filter: blur(var(--bh-glass-blur));
    -webkit-backdrop-filter: blur(var(--bh-glass-blur));
    overflow: hidden;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.bh-faq-item:hover,
.bh-faq-item[open] {
    background: var(--bh-glass-bg-hover);
    border-color: var(--bh-border-light);
}
.bh-faq-question {
    cursor: pointer;
    list-style: none;
    padding: 1.1rem 3rem 1.1rem 1.25rem;
    font-weight: 600;
    color: var(--bh-text);
    position: relative;
}
.bh-faq-question::-webkit-details-marker { display: none; }
.bh-faq-question::after {
    content: '+';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--bh-accent);
    font-size: 1.4rem;
    line-height: 1;
    transition: transform 0.25s ease;
}
.bh-faq-item[open] .bh-faq-question::after {
    content: '\2212'; /* minus sign */
}
.bh-faq-answer {
    padding: 0 1.25rem 1.15rem;
    color: var(--bh-text-muted);
    line-height: 1.65;
}
.bh-faq-answer p { margin: 0 0 0.6em; }
.bh-faq-answer p:last-child { margin-bottom: 0; }

/* ============================================================
   Cookie consent banner (Phase 3 — Trust/Compliance)
   ============================================================ */
.bh-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 9998;
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity .3s ease, transform .3s ease;
}
.bh-consent.bh-consent-show { opacity: 1; transform: translateY(0); }
.bh-consent-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    background: rgba(18, 20, 26, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1rem 1.25rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}
.bh-consent-text {
    margin: 0;
    flex: 1 1 320px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
}
.bh-consent-text a { color: var(--bh-accent, #f5a623); text-decoration: underline; }
.bh-consent-actions { display: flex; gap: 0.6rem; flex: 0 0 auto; }
.bh-consent-btn {
    cursor: pointer;
    border-radius: 10px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid transparent;
    transition: filter .2s ease, background .2s ease;
}
.bh-consent-decline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}
.bh-consent-decline:hover { background: rgba(255, 255, 255, 0.08); }
.bh-consent-accept {
    background: var(--bh-accent, #f5a623);
    color: #1a1205;
}
.bh-consent-accept:hover { filter: brightness(1.08); }
@media (max-width: 600px) {
    .bh-consent-inner { flex-direction: column; align-items: stretch; }
    .bh-consent-actions { justify-content: flex-end; }
}

/* ==========================================================================
   Ad landing page (page-templates/template-landing.php)
   ========================================================================== */
/* Distraction-free: hide nav + floating contact, keep logo and header CTA */
.bh-landing-page .bh-nav,
.bh-landing-page .bh-mobile-menu-toggle,
.bh-landing-page .bh-floating-contact,
.bh-landing-page .bh-back-to-top {
    display: none !important;
}

.bh-landing {
    padding: 2.5rem 0 4rem;
}
.bh-landing-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: start;
}
@media (max-width: 900px) {
    .bh-landing-layout { grid-template-columns: 1fr; }
}

/* Gallery */
.bh-landing-photo {
    position: relative;
    border-radius: var(--bh-radius);
    overflow: hidden;
    border: 1px solid var(--bh-glass-border);
    background: var(--bh-glass-bg);
}
.bh-landing-photo img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: cover;
}
.bh-landing-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--bh-accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}
.bh-landing-thumbs {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.6rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}
.bh-landing-thumbs img {
    width: 88px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}
.bh-landing-thumbs img:hover,
.bh-landing-thumbs img.active {
    opacity: 1;
    border-color: var(--bh-accent);
}

/* Title / price / specs */
.bh-landing-title {
    margin: 1.25rem 0 0.5rem;
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    color: var(--bh-text);
}
.bh-landing-pricebar {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.bh-landing-specs {
    color: var(--bh-text-muted);
    font-weight: 500;
}
.bh-landing-description {
    color: var(--bh-text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    white-space: pre-line;
}

/* Trust bullets */
.bh-landing-trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}
.bh-landing-trust li {
    padding-left: 1.7rem;
    position: relative;
    color: var(--bh-text-light);
}
.bh-landing-trust li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--bh-accent);
    font-weight: 700;
}

/* Lead form card */
.bh-landing-form-card {
    position: sticky;
    top: 100px;
}
.bh-landing-form-title { margin: 0 0 0.25rem; }
.bh-landing-form-sub { font-size: 0.88rem; margin-bottom: 1rem; }
.bh-landing-call { margin-top: 0.75rem; }
.bh-landing-form-msg { margin-top: 0.75rem; font-size: 0.92rem; }
.bh-landing-form-msg.success { color: #6fcf97; }
.bh-landing-form-msg.error { color: #eb5757; }

/* Generic fallback hero */
.bh-landing-generic-inner {
    text-align: center;
    max-width: 720px;
    margin: 3rem auto;
}
.bh-landing-generic-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* FAQ block reuse */
.bh-landing-faq {
    margin-top: 3.5rem;
}
.bh-landing-faq .bh-section-title {
    text-align: center;
    margin-bottom: 1.5rem;
}

/* ============================================================
   Testimonials (Phase 3 — Trust)
   ============================================================ */
.bh-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.bh-testimonial-card {
    margin: 0;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.75rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: transform .25s ease, border-color .25s ease;
}
.bh-testimonial-card:hover { transform: translateY(-4px); border-color: rgba(245, 166, 35, 0.4); }
.bh-testimonial-stars { color: var(--bh-accent, #f5a623); font-size: 1.1rem; letter-spacing: 2px; }
.bh-testimonial-stars .bh-star-empty { color: rgba(255, 255, 255, 0.18); }
.bh-testimonial-quote {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    flex: 1;
}
.bh-testimonial-quote::before { content: '\201C'; }
.bh-testimonial-quote::after { content: '\201D'; }
.bh-testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.bh-testimonial-name { font-weight: 700; color: #fff; }
.bh-testimonial-loc { font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ============================================================
   Vehicle Compare + Favorites (Phase 4 — Lead-gen)
   ============================================================ */
.bh-compare-btn {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(18, 20, 26, 0.7);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s ease, transform .2s ease, color .2s ease;
    z-index: 3;
}
.bh-compare-btn:hover { transform: scale(1.08); }
.bh-compare-btn.active { background: var(--bh-accent, #f5a623); color: #1a1205; border-color: transparent; }

/* Floating compare tray */
.bh-compare-tray {
    position: fixed;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 9000;
    max-width: 92vw;
}
.bh-compare-tray-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(18, 20, 26, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 0.6rem 0.9rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.bh-compare-tray-thumbs { display: flex; gap: 0.5rem; }
.bh-compare-tray-item { position: relative; width: 64px; height: 44px; }
.bh-compare-tray-item img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.bh-compare-tray-remove {
    position: absolute; top: -7px; right: -7px;
    width: 20px; height: 20px; border-radius: 50%;
    border: none; background: #e23; color: #fff; cursor: pointer;
    font-size: 0.85rem; line-height: 1; display: flex; align-items: center; justify-content: center;
}
.bh-compare-tray-actions { display: flex; align-items: center; gap: 0.6rem; }
.bh-compare-clear {
    background: transparent; border: none; color: rgba(255, 255, 255, 0.65);
    cursor: pointer; font-size: 0.85rem; text-decoration: underline;
}

/* Compare page table */
.bh-compare-table-wrap { overflow-x: auto; }
.bh-compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.bh-compare-table th, .bh-compare-table td {
    padding: 0.85rem 1rem; text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.bh-compare-label { text-align: left !important; color: rgba(255,255,255,0.6); font-weight: 600; white-space: nowrap; }
.bh-compare-head { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: #fff; text-decoration: none; }
.bh-compare-head img { width: 160px; max-width: 38vw; height: 110px; object-fit: cover; border-radius: 10px; }
.bh-compare-head span { font-weight: 700; font-size: 0.92rem; }
.bh-compare-table tbody tr:nth-child(odd) td,
.bh-compare-table tbody tr:nth-child(odd) .bh-compare-label { background: rgba(255, 255, 255, 0.02); }
.bh-compare-page-actions { margin-top: 1.5rem; text-align: center; }
.bh-compare-empty, .bh-favorites-empty, .bh-favorites-loading, .bh-compare-table-wrap {
    margin: 2rem auto;
}
.bh-compare-empty, .bh-favorites-empty {
    text-align: center; color: rgba(255, 255, 255, 0.75); padding: 3rem 1rem;
}
.bh-favorites-empty .bh-btn { margin-top: 1rem; }
.bh-favorites-loading { text-align: center; color: rgba(255,255,255,0.6); padding: 2rem; }

/* Toast */
.bh-toast {
    position: fixed; left: 50%; bottom: 6rem; transform: translateX(-50%) translateY(1rem);
    background: rgba(18,20,26,0.96); color: #fff; border: 1px solid rgba(255,255,255,0.14);
    padding: 0.7rem 1.2rem; border-radius: 10px; z-index: 9999; opacity: 0;
    transition: opacity .3s ease, transform .3s ease; font-size: 0.9rem;
}
.bh-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ============================================================
   Trade-in valuation form (Phase 4)
   ============================================================ */
.bh-trade-in { max-width: 720px; margin: 0 auto; }
.bh-trade-form { display: flex; flex-direction: column; gap: 1rem; }
.bh-trade-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.bh-trade-row label,
.bh-trade-notes { flex: 1 1 160px; display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.bh-trade-notes { flex-basis: 100%; }
.bh-trade-form input,
.bh-trade-form select,
.bh-trade-form textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
    color: #fff;
    font-size: 0.95rem;
}
.bh-trade-form input:focus,
.bh-trade-form select:focus,
.bh-trade-form textarea:focus { outline: none; border-color: var(--bh-accent, #f5a623); }
.bh-trade-form .bh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.bh-trade-form .bh-btn { align-self: flex-start; }
.bh-trade-msg { font-size: 0.95rem; min-height: 1.2em; }
.bh-trade-msg.bh-error { color: #ff8a80; }
.bh-trade-msg.bh-success { color: #b9f6ca; }
.bh-trade-range { color: var(--bh-accent, #f5a623); font-weight: 800; font-size: 1.15rem; }

/* ============================================================
   Reserve with deposit (Phase 4)
   ============================================================ */
.bh-reserve-card h3 { display: flex; align-items: center; gap: 0.5rem; }
.bh-reserve-form { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; }
.bh-reserve-form input[type="text"],
.bh-reserve-form input[type="email"],
.bh-reserve-form input[type="tel"] {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    padding: 0.65rem 0.8rem;
    color: #fff;
    font-size: 0.95rem;
}
.bh-reserve-form input:focus { outline: none; border-color: var(--bh-accent, #f5a623); }
.bh-reserve-form .bh-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.bh-reserve-msg { font-size: 0.88rem; min-height: 1em; }
.bh-reserve-msg.bh-error { color: #ff8a80; }

/* ============================================================
   Accessibility (Phase 7)
   ============================================================ */
.bh-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    background: var(--bh-accent, #f5a623);
    color: #1a1205;
    padding: 0.75rem 1.25rem;
    border-radius: 0 0 10px 0;
    font-weight: 700;
    text-decoration: none;
}
.bh-skip-link:focus {
    left: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}
/* Visible keyboard focus everywhere (mouse users unaffected). */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
.bh-btn:focus-visible {
    outline: 3px solid var(--bh-accent, #f5a623);
    outline-offset: 2px;
    border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

/* ============================================================
   Plugin dealership forms — dark theme (contact, financing,
   referral, sell, inquiry, account). These templates ship with
   BEM classes but no themed styling; this makes them match the
   site everywhere they appear.
   ============================================================ */
.whdr-dealership-contact,
.whdr-dealership-financing,
.whdr-dealership-referral,
.whdr-dealership-sell {
    max-width: 820px;
    margin: 0 auto;
    color: #fff;
}

/* Layout */
.whdr-dealership-form { width: 100%; }
.whdr-dealership-form__row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.whdr-dealership-form__field {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}
.whdr-dealership-form__field--full { flex-basis: 100%; }

/* Labels */
.whdr-dealership-form__field label,
.whdr-dealership-form label {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.2px;
}
.whdr-dealership-form .required { color: var(--bh-accent, #f5a623); margin-left: 2px; }

/* Inputs / textareas / selects */
.whdr-dealership-form input[type="text"],
.whdr-dealership-form input[type="email"],
.whdr-dealership-form input[type="tel"],
.whdr-dealership-form input[type="number"],
.whdr-dealership-form input[type="date"],
.whdr-dealership-form input[type="url"],
.whdr-dealership-form input[type="password"],
.whdr-dealership-form select,
.whdr-dealership-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    color: #fff;
    font-size: 0.97rem;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}
.whdr-dealership-form textarea { resize: vertical; min-height: 110px; }
.whdr-dealership-form input::placeholder,
.whdr-dealership-form textarea::placeholder { color: rgba(255, 255, 255, 0.4); }
.whdr-dealership-form input:focus,
.whdr-dealership-form select:focus,
.whdr-dealership-form textarea:focus {
    outline: none;
    border-color: var(--bh-accent, #f5a623);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.15);
}
/* Native dropdown menu items need a dark bg + a custom caret */
.whdr-dealership-form select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23f5a623' d='M1 1l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.2rem;
}
.whdr-dealership-form select option { background: #181b22; color: #fff; }

/* Honeypot — keep hidden */
.whdr-dealership-form input[name="website"] { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Checkboxes / radios */
.whdr-dealership-form input[type="checkbox"],
.whdr-dealership-form input[type="radio"] { accent-color: var(--bh-accent, #f5a623); width: auto; }
.whdr-dealership-referral__terms {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0;
}

/* Buttons */
.whdr-dealership-form__actions { margin-top: 1.25rem; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.whdr-btn {
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 0.8rem 1.7rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: filter 0.2s ease, transform 0.15s ease, background 0.2s ease;
}
.whdr-btn--primary { background: var(--bh-accent, #f5a623); color: #1a1205; }
.whdr-btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.whdr-btn--secondary,
.whdr-btn--outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}
.whdr-btn--secondary:hover,
.whdr-btn--outline:hover { background: rgba(255, 255, 255, 0.08); }
.whdr-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Status messages */
.whdr-dealership-form__message { margin-top: 1rem; font-size: 0.92rem; }
.whdr-dealership-form__message.is-error,
.whdr-dealership-form__error { color: #ff8a80; }
.whdr-dealership-form__message.is-success,
.whdr-dealership-form__success { color: #b9f6ca; }

/* Headings / intros */
.whdr-dealership-sell__heading,
.whdr-dealership-financing h2,
.whdr-dealership-referral h2 { color: #fff; }
.whdr-dealership-sell__intro { color: rgba(255, 255, 255, 0.65); margin-bottom: 1.5rem; }

/* Multi-step sell panels */
.whdr-dealership-sell__panel { display: none; }
.whdr-dealership-sell__panel--active { display: block; animation: bhFadeIn 0.25s ease; }
@keyframes bhFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.whdr-dealership-sell__review,
.whdr-dealership-sell__review-section {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.whdr-dealership-sell__photo-preview,
.whdr-dealership-sell__review-photos { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.whdr-dealership-sell__photo-preview img,
.whdr-dealership-sell__review-photos img { width: 90px; height: 70px; object-fit: cover; border-radius: 8px; }
.whdr-dealership-sell__success { text-align: center; padding: 2.5rem 1rem; }
.whdr-dealership-sell__success-icon { font-size: 3rem; color: var(--bh-accent, #f5a623); }

/* ---------------------------------------------------------------------------
   Sell-form legibility fix (iOS Safari).
   The form is built for a dark background (white labels/inputs). The card
   containers used translucent glass + backdrop-filter, but iOS Safari can't
   sample the page's `background-attachment: fixed` image, so the glass panels
   rendered as opaque LIGHT boxes — making the white text invisible (white on
   white). Give these containers a SOLID dark surface so the form is legible on
   every device; opaque backgrounds also make the (now-pointless) blur a no-op.
   --------------------------------------------------------------------------- */
.bh-step-content,
.whdr-dealership-sell__panel {
    background: var(--bh-surface) !important;       /* #112240 solid navy */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.whdr-dealership-sell__review,
.whdr-dealership-sell__review-section {
    background: var(--bh-surface-elevated) !important; /* #162d50 for contrast */
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
/* Inputs sit on the solid navy now — lift them slightly so fields read as fields. */
.whdr-dealership-form input[type="text"],
.whdr-dealership-form input[type="email"],
.whdr-dealership-form input[type="tel"],
.whdr-dealership-form input[type="number"],
.whdr-dealership-form input[type="date"],
.whdr-dealership-form input[type="url"],
.whdr-dealership-form input[type="password"],
.whdr-dealership-form select,
.whdr-dealership-form textarea {
    background: rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Mobile Parity — amgmotorgroup.ca competitor layout reference
   All rules below are mobile-first / scoped to ≤ 768 px so desktop is
   unaffected.  Uses only existing --bh-* custom properties.
   ========================================================================== */

/* ---- Header: centre logo + push hamburger to the right on mobile ---- */
@media (max-width: 768px) {
    .bh-header-inner {
        display: grid;
        grid-template-columns: 40px 1fr 40px; /* hamburger | logo | spacer */
        align-items: center;
        gap: 0;
        padding: 0 1rem;
    }

    /* Logo goes in the centre column */
    .bh-logo {
        grid-column: 2;
        justify-content: center;
    }

    /* Actions (hamburger) goes in column 3 */
    .bh-header-actions {
        grid-column: 3;
        justify-content: flex-end;
    }

    /* "Get a Quote" button is already hidden via .bh-hide-mobile */
}

/* ---- Hero video: keep the video visible on mobile (was display:none) ---- */
@media (max-width: 768px) {
    .bh-hero {
        min-height: 55vh;
        padding: 4rem 1rem 2.5rem;
        /* Show the video instead of the static fallback image */
        background-image: none;
    }

    .bh-hero-video {
        /* Override the earlier display:none on ≤768px */
        display: block !important;
        opacity: 0.45;
    }
}

/* ---- Mobile Search Card — prominent keyword + 2x2 dropdown card ---- */
.bh-mobile-search-card {
    /* Hidden on desktop; shown on mobile */
    display: none;
    background: var(--bh-surface);
    border-top: 2px solid var(--bh-accent);
    border-bottom: 1px solid var(--bh-glass-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    position: relative;
    z-index: 10;
}

.bh-mobile-search-card-inner {
    padding: 1.25rem 1rem 1.5rem;
}

.bh-mobile-search-card-label {
    font-family: var(--bh-font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.85rem;
    text-align: center;
}

.bh-mobile-search-keyword {
    margin-bottom: 0.85rem;
}

.bh-mobile-search-keyword input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 1rem;
    box-sizing: border-box;
}

.bh-mobile-search-keyword input::placeholder {
    color: var(--bh-text-muted);
}

.bh-mobile-search-keyword input:focus {
    outline: none;
    border-color: var(--bh-accent);
    box-shadow: 0 0 0 3px var(--bh-accent-glow);
}

/* 2 × 2 dropdown grid */
.bh-mobile-search-dropdowns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.bh-mobile-search-dropdowns select {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--bh-glass-border);
    border-radius: var(--bh-radius);
    background: rgba(255, 255, 255, 0.07);
    color: #ffffff;
    font-size: 0.9rem;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238b8b8b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem center;
    padding-right: 2rem;
    box-sizing: border-box;
}

.bh-mobile-search-dropdowns select option {
    background: var(--bh-surface);
    color: var(--bh-text);
}

.bh-mobile-search-dropdowns select:focus {
    outline: none;
    border-color: var(--bh-accent);
    box-shadow: 0 0 0 3px var(--bh-accent-glow);
}

/* Full-width search button */
.bh-mobile-search-btn {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--bh-radius);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .bh-mobile-search-card {
        display: block;
    }
}

/* ---- Vehicle cards on mobile: photo top, dark caption bar ---- */
@media (max-width: 768px) {
    .bh-vehicle-card {
        border-radius: var(--bh-radius);
    }

    /* Taller photo crop so the image dominates */
    .bh-vehicle-card-image {
        padding-top: 62%;
    }

    /* Dark caption bar directly under the photo */
    .bh-vehicle-card-body {
        background: rgba(10, 15, 20, 0.92);
        padding: 0.85rem 1rem;
    }

    .bh-vehicle-card-title {
        font-size: 0.95rem;
        margin-bottom: 0.35rem;
    }

    /* Hide verbose specs line on mobile to keep the caption tight */
    .bh-vehicle-card-specs {
        display: none;
    }

    .bh-vehicle-card-footer {
        padding-top: 0.4rem;
    }

    .bh-vehicle-card-price {
        font-size: 1.15rem;
    }
}

/* ---- Category tiles: 2-up grid on mobile (competitor uses 2-col) ---- */
@media (max-width: 768px) {
    .bh-category-tiles {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .bh-category-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.1rem 0.75rem;
        gap: 0.6rem;
        border-radius: var(--bh-radius);
    }

    .bh-category-card-icon {
        width: 44px;
        height: 44px;
        border-radius: 10px;
    }

    .bh-category-card-icon svg {
        width: 22px;
        height: 22px;
    }

    .bh-category-card-text h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    /* Hide the description line + link to keep tiles compact */
    .bh-category-card-text p,
    .bh-category-card-link {
        display: none;
    }
}

/* ---- Floating contact: ensure a clean circular bubble on small screens ---- */
@media (max-width: 768px) {
    .bh-floating-contact {
        bottom: 1.25rem;
        right: 1.25rem;
    }

    .bh-floating-contact-toggle {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
        /* Enforce circle — guard against any inherited border-radius overrides */
        border-radius: 50%;
        /* Shadow glow so it reads on any background */
        box-shadow: 0 4px 20px rgba(var(--bh-accent-rgb), 0.45),
                    0 0 0 2px rgba(255, 255, 255, 0.1);
    }

    /* Expand the pop-up panel to nearly full-width on small screens */
    .bh-floating-contact-form {
        width: calc(100vw - 3rem);
        right: 0;
        bottom: 64px;
    }
}

/* ---- Sections: tighter padding on mobile ---- */
@media (max-width: 768px) {
    .bh-section {
        padding: 2.25rem 0;
    }

    .bh-section-title {
        font-size: 1.65rem;
    }

    .bh-section-subtitle {
        font-size: 0.95rem;
    }
}
