/* Cartes communes au catalogue et aux résultats, dans le style des cartes de l'accueil. */
.vehicle-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    padding-top: 18px;
    border: 1px solid #d9e7eb;
    border-radius: 16px;
    background: #ffffff;
    color: #103845;
    box-shadow: 0 12px 30px rgb(8 42 53 / 7%);
    transition: border-color .24s ease, opacity .6s ease, transform .6s ease;
}
.vehicle-card:is(:hover, :focus-within) { border-color: #0d93b4; }
.vehicle-card-header { min-height: 112px; padding: 0 18px; }
.vehicle-card-header h3 { margin: 0; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.035em; }
.vehicle-card-header h3 a { position: relative; z-index: 3; color: #103845; text-decoration: none; }
.vehicle-card-category { margin: 6px 0 0; color: #087892; font-size: var(--font-size-caption); }
.vehicle-card-specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.vehicle-card-specs li { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 8px; border: 1px solid #d4e6ec; border-radius: 20px; background: #eef7f9; color: #244c5b; font-size: .6875rem; font-weight: 500; line-height: 1.4; }
.vehicle-card-specs svg { flex: 0 0 14px; width: 14px; height: 14px; color: #087892; }
.vehicle-card-specs span { overflow-wrap: anywhere; }
.vehicle-card-media { position: relative; display: flex; align-items: center; justify-content: center; min-height: 155px; max-height: 205px; aspect-ratio: 16 / 9; padding: 10px 12px 6px; }
.vehicle-card-media::before { content: ''; position: absolute; right: 10%; bottom: 12px; left: 10%; height: 18px; border-radius: 50%; background: rgb(16 56 69 / 10%); filter: blur(12px); pointer-events: none; }
.vehicle-card-media img { position: relative; width: 94%; height: 100%; max-height: 185px; object-fit: contain; filter: drop-shadow(0 12px 10px rgb(16 56 69 / 12%)); }
.vehicle-card-details { position: absolute; right: 14px; bottom: 12px; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #badce5; border-radius: 50%; background: #eef7f9; color: #087892; }
.vehicle-card-details svg { width: 18px; height: 18px; }
.vehicle-card-footer { margin-top: auto; padding: 14px 18px 18px; }
.vehicle-card-stock { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; color: #087892; font-size: var(--font-size-caption); line-height: 1.6; }
.vehicle-card-stock > span { flex: 0 0 6px; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.vehicle-card-stock.is-unavailable { color: #a34d42; }
.vehicle-card-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.vehicle-card-price > span { display: block; margin-bottom: 4px; color: #50717d; font-size: .6875rem; }
.vehicle-card-price p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin: 0; }
.vehicle-card-price strong { color: #103845; font-size: 25px; font-weight: 600; line-height: 1.2; letter-spacing: -.04em; }
.vehicle-card-price small { color: #50717d; font-size: var(--font-size-caption); }
.vehicle-card-hint { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 2px; color: #087892; font-size: var(--font-size-caption); }
.vehicle-card-hint > span { font-size: 20px; }
.vehicle-card-offer-link { position: relative; z-index: 3; min-height: 36px; padding: 4px 0; border: 0; background: transparent; font-family: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.vehicle-card-offer-link:hover { text-decoration-color: currentColor; }
.vehicle-card-offer-link:focus-visible { outline: 2px solid #0d93b4; outline-offset: 4px; border-radius: 3px; }
.vehicle-card-select { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.vehicle-card-select:focus-visible { outline: 3px solid #0d93b4; outline-offset: -4px; }
@media (max-width: 650px) {
    .vehicle-card-header { min-height: 106px; }
    .vehicle-card-media { max-height: 205px; }
}
