.vl-single-car {
  background: #f5f5f5;
  color: #111111;
}

.vl-single-car__shell {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
  padding: 48px 0 72px;
}

.vl-car-breadcrumb {
  margin: 0 0 18px;
}

.vl-car-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #8a8a8a;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.vl-car-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.vl-car-breadcrumb__separator {
  margin: 0 10px;
  color: #b3b3b3;
}

.vl-car-breadcrumb__link {
  color: #666666;
  text-decoration: none;
}

.vl-car-breadcrumb__link:hover,
.vl-car-breadcrumb__link:focus {
  color: #d71a21;
}

.vl-car-breadcrumb__link:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.vl-car-breadcrumb__current {
  max-width: 100%;
  overflow: hidden;
  color: #666666;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vl-single-car__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.vl-single-car__layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
}

.vl-single-car__primary {
  min-width: 0;
}

.vl-car-sidebar {
  display: grid;
  gap: 18px;
  min-width: 0;
  align-content: start;
}

.vl-single-car__main {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  gap: 34px;
  align-items: start;
}

.vl-single-car__title {
  margin: 0;
  color: #111111;
  font: inherit;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.12;
}

.vl-car-gallery {
  width: 100%;
  min-width: 0;
}

.vl-car-summary {
  min-width: 0;
  padding: 8px 0 0;
}

.vl-car-summary__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.vl-car-summary__badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.vl-car-summary__badge--new {
  background: #d71a21;
  color: #ffffff;
}

.vl-car-summary__badge--status {
  border: 1px solid #e2e2e2;
  background: #f5f5f5;
  color: #111111;
}

.vl-car-summary__variant {
  margin-top: 10px;
  color: #666666;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
}

.vl-car-summary__price {
  margin-top: 22px;
  color: #d71a21;
  font-size: clamp(30px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1;
}

.vl-car-summary__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-top: 1px solid #e2e2e2;
  border-bottom: 1px solid #e2e2e2;
}

.vl-car-summary__spec {
  min-width: 0;
  padding: 18px 16px 18px 0;
}

.vl-car-summary__spec + .vl-car-summary__spec {
  padding-left: 20px;
  border-left: 1px solid #e2e2e2;
}

.vl-car-summary__spec-label,
.vl-car-summary__spec-value {
  display: block;
}

.vl-car-summary__spec-label {
  margin-bottom: 5px;
  color: #666666;
  font-size: 12px;
  font-weight: 500;
}

.vl-car-summary__spec-value {
  color: #111111;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

/*
 * Single Car conversion block.
 *
 * The CTA deliberately carries Elementor's existing `.elementor-button`
 * component classes in the markup so its visual treatment is inherited from
 * the already-approved site-wide Button system. These scoped rules only own
 * Single Car placement, width and icon/content alignment.
 */
.vl-car-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 22px;
  text-align: center;
}

.vl-single-car .vl-car-contact__cta {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 15px 20px;
  border: 0;
  border-radius: 30px;
  background-color: var(--e-global-color-primary, #d71a21);
  color: var(--e-global-color-53c157b, #ffffff);
  fill: var(--e-global-color-53c157b, #ffffff);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
  transition: 0.3s;
}

.vl-single-car .vl-car-contact__cta:hover,
.vl-single-car .vl-car-contact__cta:focus {
  background-color: var(--e-global-color-accent, #b9141b);
  color: var(--e-global-color-53c157b, #ffffff);
  border-color: rgba(185, 20, 27, 0);
}

.vl-single-car .vl-car-contact__cta:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.vl-single-car .vl-car-contact__cta .elementor-button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: auto;
}

.vl-single-car .vl-car-contact__cta .elementor-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.vl-single-car .vl-car-contact__cta .elementor-button-icon svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.vl-car-contact__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  color: #111111;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.vl-car-contact__phone:hover,
.vl-car-contact__phone:focus {
  color: #d71a21;
}

.vl-car-contact__phone:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 4px;
}

.vl-car-contact__phone svg {
  display: block;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: currentColor;
}

.vl-car-contact__hours {
  margin-top: 10px;
  color: #666666;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.vl-car-gallery__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #f5f5f5;
}

.vl-car-gallery__primary {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__nav {
  position: absolute;
  top: 50%;
  z-index: 5;

  display: flex;
  align-items: center;
  justify-content: center;

  box-sizing: border-box;

  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;

  margin: 0;
  padding: 0;

  appearance: none;

  border: 1px solid #e2e2e2;
  border-radius: 50%;

  background: #ffffff;
  color: #111111;

  font: inherit;
  font-size: 20px;
  line-height: 1;

  cursor: pointer;

  transform: translateY(-50%);

  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__nav--prev {
  left: 14px;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__nav--next {
  right: 14px;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__nav:hover {
  background: #d71a21;
  border-color: #d71a21;
  color: #ffffff;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__nav:focus {
  border-radius: 50%;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__nav:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb.is-window-hidden {
  display: none;
}

/*
 * Initial Mobile gallery window.
 *
 * PHP renders five Desktop/Tablet thumbnails initially.
 * On Mobile the fifth thumbnail is hidden so the initial layout matches
 * the four-thumbnail JavaScript window before DOMContentLoaded.
 */
@media (max-width: 767px) {
  .vl-single-car
    .vl-car-gallery
    button.vl-car-gallery__thumb.is-mobile-window-hidden {
    display: none;
  }
}

.vl-car-gallery__counter {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.vl-car-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb {
  overflow: hidden;
  aspect-ratio: 4 / 3;

  box-sizing: border-box;

  margin: 0;
  padding: 0;

  appearance: none;

  border: 1px solid #e2e2e2;
  border-radius: 6px;

  background: #f5f5f5;
  box-shadow: none;

  cursor: pointer;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb:hover {
  border-color: #e2e2e2;
  background: #f5f5f5;
  box-shadow: none;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb.is-active,
.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb.is-active:hover {
  border-color: #d71a21;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb:focus {
  border-radius: 6px;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1);
  transition: transform 0.2s ease;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb:hover img {
  transform: scale(1.025);
}

.vl-car-gallery__empty {
  display: grid;
  aspect-ratio: 4 / 3;
  place-content: center;
  gap: 8px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #f5f5f5;
  text-align: center;
}

.vl-car-gallery__empty strong {
  color: #d71a21;
  font-size: 20px;
  font-style: italic;
}

.vl-car-gallery__empty span {
  color: #8a8a8a;
  font-size: 14px;
}

.vl-car-specifications {
  margin-top: 28px;
  padding: 24px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #ffffff;
}

.vl-car-specifications__title {
  margin: 0 0 22px;
  color: #111111;
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.vl-car-specifications__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.vl-car-spec-group {
  min-width: 0;
}

.vl-car-spec-group__title {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 24px;
  margin: 0 0 12px;
  color: #111111;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.vl-car-spec-group__marker {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border: 2px solid #d71a21;
  border-radius: 50%;
}

.vl-car-spec-group__list {
  margin: 0;
}

.vl-car-spec-group__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid #eeeeee;
}

.vl-car-spec-group__row:last-child {
  border-bottom: 0;
}

.vl-car-spec-group__row dt,
.vl-car-spec-group__row dd {
  margin: 0;
  min-width: 0;
  font-size: 13px;
  line-height: 1.35;
}

.vl-car-spec-group__row dt {
  color: #666666;
  font-weight: 400;
}

.vl-car-spec-group__row dd {
  color: #111111;
  font-weight: 500;
  text-align: right;
  overflow-wrap: anywhere;
}

.vl-car-equipment,
.vl-car-description,
.vl-car-finance,
.vl-car-video {
  min-width: 0;
  padding: 24px;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #ffffff;
}

.vl-car-content-card__title {
  margin: 0 0 18px;
  color: #111111;
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.vl-car-equipment__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vl-car-equipment__item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #e2e2e2;
  border-radius: 999px;
  background: #f5f5f5;
  color: #111111;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}

.vl-car-description__content {
  min-width: 0;
  color: #666666;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  word-break: normal;
}

.vl-car-description__content p {
  margin: 0 0 14px;
}

.vl-car-description__content p:last-child {
  margin-bottom: 0;
}

.vl-car-finance__intro {
  margin: 0 0 18px;
  color: #666666;
  font-size: 14px;
  line-height: 1.6;
}

.vl-car-finance__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
}

.vl-car-finance__item {
  min-width: 0;
  margin: 0;
  padding: 0 12px;
  border-right: 1px solid #e2e2e2;
}

.vl-car-finance__item:first-child {
  padding-left: 0;
}

.vl-car-finance__item:last-child {
  padding-right: 0;
  border-right: 0;
}

.vl-car-finance__label,
.vl-car-finance__value {
  margin: 0;
}

.vl-car-finance__label {
  color: #666666;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.35;
}

.vl-car-finance__value {
  margin-top: 7px;
  color: #111111;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}

.vl-car-finance__more {
  display: inline-block;
  margin-top: 18px;
  color: #d71a21;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.vl-car-finance__more:hover,
.vl-car-finance__more:focus {
  text-decoration: underline;
}

.vl-car-finance__more:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.vl-car-video__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.vl-car-video__title-icon {
  display: inline-flex;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  color: #d71a21;
}

.vl-car-video__title-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.vl-car-video__title-icon svg path {
  fill: currentColor;
  stroke: none;
}

.vl-car-video__body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 16px;
  align-items: center;
}

.vl-car-video__media {
  position: relative;
  display: block;
  min-width: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 7px;
  background: #111111;
  text-decoration: none;
}

.vl-car-video__thumbnail {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vl-car-video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  transform: translate(-50%, -50%);
}

.vl-car-video__play svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.vl-car-video__copy {
  min-width: 0;
}

.vl-car-video__text {
  margin: 0;
  color: #111111;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.vl-car-video__link {
  display: inline-block;
  margin-top: 20px;
  color: #d71a21;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.vl-car-video__link:hover,
.vl-car-video__link:focus {
  text-decoration: underline;
}

.vl-car-video__media:focus-visible,
.vl-car-video__link:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.vl-car-video__upload-wrap {
  overflow: hidden;
  border-radius: 7px;
  background: #111111;
}

.vl-car-video__upload {
  display: block;
  width: 100%;
  max-width: 100%;
  background: #111111;
}

/*
 * LOCKED exact reuse: Homepage `find-car-outer`.
 *
 * Source of truth:
 * - #find-car-outer / Elementor data-id 7f34a1d
 * - #find-car-inner / Elementor data-id a250f0f
 * - Heading data-id 6f52a23
 * - Text data-id 318d0b6
 * - Button data-id 0ddecfc
 *
 * Elementor's original generated rules are page-scoped to `.elementor-7`.
 * The Single Car template is project-owned PHP, so the verified component
 * values are reproduced here against the preserved IDs/classes rather than
 * relying on Homepage-only generated CSS.
 */
#find-car-outer {
  display: flex;
  width: 100%;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 48px 0;
  background-color: var(--e-global-color-53c157b, #ffffff);
}

#find-car-inner {
  display: flex;
  width: 1280px;
  max-width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  padding: 0;
}

#find-car-inner > .elementor-element-6f52a23 {
  margin: 0;
  padding: 0;
  text-align: center;
}

#find-car-inner > .elementor-element-6f52a23 .elementor-heading-title {
  margin: 0;
  padding: 0;
  color: var(--e-global-color-text, #111111);
  font-family: Manrope, sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
}

#find-car-inner > .elementor-element-318d0b6 {
  width: 480px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: var(--e-global-color-01039e0, #666666);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

#find-car-inner > .elementor-element-0ddecfc {
  width: auto;
  margin: 0;
  padding: 0;
}

#find-car-inner > .elementor-element-0ddecfc .elementor-button {
  display: inline-block;
  padding: 15px 20px;
  border: 0;
  border-radius: 30px;
  background-color: var(--e-global-color-primary, #d71a21);
  color: var(--e-global-color-53c157b, #ffffff);
  fill: var(--e-global-color-53c157b, #ffffff);
  font-family: Manrope, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
}

#find-car-inner > .elementor-element-0ddecfc .elementor-button:hover,
#find-car-inner > .elementor-element-0ddecfc .elementor-button:focus {
  background-color: var(--e-global-color-accent, #b9141b);
  color: var(--e-global-color-53c157b, #ffffff);
  border-color: rgba(185, 20, 27, 0);
}

#find-car-inner > .elementor-element-0ddecfc .elementor-button:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.vl-mobile-break {
  display: none;
}

@media (max-width: 1024px) {
  .vl-single-car__shell {
    padding-top: 32px;
    padding-bottom: 48px;
  }

  #find-car-inner {
    width: 100%;
  }

  .vl-single-car__main {
    grid-template-columns: 1fr;
  }

  .vl-car-summary {
    padding-top: 6px;
  }

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

  .vl-single-car__layout.has-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .vl-car-gallery__counter {
    top: 10px;
    left: 10px;
    min-width: 38px;
    min-height: 26px;
    padding: 4px 8px;
    font-size: 11px;
  }

  .vl-mobile-break {
    display: block;
  }

  .vl-car-breadcrumb {
    margin-bottom: 14px;
  }

  .vl-car-breadcrumb__list {
    font-size: 11px;
  }

  .vl-car-breadcrumb__current {
    max-width: 180px;
  }

  .vl-car-video__body {
    grid-template-columns: 1fr;
  }

  .vl-car-video__link {
    margin-top: 12px;
  }

  .vl-car-finance__grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vl-car-finance__item,
  .vl-car-finance__item:first-child,
  .vl-car-finance__item:last-child {
    padding: 0;
    border-right: 0;
  }

  .vl-single-car__shell {
    width: min(100% - 28px, 1280px);
    padding: 32px 0 48px;
  }

  .vl-car-gallery__thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vl-car-summary__specs {
    grid-template-columns: 1fr 1fr;
  }

  .vl-car-specifications,
  .vl-car-equipment,
  .vl-car-description,
  .vl-car-finance,
  .vl-car-video {
    padding: 20px;
  }

  .vl-car-specifications__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .vl-single-car .vl-car-gallery button.vl-car-gallery__nav {
    width: 38px;
    height: 38px;
  }
}

/*
 * Single Car gallery 
 * Scope: gallery-only maintenance change.
 *
 * 
 * It intentionally overrides the previous fixed 5/4-thumbnail window without
 * changing the rest of the LOCKED Single Car design.
 */

/* Main image becomes the lightbox trigger without changing its dimensions. */
.vl-car-gallery__primary.is-lightbox-trigger {
  cursor: zoom-in;
}

.vl-car-gallery__primary.is-lightbox-trigger:focus-visible {
  outline: 2px solid #111111;
  outline-offset: -4px;
}

/*
 * Replace the old JS-controlled thumbnail window with a real horizontal rail.
 * The old helper classes may still be present in server-rendered markup, so
 * this later rule prevents them from hiding thumbnails once the enhancement
 * loads. The first image remains intentionally omitted from the rail because
 * it is already represented by the large stage.
 */
.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb.is-window-hidden,
.vl-single-car
  .vl-car-gallery
  button.vl-car-gallery__thumb.is-mobile-window-hidden {
  display: block;
}

.vl-single-car
  .vl-car-gallery
  button.vl-car-gallery__thumb.is-primary-duplicate {
  display: none;
}

.vl-car-gallery__thumbs-shell {
  position: relative;
  margin-top: 10px;
}

.vl-car-gallery__thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 40px) / 5);
  grid-template-columns: none;
  gap: 10px;
  margin-top: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}

.vl-car-gallery__thumbs::-webkit-scrollbar {
  display: none;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb {
  width: 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb-scroll-nav {
  position: absolute;
  top: 50%;
  z-index: 7;
  display: flex;
  width: 34px;
  min-width: 34px;
  height: 34px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 1px solid #e2e2e2;
  border-radius: 50%;
  background: #ffffff;
  color: #111111;
  font: inherit;
  font-size: 20px;
  line-height: 1;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb-scroll-nav--prev {
  left: 6px;
}

.vl-single-car .vl-car-gallery button.vl-car-gallery__thumb-scroll-nav--next {
  right: 6px;
}

.vl-single-car
  .vl-car-gallery
  button.vl-car-gallery__thumb-scroll-nav:hover:not(:disabled) {
  border-color: #d71a21;
  background: #d71a21;
  color: #ffffff;
}

.vl-single-car
  .vl-car-gallery
  button.vl-car-gallery__thumb-scroll-nav:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

.vl-single-car
  .vl-car-gallery
  button.vl-car-gallery__thumb-scroll-nav:disabled {
  opacity: 0;
  pointer-events: none;
}

/* Lightbox */
html.vl-car-lightbox-open,
html.vl-car-lightbox-open body {
  overflow: hidden;
}

.vl-car-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 28px 76px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.18s ease,
    visibility 0.18s ease;
}

.vl-car-lightbox[hidden] {
  display: none;
}

.vl-car-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.vl-car-lightbox__figure {
  display: grid;
  max-width: min(92vw, 1500px);
  max-height: calc(100vh - 56px);
  place-items: center;
  gap: 14px;
}

.vl-car-lightbox__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  border-radius: 6px;
  background: #111111;
  user-select: none;
  -webkit-user-drag: none;
}

.vl-car-lightbox__counter {
  min-width: 64px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #111111;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.vl-car-lightbox button.vl-car-lightbox__close,
.vl-car-lightbox button.vl-car-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  color: #111111;
  font: inherit;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.vl-car-lightbox button.vl-car-lightbox__close:hover,
.vl-car-lightbox button.vl-car-lightbox__nav:hover {
  border-color: #d71a21;
  background: #d71a21;
  color: #ffffff;
}

.vl-car-lightbox button.vl-car-lightbox__close:focus-visible,
.vl-car-lightbox button.vl-car-lightbox__nav:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.vl-car-lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  font-size: 28px;
  line-height: 1;
}

.vl-car-lightbox__nav {
  top: 50%;
  width: 48px;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  font-size: 30px;
  line-height: 1;
  transform: translateY(-50%);
}

.vl-car-lightbox__nav--prev {
  left: 20px;
}

.vl-car-lightbox__nav--next {
  right: 20px;
}

@media (max-width: 1024px) {
  /* Tablet/mobile use native horizontal swipe/drag for the thumbnail rail. */
  .vl-single-car .vl-car-gallery button.vl-car-gallery__thumb-scroll-nav {
    display: none;
  }

  .vl-car-lightbox {
    padding: 24px 20px;
  }

  .vl-car-lightbox__nav {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .vl-car-lightbox__nav--prev {
    left: 12px;
  }

  .vl-car-lightbox__nav--next {
    right: 12px;
  }
}

@media (max-width: 767px) {
  .vl-car-gallery__thumbs {
    grid-auto-columns: calc((100% - 30px) / 4);
    grid-template-columns: none;
  }

  .vl-car-lightbox {
    padding: 64px 12px 20px;
  }

  .vl-car-lightbox__figure {
    max-width: 100%;
    max-height: calc(100vh - 84px);
  }

  .vl-car-lightbox__image {
    max-height: calc(100vh - 140px);
    border-radius: 4px;
  }

  .vl-car-lightbox__close {
    top: 12px;
    right: 12px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    min-height: 40px;
    font-size: 25px;
  }

  .vl-car-lightbox__nav {
    top: auto;
    bottom: 18px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    font-size: 27px;
    transform: none;
  }

  .vl-car-lightbox__nav--prev {
    left: 12px;
  }

  .vl-car-lightbox__nav--next {
    right: 12px;
  }

  .vl-car-lightbox__counter {
    margin-bottom: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vl-car-lightbox,
  .vl-car-gallery__thumbs {
    scroll-behavior: auto;
    transition: none;
  }
}

/*
 * Single Car content collapse enhancement 
 * 
 *
 * 
 * - Desktop (>1024px): Equipment 6 rendered rows / Description 10 text lines.
 * - Tablet + Mobile (<=1024px): Equipment 3 rendered rows / Description 5 text lines.
 * - Toggle appears only when content exceeds the relevant limit.
 * - Toggle switches between "Περισσότερα" and "Λιγότερα".
 *
 * No container position, width, typography or other LOCKED Single Car styling
 * is changed here.
 */

.vl-car-equipment__list.is-collapsed,
.vl-car-description__content.is-collapsed {
  overflow: hidden;
}

.vl-single-car button.vl-car-content-toggle {
  display: flex;
  width: fit-content;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  margin: 18px auto 0;
  padding: 7px 14px;
  appearance: none;
  border: 1px solid var(--e-global-color-primary, #d71a21);
  border-radius: 999px;
  background: transparent;
  color: var(--e-global-color-primary, #d71a21);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.vl-single-car button.vl-car-content-toggle:hover,
.vl-single-car button.vl-car-content-toggle:focus {
  border-color: var(--e-global-color-primary, #d71a21);
  background: var(--e-global-color-primary, #d71a21);
  color: #ffffff;
}

.vl-single-car button.vl-car-content-toggle:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 3px;
}

.vl-single-car button.vl-car-content-toggle[hidden] {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .vl-car-equipment__list,
  .vl-car-description__content {
    transition: max-height 0.24s ease;
  }
}
