/* Carte véhicule (catalogue, accueil, profil vendeur) */
.vcard { overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; cursor: pointer; border: 0; }
.vcard:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(15,23,42,.12); }
.vcard .ph { position: relative; aspect-ratio: 16 / 8.6; background: #eef1f5; }
.vcard .ph { overflow: hidden; }
.vcard .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vcard .ph .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text3); }
.tagflag { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; background: #fff; color: var(--green); font-weight: 700; font-size: 15px; padding: 7px 13px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.tagflag.deal { color: #15803d; }
.vcard .body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.vcard h3 { margin: 0; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcard .sub { margin: 4px 0 14px; font-size: 14px; color: var(--text2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.vcard .pill { height: 28px; padding: 0 9px; gap: 5px; font-size: 13px; border-radius: 8px; }
.vcard .pill svg { width: 15px; height: 15px; }
.seller { margin-top: 12px; display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 13.5px !important; border-radius: 12px; background: #f6f8fc; color: var(--blue); font-weight: 600; font-size: 16px; }
.seller.green { background: var(--green-50); color: var(--green); display: inline-flex; align-self: flex-start; padding: 9px 16px; }
.price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--border); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.vcard .body > .seller { margin-bottom: 14px; }
.price small { display: block; color: var(--text2); font-size: 13px; margin-bottom: 3px; }
.price .m { display: flex; flex-wrap: nowrap; align-items: center; gap: 5px; color: var(--blue); font-size: 19px; font-weight: 700; white-space: nowrap; }
.price .cash { text-align: right; }
.price .cash small { font-size: 13px; margin: 0; }
.price .cash b { font-size: 19px; font-weight: 700; color: var(--ink); white-space: nowrap; }
/* Baisse de prix récente : ancien prix barré + montant de la baisse */
.price .cash .drop { display: block; font-size: 12.5px; font-weight: 700; color: #15803d; white-space: nowrap; }
.price .cash .drop s { color: var(--text3); font-weight: 500; margin-right: 4px; }
.drop-big { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 2px; }
.drop-big s { font-size: 18px; color: var(--text3); }
.drop-big span { font-size: 13px; font-weight: 700; color: #15803d; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 999px; padding: 3px 10px; }
.tip { position: relative; display: inline-flex; }
.tip .bubble { display: none; position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: 260px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 400; line-height: 1.45; padding: 10px 12px; border-radius: 10px; z-index: 5; }
.tip:hover .bubble, .tip:focus-within .bubble { display: block; }
.vcard .tip svg { width: 18px; height: 18px; }
.vcard .seller svg { width: 17px; height: 17px; }
/* Mobile : cartes plus compactes */
@media (max-width: 640px) {
  .vcard .body { padding: 14px 14px 12px; }
  .vcard h3 { font-size: 18px; }
  .vcard .sub { margin: 2px 0 10px; font-size: 13px; }
  .vcard .pill { height: 26px; padding: 0 8px; font-size: 12.5px; }
  .vcard .body > .seller { margin: 10px 0 10px; padding: 7px 10px; }
  .tagflag { top: 10px; left: 10px; font-size: 13px; padding: 5px 10px; }
  .price { padding-top: 10px; }
  .price .m, .price .cash b { font-size: 17px; }
}
