/* Drive57 — Vehicle Cards */
.d57-vehicles-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-bottom: 32px; }
.d57-cols-2 { grid-template-columns: repeat(2,1fr); }
.d57-cols-4 { grid-template-columns: repeat(4,1fr); }
body.rtl .d57-vehicles-grid { direction: rtl; }
.d57-vc { background: var(--bg-card); border: 1px solid var(--bdr); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.d57-vc:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(var(--ac-rgb),.14); border-color: rgba(var(--ac-rgb),.5); }
.d57-vc.d57-unavailable { opacity: .65; }
.d57-vc-img { position: relative; height: 220px; overflow: hidden; background: #1E1C17; display: flex; align-items: center; justify-content: center; }
.d57-vc-img img { width: 100%; height: 100%; object-fit: contain; object-position: center center; padding: 12px; background: #1E1C17; transition: transform .5s ease; display: block; }
.d57-vc:hover .d57-vc-img img { transform: scale(1.04); }
.d57-vc-img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 64px; background: #1A1814; color: #3a3530; }
.d57-badge { position: absolute; top: 12px; left: 12px; background: var(--ac); color: var(--fg); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; z-index: 2; }
body.rtl .d57-badge { left: auto; right: 12px; }
.d57-badge-unavail { background: #d32f2f; color: #fff; }
.d57-unavail-overlay { position: absolute; inset: 0; background: rgba(14,13,11,.65); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; color: var(--tx1); letter-spacing: .06em; text-transform: uppercase; z-index: 3; }
.d57-vc-body { padding: 18px 18px 20px; flex: 1; display: flex; flex-direction: column; }
.d57-vc-name { font-family: 'Playfair Display',serif; font-size: 20px; font-weight: 700; color: var(--tx1); margin-bottom: 3px; }
.d57-vc-sub { font-size: 12px; color: var(--tx3); margin-bottom: 14px; }
.d57-vc-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 10px; padding: 13px 0; border-top: 1px solid var(--bdr-s); border-bottom: 1px solid var(--bdr-s); margin-bottom: 14px; }
.d57-vs { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--tx2); }
body.rtl .d57-vs { flex-direction: row-reverse; }
.d57-vs dt { display: none; }
.d57-vc-ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.d57-price-block { display: flex; flex-direction: column; }
.d57-price-from { font-size: 10px; color: var(--tx3); text-transform: uppercase; letter-spacing: .06em; }
.d57-price-amt { font-family: 'Playfair Display',serif; font-size: 26px; font-weight: 800; color: var(--tx1); line-height: 1; }
.d57-price-per { font-size: 12px; color: var(--tx3); }
.d57-btn-wa { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; background: var(--wa); color: #fff !important; font-size: 12.5px; font-weight: 600; border-radius: var(--r); white-space: nowrap; transition: background .2s, transform .2s; flex-shrink: 0; text-decoration: none !important; cursor: pointer; }
.d57-btn-wa:hover { background: var(--wa-d); transform: translateY(-1px); }
.d57-btn-unavail { display: inline-flex; align-items: center; padding: 10px 16px; background: var(--bg-el); color: var(--tx3); font-size: 12px; font-weight: 600; border-radius: var(--r); border: 1px solid var(--bdr); flex-shrink: 0; }
/* Mobile */
@media (max-width: 1024px) { .d57-vehicles-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) {
  .d57-vehicles-grid, .d57-cols-2, .d57-cols-4 { grid-template-columns: 1fr; gap: 14px; }
  .d57-vc-img { height: 210px; }
  .d57-vc-body { padding: 16px 16px 18px; }
  .d57-vc-name { font-size: 19px; }
  .d57-vc-ft { flex-direction: column; align-items: stretch; gap: 10px; padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--bdr-s); }
  .d57-price-from, .d57-price-amt, .d57-price-per { text-align: center; display: block; }
  .d57-price-amt { font-size: 28px; }
  .d57-btn-wa, .d57-btn-unavail { width: 100%; justify-content: center; padding: 13px; font-size: 14px; border-radius: 10px; }
}
@media (max-width: 380px) { .d57-vc-specs { grid-template-columns: 1fr; } }
