/* Self-contained RTL Elementor widget, scoped away from the existing two widgets. */
.ydp-vehicle-models, .ydp-vehicle-models * { box-sizing: border-box; }
.ydp-vehicle-models {
  --ydp-model-accent: #075bc3;
  --ydp-model-card-width: 171px;
  direction: rtl; color: #0b316e; font-family: inherit; width: 100%;
}
.ydp-vehicle-models__heading { text-align: right; margin: 0 0 21px; }
.ydp-vehicle-models__title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin: 0; padding: 0; color: #113c7d; font-family: inherit;
  font-weight: 800; font-size: clamp(19px, 2vw, 29px); line-height: 1.65;
}
.ydp-vehicle-models__title svg { color: var(--ydp-model-accent); flex: 0 0 auto; }
.ydp-vehicle-models__subtitle { margin: 4px 0 0; color: #607390; font-size: 14px; line-height: 1.9; }
.ydp-vehicle-models__empty { color: #607390; padding: 22px 12px; border: 1px dashed #d6e4f5; border-radius: 12px; }
.ydp-vehicle-models__carousel { display: flex; align-items: center; min-width: 0; gap: 0; width: 100%; }
.ydp-vehicle-models__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--ydp-model-card-width);
  gap: 10px; min-width: 0; flex: 1 1 0;
  overflow-x: auto; overflow-y: hidden; padding: 4px 2px 4px;
  scroll-snap-type: x mandatory; scroll-padding-inline: 2px;
  overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
  scrollbar-width: none !important; -ms-overflow-style: none;
  cursor: grab; user-select: none; -webkit-user-select: none;
}
.ydp-vehicle-models__track[dir="ltr"] .ydp-vehicle-models__card { direction: rtl; }
.ydp-vehicle-models__track::-webkit-scrollbar { display: none !important; width: 0; height: 0; }
.ydp-vehicle-models__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.ydp-vehicle-models__track.is-dragging .ydp-vehicle-models__card { pointer-events: none; }
.ydp-vehicle-models__track:focus-visible { outline: 2px solid var(--ydp-model-accent); outline-offset: 2px; }
.ydp-vehicle-models__card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  width: 100%; min-width: 0; background: linear-gradient(165deg,#fff 4%,#f6faff 100%);
  border: 1px solid #dceafd; border-radius: 17px; color: #103876;
  text-decoration: none !important; overflow: hidden; padding: 11px 7px 7px;
  box-shadow: 0 3px 10px rgba(11,65,138,.035); scroll-snap-align: start;
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.ydp-vehicle-models__card--linked { cursor: pointer; }
.ydp-vehicle-models__card--linked:hover, .ydp-vehicle-models__card--linked:focus-visible {
  transform: translateY(-2px); border-color: #9ac4f9;
  box-shadow: 0 7px 19px rgba(11,65,138,.12); color: #103876;
}
.ydp-vehicle-models__card--linked:focus-visible { outline: 2px solid var(--ydp-model-accent); outline-offset: 2px; }
.ydp-vehicle-models__photo { display: block; width: 100%; height: 95px; margin-bottom: 7px; }
.ydp-vehicle-models__photo img {
  display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; object-position: center bottom;
  mix-blend-mode: multiply; -webkit-user-drag: none; user-select: none; pointer-events: none;
}
.ydp-vehicle-models__label {
  display: flex; justify-content: center; align-items: center; width: 100%;
  background: #eaf3ff; border-radius: 11px; min-height: 44px; padding: 6px 4px;
  font-size: 13px; font-weight: 800; line-height: 1.6; text-align: center; color: #103c83;
}
.ydp-vehicle-models__count { font-size: 11px; color: #4d709e; padding: 5px 0 0; text-align: center; }
@media (max-width: 767px) {
  .ydp-vehicle-models__title { font-size: 20px; }
  .ydp-vehicle-models__subtitle { font-size: 12px; }
  .ydp-vehicle-models__track { grid-auto-columns: clamp(128px, 41vw, 170px); gap: 8px; }
  .ydp-vehicle-models__photo { height: 82px; }
  .ydp-vehicle-models__label { min-height: 40px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .ydp-vehicle-models__card { transition: none; }
}

