/* Vehicle detail page — extends styles.css */
.vdp-page {
  min-height: 100vh;
  padding-bottom: 4.5rem;
}

@media (min-width: 769px) {
  .vdp-page {
    padding-bottom: 0;
  }
}

.vdp-site-header {
  position: sticky;
  top: 0;
  z-index: 200;
}

.vdp-header-phone {
  display: none;
}

@media (min-width: 900px) {
  .vdp-header-phone {
    display: inline-flex;
  }
}

.vdp-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 3rem;
}

.vdp-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  opacity: 0.85;
}

.vdp-breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.vdp-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .vdp-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    align-items: start;
    gap: 2rem;
  }

  .vdp-summary {
    position: sticky;
    top: 5.75rem;
  }
}

/* Gallery */
.vdp-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 0;
}

.vdp-gallery-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-secondary, #f0f0f2);
  box-shadow: var(--shadow-md, 0 4px 20px rgba(0, 0, 0, 0.08));
}

.vdp-gallery-stage {
  margin: 0;
  aspect-ratio: 16 / 10;
  max-height: min(52vh, 460px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.vdp-gallery-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vdp-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.vdp-gallery-nav[hidden] {
  display: none;
}

.vdp-gallery-prev { left: 0.65rem; }
.vdp-gallery-next { right: 0.65rem; }

.vdp-gallery-counter {
  position: absolute;
  bottom: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}

.vdp-gallery-zoom-hint {
  position: absolute;
  bottom: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}

@media (min-width: 769px) {
  .vdp-gallery-zoom-hint {
    display: none;
  }
}

.vdp-gallery-thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
}

.vdp-gallery-thumb {
  flex: 0 0 auto;
  width: 5.25rem;
  height: 3.35rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-secondary, #eee);
  scroll-snap-align: start;
  opacity: 0.7;
}

.vdp-gallery-thumb.is-active {
  border-color: var(--primary-color, #2d8a3e);
  opacity: 1;
}

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

/* Lightbox */
.vdp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.vdp-lightbox.is-open {
  display: flex;
}

.vdp-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.vdp-lightbox-img {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
}

.vdp-lightbox-close,
.vdp-lightbox-nav {
  position: absolute;
  z-index: 2;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.5rem;
  line-height: 1;
}

.vdp-lightbox-close {
  top: 1rem;
  right: 1rem;
}

.vdp-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.vdp-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

.vdp-lightbox-counter {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 0.9rem;
}

body.vdp-lightbox-open {
  overflow: hidden;
}

/* Summary */
.vdp-summary h1 {
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  line-height: 1.25;
  margin: 0 0 0.65rem;
}

.vdp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.vdp-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--bg-secondary, rgba(45, 138, 62, 0.12));
  color: var(--primary-color, #2d8a3e);
  border: 1px solid rgba(45, 138, 62, 0.25);
}

.vdp-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.75rem;
}

.vdp-compare-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.vdp-compare-link {
  font-size: 0.85rem;
}

.vdp-compare-link[hidden] {
  display: none;
}

.vdp-brand-link {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
}

.vdp-brand-link a {
  font-weight: 600;
}

.vdp-finance-teaser {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
}

.vdp-finance-rate {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-color, #2d8a3e);
}

.vdp-finance-disclaimer {
  display: block;
  font-size: 0.75rem;
  opacity: 0.75;
  margin-top: 0.25rem;
}

.vdp-ev-section {
  border: 1px solid rgba(45, 138, 62, 0.25);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  background: var(--bg-secondary, rgba(45, 138, 62, 0.06));
}

.vdp-ev-facts {
  margin: 0.5rem 0;
  padding-left: 1.2rem;
}

.vdp-ev-note {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 0.5rem 0 0;
}

/* —— Inventory / brand hub —— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.vdp-hub-page .vdp-main {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem 4.5rem;
}

.vdp-hub-page .vdp-breadcrumb ol {
  margin-bottom: 0;
}

.vdp-hub-hero {
  margin-bottom: 0;
  padding: 1.15rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: linear-gradient(
    145deg,
    var(--bg-secondary) 0%,
    var(--bg-primary) 55%
  );
}

.vdp-hub-hero--compact {
  padding: 0.9rem 1.1rem;
  margin-bottom: 1rem;
}

.vdp-hub-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-primary);
  margin: 0 0 0.3rem;
}

.vdp-hub-eyebrow a {
  color: inherit;
  text-decoration: none;
}

.vdp-hub-eyebrow a:hover {
  text-decoration: underline;
}

.vdp-hub-hero h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  line-height: 1.12;
  margin: 0 0 0.4rem;
}

.vdp-hub-lead {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--text-secondary);
  margin: 0 0 0.55rem;
}

.vdp-hub-hero-foot {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.vdp-hub-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.vdp-hub-stats strong {
  color: var(--text-primary);
  font-weight: 700;
}

.vdp-hub-intro {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
}

.vdp-hub-link-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--brand-primary);
  color: #fff;
  border: 1px solid var(--brand-primary);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.vdp-hub-link-pill:hover {
  background: var(--brand-primary-light, #22a636);
  color: #fff;
}

.vdp-hub-link-pill--outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.vdp-hub-link-pill--outline:hover {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.vdp-hub-hero:not(.vdp-hub-hero--compact) .vdp-hub-intro {
  gap: 0.35rem 0.85rem;
}

.vdp-hub-hero:not(.vdp-hub-hero--compact) .vdp-hub-intro .vdp-hub-link-pill {
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--text-secondary) 30%, transparent);
  text-underline-offset: 0.18em;
}

.vdp-hub-hero:not(.vdp-hub-hero--compact) .vdp-hub-intro .vdp-hub-link-pill:hover,
.vdp-hub-hero:not(.vdp-hub-hero--compact) .vdp-hub-intro .vdp-hub-link-pill:focus-visible {
  background: transparent;
  color: var(--brand-primary);
  text-decoration-color: color-mix(in srgb, var(--brand-primary) 55%, transparent);
}

.vdp-hub-hero:not(.vdp-hub-hero--compact) .vdp-hub-intro .vdp-hub-link-pill--outline {
  color: var(--text-secondary);
}

.vdp-hub-controls {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.vdp-hub-controls .vdp-hub-toolbar {
  margin-bottom: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.vdp-hub-controls .vdp-hub-jump--sticky {
  margin-bottom: 0;
  padding-top: 0;
}

.vdp-hub-controls .vdp-hub-jump-hint {
  margin: 0;
}

.vdp-hub-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.vdp-hub-toolbar--extended {
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
}

.vdp-hub-toolbar.is-sticky {
  position: sticky;
  top: calc(var(--vdp-header-height, 72px) + 0.35rem);
  z-index: 55;
  box-shadow: var(--shadow-md);
}

.vdp-hub-filters-toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
}

.vdp-hub-filters-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.75rem;
  background: var(--brand-primary);
  color: #fff;
}

.vdp-hub-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vdp-hub-active-tag {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: color-mix(in srgb, var(--brand-primary) 12%, var(--bg-secondary));
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
}

.vdp-hub-active-tag:hover {
  border-color: var(--brand-primary);
}

.vdp-hub-card-wrap {
  position: relative;
  min-width: 0;
}

.vdp-hub-compare-btn {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-secondary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.vdp-hub-compare-btn:hover {
  color: var(--brand-primary);
  transform: scale(1.05);
}

.vdp-hub-compare-btn.is-active {
  background: var(--brand-primary);
  color: #fff;
}

.vdp-hub-card-make {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-primary);
}

.vdp-hub-card-img img {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.vdp-hub-card-img img.is-loaded {
  opacity: 1;
}

.vdp-hub-compare-bar {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 85;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  max-width: min(96vw, 420px);
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
}

.vdp-hub-compare-bar[hidden] {
  display: none !important;
}

.vdp-hub-compare-bar-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.vdp-hub-compare-bar-text strong {
  color: var(--text-primary);
}

.vdp-hub-toast {
  position: fixed;
  left: 50%;
  bottom: 5.5rem;
  z-index: 90;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.82);
  pointer-events: none;
}

.vdp-hub-toast[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .vdp-hub-filters-toggle {
    display: inline-flex;
  }

  .vdp-hub-filters-label {
    display: none;
  }

  .vdp-hub-filters:not(.is-open) {
    display: none;
  }

  .vdp-hub-filters.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
  }

  .vdp-hub-toolbar-row .vdp-hub-sort {
    flex: 1 1 100%;
  }

  .vdp-hub-toolbar-row .vdp-hub-sort-select {
    width: 100%;
  }

  .vdp-hub-chip--clear {
    margin-left: 0;
    width: 100%;
  }

  .vdp-hub-back-top {
    bottom: 5.5rem;
  }
}

.vdp-hub-toolbar-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.vdp-hub-sort {
  flex: 0 0 auto;
}

.vdp-hub-sort-select {
  padding: 0.6rem 2rem 0.6rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-secondary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 0.55rem center;
  appearance: none;
  cursor: pointer;
}

.vdp-hub-sort-select:focus {
  outline: 2px solid rgba(var(--brand-primary-rgb), 0.35);
  outline-offset: 1px;
  border-color: var(--brand-primary);
}

.vdp-hub-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.65rem;
}

.vdp-hub-filters-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  margin-right: 0.15rem;
}

.vdp-hub-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.vdp-hub-chip {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: var(--bg-secondary);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.vdp-hub-chip:hover {
  color: var(--text-primary);
  border-color: var(--brand-primary);
}

.vdp-hub-chip.is-active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.vdp-hub-chip--clear {
  margin-left: auto;
  background: transparent;
  border-style: dashed;
}

.vdp-hub-chip--accent.is-active {
  background: color-mix(in srgb, var(--brand-primary) 88%, #000);
  border-color: var(--brand-primary);
}

.vdp-hub-jump-hint {
  margin: -0.75rem 0 1.25rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

@media (min-width: 768px) {
  .vdp-hub-hero-foot {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1.25rem;
  }

  .vdp-hub-hero-foot .vdp-hub-intro {
    justify-content: flex-end;
    flex: 1 1 auto;
  }

  .vdp-hub-jump-hint {
    display: none;
  }

  .vdp-hub-toolbar-row .vdp-hub-result-count {
    margin-left: auto;
  }
}

.vdp-hub-jump-link--all {
  border-style: dashed;
  font-weight: 700;
}

.vdp-hub-card-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    var(--bg-secondary) 8%,
    color-mix(in srgb, var(--bg-secondary) 70%, var(--bg-primary)) 18%,
    var(--bg-secondary) 33%
  );
  background-size: 200% 100%;
  animation: vdp-hub-shimmer 1.2s ease-in-out infinite;
}

.vdp-hub-card-skeleton.is-hidden {
  display: none;
}

@keyframes vdp-hub-shimmer {
  to {
    background-position: -200% 0;
  }
}

.vdp-hub-card-flag {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.vdp-hub-card-flag--new {
  background: var(--brand-primary);
}

.vdp-hub-card-flag--warranty {
  top: 2rem;
  background: rgba(0, 0, 0, 0.72);
}

.vdp-hub-sort-hint {
  margin: -0.5rem 0 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.vdp-hub-flat-panel {
  margin-bottom: 2rem;
}

#hub-sections[hidden],
#hub-flat-panel[hidden],
#hub-jump-nav[hidden] {
  display: none !important;
}

.vdp-hub-card-wrap {
  min-width: 0;
}

.vdp-hub-card-wrap[hidden] {
  display: none !important;
}

.vdp-hub-back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.vdp-hub-back-top:hover {
  transform: translateY(-2px);
}

.vdp-hub-back-top[hidden] {
  display: none !important;
}

.vdp-hub-search {
  flex: 1;
  min-width: min(100%, 220px);
}

.vdp-hub-search-input {
  width: 100%;
  padding: 0.65rem 0.85rem 0.65rem 2.35rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  font: inherit;
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-secondary)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%234a4a4a' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E")
    no-repeat 0.65rem center;
}

.vdp-hub-search-input:focus {
  outline: 2px solid rgba(var(--brand-primary-rgb), 0.35);
  outline-offset: 1px;
  border-color: var(--brand-primary);
}

.vdp-hub-result-count {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.vdp-hub-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0;
}

.vdp-hub-jump--sticky {
  position: sticky;
  top: calc(var(--vdp-header-height, 72px) + 0.35rem);
  z-index: 50;
  margin-bottom: 0;
  padding: 0.65rem 0;
  background: color-mix(in srgb, var(--bg-primary) 92%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}

.vdp-hub-jump--sticky.is-scrolled {
  border-bottom-color: var(--border-color);
}

.vdp-hub-jump-link,
.vdp-hub-jump a,
.vdp-hub-jump button {
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  color: var(--text-secondary);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.vdp-hub-jump-link:hover,
.vdp-hub-jump a:hover,
.vdp-hub-jump button:hover {
  color: var(--text-primary);
  border-color: var(--brand-primary);
}

.vdp-hub-jump-link.is-active,
.vdp-hub-jump a.is-active,
.vdp-hub-jump button.is-active {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}

.vdp-hub-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 16px;
  border: 1px dashed var(--border-color);
  background: var(--bg-secondary);
}

.vdp-hub-empty p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
}

.vdp-hub-make {
  margin-bottom: 2.25rem;
  scroll-margin-top: 7.5rem;
}

.vdp-hub-make:first-of-type {
  margin-top: 0.25rem;
}

.vdp-hub-make-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 2px solid var(--border-color);
}

.vdp-hub-make-head h2 {
  font-size: 1.35rem;
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.vdp-hub-make-head h2 a {
  color: inherit;
  text-decoration: none;
}

.vdp-hub-make-head h2 a:hover {
  color: var(--brand-primary);
}

.vdp-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.vdp-count::before {
  content: "(";
}

.vdp-count::after {
  content: ")";
}

.vdp-hub-make-all {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand-primary);
  text-decoration: none;
}

.vdp-hub-make-all:hover {
  text-decoration: underline;
}

.vdp-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 1.15rem;
}

.vdp-hub-card {
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.vdp-hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--border-color));
}

.vdp-hub-card:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 2px;
}

.vdp-hub-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-secondary);
}

.vdp-hub-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.vdp-hub-card:hover .vdp-hub-card-img img {
  transform: scale(1.04);
}

.vdp-hub-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

.vdp-hub-card-badge {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  max-width: calc(100% - 1rem);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vdp-hub-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0.85rem 1rem 1rem;
  gap: 0.35rem;
}

.vdp-hub-card-body h3 {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vdp-hub-card-meta {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.vdp-hub-card-price {
  margin: 0.15rem 0 0;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--brand-primary);
  font-family: var(--font-display, inherit);
}

.vdp-hub-card-cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand-primary);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.vdp-hub-card:hover .vdp-hub-card-cta,
.vdp-hub-card:focus-visible .vdp-hub-card-cta {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .vdp-hub-hero {
    padding: 1rem 0.9rem;
  }

  .vdp-hub-hero--compact {
    padding: 0.85rem 0.9rem;
  }

  .vdp-hub-lead {
    max-width: 52ch;
  }

  .vdp-hub-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .vdp-hub-controls {
    padding-left: 0;
    padding-right: 0;
    overflow: visible;
  }

  .vdp-hub-controls .vdp-hub-toolbar,
  .vdp-hub-controls .vdp-hub-jump-hint {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .vdp-hub-jump,
  .vdp-hub-jump--sticky {
    top: calc(var(--vdp-header-height, 64px) + 0.15rem);
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 0.85rem;
    padding: 0.35rem 0.85rem 0.55rem;
    margin: 0;
    max-width: 100%;
  }

  .vdp-hub-jump::-webkit-scrollbar,
  .vdp-hub-jump--sticky::-webkit-scrollbar {
    display: none;
  }

  .vdp-hub-jump-link,
  .vdp-hub-jump a,
  .vdp-hub-jump button {
    scroll-snap-align: start;
    min-height: 2.25rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  .vdp-hub-card-cta {
    opacity: 1;
    transform: none;
  }
}

.vdp-price {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--brand-primary, #1b8e2d);
  font-family: var(--font-display, inherit);
  margin: 0 0 0.45rem;
}

.vdp-meta {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0 0 1rem;
  line-height: 1.5;
}

.vdp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.vdp-cta .btn {
  flex: 1 1 calc(50% - 0.35rem);
  min-width: 7.5rem;
  justify-content: center;
  text-align: center;
}

.vdp-cta-primary .btn-primary {
  flex: 1 1 100%;
}

@media (min-width: 480px) {
  .vdp-cta-primary .btn-primary,
  .vdp-cta-primary .btn-whatsapp {
    flex: 1 1 calc(50% - 0.35rem);
  }
}

/* Sections */
.vdp-section {
  margin-bottom: 2rem;
}

.vdp-section h2 {
  font-size: 1.2rem;
  margin: 0;
}

.vdp-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
}

.vdp-collapse-toggle,
.vdp-desc-more {
  border: none;
  background: transparent;
  color: var(--primary-color, #2d8a3e);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.25rem;
}

.vdp-count {
  font-weight: 400;
  opacity: 0.65;
  font-size: 0.9em;
}

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

.vdp-specs th,
.vdp-specs td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  vertical-align: top;
}

.vdp-specs th {
  width: 38%;
  font-weight: 500;
  opacity: 0.8;
}

.vdp-equipment {
  columns: 2;
  gap: 1.25rem;
  padding-left: 1.1rem;
  margin: 0;
}

@media (max-width: 600px) {
  .vdp-equipment {
    columns: 1;
  }
}

/* Optional second wheel set */
.vdp-wheelset-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--brand-primary, #22a636) 28%, transparent);
  background: color-mix(in srgb, var(--brand-primary, #22a636) 8%, var(--bg-secondary, #f8faf8));
}

.vdp-wheelset-icon-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand-primary, #22a636) 14%, white);
  color: var(--brand-primary, #22a636);
}

.vdp-wheelset-icon {
  display: block;
}

.vdp-wheelset-body h2 {
  font-size: 1.15rem;
  margin: 0 0 0.35rem;
}

.vdp-wheelset-tag {
  margin: 0 0 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-primary, #22a636);
}

.vdp-wheelset-text {
  margin: 0 0 0.5rem;
  line-height: 1.55;
  font-size: 0.95rem;
}

.vdp-wheelset-avail {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.7;
}

@media (max-width: 600px) {
  .vdp-wheelset-card {
    flex-direction: column;
  }
}

.vdp-description p {
  line-height: 1.65;
  margin: 0 0 0.5rem;
}

.vdp-description-rich ul,
.vdp-description-rich ol {
  margin: 0.5rem 0 1rem 1.25rem;
  line-height: 1.65;
}

.vdp-description-rich strong {
  font-weight: 600;
}

.vdp-stand {
  font-size: 0.85rem;
  opacity: 0.75;
  margin: 0.25rem 0 0.5rem;
}

.vdp-wltp-note {
  font-size: 0.8rem;
  line-height: 1.5;
  opacity: 0.7;
  margin: 1rem 0 0;
}

.vdp-equip-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.vdp-equip-highlight {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
  background: var(--bg-secondary, #f0f0f0);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.vdp-equip-search-wrap {
  display: block;
  margin-bottom: 0.75rem;
}

.vdp-equip-search {
  width: 100%;
  max-width: 320px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.12));
  font-size: 0.95rem;
  background: var(--bg-primary, #fff);
  color: var(--text-primary, inherit);
}

.vdp-equip-empty {
  font-size: 0.9rem;
  opacity: 0.75;
  margin: 0.5rem 0 0;
}

.vdp-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.vdp-faq-item {
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  background: var(--bg-secondary, #fafafa);
}

.vdp-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

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

.vdp-faq-item p {
  margin: 0.65rem 0 0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.vdp-sold-banner {
  text-align: center;
  padding: 2.5rem 1rem;
  margin-bottom: 2rem;
  border-radius: 16px;
  background: var(--bg-secondary, #f5f5f5);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
}

.vdp-sold-banner h1 {
  margin-bottom: 0.75rem;
}

.vdp-sold-banner .vdp-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.vdp-hub-make h2 a {
  color: inherit;
  text-decoration: none;
}

.vdp-hub-make h2 a:hover {
  color: var(--brand-primary, #1b8e2d);
}

@media (prefers-reduced-motion: reduce) {
  .vdp-similar-card,
  .vdp-gallery-thumb {
    transition: none;
  }
}

/* Similar vehicles */
.vdp-similar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.vdp-similar-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--bg-secondary, #f5f5f5);
  border: 1px solid var(--border-color, rgba(0, 0, 0, 0.08));
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vdp-similar-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md, 0 6px 20px rgba(0, 0, 0, 0.1));
}

.vdp-similar-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd;
}

.vdp-similar-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vdp-similar-body {
  padding: 0.75rem 0.85rem 1rem;
}

.vdp-similar-body h3 {
  font-size: 0.95rem;
  margin: 0 0 0.35rem;
  line-height: 1.3;
}

.vdp-similar-price {
  font-weight: 700;
  color: var(--brand-primary, #1b8e2d);
  font-family: var(--font-display, inherit);
  margin: 0;
  font-size: 0.95rem;
}

/* Mobile sticky bar */
.vdp-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  gap: 0.4rem;
  padding: 0.55rem 0.65rem;
  padding-bottom: max(0.55rem, env(safe-area-inset-bottom));
  background: var(--bg-primary, #fff);
  border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.1));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.vdp-mobile-bar .btn {
  flex: 1;
  padding: 0.65rem 0.5rem;
  font-size: 0.85rem;
  justify-content: center;
}

@media (min-width: 769px) {
  .vdp-mobile-bar {
    display: none;
  }
}

/* VDP mobile nav uses global drawer in styles.css */
@media (max-width: 768px) {
  .vdp-site-header .nav-container {
    position: relative;
  }

  .vdp-site-header .mobile-menu-toggle {
    z-index: 10052;
  }
}

.vdp-site-footer {
  margin-top: 2rem;
}
