/* Vehicle detail gallery/buybox layout – v5.9.1 */
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(360px, .95fr);
  gap: clamp(24px, 2.2vw, 32px);
  align-items: start;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__gallery {
  min-width: 0;
  display: grid;
  gap: 16px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__stage,
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__main,
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__main-link {
  width: 100%;
  min-width: 0;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__main {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #dce6f2;
  border-radius: 24px;
  background: #eef3f8;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__main-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__main img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: var(--ovh-vf-main-image-fit, contain);
  object-position: var(--ovh-vf-main-image-position, center center);
  cursor: zoom-in;
  opacity: 1;
  transition: opacity .18s ease;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__main img.is-loading { opacity: .45; }
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__carousel {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  contain: layout paint;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__thumbs {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 4px 4px 8px;
  box-sizing: border-box;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__thumbs::-webkit-scrollbar { display: none; }
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__thumb {
  flex: 0 0 clamp(112px, 11vw, 142px);
  width: clamp(112px, 11vw, 142px);
  min-width: clamp(112px, 11vw, 142px);
  max-width: clamp(112px, 11vw, 142px);
  height: clamp(74px, 7.3vw, 94px);
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 14px;
  background: #eef3f8;
  box-shadow: 0 5px 16px rgba(8,29,52,.08);
  scroll-snap-align: start;
  cursor: pointer;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__thumb.is-active {
  border-color: var(--ovh-vf-primary);
  box-shadow: 0 0 0 3px rgba(31,115,241,.16);
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  transform: translateY(-50%);
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: #14283f;
  box-shadow: 0 10px 28px rgba(8,29,52,.16);
  cursor: pointer;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__nav--prev { left: 18px; }
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__nav--next { right: 18px; }
[data-ovh-vf-vehicle-detail] .ovh-vf-gallery__nav span { font-size: 34px; line-height: 1; }
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__buybox {
  position: static;
  min-width: 0;
  height: auto;
  padding: clamp(22px, 2vw, 28px);
  border: 1px solid #d8e4f1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(7,29,51,.08);
}
[data-ovh-vf-vehicle-detail] .ovh-vf-version-option { min-width: 0; }
[data-ovh-vf-vehicle-detail] .ovh-vf-version-option span { min-width: 0; }
[data-ovh-vf-vehicle-detail] .ovh-vf-version-option strong,
[data-ovh-vf-vehicle-detail] .ovh-vf-buybox__price,
[data-ovh-vf-vehicle-detail] .ovh-vf-buybox__deposit strong { white-space: nowrap; }
[data-ovh-vf-vehicle-detail] .ovh-vf-color-list { flex-wrap: wrap; }
[data-ovh-vf-vehicle-detail] .ovh-vf-color-swatch { width: 40px; height: 40px; flex: 0 0 40px; }
[data-ovh-vf-vehicle-detail] .ovh-vf-buybox__actions-row { gap: 12px; }
[data-ovh-vf-vehicle-detail] .ovh-vf-buybox__actions .ovh-vf-btn { min-height: 52px; }
@media (max-width: 1099px) {
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
    gap: 22px;
  }
}
@media (max-width: 899px) {
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__grid { grid-template-columns: minmax(0, 1fr); }
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__buybox { width: 100%; }
}
@media (max-width: 767px) {
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__grid { gap: 18px; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__gallery { gap: 10px; width: 100%; max-width: 100%; overflow: hidden; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-gallery__main { border-radius: 20px; aspect-ratio: 4 / 3; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-gallery__carousel { margin: 0; padding: 0; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-gallery__thumbs { gap: 10px; padding: 4px 3px 5px; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-gallery__thumb { flex: 0 0 92px; width: 92px; min-width: 92px; max-width: 92px; height: 64px; border-radius: 12px; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__buybox { margin-top: 0; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-gallery__nav { width: 42px; height: 42px; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-gallery__nav--prev { left: 10px; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-gallery__nav--next { right: 10px; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-gallery__nav span { font-size: 29px; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__buybox { padding: 17px; border-radius: 20px; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-buybox__price-row { grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
}
@media (max-width: 390px) {
  [data-ovh-vf-vehicle-detail] .ovh-vf-buybox__price-row { grid-template-columns: 1fr; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-buybox__deposit { text-align: left; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-buybox__actions-row { grid-template-columns: 1fr; }
}


/* v5.9.3 — Complete admin-to-frontend mapping */
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__meta span,
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__meta strong { display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border-radius: 999px; font-size: 12px; line-height: 1.3; }
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__meta span { border: 1px solid #d8e4f1; background: #f7fafc; color: #40546c; }
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__meta strong { background: #edf5ff; color: var(--ovh-vf-primary); }
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-section { margin-top: clamp(30px, 4vw, 54px); }
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-section h2 { margin: 0 0 18px; color: #061b32; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group { overflow: hidden; border: 1px solid #dce6f2; border-radius: 16px; background: #fff; }
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group h3 { margin: 0; padding: 13px 16px; border-bottom: 1px solid #dce6f2; background: #f6f9fc; color: #20364d; font-size: 15px; }
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group dl { margin: 0; }
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, auto); gap: 14px; padding: 11px 16px; border-bottom: 1px solid #edf2f7; }
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group dl > div:last-child { border-bottom: 0; }
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group dt { color: #607187; }
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group dd { margin: 0; color: #061b32; font-weight: 750; text-align: right; }
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-content-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-content-grid article { padding: clamp(18px, 2.5vw, 28px); border: 1px solid #dce6f2; border-radius: 16px; background: #fff; }
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-video__frame { overflow: hidden; border-radius: 16px; background: #061b32; aspect-ratio: 16 / 9; }
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-video__frame iframe { width: 100%; height: 100%; }
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-documents__list { display: flex; flex-wrap: wrap; gap: 12px; }
.ovh-vf-card__offer { margin: 0 0 12px; padding: 8px 10px; border-radius: 8px; background: #edf5ff; color: #1f62bd; font-size: 12px; font-weight: 700; line-height: 1.35; }
.ovh-vf-card__badge--secondary { background: #fff7e8; color: #9a5a00; }
@media (max-width: 767px) {
	[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__groups,
	[data-ovh-vf-vehicle-detail] .ovh-vf-detail-content-grid { grid-template-columns: 1fr; }
	[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group dl > div { grid-template-columns: minmax(0, 1fr) minmax(100px, auto); padding: 10px 13px; }
}

[data-ovh-vf-vehicle-detail] .ovh-vf-buybox__quote-link { display:block; margin-top:12px; text-align:center; color:var(--ovh-vf-primary); font-weight:750; text-decoration:none; }
[data-ovh-vf-vehicle-detail] .ovh-vf-buybox__quote-link:hover { text-decoration:underline; }

/* v5.9.4 — Professional responsive vehicle detail layout */
[data-ovh-vf-vehicle-detail] {
  --ovh-vf-detail-border: #dbe5f0;
  --ovh-vf-detail-muted: #65758a;
  --ovh-vf-detail-soft: #f6f9fc;
  --ovh-vf-detail-ink: #071c33;
  --ovh-vf-detail-radius: 18px;
  padding-bottom: clamp(44px, 6vw, 84px);
}
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__head {
  display: grid;
  gap: 8px;
  margin-bottom: clamp(20px, 2.5vw, 30px);
  max-width: 850px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__title {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__subtitle {
  max-width: 720px;
  margin: 0;
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.55;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__grid {
  align-items: start;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__buybox {
  display: grid;
  gap: 18px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-buybox__label {
  margin: 0 0 2px;
  font-size: 12px;
  letter-spacing: .11em;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-version-list {
  gap: 10px;
  margin: 0;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-version-option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 10px;
  min-height: 56px;
  padding: 12px 14px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-version-option span {
  line-height: 1.35;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-color-list {
  gap: 10px;
  margin: 0;
  padding-bottom: 18px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-buybox__price-row {
  padding-top: 2px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-buybox__loan {
  margin: 0;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-nav {
  position: sticky;
  top: calc(var(--ovh-vf-fixed-header-height, 76px) + 8px);
  z-index: 12;
  display: flex;
  gap: 8px;
  margin: clamp(28px, 3vw, 42px) 0 0;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid var(--ovh-vf-detail-border);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 10px 30px rgba(7,29,51,.07);
  scrollbar-width: none;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-nav::-webkit-scrollbar { display: none; }
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-nav a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 10px;
  color: #40546c;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-nav a:hover,
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-nav a:focus-visible {
  background: #edf5ff;
  color: var(--ovh-vf-primary);
}
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-section {
  scroll-margin-top: calc(var(--ovh-vf-fixed-header-height, 76px) + 82px);
  margin-top: clamp(38px, 5vw, 72px);
}
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-section__eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--ovh-vf-primary);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-section h2 {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  letter-spacing: -.025em;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-key-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-key-spec {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--ovh-vf-detail-border);
  border-radius: 15px;
  background: #fff;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-key-spec span {
  display: block;
  margin-bottom: 7px;
  color: var(--ovh-vf-detail-muted);
  font-size: 12px;
  line-height: 1.4;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-key-spec strong {
  display: block;
  color: var(--ovh-vf-detail-ink);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
[data-ovh-vf-vehicle-detail] details.ovh-vf-technical-specs__group {
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--ovh-vf-detail-border);
  border-radius: var(--ovh-vf-detail-radius);
  background: #fff;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  list-style: none;
  background: var(--ovh-vf-detail-soft);
  color: #20364d;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group summary::-webkit-details-marker { display: none; }
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group summary span::before,
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group summary span::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 2px;
  background: #62748a;
  transform: translateY(-50%);
}
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group summary span::after {
  transform: translateY(-50%) rotate(90deg);
  transition: transform .2s ease;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group[open] summary span::after {
  transform: translateY(-50%) rotate(0);
}
[data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group dl > div {
  grid-template-columns: minmax(0, 1fr) minmax(130px, auto);
  padding: 12px 18px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-content-grid {
  align-items: stretch;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-detail-content-grid article {
  height: 100%;
  box-shadow: 0 10px 28px rgba(7,29,51,.045);
}
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__intro {
  max-width: 900px;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__intro .ovh-vf-prose {
  color: #34495f;
  font-size: 16px;
  line-height: 1.75;
}
[data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__related {
  margin-top: clamp(42px, 6vw, 76px);
}
@media (min-width: 900px) {
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__buybox {
    position: sticky;
    top: calc(var(--ovh-vf-fixed-header-height, 76px) + 18px);
  }
}
@media (max-width: 1023px) {
  [data-ovh-vf-vehicle-detail] .ovh-vf-key-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 899px) {
  [data-ovh-vf-vehicle-detail] .ovh-vf-detail-nav {
    position: static;
    margin-top: 24px;
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__buybox {
    box-shadow: 0 12px 32px rgba(7,29,51,.07);
  }
}
@media (max-width: 767px) {
  [data-ovh-vf-vehicle-detail] {
    padding-bottom: calc(92px + env(safe-area-inset-bottom));
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-vehicle-detail__title {
    font-size: clamp(30px, 10vw, 40px);
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-detail-section {
    margin-top: 34px;
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-key-specs,
  [data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__groups,
  [data-ovh-vf-vehicle-detail] .ovh-vf-detail-content-grid {
    grid-template-columns: 1fr;
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-key-spec {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-key-spec span { margin: 0; }
  [data-ovh-vf-vehicle-detail] .ovh-vf-key-spec strong {
    font-size: 18px;
    text-align: right;
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-version-option {
    grid-template-columns: 20px minmax(0, 1fr);
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-version-option strong {
    grid-column: 2;
    justify-self: start;
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-technical-specs__group dl > div {
    grid-template-columns: minmax(0, 1fr) minmax(100px, auto);
    gap: 10px;
    padding: 11px 14px;
  }
}
@media (max-width: 390px) {
  [data-ovh-vf-vehicle-detail] .ovh-vf-detail-nav {
    margin-inline: -4px;
  }
  [data-ovh-vf-vehicle-detail] .ovh-vf-detail-nav a {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 13px;
  }
}
