:root {
  --t5-red: #d01818;
  --t5-red-dark: #a80f0f;
  --t5-red-soft: #fce8e8;
  --t5-black: #050505;
  --t5-dark: #111111;
  --t5-charcoal: #1b1b1b;
  --t5-text: #202020;
  --t5-muted: #777777;
  --t5-light-muted: #a7a7a7;
  --t5-white: #ffffff;
  --t5-offwhite: #f7f7f7;
  --t5-light: #f3f3f3;
  --t5-border: #e5e5e5;
  --t5-container: 1200px;
  --t5-wide: 1320px;
  --t5-radius: 0px;
  --t5-card-radius: 0px;
  --t5-shadow-sm: 0 6px 18px rgba(0,0,0,.08);
  --t5-shadow-md: 0 14px 38px rgba(0,0,0,.14);
  --t5-shadow-lg: 0 24px 70px rgba(0,0,0,.22);
  --t5-font-main: Arial, Helvetica, sans-serif;
  --t5-section-y: 86px;
}

*,
*::before,
*::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--t5-font-main); color: var(--t5-text); background: var(--t5-white); line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.t5-container { width: min(var(--t5-container), calc(100% - 40px)); margin: 0 auto; }
.t5-wide { width: min(var(--t5-wide), calc(100% - 40px)); margin: 0 auto; }
.t5-section { padding: var(--t5-section-y) 0; }
.t5-eyebrow { color: var(--t5-red); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.t5-title { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.08; font-weight: 900; color: var(--t5-dark); }
.t5-title-light { color: #fff; }
.t5-title-md { font-size: clamp(28px, 3vw, 38px); }
.t5-section-head { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.t5-bg-light { background: var(--t5-offwhite); }

.t5-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 2px solid transparent; font-size: 13px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: .2s ease; }
.t5-btn-primary { background: var(--t5-red); color: var(--t5-white); border-color: var(--t5-red); }
.t5-btn-primary:hover { background: var(--t5-red-dark); border-color: var(--t5-red-dark); }
.t5-btn-dark { background: var(--t5-dark); color: var(--t5-white); border-color: var(--t5-dark); }
.t5-btn-outline { background: transparent; color: var(--t5-dark); border-color: var(--t5-dark); }
.t5-btn-on-dark { color: #fff; border-color: #fff; }
.t5-btn-on-dark:hover { background: #fff; color: #111; }
.t5-btn-block { width: 100%; }

.t5-card { background: var(--t5-white); border: 1px solid var(--t5-border); box-shadow: var(--t5-shadow-sm); }
.t5-pad { padding: 28px; }

.t5-page-hero {
  background: linear-gradient(rgba(0,0,0,.72), rgba(0,0,0,.72)), linear-gradient(135deg, #111 0%, #333 100%);
  color: var(--t5-white); padding: 86px 0;
}
.t5-page-hero h1 { margin: 0; color: var(--t5-white); font-size: clamp(38px, 5vw, 64px); line-height: 1; font-weight: 900; text-transform: uppercase; }
.t5-breadcrumbs { margin-top: 14px; color: rgba(255,255,255,.75); font-size: 14px; }

.t5-topbar { background: #000; color: #fff; font-size: 13px; min-height: 42px; display: flex; align-items: center; }
.t5-topbar-inner { display: flex; justify-content: space-between; gap: 20px; }
.t5-topbar a { color: #fff; margin-right: 16px; }
.t5-topbar-right span { color: #bbb; margin-right: 8px; }

.t5-header { background: #fff; border-bottom: 1px solid var(--t5-border); position: sticky; top: 0; z-index: 100; }
.t5-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.t5-brand { font-weight: 900; font-size: 26px; color: var(--t5-dark); display: inline-flex; align-items: center; }
.t5-nav { display: flex; gap: 20px; align-items: center; }
.t5-nav > a { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; padding: 10px 0; border-bottom: 2px solid transparent; }
.t5-nav > a.active, .t5-nav > a:hover { color: var(--t5-red); border-bottom-color: var(--t5-red); }
.t5-header-call { margin-left: 6px; }
.t5-mobile-toggle { display: none; border: 1px solid var(--t5-border); background: #fff; width: 42px; height: 42px; font-size: 22px; }

.t5-footer { background: #090909; color: #fff; }
.t5-footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 60px 0 42px; }
.t5-footer h4 { margin: 0 0 14px; color: #fff; text-transform: uppercase; font-size: 14px; letter-spacing: .08em; border-left: 3px solid var(--t5-red); padding-left: 10px; }
.t5-footer ul { list-style: none; margin: 0; padding: 0; }
.t5-footer li { margin: 8px 0; color: #ddd; }
.t5-footer a:hover { color: #fff; }
.t5-footer p { color: #c7c7c7; }
.t5-footer-bottom { border-top: 1px solid #232323; padding: 15px 0; }

.t5-home-hero {
  position: relative; min-height: 680px; display: flex; align-items: center; background-size: cover;
  background-position: center; color: #fff;
}
.t5-home-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 48%, rgba(0,0,0,.25) 100%);
}
.t5-home-hero .t5-container { position: relative; z-index: 2; }
.t5-hero-content { max-width: 680px; padding: 90px 0 150px; }
.t5-hero-kicker {
  color: #fff; font-size: 13px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
  border-left: 5px solid var(--t5-red); padding-left: 14px; margin-bottom: 18px;
}
.t5-hero-title { margin: 0; color: #fff; font-size: clamp(44px, 6vw, 72px); line-height: .98; font-weight: 900; text-transform: uppercase; }
.t5-hero-text { max-width: 590px; color: rgba(255,255,255,.82); font-size: 18px; margin: 22px 0 30px; }
.t5-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.t5-find-car-wrap { position: relative; z-index: 5; margin-top: -82px; }
.t5-find-car { background: #fff; box-shadow: var(--t5-shadow-lg); padding: 30px; border-top: 5px solid var(--t5-red); }
.t5-find-car h2 { margin: 0 0 22px; color: var(--t5-dark); font-size: 28px; font-weight: 900; }
.t5-find-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end; }

.t5-field label {
  display: block; margin-bottom: 7px; color: var(--t5-dark); font-size: 11px;
  font-weight: 900; text-transform: uppercase; letter-spacing: .08em;
}
.t5-field input, .t5-field select, .t5-field textarea {
  width: 100%; height: 48px; border: 1px solid var(--t5-border); background: #fff;
  padding: 0 13px; color: var(--t5-text); outline: none;
}
.t5-field textarea { height: auto; min-height: 120px; padding-top: 12px; }
.t5-field select { padding-right: 30px; }

.t5-welcome-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; }
.t5-welcome-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.t5-stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.t5-stat-row strong { display: block; color: var(--t5-red); font-size: 30px; font-weight: 900; }
.t5-stat-row span { display: block; font-size: 12px; text-transform: uppercase; font-weight: 800; letter-spacing: .08em; }

.t5-vehicle-grid { display: grid; gap: 26px; }
.t5-vehicle-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.t5-vehicle-card {
  background: #fff; border: 1px solid var(--t5-border); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
.t5-vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--t5-shadow-md); }
.t5-vehicle-media { position: relative; aspect-ratio: 16 / 10; background: #ddd; overflow: hidden; }
.t5-vehicle-media img { width: 100%; height: 100%; object-fit: cover; }
.t5-badge-sale {
  position: absolute; top: 14px; left: 14px; background: var(--t5-red); color: #fff;
  padding: 7px 11px; font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase;
}
.t5-vehicle-body { padding: 20px; }
.t5-vehicle-make {
  color: var(--t5-muted); font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 6px;
}
.t5-vehicle-title { margin: 0 0 14px; color: var(--t5-dark); font-size: 19px; line-height: 1.25; font-weight: 900; }
.t5-specs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; padding: 14px 0;
  border-top: 1px solid var(--t5-border); border-bottom: 1px solid var(--t5-border); color: var(--t5-muted); font-size: 13px;
}
.t5-price { color: var(--t5-red); font-size: 24px; font-weight: 900; margin: 16px 0; }
.t5-vehicle-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.t5-process-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.t5-process-grid article { border: 1px solid var(--t5-border); padding: 24px; background: #fff; }
.t5-process-grid span { display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center; background: var(--t5-red); color: #fff; font-weight: 900; margin-bottom: 12px; }
.t5-process-grid h3 { margin: 0 0 8px; font-size: 20px; }

.t5-dark-section { background: var(--t5-black); }
.t5-why-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.t5-why-grid .t5-card { background: #151515; border-color: #2d2d2d; color: #ddd; padding: 24px; }
.t5-why-grid h3 { color: #fff; margin-top: 0; }
.t5-testimonial-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.t5-testimonial-grid .t5-card { padding: 24px; }
.t5-testimonial-grid strong { color: var(--t5-dark); text-transform: uppercase; font-size: 12px; }
.t5-final-cta { background: #0a0a0a; }
.t5-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.t5-inventory-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 34px; align-items: start; }
.t5-filter-sidebar { background: #fff; border: 1px solid var(--t5-border); padding: 24px; position: sticky; top: 100px; }
.t5-filter-sidebar h3 { margin: 0 0 20px; color: var(--t5-dark); font-size: 22px; font-weight: 900; }
.t5-inventory-topbar {
  display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 24px;
  padding: 18px 20px; background: #fff; border: 1px solid var(--t5-border);
}
.t5-inventory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
@media (min-width: 1280px) { .t5-inventory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.t5-vdp-main { padding: 60px 0 90px; }
.t5-vdp-head { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 30px; }
.t5-vdp-title { margin: 0; color: var(--t5-dark); font-size: clamp(34px, 4vw, 54px); line-height: 1.05; font-weight: 900; }
.t5-vdp-price { color: var(--t5-red); font-size: 34px; font-weight: 900; white-space: nowrap; }
.t5-vdp-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(330px, .85fr); gap: 34px; align-items: start; }
.t5-vdp-gallery { background: #fff; border: 1px solid var(--t5-border); padding: 14px; }
.t5-vdp-main-image { aspect-ratio: 16 / 10; background: #eee; overflow: hidden; }
.t5-vdp-main-image img { width: 100%; height: 100%; object-fit: cover; }
.t5-vdp-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 10px; }
.t5-vdp-thumbs img {
  aspect-ratio: 1 / .72; width: 100%; height: 100%; object-fit: cover; border: 2px solid transparent; cursor: pointer;
}
.t5-vdp-thumbs img.active { border-color: var(--t5-red); }
.t5-vdp-sidebar { position: sticky; top: 100px; }
.t5-inquiry-box { background: #fff; border: 1px solid var(--t5-border); box-shadow: var(--t5-shadow-sm); padding: 24px; }
.t5-inquiry-box h3 { margin: 0 0 16px; color: var(--t5-dark); font-size: 24px; font-weight: 900; }
.t5-vdp-actions { margin-bottom: 16px; }
.t5-spec-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 24px 0; }
.t5-spec-card { border: 1px solid var(--t5-border); background: #fff; padding: 14px; }
.t5-spec-card span { display: block; color: var(--t5-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.t5-spec-card strong { display: block; margin-top: 4px; color: var(--t5-dark); font-size: 15px; font-weight: 900; }
.t5-vdp-section { border: 1px solid var(--t5-border); padding: 24px; margin-bottom: 24px; background: #fff; }
.t5-vdp-section h3 { margin-top: 0; font-size: 28px; }
.t5-trust-boxes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.t5-trust-boxes .t5-card { padding: 16px; }

.t5-form-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 28px; align-items: start; }
.t5-main-form .form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.consent-group { margin: 12px 0 18px; font-size: 14px; }
.consent-group input { margin-right: 6px; }
.t5-two-col { display: grid; grid-template-columns: 1.3fr .9fr; gap: 28px; }
.t5-dark-card { background: #111; color: #e5e5e5; border-color: #222; }
.t5-dark-card h3, .t5-dark-card h4 { color: #fff; }
.t5-check-list { margin: 0; padding-left: 18px; }
.t5-check-list li { margin: 8px 0; }
.t5-map-placeholder { margin-top: 16px; border: 1px dashed #444; padding: 26px; text-align: center; }
.t5-legal h2 { font-size: 22px; margin: 20px 0 8px; }
.t5-center { text-align: center; }
.t5-center-actions { justify-content: center; }
.inventory-empty { margin-top: 22px; padding: 20px; }

.t5-form-feedback { margin-bottom: 14px; border: 1px solid var(--t5-border); padding: 12px; font-size: 14px; display: none; }
.t5-form-feedback.is-success { background: #eaf8ef; border-color: #8ecba3; color: #145b2b; }
.t5-form-feedback.is-error { background: #fff0f0; border-color: #f0abab; color: #7b1616; }

@media (max-width: 1024px) {
  .t5-home-hero { min-height: 600px; }
  .t5-find-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .t5-inventory-layout, .t5-vdp-grid, .t5-two-col, .t5-form-layout, .t5-welcome-grid { grid-template-columns: 1fr; }
  .t5-filter-sidebar, .t5-vdp-sidebar { position: static; }
  .t5-vdp-head { display: block; }
  .t5-vdp-price { margin-top: 12px; }
  .t5-vehicle-grid-3, .t5-process-grid, .t5-why-grid, .t5-testimonial-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .t5-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .t5-nav {
    position: absolute; top: 82px; right: 0; left: 0; background: #fff; border-bottom: 1px solid var(--t5-border);
    padding: 16px 20px; flex-direction: column; align-items: flex-start; display: none;
  }
  .t5-nav.is-open { display: flex; }
  .t5-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

@media (max-width: 700px) {
  .t5-container, .t5-wide { width: min(100% - 24px, var(--t5-container)); }
  .t5-section { padding: 56px 0; }
  .t5-home-hero { min-height: 560px; }
  .t5-hero-content { padding: 70px 0 130px; }
  .t5-hero-title { font-size: 42px; }
  .t5-find-car { padding: 22px; }
  .t5-find-grid, .t5-inventory-grid, .t5-spec-card-grid, .t5-main-form .form-row, .t5-trust-boxes, .t5-stat-row, .t5-vehicle-actions, .t5-process-grid, .t5-vehicle-grid-3, .t5-why-grid, .t5-testimonial-grid {
    grid-template-columns: 1fr;
  }
  .t5-vdp-thumbs { grid-template-columns: repeat(4, 1fr); }
  .t5-topbar-inner { flex-direction: column; align-items: flex-start; padding: 8px 0; }
  .t5-footer-grid { grid-template-columns: 1fr; }
}

/* Theme 5 second pass homepage/header overrides */
.t5-topbar {
  min-height: 36px;
  height: 36px;
  font-size: 12px;
  background: #050505;
}

.t5-topbar .t5-topbar-inner {
  align-items: center;
  height: 36px;
}

.t5-header-main {
  background: #fff;
  min-height: 78px;
  border-bottom: 1px solid #e8e8e8;
}

.t5-header .t5-header-inner {
  min-height: 78px;
  gap: 24px;
}

.t5-brand img {
  max-height: 46px;
  width: auto;
}

.t5-brand-fallback {
  display: inline-flex;
  align-items: center;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  color: #111;
  letter-spacing: .01em;
}

.t5-brand-fallback span {
  color: #d01818;
  margin-right: 2px;
}

.t5-header-call {
  min-height: 44px;
  padding: 0 18px;
}

.t5-btn-light {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.t5-btn-light:hover {
  background: #fff;
  color: #111;
  border-color: #fff;
}

.t5-home-hero {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center center;
  color: #fff;
}

.t5-home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.62) 48%, rgba(0,0,0,.28) 100%);
}

.t5-home-hero .t5-container {
  position: relative;
  z-index: 2;
}

.t5-hero-content {
  max-width: 680px;
  padding: 110px 0 170px;
}

.t5-hero-content h1,
.t5-hero-title {
  margin: 0;
  font-size: clamp(48px, 6vw, 76px);
  line-height: .95;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
}

.t5-hero-content p,
.t5-hero-text {
  max-width: 590px;
  color: rgba(255,255,255,.84);
  font-size: 18px;
  margin: 22px 0 30px;
}

.t5-hero-kicker {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-left: 5px solid #d01818;
  padding-left: 14px;
  margin-bottom: 18px;
}

.t5-find-car-wrap {
  position: relative;
  z-index: 10;
  margin-top: -90px;
  margin-bottom: 80px;
}

.t5-find-car {
  background: #fff;
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
  padding: 30px;
  border-top: 5px solid #d01818;
}

.t5-find-car h2 {
  margin: 0 0 24px;
  color: #111;
  font-size: 30px;
  font-weight: 900;
}

.t5-find-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 150px;
  gap: 14px;
  align-items: end;
}

.t5-field label {
  display: block;
  margin-bottom: 7px;
  color: #111;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.t5-field input,
.t5-field select {
  width: 100%;
  height: 52px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0 14px;
  font-size: 14px;
}

.t5-find-grid .t5-btn {
  height: 52px;
  width: 100%;
}

.t5-welcome-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 58px;
  align-items: center;
}

.t5-welcome-image {
  min-height: 420px;
  background: #ddd;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
}

.t5-welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t5-stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 28px;
}

.t5-stat {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-left: 4px solid #d01818;
  padding: 18px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.t5-stat strong {
  display: block;
  color: #d01818;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
}

.t5-stat span {
  display: block;
  margin-top: 8px;
  color: #111;
  font-size: 13px;
  font-weight: 800;
}

.t5-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 28px;
}

.t5-vehicle-card {
  border: 1px solid #e5e5e5;
  background: #fff;
}

.t5-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,#1a1a1a,#444);
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 1024px) {
  .t5-find-grid { grid-template-columns: repeat(2,1fr); }
  .t5-welcome-grid { grid-template-columns: 1fr; }
  .t5-featured-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 700px) {
  .t5-home-hero { min-height: 560px; }
  .t5-hero-content { padding: 80px 0 140px; }
  .t5-find-grid,
  .t5-stats-grid,
  .t5-featured-grid { grid-template-columns: 1fr; }
}

/* Theme 5 inventory redesign */
.t5-inventory-hero {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.92), rgba(0,0,0,.72), rgba(0,0,0,.42)),
    linear-gradient(135deg, #050505, #2a2a2a);
  color: #fff;
  overflow: hidden;
}

.t5-inventory-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 48%, rgba(255,255,255,.16), transparent 34%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.05) 60%, transparent 100%);
  opacity: .75;
  pointer-events: none;
}

.t5-inventory-hero .t5-container {
  position: relative;
  z-index: 2;
}

.t5-inventory-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.t5-inventory-hero .t5-breadcrumbs {
  margin-top: 14px;
  color: rgba(255,255,255,.9);
}

.t5-inventory-hero .t5-breadcrumbs a,
.t5-inventory-hero .t5-breadcrumbs span:last-child {
  color: #fff;
}

.t5-inventory-page {
  background: #f7f7f7;
  padding: 46px 0 90px;
}

.t5-inventory-hidden-filters {
  display: none !important;
}

.t5-inventory-layout {
  display: block !important;
}

.t5-filter-sidebar {
  display: none !important;
}

.t5-inventory-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  margin-bottom: 34px;
}

.t5-inventory-count {
  color: #111;
  font-size: 15px;
}

.t5-inventory-count strong {
  font-weight: 900;
}

.t5-inventory-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.t5-inventory-controls select {
  width: 180px;
  height: 52px;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0 14px;
  color: #111;
  font-weight: 600;
}

.t5-view-icons {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  background: #fff;
}

.t5-view-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-right: 1px solid #ddd;
  background: #fff;
  color: #999;
  font-size: 20px;
  cursor: default;
}

.t5-view-icon:last-child {
  border-right: 0;
}

.t5-view-icon.is-active {
  background: #e11919;
  color: #fff;
}

.t5-inventory-grid-modern {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.t5-modern-car-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 10px 28px rgba(0,0,0,.06);
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.t5-modern-car-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(0,0,0,.12);
}

.t5-modern-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  min-height: 42px;
  margin-bottom: 16px;
}

.t5-modern-card-top h3 {
  margin: 0;
  color: #151515;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  text-transform: uppercase;
}

.t5-card-icons {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.t5-card-icons span {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  color: #999;
  background: #fff;
  font-size: 12px;
}

.t5-modern-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ddd;
  margin-bottom: 18px;
}

.t5-modern-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t5-modern-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px 22px;
  margin-bottom: 22px;
}

.t5-modern-spec {
  display: grid;
  grid-template-columns: 28px minmax(0,1fr);
  column-gap: 10px;
  align-items: start;
}

.t5-spec-icon {
  grid-row: span 2;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ff1a1a;
  font-size: 18px;
  line-height: 1;
}

.t5-modern-spec strong {
  display: block;
  color: #111;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 900;
}

.t5-modern-spec small {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 12px;
  line-height: 1.2;
}

.t5-modern-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid #e5e5e5;
}

.t5-modern-price {
  color: #ff1a1a;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.t5-modern-msrp {
  margin-top: 6px;
  color: #555;
  font-size: 13px;
}

.t5-view-more {
  min-width: 118px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  transition: .2s ease;
}

.t5-view-more:hover {
  background: #b90000;
  color: #fff;
}

.t5-modern-media .t5-image-placeholder {
  min-height: 100%;
}

@media (max-width: 1100px) {
  .t5-inventory-grid-modern {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 760px) {
  .t5-inventory-toolbar {
    display: block;
  }

  .t5-inventory-controls {
    margin-top: 18px;
    justify-content: space-between;
  }

  .t5-inventory-grid-modern {
    grid-template-columns: 1fr;
  }

  .t5-modern-card-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .t5-view-more {
    width: 100%;
  }
}

/* THEME5 INVENTORY HARD RESET + MODERN GRID */
body .t5-inventory-hero {
  position: relative !important;
  min-height: 230px !important;
  display: flex !important;
  align-items: center !important;
  background:
    linear-gradient(90deg, rgba(0,0,0,.94), rgba(0,0,0,.72), rgba(0,0,0,.45)),
    linear-gradient(135deg, #050505, #2a2a2a) !important;
  color: #fff !important;
  overflow: hidden !important;
}

body .t5-inventory-hero::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 72% 48%, rgba(255,255,255,.18), transparent 34%),
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,.06) 60%, transparent 100%) !important;
  opacity: .75 !important;
  pointer-events: none !important;
}

body .t5-inventory-hero .t5-container {
  position: relative !important;
  z-index: 2 !important;
}

body .t5-inventory-hero h1 {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(42px, 5vw, 64px) !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

body .t5-inventory-breadcrumbs {
  margin-top: 14px !important;
  display: flex !important;
  gap: 9px !important;
  color: rgba(255,255,255,.9) !important;
  font-size: 15px !important;
}

body .t5-inventory-breadcrumbs a {
  color: #fff !important;
}

body .t5-inventory-breadcrumbs span:last-child {
  color: #e11919 !important;
}

body .t5-inventory-page {
  background: #f7f7f7 !important;
  padding: 46px 0 90px !important;
}

body .t5-hidden-filters,
body .t5-filter-sidebar,
body .t5-inventory-layout .t5-filter-sidebar {
  display: none !important;
}

body .t5-inventory-layout {
  display: block !important;
}

body .t5-inventory-toolbar {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 22px !important;
  margin-bottom: 34px !important;
}

body .t5-inventory-count {
  color: #111 !important;
  font-size: 15px !important;
}

body .t5-inventory-count strong {
  font-weight: 900 !important;
}

body .t5-inventory-controls {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

body .t5-toolbar-sort,
body .t5-inventory-controls select {
  width: 180px !important;
  height: 52px !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  padding: 0 14px !important;
  color: #111 !important;
  font-weight: 600 !important;
}

body .t5-view-icons {
  display: flex !important;
  align-items: center !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
}

body .t5-view-icon {
  width: 48px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-right: 1px solid #ddd !important;
  background: #fff !important;
  color: #999 !important;
  font-size: 20px !important;
  cursor: default !important;
}

body .t5-view-icon:last-child {
  border-right: 0 !important;
}

body .t5-view-icon.is-active {
  background: #e11919 !important;
  color: #fff !important;
}

body .t5-inventory-grid-modern {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

body .t5-modern-car-card {
  width: 100% !important;
  min-width: 0 !important;
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.06) !important;
  padding: 18px !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

body .t5-modern-car-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.12) !important;
}

body .t5-modern-card-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 14px !important;
  min-height: 42px !important;
  margin-bottom: 16px !important;
}

body .t5-modern-card-top h3 {
  margin: 0 !important;
  color: #151515 !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
}

body .t5-modern-card-top h3 a {
  color: inherit !important;
}

body .t5-card-icons {
  display: flex !important;
  gap: 6px !important;
  flex-shrink: 0 !important;
}

body .t5-card-icons span {
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1px solid #ddd !important;
  color: #999 !important;
  background: #fff !important;
  font-size: 12px !important;
}

body .t5-modern-media {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: #ddd !important;
  margin-bottom: 18px !important;
}

body .t5-vehicle-card-image {
  position: relative !important;
  overflow: hidden !important;
}

body .t5-modern-media img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

body .t5-modern-media .t5-image-placeholder {
  width: 100% !important;
  height: 100% !important;
  min-height: 220px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg,#1a1a1a,#444) !important;
  color: #fff !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

body .t5-modern-specs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 18px 22px !important;
  margin-bottom: 22px !important;
}

body .t5-modern-spec {
  display: grid !important;
  grid-template-columns: 28px minmax(0,1fr) !important;
  column-gap: 10px !important;
  align-items: start !important;
}

body .t5-spec-icon {
  grid-row: span 2 !important;
  width: 24px !important;
  height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ff1a1a !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

body .t5-modern-spec strong {
  display: block !important;
  color: #111 !important;
  font-size: 18px !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
}

body .t5-modern-spec small {
  display: block !important;
  margin-top: 4px !important;
  color: #666 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

body .t5-modern-card-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: end !important;
  gap: 16px !important;
  padding-top: 18px !important;
  border-top: 1px solid #e5e5e5 !important;
}

body .t5-modern-price {
  color: #ff1a1a !important;
  font-size: 22px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
}

body .t5-modern-msrp {
  margin-top: 6px !important;
  color: #555 !important;
  font-size: 13px !important;
}

body .t5-view-more {
  min-width: 118px !important;
  height: 46px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ff1a1a !important;
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  transition: .2s ease !important;
}

body .t5-view-more:hover {
  background: #b90000 !important;
  color: #fff !important;
}

@media (max-width: 1100px) {
  body .t5-inventory-grid-modern {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width: 760px) {
  body .t5-inventory-toolbar {
    display: block !important;
  }

  body .t5-inventory-controls {
    margin-top: 18px !important;
    justify-content: space-between !important;
  }

  body .t5-inventory-grid-modern {
    grid-template-columns: 1fr !important;
  }

  body .t5-modern-card-bottom {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  body .t5-view-more {
    width: 100% !important;
  }
}

/* THEME5 HOMEPAGE FEATURED VEHICLES SYNCED WITH INVENTORY */
body .t5-featured-section {
  background: #f7f7f7 !important;
  padding: 90px 0 !important;
}

body .t5-featured-section .t5-section-head {
  max-width: 760px !important;
  margin: 0 auto 42px !important;
  text-align: center !important;
}

body .t5-featured-section .t5-eyebrow {
  color: #e11919 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
  margin-bottom: 12px !important;
}

body .t5-featured-section .t5-title {
  color: #111 !important;
  font-size: clamp(36px, 4vw, 54px) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
  margin: 0 !important;
}

body .t5-featured-grid {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}

body .t5-featured-grid .t5-modern-car-card {
  height: 100% !important;
}

@media (max-width: 1100px) {
  body .t5-featured-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width: 760px) {
  body .t5-featured-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Theme 5 cleanup final overrides */
body .t5-inventory-breadcrumbs {
  display: none !important;
}

body .t5-modern-card-top {
  display: block !important;
  min-height: 0 !important;
  margin-bottom: 14px !important;
}

body .t5-card-icons {
  display: none !important;
}

body .t5-modern-card-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 16px !important;
  padding-top: 18px !important;
  border-top: 1px solid #e5e5e5 !important;
}

body .t5-modern-card-bottom > div {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

body .t5-modern-price {
  display: block !important;
  text-align: left !important;
  margin: 0 !important;
}

body .t5-home-contact {
  background: #111 !important;
  color: #fff !important;
  padding: 90px 0 !important;
}

body .t5-home-contact-grid {
  display: grid !important;
  grid-template-columns: .9fr 1.1fr !important;
  gap: 44px !important;
  align-items: start !important;
}

body .t5-home-contact-copy h2 {
  margin: 0 0 18px !important;
  color: #fff !important;
  font-size: clamp(36px, 4vw, 54px) !important;
  line-height: 1.05 !important;
  font-weight: 900 !important;
}

body .t5-home-contact-copy p {
  color: rgba(255,255,255,.76) !important;
  font-size: 17px !important;
  max-width: 560px !important;
}

body .t5-contact-mini-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 14px !important;
  margin-top: 28px !important;
}

body .t5-contact-mini {
  border: 1px solid rgba(255,255,255,.14) !important;
  background: rgba(255,255,255,.06) !important;
  padding: 18px !important;
}

body .t5-contact-mini span {
  display: block !important;
  color: #e11919 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  margin-bottom: 7px !important;
}

body .t5-contact-mini strong,
body .t5-contact-mini a {
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

body .t5-lead-form {
  background: #fff !important;
  padding: 30px !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.22) !important;
}

body .t5-lead-form .t5-field {
  margin-bottom: 16px !important;
}

body .t5-lead-form label {
  display: block !important;
  margin-bottom: 7px !important;
  color: #111 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

body .t5-lead-form input,
body .t5-lead-form textarea {
  width: 100% !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  color: #111 !important;
  padding: 0 14px !important;
  font-size: 14px !important;
}

body .t5-lead-form input {
  height: 52px !important;
}

body .t5-lead-form textarea {
  min-height: 130px !important;
  padding-top: 13px !important;
  resize: vertical !important;
}

body .t5-lead-form .t5-btn {
  width: 100% !important;
  height: 52px !important;
}

@media (max-width: 900px) {
  body .t5-home-contact-grid,
  body .t5-contact-mini-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Theme 5 visual refinement */
body .t5-home-contact {
  background: #fff !important;
  color: #111 !important;
}

body .t5-home-contact-copy h2 {
  color: #111 !important;
}

body .t5-home-contact-copy p {
  color: #666 !important;
}

body .t5-home-contact .t5-eyebrow {
  color: #e11919 !important;
}

body .t5-home-inquiry-box {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  box-shadow: 0 24px 70px rgba(0,0,0,.12) !important;
}

body .t5-home-inquiry-box h3 {
  color: #111 !important;
}

body .t5-lead-form {
  padding: 0 !important;
  box-shadow: none !important;
}

body .t5-contact-mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body .t5-contact-mini {
  min-height: 125px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding: 24px 20px !important;
  border: 1px solid #e5e5e5 !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.06) !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

body .t5-contact-mini span {
  color: #e11919 !important;
  margin-bottom: 9px !important;
}

body .t5-contact-mini strong,
body .t5-contact-mini a {
  color: #111 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
}

body .t5-modern-specs-single {
  grid-template-columns: 1fr !important;
}

body .t5-modern-specs-single .t5-modern-spec {
  max-width: 220px !important;
}

body .t5-footer-main {
  align-items: start !important;
}

body .t5-footer-main .t5-footer-col:not(:first-child) {
  padding-top: 70px !important;
}

@media (max-width: 800px) {
  body .t5-footer-main .t5-footer-col:not(:first-child) {
    padding-top: 0 !important;
  }
}

/* Theme 5 final responsive/layout cleanup */
.t5-topbar-left {
  display: none !important;
}

.t5-topbar-inner {
  justify-content: flex-end !important;
}

.t5-topbar-right {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
}

.t5-nav > a {
  padding: 10px 20px !important;
}

.t5-btn.t5-btn-primary.t5-header-call {
  padding: 10px 20px !important;
  min-height: auto !important;
}

.t5-consent-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 12px 0 16px !important;
  color: #111 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}

.t5-consent-row input[type="checkbox"] {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;
  margin: 0 !important;
  accent-color: #e11919 !important;
}

.t5-consent-row span {
  display: inline !important;
}

body .t5-lead-form input[type="text"],
body .t5-lead-form input[type="tel"],
body .t5-lead-form input[type="email"],
body .t5-lead-form textarea {
  width: 100% !important;
  border: 1px solid #ddd !important;
  background: #fff !important;
  color: #111 !important;
  padding: 0 14px !important;
  font-size: 14px !important;
}

body .t5-lead-form input[type="text"],
body .t5-lead-form input[type="tel"],
body .t5-lead-form input[type="email"] {
  height: 52px !important;
}

body .t5-footer-main {
  align-items: center !important;
  padding: 70px 0 55px !important;
}

body .t5-footer-col {
  align-self: center !important;
}

body .t5-footer-col:not(:first-child) {
  padding-top: 0 !important;
}

body .t5-footer-bottom {
  padding: 22px 0 !important;
}

@media (max-width: 900px) {
  .t5-nav.is-open {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .t5-nav.is-open > a {
    width: auto !important;
    text-align: center !important;
    padding: 10px 20px !important;
  }

  .t5-nav.is-open .t5-header-call,
  .t5-header-call {
    padding: 10px 20px !important;
  }
}

@media (max-width: 800px) {
  body .t5-footer-main .t5-footer-col:not(:first-child) {
    padding-top: 0 !important;
  }

  .t5-footer {
    text-align: center !important;
  }

  .t5-footer-main {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 50px 0 34px !important;
    gap: 28px !important;
  }

  .t5-footer-col {
    width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .t5-footer-brand {
    width: 50% !important;
    margin: 0 auto 18px !important;
    display: flex !important;
    justify-content: center !important;
  }

  .t5-footer-brand img {
    width: 100% !important;
    max-width: 220px !important;
    margin: 0 auto !important;
  }

  .t5-footer-about,
  .t5-footer p {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  .t5-footer-col ul,
  .t5-footer-links {
    padding-left: 0 !important;
    text-align: center !important;
  }

  .t5-footer-col li {
    text-align: center !important;
  }
}

@media (max-width: 700px) {
  .t5-topbar-inner {
    justify-content: center !important;
    text-align: center !important;
  }

  .t5-topbar-right {
    margin-left: 0 !important;
    justify-content: center !important;
  }

  .t5-welcome-image {
    display: none !important;
  }
}

/* Theme 5 VDP and contact proportion final layout */
body .t5-home-contact-grid {
  grid-template-columns: 60% 40% !important;
  gap: 34px !important;
  align-items: start !important;
}

body .t5-home-inquiry-box {
  max-width: 460px !important;
  width: 100% !important;
  justify-self: end !important;
}

body .t5-home-contact-copy {
  max-width: 720px !important;
}

body .t5-vdp-price {
  font-size: 44px !important;
  line-height: 1 !important;
}

body .t5-vdp-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, .8fr) !important;
  gap: 34px !important;
  align-items: start !important;
}

body .t5-vdp-summary {
  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  padding: 26px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.06) !important;
}

body .t5-vdp-summary .t5-vdp-price {
  margin-bottom: 22px !important;
}

body .t5-vdp-summary .t5-spec-card-grid {
  margin: 0 0 24px !important;
}

body .t5-vdp-actions {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
}

body .t5-vdp-actions .t5-btn {
  width: 100% !important;
}

body .t5-trust-boxes {
  margin-top: 40px !important;
}

body #vehicleInquiryForm,
body .t5-vdp-inquiry-section,
body .t5-vdp-inquiry-wrap {
  width: 100% !important;
  max-width: none !important;
  margin-top: 32px !important;
}

body .t5-vdp-inquiry-wrap .t5-inquiry-box {
  width: 100% !important;
}

body .t5-vdp-inquiry-wrap .form-row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
}

body .t5-inquiry-success-card {
  display: none;
  text-align: center;
  border: 1px solid #e5e5e5;
  padding: 28px;
  background: #fff;
}

body .t5-inquiry-success-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f7ec;
  color: #157a32;
  font-weight: 900;
}

@media (max-width: 1000px) {
  body .t5-vdp-grid {
    grid-template-columns: 1fr !important;
  }

  body .t5-vdp-summary {
    order: 2 !important;
  }

  body .t5-vdp-gallery-wrap {
    order: 1 !important;
  }
}

@media (max-width: 900px) {
  body .t5-home-contact-grid {
    grid-template-columns: 1fr !important;
  }

  body .t5-home-inquiry-box {
    max-width: 100% !important;
    justify-self: stretch !important;
  }
}

@media (max-width: 700px) {
  body .t5-vdp-price {
    font-size: 34px !important;
  }

  body .t5-vdp-inquiry-wrap .form-row {
    grid-template-columns: 1fr;
  }
}

/* Theme 5 final vehicle/contact/Facebook tracking fixes */
body .t5-vdp-summary .t5-spec-card-grid {
  display: block !important;
  margin: 0 0 24px !important;
  border-top: 1px solid #e5e5e5 !important;
}

body .t5-vdp-summary .t5-spec-card {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #e5e5e5 !important;
  background: transparent !important;
}

body .t5-vdp-summary .t5-spec-card span {
  color: #777 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
}

body .t5-vdp-summary .t5-spec-card strong {
  margin: 0 !important;
  color: #111 !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  text-align: right !important;
}

body .t5-vdp-lower {
  width: calc((100% - 34px) * 0.66) !important;
  max-width: 100% !important;
  margin-top: 36px !important;
}

body .t5-vdp-lower .t5-vdp-section,
body .t5-vdp-lower .t5-trust-boxes,
body .t5-vdp-lower .t5-vdp-inquiry-wrap,
body .t5-vdp-lower .t5-inquiry-box {
  width: 100% !important;
  max-width: 100% !important;
}

body .t5-vdp-lower .t5-vdp-inquiry-wrap {
  margin-top: 32px !important;
}

@media (max-width: 1000px) {
  body .t5-vdp-lower {
    width: 100% !important;
  }
}

body .t5-related-grid,
body .t5-vdp-related-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
}

@media (max-width: 1100px) {
  body .t5-related-grid,
  body .t5-vdp-related-grid {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }
}

@media (max-width: 760px) {
  body .t5-related-grid,
  body .t5-vdp-related-grid {
    grid-template-columns: 1fr !important;
  }
}

body .t5-map-placeholder {
  display: none !important;
}

/* Theme 5 VDP mobile sticky action bar */
@media (max-width: 900px) {
  body .t5-vehicle-actions.t5-vdp-actions {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 9999 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    padding: 12px 14px !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    background: #fff !important;
    border-top: 1px solid #e5e5e5 !important;
    box-shadow: 0 -6px 20px rgba(0,0,0,.12) !important;
  }

  body .t5-vehicle-actions.t5-vdp-actions .t5-btn {
    width: 100% !important;
    height: 48px !important;
    font-size: 14px !important;
    padding: 0 12px !important;
  }

  body .t5-vdp-main,
  body .t5-vdp-section,
  body .t5-vdp-lower {
    padding-bottom: 90px !important;
  }
}

body .t5-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.92);
  padding: 70px 80px;
}

body .t5-lightbox.is-open {
  display: flex;
}

body .t5-lightbox-img {
  max-width: min(1100px, 92vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}

body .t5-lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

body .t5-lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 70px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 58px;
  line-height: 1;
  cursor: pointer;
}

body .t5-lightbox-prev {
  left: 28px;
}

body .t5-lightbox-next {
  right: 28px;
}

body .t5-main-gallery-image {
  cursor: zoom-in;
}

body .t5-vdp-main-image {
  position: relative !important;
}

body .t5-gallery-nav {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 5 !important;
  width: 46px !important;
  height: 58px !important;
  border: 1px solid rgba(255,255,255,.35) !important;
  background: rgba(0,0,0,.45) !important;
  color: #fff !important;
  font-size: 46px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
}

body .t5-gallery-prev {
  left: 14px !important;
}

body .t5-gallery-next {
  right: 14px !important;
}

body .t5-gallery-nav:hover {
  background: #e11919 !important;
  border-color: #e11919 !important;
}

body .t5-logo img,
body .t5-header-logo img,
body .t5-brand img {
  max-height: 75px !important;
  width: auto !important;
}

body .t5-header-main {
  min-height: 86px !important;
}

body .t5-phone-error {
  border-color: #e11919 !important;
  box-shadow: 0 0 0 3px rgba(225,25,25,.12) !important;
}

@media (max-width: 700px) {
  body .t5-gallery-nav {
    width: 38px !important;
    height: 50px !important;
    font-size: 38px !important;
  }

  body .t5-gallery-prev {
    left: 8px !important;
  }

  body .t5-gallery-next {
    right: 8px !important;
  }

  body .t5-logo img,
  body .t5-header-logo img,
  body .t5-brand img {
    max-height: 62px !important;
  }

  body .t5-lightbox {
    padding: 60px 16px;
  }

  body .t5-lightbox-arrow {
    width: 44px;
    height: 56px;
    font-size: 44px;
  }

  body .t5-lightbox-prev {
    left: 8px;
  }

  body .t5-lightbox-next {
    right: 8px;
  }

  body .t5-lightbox-close {
    top: 12px;
    right: 12px;
  }
}

body .t5-page-hero {
  padding-top: 60px !important;
}

body .t5-breadcrumbs,
body .t5-inventory-breadcrumbs,
body .breadcrumbs,
body [class*="breadcrumb"] {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}
