/* The same image and text tracks keep dealer cards aligned across every row. */
.row-cars > .col .card[itemprop="itemListElement"] { height: 100%; overflow: hidden; }
.row-cars .card[itemprop="itemListElement"] > a { display: flex; flex-direction: column; height: 100%; }
.row-cars .card[itemprop="itemListElement"] .card-img-top { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; flex: none; }
.row-cars .card[itemprop="itemListElement"] .card-no-photo { display: flex; }
.row-cars .card[itemprop="itemListElement"] .card-body { width: 100%; padding: 16px 18px; }
.row-cars .card[itemprop="itemListElement"] h5 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 18px; line-height: 1.25; height: 2.5em; margin: 0 0 8px; overflow-wrap: anywhere; }
.row-cars .card[itemprop="itemListElement"] .car-price { font-size: 19px; height: 1.35em; line-height: 1.35; margin: 0; }
.row-cars .card[itemprop="itemListElement"]:hover { transform: none; }

.motor-catalog { --motor-ink: #201e27; --motor-muted: #655f70; --motor-border:#e4e1e9; --motor-accent:#5531c8; color:var(--motor-ink); padding-bottom: 48px; }
.motor-catalog h1 { margin:0 0 24px; font-size:clamp(34px, 3.45vw, 54px); line-height:1.06; letter-spacing:-.045em; }
.motor-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; gap:24px; }
.motor-grid .motor-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid var(--motor-border); border-radius:16px; background:white; color:var(--motor-ink); text-decoration:none; transition:border-color .15s,box-shadow .15s; }
.motor-grid .motor-card:hover { border-color:#b4a6d5; box-shadow:0 5px 20px #28203412; }
.motor-photo { position:relative; aspect-ratio: 1.55; background:#efedf1; }
.motor-photo img { display:block; width:100%; height:100%; position:absolute; inset:0; object-fit:cover; }
.motor-meta { display:flex; align-items:center; justify-content:space-between; gap:6px; line-height:1.25; height:20px; margin-bottom:7px; font-size:13px; color:#655f6d; }
.motor-meta > span:last-child { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.motor-badge { display:inline-flex; align-items:center; gap:6px; flex:none; color:#65418d; font-size:13px; font-weight:600; }
.motor-badge::before { content:""; width:7px; height:7px; border-radius:50%; background:#7756ce; }
.motor-badge.is-stock { color:#245f49; }
.motor-badge.is-stock::before { background:#28845b; }
.motor-body { padding:15px 18px 17px; }
.motor-body h2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; overflow-wrap:anywhere; height:2.36em; line-height:1.18; letter-spacing:-.025em; font-size:22px; margin:0 0 5px; }
.motor-spec { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; height:1.4em; line-height:1.4; margin:0 0 12px; color:var(--motor-muted); font-size:14px; }
.motor-cost { display:flex; flex-direction:column; border-top:1px solid var(--motor-border); padding-top:10px; }
.motor-cost span,.motor-detail-price > span { color:#696273; font-size:13px; line-height:1.4; }
.motor-cost strong { display:block; font-size:clamp(20px,1.7vw,26px); letter-spacing:-.025em; line-height:1.25; white-space:nowrap; }
.motor-pages { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; margin-top:29px; }
.motor-pages a { border:1px solid var(--motor-border); border-radius:9px; padding:8px 15px; color:var(--motor-ink); text-decoration:none; }
.motor-pages span { color:var(--motor-muted); font-size:14px; }
.motor-detail-price { margin:18px 0; }
.motor-detail-price .vehicle-price { margin:3px 0; }
@media(max-width:991px) { .motor-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } }
@media(max-width:600px) {
  .motor-catalog h1 { margin-bottom:17px; }
  .motor-grid { grid-template-columns:minmax(0,1fr); }
  .motor-body { padding:13px 15px; }
}
