/* Vehicle Badges CSS - CarGurus Style (Icon + Text)
   Keep your words: SPECIAL, NEW ARRIVAL, LOW MILES
   But style like CarGurus: small icon + text, no boxes
*/

.vehicle-badges {
    margin-top: 6px;
    margin-bottom: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.vehicle-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #333; /* Black text for all badges */
}

/* Icon styles - Star for all badges */
.vehicle-badge::before {
    content: '★';
    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
    transform: translateY(-2px); /* Nudge star up more to align with text */
}

/* SPECIAL badge - Red star, black text */
.badge-special::before {
    color: #d32f2f;
}

/* NEW ARRIVAL badge - Green star, black text */
.badge-new::before {
    color: #4caf50;
}

/* LOW MILES badge - Blue star, black text */
.badge-low-miles::before {
    color: #2196f3;
}

/* GREAT DEAL badge - Dark green (optional) */
.badge-great-deal {
    color: #1b5e20;
}

.badge-great-deal::before {
    background: #1b5e20;
    border-radius: 50%;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .vehicle-badge {
        font-size: 12px;
    }
    
    .vehicle-badge::before {
        font-size: 16px;
        transform: translateY(-2.5px); /* Fine-tune alignment on mobile */
    }
    
    .vehicle-badges {
        gap: 8px;
    }
}

/* Alternative: If you want actual icons (using Unicode symbols) */
/* Uncomment these and comment out the ::before rules above

.badge-special::before {
    content: '●';
    color: #d32f2f;
    font-size: 16px;
}

.badge-new::before {
    content: '★';
    color: #4caf50;
    font-size: 14px;
}

.badge-low-miles::before {
    content: '✓';
    color: #2196f3;
    font-size: 16px;
    font-weight: bold;
}

*/