.gear-showroom {
  --accent: #b62931;
  --ink: #202226;
  --line: #e1ded9;
  --paper: #f7f5f1;
  background: #fff;
}
.showroom-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.showroom-nav {
  min-height: 92px;
}
.showroom-nav #nav {
  gap: clamp(11px, 1.15vw, 20px);
}
.showroom-nav #nav a {
  font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
}
.showroom-nav #nav [aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 6px;
}
.showroom-nav-group {
  --showroom-nav-highlight-start: -7px;
  display: flex;
  align-items: center;
  position: relative;
}
.showroom-nav-group::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline: var(--showroom-nav-highlight-start) 0;
  block-size: 44px;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-radius: 7px;
  pointer-events: none;
}
.showroom-nav-group > :is(a, button) {
  position: relative;
}
.showroom-nav #nav .showroom-nav-group > a {
  display: flex;
  align-items: center;
  min-height: 44px;
}
.showroom-nav-group:where(:hover, :focus-within, :has(> .showroom-nav-toggle[aria-expanded="true"]))::before {
  border-color: #edc6cb;
  background: #fdf0f1;
}
.showroom-nav #nav .showroom-nav-group:where(:hover, :focus-within, :has(> .showroom-nav-toggle[aria-expanded="true"])) > a,
.showroom-nav-group:where(:hover, :focus-within, :has(> .showroom-nav-toggle[aria-expanded="true"])) > .showroom-nav-toggle {
  color: var(--accent);
}
.showroom-nav-toggle {
  display: grid;
  place-items: center;
  width: 30px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--ink);
}
.showroom-nav-toggle span {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.showroom-nav-toggle[aria-expanded="true"] span {
  transform: translateY(2px) rotate(225deg);
}
.showroom-nav-toggle[hidden],
.showroom-nav-dropdown[hidden] {
  display: none;
}
.showroom-nav-dropdown {
  position: absolute;
  z-index: 6;
  top: 100%;
  left: 0;
  width: var(--showroom-dropdown-width, 224px);
  margin: 0;
  list-style: none;
  max-height: min(31rem, 70dvh);
  overflow-y: auto;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-top: 2px solid var(--accent);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 26px #20222626;
  font: 400 14px/1.4 Arial, sans-serif;
  text-transform: none;
  letter-spacing: normal;
}
#sell-trade-menu {
  --showroom-dropdown-width: 204px;
}
#new-parts-menu {
  --showroom-dropdown-width: 272px;
}
.showroom-nav-dropdown p {
  margin: 0;
  padding: 6px 7px;
  color: #56524f;
}
.showroom-nav-dropdown ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.showroom-nav #nav .showroom-nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 33px;
  gap: 10px;
  padding: 5px 7px;
  font-weight: 500;
}
.showroom-nav #nav :is(#sell-trade-menu, #new-parts-menu) a {
  min-height: 44px;
  white-space: normal;
}
.showroom-nav-dropdown a:hover {
  background: var(--paper);
}
.inventory-brand-count {
  color: #56524f;
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.showroom-nav #nav .inventory-brand-all {
  min-height: 40px;
  margin-top: 5px;
  border-top: 1px solid var(--line);
  color: var(--accent);
}
.showroom-phone {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  white-space: nowrap;
}
.showroom-phone small {
  display: block;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}
.showroom-phone strong {
  font-size: 16px;
}
.showroom-email {
  display: block;
  font-size: 12px;
  text-decoration: underline;
}
.showroom-kicker {
  color: #56524f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.6;
}
.showroom-kicker span {
  color: var(--accent);
  margin-inline: 4px;
}
.showroom-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--paper);
}
.showroom-backdrop {
  position: absolute;
  inset: 0 0 0 auto;
  width: 80%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}
.showroom-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #f7f5f1 18%, #f7f5f1fa 29%, #f7f5f1d4 40%, #f7f5f143 56%, transparent 72%);
  pointer-events: none;
}
.showroom-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: clamp(480px, 43vw, 640px);
  padding-block: 50px 68px;
}
.showroom-intro {
  max-width: 520px;
}
.showroom-intro h1,
.inventory-intro h1,
.listing-heading h1 {
  color: var(--ink);
  font-size: clamp(44px, 6.6vw, 96px);
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.07em;
  margin: 15px 0;
}
.showroom-intro h1 {
  font-size: clamp(42px, 5.6vw, 82px);
}
.showroom-specialty {
  font-size: clamp(21px, 3vw, 32px);
  font-weight: 750;
  letter-spacing: -.025em;
  margin: 0 0 12px;
}
.showroom-description {
  color: #55575b;
  font-size: 16px;
  line-height: 1.6;
  max-width: 38ch;
  margin-bottom: 24px;
}
.gear-showroom .search {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: none;
}
.dealer-trust {
  display: grid;
  grid-template-columns: 1.12fr 1fr 1.1fr;
  gap: 10px;
  margin-block: 12px;
}
.brand-logo-strip {
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  align-items: center;
  list-style: none;
  margin-block: 0 12px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fdfdfd;
}
.brand-logo-strip li {
  display: grid;
  place-items: center;
  padding: 5px;
}
.brand-logo-crop {
  display: block;
  width: min(100%, 64px, calc(var(--crop-width) * var(--logo-height, 42px) / var(--crop-height)));
  aspect-ratio: var(--crop-width) / var(--crop-height);
  background-image: url('/assets/brand-logo-sheet.png');
  background-repeat: no-repeat;
  background-size: calc(1280 * 100% / var(--crop-width)) calc(900 * 100% / var(--crop-height));
  background-position:
    calc(var(--crop-x) * 100% / (1280 - var(--crop-width)))
    calc(var(--crop-y) * 100% / (900 - var(--crop-height)));
}
@media (max-width: 800px) {
  .brand-logo-strip {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .brand-logo-strip li:nth-child(n+7) {
    border-top: 1px solid var(--line);
  }
  .brand-logo-crop {
    --logo-height: 34px;
  }
}
.trust-item {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.35vw, 18px);
  min-width: 0;
  padding: 12px clamp(9px, 1.4vw, 19px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}
a.trust-item:hover {
  border-color: #bd877e;
}
a.trust-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 43px;
  height: 43px;
  border-radius: 9px;
  background: white;
  color: var(--accent);
}
.trust-icon-sold {
  background: #f8e4e2;
}
.sold-stamp {
  padding: 2px 2px 1px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: #a51f28;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .025em;
  line-height: 1;
  transform: rotate(-8deg);
}
.trust-icon-member {
  width: clamp(75px, 8vw, 108px);
  padding: 4px;
}
.trust-icon-member img {
  display: block;
  width: 100%;
  height: auto;
}
.trust-copy {
  display: grid;
  gap: 3px;
}
.trust-copy strong {
  font-size: clamp(14px, 1.45vw, 19px);
  line-height: 1.15;
}
.trust-number {
  font-size: 1.35em;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.035em;
}
.trust-detail {
  color: #55575b;
  font-size: 11px;
  line-height: 1.4;
}
.trust-google {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.trust-google-wordmark,
.trust-stars {
  display: block;
  max-width: 100%;
  height: auto;
}
.trust-google-wordmark {
  width: clamp(68px, 11vw, 116px);
}
.trust-stars {
  width: clamp(60px, 9vw, 102px);
  fill: #d39219;
}
@media (max-width: 700px) {
  .dealer-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .trust-item {
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 7px 5px 8px;
    text-align: center;
  }
  .trust-icon {
    width: 31px;
    height: 31px;
  }
  .trust-icon-member {
    width: 72px;
    height: 31px;
  }
  .trust-copy strong {
    font-size: 12px;
  }
  .trust-number {
    display: block;
    font-size: 16px;
  }
  .trust-detail {
    display: none;
  }
}
.gear-showroom .btn,
.gear-showroom .red-button {
  border-radius: 7px;
}
.gear-showroom .card {
  border-radius: 12px;
  overflow: hidden;
}
.gear-showroom .badge {
  border-radius: 4px;
  color: #fff;
  background: #252429;
  border: 1px solid #ffffff70;
  letter-spacing: .035em;
}
.gear-showroom .showroom-inventory {
  padding-top: 34px;
}
.inventory-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 24px;
}
.inventory-intro h1,
.listing-heading h1 {
  font-size: clamp(36px, 5vw, 66px);
}
.inventory-intro p:last-child,
.listing-heading p:last-child,
.listing-note {
  color: #595a60;
  margin: 0;
}
.inventory-workspace {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.showroom-inventory .inventory-filters {
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
}
.inventory-filters h2 {
  font-size: 18px;
  letter-spacing: -.03em;
  margin: 0 0 2px;
}
.inventory-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
}
.inventory-results > .inventory-note {
  margin-top: 0;
}
.inventory-sort {
  max-width: 100%;
  min-height: 37px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: white;
  color: var(--ink);
  font-size: 13px;
}
.inventory-view-switch {
  display: inline-flex;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: normal;
}
.inventory-view-switch a {
  padding: 7px 14px;
  border-radius: 6px;
  color: var(--ink);
}
.inventory-view-switch a[aria-current] {
  background: var(--ink);
  color: white;
}
.inventory-results #cars {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 235px), 1fr));
}
#cars.inventory-list-view {
  grid-template-columns: minmax(0, 1fr);
}
.inventory-list-view .card {
  display: grid;
  grid-template-columns: min(46%, 420px) minmax(0, 1fr);
  align-items: start;
}
.inventory-list-view .photo:has(img),
.featured-inventory .photo:has(img) {
  aspect-ratio: auto;
}
.inventory-list-view .photo img,
.featured-inventory .photo img {
  position: static;
  display: block;
  height: auto;
  object-fit: contain;
}
.inventory-list-view .card-bottom {
  flex-wrap: wrap;
}
@media (max-width: 500px) {
  .inventory-list-view .card {
    grid-template-columns: minmax(0, 1fr);
  }
}
.gear-showroom .detail-shell {
  background: #fff;
}
.listing-heading {
  padding: 12px 0 26px;
}
.gear-showroom .vehicle-columns {
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}
.gear-showroom .photo-column {
  padding: 0;
}
.gear-showroom .gallery-stage {
  border-radius: 12px;
}
.gear-showroom .spec-column {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(16px, 2vw, 24px);
  background: var(--paper);
}
.spec-column h2 {
  margin: 0 0 6px;
}
.gear-showroom .vehicle-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0 22px;
  gap: 8px;
}
.spec-column .vehicle-actions a {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 44px;
}
.spec-column .vehicle-actions a:not(:first-child) {
  background: #fff;
  color: var(--ink);
  border: 1px solid #c9c5bf;
}
.spec-column dl div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.spec-column dt::after {
  content: none;
}
.spec-column dd {
  text-align: right;
}
.vehicle-overview {
  margin-top: 24px;
  padding: clamp(16px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.vehicle-overview h2 {
  margin: 0 0 8px;
  font-size: 23px;
}
.vehicle-overview p {
  margin: 0;
  color: #44464b;
  line-height: 1.6;
}
.gear-showroom .calculator-column {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 24px;
  padding: 18px 22px;
}
.calculator-column summary {
  font-size: 18px;
  font-weight: 750;
  cursor: pointer;
}
.gear-showroom .calculator-column form {
  display: grid;
  grid-template-columns: minmax(120px, .6fr) minmax(0, 1fr);
  max-width: 640px;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}
.gear-showroom .calculator-column label {
  margin: 0;
}
.gear-showroom .calculator-column .estimate-note,
.gear-showroom .calculator-column output {
  grid-column: 1 / -1;
}
@media (max-width: 1170px) {
  .showroom-phone {
    display: none;
  }
}
@media (width > 960px) {
  #inventory-brand-menu {
    inset-inline-start: var(--showroom-nav-highlight-start);
  }
  .showroom-nav {
    width: min(1240px, calc(100% - 64px));
    gap: 14px;
  }
  .showroom-nav .maxgear-logo {
    width: clamp(150px, calc(100vw - 1025px), 250px);
    height: auto;
  }
  .showroom-nav .showroom-phone {
    padding-left: 12px;
  }
}
@media (max-width: 960px) {
  .showroom-nav {
    position: relative;
  }
  .showroom-nav .menu {
    display: block;
    border: 1px solid var(--line);
    background: #fff;
    padding: 7px 12px;
  }
  .showroom-nav #nav {
    display: none;
    position: absolute;
    z-index: 5;
    top: 100%;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
  }
  .showroom-nav #nav.open {
    display: flex;
  }
  .showroom-nav #nav:has(.showroom-nav-group) {
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
  }
  .showroom-nav-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .showroom-nav-group::before {
    inset-inline: -5px;
  }
  .showroom-nav-toggle {
    width: 44px;
  }
  .showroom-nav-dropdown {
    grid-column: 1 / -1;
    position: static;
    width: 100%;
    max-height: none;
    box-shadow: none;
  }
  .showroom-nav #nav .showroom-nav-dropdown a {
    min-height: 44px;
  }
}
@media (max-width: 760px) {
  .showroom-nav {
    min-height: 68px;
  }
  .inventory-workspace,
  .gear-showroom .vehicle-columns {
    grid-template-columns: minmax(0, 1fr);
  }
  .showroom-backdrop {
    inset: auto 0 0;
    width: 100%;
    height: clamp(225px, 51vw, 350px);
  }
  .showroom-hero::after {
    inset: auto 0 0;
    height: clamp(225px, 51vw, 350px);
    background: linear-gradient(180deg, var(--paper), transparent 26%);
  }
  .showroom-hero-content {
    min-height: auto;
    padding-block: 32px calc(clamp(225px, 51vw, 350px) + 18px);
  }
  .showroom-inventory .inventory-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .inventory-filters h2 {
    grid-column: 1 / -1;
  }
}
@media (max-width: 440px) {
  .gear-showroom .calculator-column form {
    grid-template-columns: minmax(0, 1fr);
  }
  .inventory-filters .inventory-actions {
    grid-column: 1 / -1;
  }
}

.vehicle-overview p + p {margin-top: 10px;}
.vehicle-overview .hero-actions, .sold-archive .hero-actions {margin-top: 18px;}
.related-car .related-photo {position: relative; width: 40%; flex: none; aspect-ratio: 4/3; background: #e0ded9; overflow: hidden;}
.related-photo img {display: block; width: 100%; height: 100%; object-fit: cover;}
.related-photo img[hidden], .gallery-stage img[hidden], .sold-archive .photo img[hidden] {display: none;}
.photo-unavailable::before, .missing-photo {content: 'Photo unavailable'; display: grid; place-content: center; min-height: 100%; font-size: 12px; color: #555; text-align: center;}
.missing-photo {min-height: 240px;}
.gear-showroom .sold-label {color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .06em;}
.gear-showroom .sold-pending-status {color: #a61927; font-weight: 800; letter-spacing: .025em;}
.gear-showroom .coming-soon-status {color: #424b54; font-weight: 800; letter-spacing: .025em;}
.sold-pending-ribbon {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  container-type: size;
  isolation: isolate;
  pointer-events: none;
}
.sold-pending-ribbon[hidden] {display: none;}
.sold-pending-ribbon::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgb(179 20 34 / 74%);
  clip-path: polygon(0 81%, 81% 0, 100% 0, 100% 19%, 19% 100%, 0 100%);
}
.sold-pending-ribbon > span {
  color: #fff;
  font: 900 clamp(16px, min(12cqw, 17cqh), 92px)/1 Arial, sans-serif;
  letter-spacing: .075em;
  text-shadow: 0 2px 5px #420813ba;
  transform: rotate(-34deg);
  transform: rotate(calc(-1 * atan2(100cqh, 100cqw)));
}
.coming-soon-ribbon::before {background: rgb(67 74 82 / 80%);}
.coming-soon-ribbon > span {
  font-size: clamp(9px, min(8cqw, 12cqh), 70px);
  text-shadow: 0 2px 5px #181c20b3;
  white-space: nowrap;
}
.sold-photo-stamp {
  position: absolute;
  z-index: 2;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  padding: 3px 8px;
  border: 1px solid #fffc;
  border-radius: 4px;
  outline: 2px solid rgb(180 36 45 / 76%);
  background: rgb(174 31 41 / 70%);
  color: #fff;
  font: 800 clamp(12px, 1.3vw, 17px)/1.05 Arial, sans-serif;
  letter-spacing: .07em;
  text-shadow: 0 1px 3px #521b1b99;
  transform: rotate(-9deg);
  pointer-events: none;
}
.vehicle-thumbs button:has(> .sold-photo-stamp) {position: relative;}
.vehicle-thumbs .sold-photo-stamp {
  inset-block-start: 6px;
  inset-inline-end: 6px;
  padding: 2px 4px;
  outline-width: 1px;
  font-size: clamp(8px, 1vw, 12px);
}
.equipment-note {font-size: 14px; color: #44464b;}

.gear-showroom .listing-page {
  width: min(1440px, calc(100% - 48px));
  padding: 24px 0 48px;
}
.listing-page .back-link {
  display: inline-block;
  padding: 0;
  color: var(--accent);
  font-size: 14px;
}
.listing-page .listing-heading {padding: 14px 0 22px;}
.listing-page .listing-heading h1 {
  font-size: clamp(30px, 5vw, 54px);
  margin-bottom: 4px;
}
.listing-page .vehicle-columns {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}
.listing-page .photo-column {
  margin-top: 14px;
}
.listing-page .photo-column:has(.vehicle-thumbnail-browser) {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 7px;
}
@media (min-width:901px) {
  .listing-page .photo-column:has(.vehicle-thumbnail-browser) {
    width:min(1920px,calc(100vw - 32px));
    max-width:none;
    margin-inline:calc((100% - min(1920px,100vw - 32px)) / 2);
    grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
  }
}
.listing-page .photo-column:not(:has(.vehicle-thumbnail-browser)) .gallery-stage {
  max-width: 760px;
}
.listing-page .photo-column:not(:has(img)) .gallery-stage {
  aspect-ratio: auto;
  min-height: 120px;
}
.listing-page .photo-column:has(.vehicle-thumbnail-browser) .gallery-stage {
  height: 100%;
  min-height: 0;
  border-radius: 8px 0 0 8px;
}
.listing-page #main-photo:not([hidden]) { display: block; }
.listing-page .gallery-stage .badge { display: none; }
.listing-page .listing-heading { padding-top: 24px; }
.vehicle-thumbnail-browser {
  position: relative;
  min-width: 0;
}
.vehicle-thumbnail-browser .vehicle-thumbs {
  height: 100%;
  margin: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.listing-page .vehicle-thumbnail-browser .vehicle-thumbs button {
  border: 0;
  border-radius: 4px;
  min-width: 0;
  min-height: 0;
}
.vehicle-thumbnail-browser .vehicle-thumbs button[aria-pressed="true"] {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.vehicle-thumbnail-browser .vehicle-thumbs button[hidden] { display: none; }
.vehicle-thumbnail-browser .vehicle-thumbs img {
  height: 100%;
  object-fit: contain;
}
.thumbnail-page-arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #24262a26;
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 2px 8px #0003;
}
.thumbnail-page-prev { left: 8px; }
.thumbnail-page-next { right: 8px; }
.thumbnail-page-arrow:disabled { visibility: hidden; }
.thumbnail-page-count {
  position: absolute;
  right: 8px;
  bottom: 8px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 5px;
  background: #17191de8;
  color: white;
  font-size: 12px;
  pointer-events: none;
}
.listing-page .gallery-stage {background: #eeece8;}
:is(.photo, .gallery-stage, .related-photo):has(> img[src="/assets/vehicle-photo-placeholder.png"]:not(.sold-photo-placeholder))::after {
  content: "COMING SOON";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 12px 8px;
  color: #fff;
  background: linear-gradient(#0009, #0000);
  text-align: center;
  font: 700 18px/1.3 Arial, sans-serif;
  letter-spacing: .12em;
  pointer-events: none;
}
.listing-page .gallery-stage > button {width: 44px; height: 44px; background: #fff;}
.listing-page .vehicle-thumbs button {border-radius: 7px; overflow: hidden;}
.listing-page .report-badge {margin: 12px 0 0; border-radius: 7px;}
.listing-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(260px, 2fr);
  align-items: start;
  gap: 18px;
  min-width: 0;
}
@media (max-width: 650px) {
  .listing-page .photo-column:has(.vehicle-thumbnail-browser),
  .listing-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }
  .listing-page .photo-column:has(.vehicle-thumbnail-browser) .gallery-stage {
    height: auto;
    border-radius: 8px;
  }
}
.listing-purchase-column {
  display: grid;
  min-width: 0;
  gap: 14px;
}
.listing-purchase-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.listing-page .listing-purchase-links .report-badge { margin: 0; }
.listing-page .report-badge img { display: block; width: 175px; max-width: 100%; height: auto; background: #fff; }
.listing-social-links {
  display: flex;
  flex: 1 1 90px;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px;
}
.listing-social-links .btn {
  min-height: 42px;
  min-width: 42px;
  padding: 6px;
  background: white;
}
.listing-social-links svg {
  display: block;
  width: 27px;
  height: 27px;
}
.listing-page .listing-dealership { background: white; }
.listing-dealership address {
  margin: 4px 0 12px;
  font-style: normal;
}
.listing-dealership address a { text-decoration: underline; }
.listing-dealership iframe {
  display: block;
  width: 100%;
  height: 235px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.listing-page .listing-purchase {background: var(--paper);}
.listing-page .listing-purchase h2 {font-size: clamp(25px, 3vw, 37px);}
.gear-showroom .call-for-price, .listing-page .call-for-price {font-weight:400!important;text-transform:none;letter-spacing:normal;}
.listing-links {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 14px;}
.listing-links .btn {min-height: 44px; padding: 8px; text-align: center; text-transform: none; letter-spacing: normal; font-size: 13px;}
.listing-links .btn.outline {background: #fff;}
.listing-page .share-car {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}
.listing-page .share-car:hover {text-decoration: underline;}
.listing-page .listing-facts {background: white;}
.listing-facts h2, .listing-page .equipment h2, .listing-page .related h2, .listing-dealership h2 {
  font-size: 23px;
  margin: 0 0 12px;
}
.listing-page .listing-specs {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px;}
.listing-page .listing-specs > div {display: block; padding: 8px 0; border-color: var(--line);}
.listing-specs dt, .listing-specs dd {display: block;}
.listing-specs dt {font-size: 12px; color: #595a60;}
.listing-page .listing-specs dd {text-align: left; font-size: 14px;}
.listing-page .share-car {margin-top: 8px;}
.listing-page #share-status {margin: 0;}
.listing-page #share-status:not(:empty) {margin-top: 8px;}
.listing-info {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
  gap: clamp(14px, 2.4vw, 28px);
  margin-top: 24px;
}
.listing-page .vehicle-overview, .listing-page .equipment {
  margin: 0;
  padding: clamp(16px, 2vw, 24px);
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.listing-page .equipment ul {columns: 2; list-style: disc; padding-left: 18px;}
.listing-page .equipment li {text-transform: none;}
.listing-page .equipment li::marker {color: var(--accent);}
.listing-page .equipment-note {margin: 0;}
.listing-page .related {margin-top: 28px;}
.listing-page .related-grid {grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;}
.listing-page .related-car {border: 1px solid var(--line); background: white; border-radius: 8px;}
.listing-page .related-car:hover {border-color: var(--accent);}
.listing-page .related-car h3 {margin: 0 0 4px; text-transform: none;}
.listing-page .related-car strong, .listing-page .related-car span {text-align: left;}
.listing-disclaimer {
  margin-block: 24px 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: #56524f;
  font-size: 13px;
  font-style: italic;
  line-height: 1.55;
}
.listing-disclaimer p {
  margin: 0 0 10px;
}
.listing-disclaimer p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .listing-page .related-grid {grid-template-columns: repeat(2, minmax(0, 1fr));}
}
@media (max-width: 760px) {
  .gear-showroom .listing-page {width: calc(100% - 28px); padding-top: 16px;}
  .listing-info {grid-template-columns: minmax(0, 1fr);}
}
@media (max-width: 500px) {
  .listing-page .related-grid {grid-template-columns: minmax(0, 1fr);}
}

.listing-page .gallery-stage > .enlarge-photo {
  inset: 0;
  width: 100%;
  height: 100%;
  transform: none;
  border-radius: 0;
  background: transparent;
  color: white;
  font: 700 13px/1.4 Arial, sans-serif;
  cursor: zoom-in;
}
.enlarge-photo span {position: absolute; top: 12px; right: 12px; border-radius: 5px; padding: 8px 11px; background: #17191de8;}
.gallery-stage:has(> .sold-photo-stamp) .enlarge-photo span {right: auto; left: 12px;}
.listing-page .gallery-stage > :is(.photo-prev, .photo-next) {z-index: 1;}
.photo-unavailable .enlarge-photo {display: none;}
.photo-viewer {
  width: min(1460px, 100vw);
  max-width: 100vw;
  max-height: 100dvh;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  color: white;
  background: #141418;
}
.photo-viewer::backdrop {background: #000e;}
.photo-viewer-toolbar {display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 8px;}
.photo-viewer-toolbar p {margin: 0; font-size: 14px;}
.photo-viewer button {
  color: white;
  background: #222226ed;
  border: 1px solid #ffffff85;
  border-radius: 6px;
  min-width: 48px;
  min-height: 48px;
  padding: 6px 12px;
}
.photo-viewer-stage {position: relative; display: grid; place-items: center;}
.photo-viewer-stage img {display: block; width: 100%; max-height: calc(100dvh - 88px); object-fit: contain;}
.photo-viewer-stage button {position: absolute; top: 50%; transform: translateY(-50%); font-size: 36px; line-height: 1;}
.viewer-prev {left: 5px;}
.viewer-next {right: 5px;}
body:has(.photo-viewer[open]) {overflow: hidden;}
@media (max-width: 600px) {
  .photo-viewer {border-radius: 0; padding: 8px;}
}

.vehicle-price .price,
.vehicle-price > h2,
.vehicle-price > strong {
  display: block;
  margin-bottom: 0;
}
.vehicle-price sup {
  font-size: .58em;
  margin-inline-start: .25em;
}
.price-disclosure {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: .15em;
}
/* Give the open panel the full card width without moving the price above its link. */
.card-bottom:has(.price-disclosure[aria-expanded="true"]) {
  flex-wrap: wrap;
}
.card-bottom:has(.price-disclosure[aria-expanded="true"]) .vehicle-price {
  flex-basis: 100%;
}
.price-breakdown {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 360px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 13px;
  box-shadow: 0 3px 10px #0001;
}
.gear-showroom .price-breakdown { text-align: left; }
.listing-purchase .price-breakdown { margin-inline-start: auto; }
.gear-showroom .price-breakdown h2 {
  margin: 0 24px 10px 0;
  font-size: 15px;
  line-height: 1.3;
}
.price-breakdown dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 8px;
  margin: 0;
}
.price-breakdown dd { margin: 0; text-align: right; }
.price-breakdown-total {
  padding-top: 6px;
  border-top: 1px solid var(--line);
  font-weight: 750;
}
.gear-showroom .price-breakdown p {
  margin: 10px 0 0;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.45;
  color: #56524f;
}
.price-breakdown-dismiss {
  position: absolute;
  right: 8px;
  top: 8px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 19px;
  line-height: 1;
}

.inventory-row-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
  text-align: left;
}
.inventory-row-metrics > div + div {
  border-inline-start: 1px solid var(--line);
  padding-inline-start: 12px;
}
.inventory-metric-label {
  display: block;
  color: #000;
  font-size: 12px;
  font-weight: 700;
}
.inventory-row-metrics strong {
  font-size: 21px;
}
.inventory-annual-mileage {
  display: block;
  margin-top: 2px;
  color: #56524f;
  font-size: 12px;
}
.inventory-row-specs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 132px), 1fr));
  gap: 8px 14px;
  margin: 12px 0;
  padding-block: 10px;
  border-block: 1px solid var(--line);
  font-size: 13px;
}
.inventory-row-specs dt {
  color: #000;
  font-size: 11px;
  font-weight: 700;
}
.inventory-row-specs dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.listing-specs div:has(> .vehicle-vin), .inventory-row-specs div:has(> .vehicle-vin) {
  grid-column: 1 / -1;
}
.listing-specs .vehicle-vin, .inventory-row-specs .vehicle-vin {
  white-space: nowrap;
  overflow-wrap: normal;
  overflow-x: auto;
}
.inventory-row-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}
.inventory-row-links .carfax-link { margin: 0; }
@media (max-width: 500px) {
  .inventory-row-metrics {
    gap: 7px;
  }
  .inventory-row-metrics > div + div {
    padding-inline-start: 7px;
  }
  .inventory-row-metrics strong,
  .inventory-row-metrics .price {
    font-size: 16px;
  }
}

.credit-application-help {
  margin: 0 0 14px;
  color: #56524f;
  font-size: 14px;
}
.credit-application-help a {
  text-decoration: underline;
  text-underline-offset: .15em;
}
.credit-application-frame {
  display: block;
  width: 100%;
  height: clamp(620px, 82vh, 950px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
