
.vehicle-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e1e1e1;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    max-width: 340px;
}


.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.card-image img {
    width: 300px;
    height: auto;
    object-fit: cover;
    justify-self: center;
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    margin: 0 0 1rem;
    font-size: 1.2rem;
    height: 80px;

    color: var(--primary-color);
}

.specs {
    display: grid;
    
    grid-template-columns: 20px 1fr 20px 1fr;
    gap: 10px;
    font-size: 0.9rem;
    color: #666;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
}

.select-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
}

.category-badge {
    position: absolute;
    margin: 10px;
    background: rgba(255,255,255,0.9);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--primary-color);
}


.unit {
    font-size: 0.8rem;
    color: var(--primary-color);
    padding-left: 10px;
    font-weight: 600;
}