/* Shared inner-page system */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 24px;
  color: #7f8b94;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--orange);
}

.breadcrumbs span[aria-hidden="true"] {
  color: #b2b7ba;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.page-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -11em;
  color: rgba(10, 35, 59, 0.035);
  content: "OKAY";
  font-family: var(--display);
  font-size: clamp(240px, 34vw, 540px);
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.7;
  pointer-events: none;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(430px, 0.97fr);
  align-items: center;
  gap: 68px;
  padding-block: 58px 68px;
}

.page-kicker {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 18px;
  color: var(--navy-soft);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.page-kicker::before {
  width: 25px;
  height: 4px;
  background: var(--orange);
  content: "";
}

.page-title {
  max-width: 780px;
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 83px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 0.94;
  text-transform: uppercase;
}

.page-title em {
  color: var(--orange);
  font-style: normal;
}

.page-lead {
  max-width: 630px;
  margin: 24px 0 0;
  color: #52616c;
  font-size: 16px;
  line-height: 1.7;
}

.page-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.page-stat {
  min-width: 118px;
  padding: 18px 22px 0 0;
}

.page-stat + .page-stat {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.page-stat strong {
  display: block;
  color: var(--navy);
  font-family: var(--display);
  font-size: 28px;
  font-weight: 750;
  line-height: 1;
}

.page-stat span {
  display: block;
  margin-top: 6px;
  color: #7d878e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.inventory-collage {
  display: grid;
  min-height: 430px;
  grid-template-columns: 1.16fr 0.84fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
}

.inventory-collage figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #dfe3e4;
}

.inventory-collage figure:first-child {
  grid-row: span 2;
}

.inventory-collage figure:first-child::after {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 8px 10px;
  color: var(--white);
  background: rgba(7, 25, 43, 0.92);
  content: "FEATURED STOCK";
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.inventory-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.inventory-collage figure:hover img {
  transform: scale(1.035);
}

.budget-rail-section {
  position: relative;
  z-index: 2;
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.budget-rail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
}

.budget-rail-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 730;
  letter-spacing: -0.01em;
  line-height: 1;
  text-transform: uppercase;
}

.budget-rail-head p {
  margin: 5px 0 0;
  color: #7a858d;
  font-size: 11px;
}

.budget-rail-head a {
  color: var(--navy);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.budget-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.budget-jump {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid #d5d0c5;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-align: left;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.budget-jump:hover,
.budget-jump.is-active {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
  transform: translateY(-2px);
}

.budget-jump strong {
  display: block;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 730;
  line-height: 1;
}

.budget-jump small {
  display: block;
  margin-top: 6px;
  color: #8b949b;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.budget-jump:hover small,
.budget-jump.is-active small {
  color: #b9ccda;
}

.budget-jump > span:last-child {
  display: grid;
  min-width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 8px;
  font-weight: 850;
}

.inventory-section {
  padding-block: 70px 96px;
  background: var(--white);
}

.inventory-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 24px;
}

.inventory-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1;
  text-transform: uppercase;
}

.inventory-head p {
  margin: 8px 0 0;
  color: #7c878e;
  font-size: 11px;
}

.result-count {
  color: var(--navy);
  font-weight: 850;
}

.filter-panel {
  position: sticky;
  top: 82px;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(210px, 1.35fr) repeat(4, minmax(105px, 0.65fr)) auto;
  gap: 9px;
  padding: 12px;
  border: 1px solid #d7d1c6;
  background: rgba(251, 249, 244, 0.97);
  box-shadow: 0 10px 28px rgba(7, 25, 43, 0.06);
  backdrop-filter: blur(12px);
}

.filter-control {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.filter-control label {
  color: #8a949b;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-control input,
.filter-control select {
  width: 100%;
  height: 42px;
  min-width: 0;
  padding: 0 11px;
  border: 1px solid #d6d0c5;
  border-radius: 0;
  color: var(--navy);
  background: var(--white);
  font-size: 12px;
  outline: none;
}

.filter-control input:focus,
.filter-control select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(233, 120, 32, 0.1);
}

.filter-reset {
  align-self: end;
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--navy);
  color: var(--white);
  background: var(--navy);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.filter-reset:hover {
  border-color: var(--orange);
  background: var(--orange);
}

.inventory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 26px;
}

.inventory-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfdbd2;
  background: var(--cream);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.inventory-card:hover {
  border-color: #c9c1b5;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.inventory-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #dadee0;
}

.inventory-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.inventory-card:hover .inventory-card__media img {
  transform: scale(1.035);
}

.inventory-card__band {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 6px 8px;
  color: var(--white);
  background: rgba(7, 25, 43, 0.92);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  line-height: 1;
  text-transform: uppercase;
}

.inventory-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 17px;
}

.inventory-card__brand {
  color: var(--orange);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.inventory-card h3 {
  margin: 6px 0 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.01em;
  line-height: 1.06;
}

.inventory-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 11px;
  margin-top: 11px;
  color: #6d7880;
  font-size: 10px;
}

.inventory-card__meta span + span::before {
  display: inline-block;
  width: 2px;
  height: 2px;
  margin-right: 7px;
  border-radius: 50%;
  background: #90989e;
  vertical-align: middle;
  content: "";
}

.inventory-card__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 15px;
  margin-top: auto;
  padding-top: 17px;
}

.inventory-price {
  color: var(--navy);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 780;
  letter-spacing: -0.02em;
  line-height: 1;
}

.inventory-price small {
  display: block;
  margin-top: 4px;
  color: #899198;
  font-family: var(--body);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inventory-view {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inventory-view svg {
  width: 12px;
  height: 12px;
}

.load-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.load-more {
  min-width: 180px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.load-more:hover {
  color: var(--white);
  background: var(--navy);
}

.load-more[hidden] {
  display: none;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 70px 24px;
  border: 1px solid var(--line);
  color: #64717a;
  background: var(--cream);
  text-align: center;
}

.empty-state strong {
  display: block;
  color: var(--navy);
  font-family: var(--display);
  font-size: 30px;
  text-transform: uppercase;
}

.empty-state p {
  margin: 9px 0 0;
  font-size: 12px;
}

.inventory-assist {
  padding-block: 72px;
  background: var(--paper);
}

.inventory-assist__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 38px 42px;
  border-left: 5px solid var(--orange);
  background: var(--navy);
}

.inventory-assist h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(35px, 4vw, 52px);
  font-weight: 730;
  letter-spacing: -0.02em;
  line-height: 0.98;
  text-transform: uppercase;
}

.inventory-assist p {
  max-width: 660px;
  margin: 9px 0 0;
  color: #b8c9d5;
  font-size: 12px;
}

.inventory-assist__actions {
  display: flex;
  gap: 9px;
}

/* Blog */
.blog-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.blog-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  background: rgba(10, 35, 59, 0.035);
  content: "";
  clip-path: polygon(34% 0, 100% 0, 100% 100%, 0 100%);
}

.blog-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(470px, 1.16fr);
  align-items: center;
  gap: 64px;
  padding-block: 62px 70px;
}

.blog-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(52px, 6vw, 82px);
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 0.93;
  text-transform: uppercase;
}

.blog-hero h1 em {
  color: var(--orange);
  font-style: normal;
}

.blog-hero__copy > p:not(.page-kicker) {
  max-width: 570px;
  margin: 22px 0 0;
  color: #53616c;
  font-size: 15px;
  line-height: 1.7;
}

.blog-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 27px;
}

.blog-topic {
  padding: 8px 10px;
  border: 1px solid #cfc8bd;
  color: var(--navy);
  background: transparent;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.blog-topic:hover,
.blog-topic.is-active {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.featured-guide {
  display: grid;
  min-height: 430px;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  border: 1px solid #d0c9bd;
  background: var(--white);
  box-shadow: var(--shadow);
}

.featured-guide__media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  background: #d8dddf;
}

.featured-guide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-guide__media span {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 9px;
  color: var(--white);
  background: var(--orange);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.featured-guide__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 30px;
}

.featured-guide__eyebrow {
  color: var(--orange);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.featured-guide h2 {
  margin: 12px 0 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 710;
  letter-spacing: -0.02em;
  line-height: 1;
}

.featured-guide p {
  margin: 15px 0 0;
  color: #6d7981;
  font-size: 11px;
  line-height: 1.65;
}

.featured-guide__link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 25px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-listing {
  padding-block: 82px 96px;
  background: var(--white);
}

.blog-listing-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}

.blog-listing-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(39px, 4.3vw, 58px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.blog-listing-head p {
  max-width: 420px;
  margin: 0;
  color: #78838a;
  font-size: 11px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.blog-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dfdbd2;
  background: var(--cream);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.blog-card:hover {
  border-color: #c9c1b5;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.blog-card__media {
  position: relative;
  height: 190px;
  overflow: hidden;
  background: #d8dddf;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.035);
}

.blog-card__tag {
  position: absolute;
  top: 11px;
  left: 11px;
  padding: 6px 8px;
  color: var(--white);
  background: var(--navy);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.blog-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 23px;
  font-weight: 680;
  letter-spacing: -0.01em;
  line-height: 1.07;
}

.blog-card p {
  margin: 10px 0 0;
  color: #6e7981;
  font-size: 10px;
  line-height: 1.6;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #e1ddd4;
  color: #8d959b;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.blog-card__meta span:last-child {
  color: var(--navy);
}

.blog-cta {
  padding-block: 80px;
  background: var(--paper);
}

.blog-cta__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 42px;
  color: var(--white);
  background: var(--navy);
}

.blog-cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(38px, 4.5vw, 57px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 0.96;
  text-transform: uppercase;
}

.blog-cta p {
  max-width: 630px;
  margin: 10px 0 0;
  color: #b5c8d5;
  font-size: 12px;
}

.blog-cta__actions {
  display: flex;
  gap: 9px;
}

@media (max-width: 1100px) {
  .page-hero__grid,
  .blog-hero__grid {
    grid-template-columns: 1fr;
  }

  .inventory-collage {
    min-height: 480px;
  }

  .filter-panel {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .filter-control:nth-child(4),
  .filter-control:nth-child(5) {
    grid-column: span 1;
  }

  .filter-reset {
    grid-column: span 1;
  }

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

@media (max-width: 760px) {
  .page-hero__grid,
  .blog-hero__grid {
    gap: 35px;
    padding-block: 38px 48px;
  }

  .page-title,
  .blog-hero h1 {
    font-size: clamp(42px, 12vw, 59px);
  }

  .page-lead {
    font-size: 14px;
  }

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

  .page-stat,
  .page-stat + .page-stat {
    min-width: 0;
    padding: 15px 10px 0;
    border-left: 1px solid var(--line);
  }

  .page-stat:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .inventory-collage {
    min-height: 340px;
  }

  .budget-rail-section {
    padding-block: 28px;
  }

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

  .budget-jump:last-child {
    grid-column: span 2;
  }

  .inventory-section {
    padding-block: 50px 70px;
  }

  .inventory-head,
  .blog-listing-head {
    display: block;
  }

  .inventory-head p,
  .blog-listing-head p {
    margin-top: 9px;
  }

  .filter-panel {
    position: static;
    grid-template-columns: 1fr 1fr;
  }

  .filter-control:first-child,
  .filter-reset {
    grid-column: 1 / -1;
  }

  .filter-control input,
  .filter-control select {
    font-size: 16px;
  }

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

  .inventory-assist__inner,
  .blog-cta__inner {
    grid-template-columns: 1fr;
    padding: 29px 22px;
  }

  .inventory-assist__actions,
  .blog-cta__actions {
    flex-wrap: wrap;
  }

  .featured-guide {
    grid-template-columns: 1fr;
  }

  .featured-guide__media {
    min-height: 260px;
  }

  .featured-guide__body {
    padding: 24px 20px 26px;
  }

  .blog-listing {
    padding-block: 56px 70px;
  }

  .blog-cta {
    padding-block: 56px;
  }
}

/* Vehicle detail */
.detail-page {
  background: var(--white);
}

.detail-hero {
  padding-block: 38px 72px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.detail-titlebar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 26px;
}

.detail-titlebar h1 {
  max-width: 880px;
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(43px, 5vw, 68px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-transform: uppercase;
}

.detail-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.detail-status span {
  padding: 7px 9px;
  border: 1px solid #cfc8bc;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.55);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(330px, 0.7fr);
  align-items: start;
  gap: 18px;
}

.vehicle-gallery {
  min-width: 0;
}

.vehicle-gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9dddf;
}

.vehicle-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-count {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 7px 9px;
  color: var(--white);
  background: rgba(7, 25, 43, 0.9);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: var(--white);
  background: rgba(7, 25, 43, 0.72);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}

.gallery-arrow:hover {
  background: var(--orange);
}

.gallery-arrow--prev {
  left: 15px;
}

.gallery-arrow--next {
  right: 15px;
}

.gallery-arrow svg {
  width: 18px;
  height: 18px;
}

.vehicle-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
  margin-top: 8px;
}

.vehicle-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  background: #d7dbdc;
  cursor: pointer;
}

.vehicle-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-thumb:hover,
.vehicle-thumb.is-active {
  border-color: var(--orange);
}

.detail-buybox {
  position: sticky;
  top: 100px;
  padding: 25px;
  border: 1px solid #d6d0c5;
  background: var(--white);
  box-shadow: 0 18px 45px rgba(7, 25, 43, 0.08);
}

.detail-buybox__label {
  color: var(--orange);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-price {
  margin-top: 9px;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(48px, 5vw, 66px);
  font-weight: 780;
  letter-spacing: -0.035em;
  line-height: 0.9;
}

.detail-price small {
  display: block;
  margin-top: 6px;
  color: #89939a;
  font-family: var(--body);
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 21px;
  border-left: 1px solid #e1ddd4;
  border-bottom: 1px solid #e1ddd4;
}

.detail-spec {
  min-width: 0;
  padding: 11px 12px;
  border-top: 1px solid #e1ddd4;
  border-right: 1px solid #e1ddd4;
}

.detail-spec span {
  display: block;
  color: #929ba1;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-spec strong {
  display: block;
  margin-top: 4px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.detail-actions {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.detail-actions .button {
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
}

.detail-trust {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.detail-trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #69757d;
  font-size: 9px;
  line-height: 1.4;
}

.detail-trust svg {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  color: var(--orange);
}

.detail-content {
  padding-block: 80px 92px;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: start;
  gap: 56px;
}

.detail-copy h2,
.detail-photos h2,
.detail-faq h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 740;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.detail-copy > p {
  margin: 18px 0 0;
  color: #5d6a73;
  font-size: 14px;
  line-height: 1.75;
}

.detail-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 25px;
}

.detail-highlight {
  padding: 17px 18px;
  border-top: 2px solid var(--orange);
  background: var(--paper);
}

.detail-highlight strong {
  display: block;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
}

.detail-highlight span {
  display: block;
  margin-top: 5px;
  color: #747f87;
  font-size: 10px;
  line-height: 1.55;
}

.detail-side-stack {
  display: grid;
  gap: 14px;
}

.detail-side-card {
  padding: 24px;
  border: 1px solid #d9d3c8;
  background: var(--paper);
}

.detail-side-card--dark {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.detail-side-card h3 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 26px;
  font-weight: 720;
  line-height: 1.03;
  text-transform: uppercase;
}

.detail-side-card--dark h3 {
  color: var(--white);
}

.detail-side-card p {
  margin: 9px 0 0;
  color: #68747c;
  font-size: 10px;
  line-height: 1.65;
}

.detail-side-card--dark p {
  color: #b7c9d6;
}

.cost-steps {
  display: grid;
  gap: 10px;
  margin-top: 17px;
}

.cost-step {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #d7d1c6;
}

.cost-step span {
  color: var(--orange);
  font-family: var(--display);
  font-size: 11px;
  font-weight: 850;
}

.cost-step strong {
  display: block;
  color: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.cost-step small {
  display: block;
  margin-top: 3px;
  color: #7a858c;
  font-size: 9px;
  line-height: 1.45;
}

.detail-photos {
  margin-top: 58px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.photo-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 24px;
}

.photo-mosaic figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8dcdd;
}

.photo-mosaic figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-mosaic figure:hover img {
  transform: scale(1.025);
}

.detail-faq {
  margin-top: 56px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.detail-faq details {
  margin-top: 9px;
  padding: 16px 18px;
  border: 1px solid #ded9d0;
  background: var(--cream);
}

.detail-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.detail-faq summary::-webkit-details-marker {
  display: none;
}

.detail-faq summary::after {
  color: var(--orange);
  content: "+";
  font-size: 18px;
  line-height: 1;
}

.detail-faq details[open] summary::after {
  content: "–";
}

.detail-faq p {
  margin: 10px 0 0;
  color: #69757d;
  font-size: 11px;
  line-height: 1.65;
}

.related-section {
  padding-block: 82px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.related-head h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 0.98;
  text-transform: uppercase;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.mobile-buybar {
  display: none;
}

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

  .detail-buybox {
    position: static;
  }

  .detail-content-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

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

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

@media (max-width: 760px) {
  .detail-hero {
    padding-block: 28px 52px;
  }

  .detail-titlebar {
    display: block;
  }

  .detail-status {
    justify-content: flex-start;
    margin-top: 15px;
  }

  .vehicle-gallery__main {
    aspect-ratio: 1 / 1;
  }

  .gallery-arrow {
    width: 37px;
    height: 37px;
  }

  .vehicle-thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .detail-buybox {
    padding: 21px 18px;
  }

  .detail-content {
    padding-block: 56px 68px;
  }

  .detail-highlights,
  .detail-side-stack {
    grid-template-columns: 1fr;
  }

  .photo-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-mosaic figure:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

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

  .related-section {
    padding-block: 58px 80px;
  }

  .mobile-buybar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 65;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--white);
    background: rgba(7, 25, 43, 0.97);
    backdrop-filter: blur(10px);
  }

  .mobile-buybar strong {
    display: block;
    font-family: var(--display);
    font-size: 25px;
    line-height: 1;
  }

  .mobile-buybar small {
    display: block;
    margin-top: 3px;
    color: #a9bfce;
    font-size: 8px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .mobile-buybar .button {
    min-height: 42px;
    padding-inline: 15px;
  }

  .whatsapp-float {
    bottom: 76px;
  }

  body.detail-page {
    padding-bottom: 66px;
  }
}

/* Inventory usability improvements */
.mobile-filter-toggle {
  display: none;
}

.quick-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
}

.quick-filters > span {
  margin-right: 5px;
  color: #8a949b;
  font-size: 8px;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.quick-filters button {
  min-height: 31px;
  padding: 0 11px;
  border: 1px solid #d4cec4;
  color: #55636d;
  background: var(--white);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.quick-filters button:hover,
.quick-filters button.is-active {
  border-color: var(--orange);
  color: var(--white);
  background: var(--orange);
}

.inventory-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.inventory-card__tags span {
  padding: 4px 6px;
  border: 1px solid #d4cec4;
  color: #68747c;
  background: rgba(255, 255, 255, 0.55);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .inventory-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
  }

  .mobile-filter-toggle {
    display: inline-flex;
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 13px;
    border: 1px solid var(--navy);
    color: var(--white);
    background: var(--navy);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .filter-panel {
    display: none;
  }

  .filter-panel.is-open {
    display: grid;
  }

  .quick-filters {
    flex-wrap: nowrap;
    padding-bottom: 3px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .quick-filters::-webkit-scrollbar {
    display: none;
  }

  .quick-filters > span,
  .quick-filters button {
    flex: 0 0 auto;
  }
}

/* Detail seller and company trust */
.seller-mini {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 11px;
  border: 1px solid #dfdad0;
  background: #fbfaf7;
}

.seller-mini img {
  width: 44px;
  height: 44px;
  border: 1px solid #ded8ce;
  border-radius: 50%;
  object-fit: cover;
}

.seller-mini div {
  min-width: 0;
}

.seller-mini span {
  display: block;
  color: #929ba1;
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.2;
  text-transform: uppercase;
}

.seller-mini strong {
  display: block;
  margin-top: 2px;
  color: var(--navy);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.seller-mini small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #7a858d;
  font-size: 7px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-mini > a {
  padding-bottom: 2px;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font-size: 7px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-company {
  padding-block: 82px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.detail-company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.88fr);
  align-items: center;
  gap: 64px;
}

.detail-company-copy h2 {
  margin: 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(42px, 4.7vw, 64px);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 0.96;
  text-transform: uppercase;
}

.detail-company-copy > p:not(.page-kicker) {
  max-width: 660px;
  margin: 20px 0 0;
  color: #5d6a73;
  font-size: 14px;
  line-height: 1.75;
}

.detail-company-stats {
  display: flex;
  flex-wrap: wrap;
  margin-top: 27px;
  border-top: 1px solid var(--line);
}

.detail-company-stats .page-stat {
  padding-top: 17px;
}

.detail-company-copy .button {
  margin-top: 27px;
}

.detail-company-quote {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  align-items: center;
  gap: 20px;
  margin-top: 52px;
  padding: 16px 18px;
  border: 1px solid #d9d3c8;
  background: var(--paper);
}

.detail-company-quote > img {
  width: 88px;
  height: 88px;
  object-fit: cover;
}

.detail-company-quote > div {
  min-width: 0;
}

.detail-company-quote span {
  color: var(--orange);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.detail-company-quote blockquote {
  margin: 5px 0 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.03;
}

.detail-company-quote div > a {
  display: inline-block;
  margin-top: 7px;
  color: #6d787f;
  font-size: 8px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-company-quote .button {
  min-height: 44px;
  padding-inline: 18px;
}

@media (max-width: 1000px) {
  .detail-company-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
}

@media (max-width: 760px) {
  .detail-company {
    padding-block: 56px;
  }

  .detail-company-copy h2 {
    font-size: clamp(39px, 11.5vw, 52px);
  }

  .detail-company-quote {
    grid-template-columns: 68px 1fr;
    gap: 13px;
    padding: 14px;
  }

  .detail-company-quote > img {
    width: 68px;
    height: 68px;
  }

  .detail-company-quote .button {
    grid-column: 1 / -1;
    justify-content: center;
  }
}
