/* ---- Hand-written: shared "Featured" row component (search results + home "Featured vehicles"; owner request 24 Oct).
   Existing vehicle cards in one horizontal row: scroll-snap, touch swipe, prev/next arrows on desktop only. ---- */
.motorit-frow-nav { display: flex; gap: 8px; }
.motorit-frow-arrow { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 1px solid #dbe7ef; border-radius: 999px; background: rgb(255, 255, 255); color: #0f172a; font-size: 26px; font-weight: 700; line-height: 1; cursor: pointer; box-shadow: rgba(15, 23, 42, 0.06) 0px 8px 20px; transition: border-color .15s, color .15s, opacity .15s; }
.motorit-frow-arrow:hover:not(:disabled) { border-color: #38B6FF; color: #067b9d; }
.motorit-frow-arrow:focus-visible, .motorit-frow-track:focus-visible { outline: none; box-shadow: rgba(56, 182, 255, 0.35) 0px 0px 0px 4px; }
.motorit-frow-arrow:disabled { opacity: .4; cursor: default; }
.motorit-frow-arrow[hidden] { display: none; }
.motorit-frow-track { display: flex; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-left: 2px; -webkit-overflow-scrolling: touch; padding: 2px 2px 14px; border-radius: 26px; scrollbar-width: thin; scrollbar-color: #dbe7ef transparent; }
/* !important: the shell's `body.motorit-shell-route article` rule forces width/flex 100% !important (the grids override it the same way) */
.motorit-frow-track > .motorit-v126-card { flex-grow: 0 !important; flex-shrink: 0 !important; max-width: none !important; min-width: 0 !important; height: auto; scroll-snap-align: start; }
/* Search: the search grid's card width. */
.motorit-frow-track.is-search > .motorit-v126-card { flex-basis: 331.5px !important; width: 331.5px !important; }
/* Home: the home grid's column width (4 / 2 columns, gap 18px). */
.motorit-frow-track.is-home > .motorit-v126-card { flex-basis: calc((100% - 54px) / 4) !important; width: calc((100% - 54px) / 4) !important; }
.motorit-home-row-actions { display: flex; align-items: center; gap: 14px; }
@media (max-width: 1000px) {
  .motorit-frow-track.is-home > .motorit-v126-card { flex-basis: calc((100% - 18px) / 2) !important; width: calc((100% - 18px) / 2) !important; }
}
@media (prefers-reduced-motion: no-preference) { .motorit-frow-track { scroll-behavior: smooth; } }
@media (max-width: 620px), (hover: none) {
  .motorit-frow-nav { display: none; }
}
@media (max-width: 700px) {
  .motorit-frow-track { gap: 12px; }
  .motorit-frow-track.is-search > .motorit-v126-card { flex-basis: 85% !important; width: 85% !important; }
  /* Home cards are horizontal (image left) on phones: keep nearly the full grid width, with the next card peeking in. */
  .motorit-frow-track.is-home > .motorit-v126-card { flex-basis: calc(100% - 32px) !important; width: calc(100% - 32px) !important; }
}
